<?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-CMTS-CM-US"
        xmlns:DOCSIS-CMTS-CM-US="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS-CM-US"
        xmlns:ipdr="http://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified"
        version="3.7-A.4.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-CMTS-CM-US is an auxiliary schema that defines the CM's
      upstream channel status information.

      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.5.1-A.3 Revised version includes ECN OSSIv3.0-N-10.0968-2 and published as I14.
      3.7-A.4 OSSIDM-24 Added enumeration type "timeoutT4" to RangingStatus
      3.7-A.4.0.0 New revision naming convention.
      3.7-A.4.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="CmtsCmUsChIfName">
    <annotation>
      <documentation>
        Contains the first 50 characters of the ifName from the
        Interfaces Group MIB for the row entry corresponding to
        the CMTS upstream interface (ifType = 129).
      </documentation>
    </annotation>
    <simpleType>
      <restriction base="string">
        <maxLength value="50"/>
        <minLength value="0"/>
      </restriction>
    </simpleType>
  </element>
  <element name="CmtsCmUsChIfIndex" type="unsignedInt">
    <annotation>
      <documentation>
        Contains the ifIndex for the upstream interface (described in
        CmtsCmUsChIfName).
      </documentation>
    </annotation>
  </element>
  <element name="CmtsCmUsChId" type="unsignedByte">
    <annotation>
      <documentation>
        Contains the US channel id as defined in docsIf3MdChCfgChId.
      </documentation>
    </annotation>
  </element>
  <element name="CmtsCmUsModulationType">
    <annotation>
      <documentation>
        Contains the modulation type currently used by this upstream
        channel.
      </documentation>
    </annotation>
    <simpleType>
      <restriction base="integer">
        <enumeration value="0">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>unknown</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
        <enumeration value="1">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>tdma</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
        <enumeration value="2">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>atdma</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
        <enumeration value="3">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>scdma</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
        <enumeration value="4">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>tdmaAndAtdma</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
      </restriction>
    </simpleType>
  </element>
  <element name="CmtsCmUsRxPower" type="integer">
    <annotation>
      <documentation>
        Contains the receive power as perceived for the upstream channel.
      </documentation>
    </annotation>
  </element>
  <element name="CmtsCmUsSignalNoise" type="integer">
    <annotation>
      <documentation>
        Contains Signal/Noise ratio as perceived for upstream data from the CM.
      </documentation>
    </annotation>
  </element>
  <element name="CmtsCmUsMicroreflections" type="unsignedByte">
    <annotation>
      <documentation>
        Contains the microreflections received on this interface.
      </documentation>
    </annotation>
  </element>
  <element name="CmtsCmUsEqData" type="hexBinary">
    <annotation>
      <documentation>
        Contains the equalization data for the CM.
      </documentation>
    </annotation>
  </element>
  <element name="CmtsCmUsUnerroreds" type="unsignedInt">
    <annotation>
      <documentation>
        Contains the codewords received without error from the CM.
      </documentation>
    </annotation>
  </element>
  <element name="CmtsCmUsCorrecteds" type="unsignedInt">
    <annotation>
      <documentation>
        Contains codewords received with correctable errors from the CM.
      </documentation>
    </annotation>
  </element>
  <element name="CmtsCmUsUncorrectables" type="unsignedInt">
    <annotation>
      <documentation>
        Contains codewords received with uncorrectable errors from the CM.
      </documentation>
    </annotation>
  </element>
  <element name="CmtsCmUsHighResolutionTimingOffset" type="integer">
    <annotation>
      <documentation>
        Contains the higher resolution timing offset to provide a
        finer granularity timing offset.
      </documentation>
    </annotation>
  </element>
  <element name="CmtsCmUsIsMuted" type="boolean">
    <annotation>
      <documentation>
        Denotes if the CM upstream channel has been muted via CM-CTRL-REQ or
        CM-CTRL-RSP message exchange.
      </documentation>
    </annotation>
  </element>
  <element name="CmtsCmUsRangingStatus">
    <annotation>
      <documentation>
        Contains the ranging status
        of the CM
      </documentation>
    </annotation>
    <simpleType>
      <restriction base="integer">
        <enumeration value="1">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>other</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
        <enumeration value="2">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>aborted</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
        <enumeration value="3">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>retriesExceeded</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
        <enumeration value="4">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>success</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
        <enumeration value="5">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>continue</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
        <enumeration value="6">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>timeoutT4</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
      </restriction>
    </simpleType>
  </element>
</schema>
