<?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://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified"
        version="3.7-A.2.0.1">
  <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-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.
      3.7-A.2.0.0 New revision naming convention.
      3.7-A.2.0.1 Update namespace from mibs to www. Fix import versions.
                  Error corrections announced via errata sheet attached to CM-SP-OSSIv3.0-C01-171207.

      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-2026 Cable Television Laboratories, Inc.
        All rights reserved.
    </documentation>
    <documentation>
      <ipdr:reference>
        DOCSIS 3.0 Operations Support System Interface Specification
        CM-SP-OSSIv3.0-C01-171207.
      </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>
