<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:DOCSIS-CMTS-CM-REG-STATUS-TYPE="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-REG-STATUS-TYPE" xmlns:DOCSIS-CMTS="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS" xmlns:DOCSIS-CM="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CM" xmlns:DOCSIS-CMTS-CM-NODE-CH="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS-CM-NODE-CH" xmlns:DOCSIS-CMTS-CM-DS-OFDM="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-DS-OFDM" xmlns:DOCSIS-CMTS-CM-US-OFDMA="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-US-OFDMA" xmlns:DOCSIS-CMTS-CM-PARTIAL="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-PARTIAL" xmlns:DOCSIS-OFDM-PROFILE="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-OFDM-PROFILE" xmlns:DOCSIS-REC="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-REC" xmlns:ipdr="http://www.ipdr.org/namespaces/ipdr" targetNamespace="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-REG-STATUS-TYPE" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.5.1-B.2">
  <import namespace="http://www.ipdr.org/namespaces/ipdr" schemaLocation="http://www.ipdr.org/public/IPDRDoc3.5.1.xsd"/>
  <include schemaLocation="http://www.ipdr.org/public/IPDRTypes.xsd"/>
  <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS/DOCSIS-CMTS_3.5.1-A.1.xsd"/>
  <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CM" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CM/DOCSIS-CM_3.5.1-A.3.xsd"/>
  <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS-CM-NODE-CH" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS-CM-NODE-CH/DOCSIS-CMTS-CM-NODE-CH_3.5.1-A.2.xsd"/>
  <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-DS-OFDM" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-DS-OFDM/DOCSIS-CMTS-CM-DS-OFDM_3.5.1-B.1.xsd"/>
  <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-US-OFDMA" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-US-OFDMA/DOCSIS-CMTS-CM-US-OFDMA_3.5.1-B.2.xsd"/>
  <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-PARTIAL" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-PARTIAL_3.5.1-B.2.xsd"/>
  <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-OFDM-PROFILE" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-OFDM-PROFILE/DOCSIS-OFDM-PROFILE_3.5.1-B.1.xsd"/>
  <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-REC" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-REC/DOCSIS-REC_3.5.1-A.1.xsd"/>
  <annotation>
    <documentation>
      DOCSIS-CMTS-CM-REG-STATUS is an IPDR Service Definition Schema 
      that defines the Registration status of the CM as perceived by 
      the CMTS.
      Revision History:
      3.5.1-A.1: Initial version.
      3.5.1-A.2: Revised version includes ECN OSSIv3.0-N-12.1073-3
      and published as I20.
      3.5.1-A.3: Revised version includes ECN OSSIv3.0-N-12.1083
      and published as I21.
      3.5.1-B.1: Revised to include DOCSIS 3.1 elements.
	  3.5.1-B.2: Revised version includes ECN CCAP-OSSIv3.1-N-20.2119-1.
    </documentation>
    <documentation>
      <ipdr:reference>
        DOCSIS 3.1 CCAP Operations Support System Interface Specification 
        CCAP-OSSIv3.1-N-15.1390-1
      </ipdr:reference>
    </documentation>
  </annotation>
  <complexType name="CMTS-CM-REG-STATUS-TYPE">
    <annotation>
      <documentation>
        The IPDR Record containing one CM registration status instance
        representing a single cable modem that has registered with
        the CMTS.
      </documentation>
    </annotation>
    <complexContent>
      <extension base="ipdr:IPDRType">
        <sequence>
          <element ref="DOCSIS-CMTS:CmtsHostName"/>
          <element ref="DOCSIS-CMTS:CmtsSysUpTime"/>
          <element ref="DOCSIS-CMTS:CmtsMdIfName"/>
          <element ref="DOCSIS-CMTS:CmtsMdIfIndex"/>
          <element ref="DOCSIS-CMTS-CM-NODE-CH:CmtsMdCmSgId"/>
          <element ref="DOCSIS-CMTS-CM-NODE-CH:CmtsRcpId"/>
          <element ref="DOCSIS-CMTS-CM-NODE-CH:CmtsRccStatusId"/>
          <element ref="DOCSIS-CMTS-CM-NODE-CH:CmtsRcsId"/>
          <element ref="DOCSIS-CMTS-CM-NODE-CH:CmtsTcsId"/>
          <element ref="DOCSIS-CM:CmMacAddr"/>
          <element ref="DOCSIS-CM:CmIpv4Addr"/>
          <element ref="DOCSIS-CM:CmIpv6Addr"/>
          <element ref="DOCSIS-CM:CmIpv6LinkLocalAddr"/>
          <element ref="DOCSIS-CM:CmQosVersion"/>
          <element ref="DOCSIS-CM:CmRegStatusValue"/>
          <element ref="DOCSIS-CM:CmLastRegTime"/>
          <element ref="DOCSIS-CM:CmEnergyMgtEnabled"/>
          <element ref="DOCSIS-CM:CmEnergyMgtOperStatus"/> 
          <!-- AssignedEmIds intentionally omitted -->
          <element ref="DOCSIS-OFDM-PROFILE:DsProfileIdList"/>
          <element ref="DOCSIS-OFDM-PROFILE:UsProfileIucList"/>
          <element ref="DOCSIS-CMTS-CM-DS-OFDM:TcsPhigh"/>
          <element ref="DOCSIS-CMTS-CM-DS-OFDM:TcsDrwTop"/>
          <element ref="DOCSIS-CMTS-CM-DS-OFDM:MinUsableDsFreq"/>
          <element ref="DOCSIS-CMTS-CM-DS-OFDM:MaxUsableDsFreq"/>
          <element ref="DOCSIS-CMTS-CM-US-OFDMA:MaxUsableUsFreq"/>
          <element ref="DOCSIS-CMTS-CM-PARTIAL:PartialSvcState"/>
          <element ref="DOCSIS-CMTS-CM-PARTIAL:PartialChanState"/>
          <element ref="DOCSIS-REC:RecType"/>
          <element ref="DOCSIS-REC:RecCreationTime"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
</schema>
