<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-MD-NODE"
    xmlns:DOCSIS-MD-NODE="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-MD-NODE" 
    xmlns:ipdr="http://www.ipdr.org/namespaces/ipdr"
    version="3.5.1-A.2" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <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"/>
    <annotation>
        <documentation>
            DOCSIS-MD-NODE is an auxiliary schema that defines the 
            association of upstream and downstream channel within 
            a particular MAC Domain that is connected to one or more 
            fiber nodes. 
            Revision History:
            3.5.1-A.1 Initial version.
            3.5.1-A.2 Revised version includes ECN
            OSSIv3.0-N-10.0914-3 and OSSIv3.0-N-10.0928-1 and published as I12.
        </documentation>        <documentation>            <ipdr:reference>
                DOCSIS 3.0 Operations Support System Interface Specification 
                CM-SP-OSSIv3.0-I12-100611, Annex O.
            </ipdr:reference>
        </documentation>
    </annotation>
    <element name="CmtsNodeName" type="string">
        <annotation>
            <documentation>
                Contains the textual display name for a fiber node.
            </documentation>
        </annotation>
    </element>
    <element name="CmtsMdCmSgId" type="unsignedInt">
        <annotation>
            <documentation>
                Contains the MD-CM-SG-ID.
            </documentation>
        </annotation>
    </element>
    <element name="CmtsMdDsSgId" type="unsignedByte">
        <annotation>
            <documentation>
                Contains the corresponding MD-DS-SG-ID of the
                MD-CM-SG-ID.
            </documentation>
        </annotation>
    </element>
    <element name="CmtsMdUsSgId" type="unsignedByte">
        <annotation>
            <documentation>
                Contains the corresponding MD-US-SG-ID of the
                MD-CM-SG-ID.
            </documentation>
        </annotation>
    </element>
    <element name="CmtsMdDsSgChList">
        <annotation>
            <documentation>
                Contains the ordered list of downstream channels of the
                MD-DS-SG-ID. Each octet represents a 8-bit DCID of a channel
                represented in hexadecimal format.
            </documentation>
        </annotation>
                <simpleType>
            <restriction base="hexBinary">
                <maxLength value="255"/>
                <minLength value="1"/>
            </restriction>
        </simpleType>
    </element>
    <element name="CmtsMdUsSgChList">
        <annotation>
            <documentation>
                Contains the ordered list of upstream channels of the
                MD-US-SG-ID. Each octet represents a 8-bit UCID of a channel.
            </documentation>
        </annotation>
                <simpleType>
            <restriction base="hexBinary">
                <maxLength value="255"/>
                <minLength value="1"/>
            </restriction>
        </simpleType>
    </element>
</schema>

