<?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://www.ipdr.org/namespaces/ipdr" version="3.5.1-A.3" 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-CMTS-CM-US is an auxiliary schema that defines 
            the CM's upstream channel status information.
        </documentation>
        <documentation>
            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.
            <ipdr:reference>
                DOCSIS 3.0 Operations Support System Interface Specification 
                CM-SP-OSSIv3.0-I14-110210, Annex N.
            </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>
            </restriction>
        </simpleType>
    </element>
</schema>
