<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS-CM-NODE-CH"
    xmlns:DOCSIS-CMTS-CM-NODE-CH="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS-CM-NODE-CH" 
    xmlns:ipdr="http://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/" 
    version="3.7-A.2.0.0" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <import namespace="http://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/" schemaLocation="http://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/IPDRDoc3.5.1.xsd"/>
    <include schemaLocation="http://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/IPDRTypes.xsd"/>
    <annotation>
        <documentation> 
            DOCSIS-CMTS-CM-NODE-CH is an auxiliary schema that 
            defines the CM's MAC Domain registration status from the 
            CMTS perspective. 
            
            Revision History:
            3.5.1-A.1 Initial version.
            3.5.1-A.2 Revised version includes ECN
            3.7-A.2 Revised version updated to match UML constraints
            OSSIv3.0-N-10.0914-3 and published as I12.
            3.7-A.2.0.0 New revision naming convention.

            Contact:
            Postal: Cable Television Laboratories, Inc.
            858 Coal Creek Circle
            Louisville, Colorado 80027-9750
            U.S.A.
            Phone: +1 303-661-9100
            Fax:   +1 303-661-9199
            Email: data-model-support@cablelabs.com
      
         
            Copyright 2019-2023 Cable Television Laboratories, Inc.
              All rights reserved.
        </documentation>
        <documentation>
            <ipdr:reference>
                DOCSIS 3.0 Operations Support System Interface Specification 
                CM-SP-OSSIv3.0-I12-100611, Annex N.
            </ipdr:reference>
        </documentation>
    </annotation>
    <element name="CmtsMdCmSgId" type="unsignedInt">
        <annotation>
            <documentation>
                Contains the ID of the MAC Domain Cable Modem Service 
                Group Id (MD-CM-SG-ID) in which the cable modem is registered. 
                If the ID is unknown, the CMTS reports a value of zero.
            </documentation>
            <appinfo>
                <ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
                    CmtsCmRegStatus::MdCmSgId</ipdr:reference>
            </appinfo>
        </annotation>
    </element>
    <element name="CmtsRcpId">
        <annotation>
            <documentation>
                Contains the RCP-ID associated with the CM.
                If unknown, the CMTS returns a zero length hexBinary.
            </documentation>
            <appinfo>
                <ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
                    RccStatus::RcpId</ipdr:reference>
            </appinfo>
        </annotation>
        <simpleType>
            <restriction base="hexBinary">
                <length fixed="true" value="5"/>
            </restriction>
        </simpleType>
    </element>
    <element name="CmtsRccStatusId">
        <annotation>
            <documentation>
                Contains the RCC id the CMTS used to configure the CM
                receive channel set during registration. 
                If unknown, the CMTS returns 0.
            </documentation>
            <appinfo>
                <ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
                    RccStatus::RccStatusId</ipdr:reference>
            </appinfo>
        </annotation>
        <simpleType>
            <restriction base="unsignedInt">
                <maxInclusive value="4294967295"/>
                <minInclusive value="1"/>
            </restriction>
        </simpleType>
    </element>
    <element name="CmtsRcsId"> 
        <annotation>
            <documentation>
                 Contains the Receive Channel Set (RCS) that the CM is currently using. 
                 If unknown, the CMTS returns the value zero.
            </documentation>
            <appinfo>
                <ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
                    CmtsCmRegStatus::RcsId</ipdr:reference>
            </appinfo>
        </annotation>
        <simpleType>
            <restriction base="unsignedInt">
                <maxInclusive value="4294967295"/>
                <minInclusive value="0"/>
            </restriction>
        </simpleType>
    </element>
    <element name="CmtsTcsId">
        <annotation>
            <documentation>
                Contains the Transmit Channel Set (TCS) that the CM is currently using. 
                If unknown, the CMTS returns the value zero.
            </documentation>
            <appinfo>
                <ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
                    CmtsCmRegStatus::TcsId</ipdr:reference>
            </appinfo>
        </annotation>
        <simpleType>
            <restriction base="unsignedInt">
                <maxInclusive value="4294967295"/>
                <minInclusive value="0"/>
            </restriction>
        </simpleType>
    </element>
</schema>
