<?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-US-UTIL"
    xmlns:DOCSIS-CMTS-US-UTIL="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS-US-UTIL" 
    xmlns:ipdr="http://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/"
    version="3.7-A.4" 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-US-UTIL is an auxiliary schema that defines 
            CMTS upstream logical channel interface utilization 
            statistics.

            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-26 Added constraints to UsUtilInterval

            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-I14-110210, Annex O.
            </ipdr:reference>
        </documentation>
    </annotation>
    <element name="UsIfIndex" type="unsignedInt">
        <annotation>
            <documentation>
                The ifIndex from the Interfaces Group MIB for the CMTS 
                upstream logical channel interface.
            </documentation>
        </annotation>
    </element>
    <element name="UsIfName">
        <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.
            </documentation>
        </annotation>
        <simpleType>
          <restriction base="string">
            <maxLength value="50"/>
            <minLength value="0"/>
          </restriction>
        </simpleType>
    </element>
    <element name="UsChId" type="unsignedByte">
        <annotation>
            <documentation>
                The US channel id as defined in docsIf3MdChCfgChId.
                </documentation>
        </annotation>
    </element>
    <element name="UsUtilInterval">
        <annotation>
            <documentation>
                The time interval, in seconds, over which the channel 
                utilization index is calculated.
            </documentation>
        </annotation>
        <simpleType>
            <restriction base="unsignedInt">
              <minInclusive value="0"/>
              <maxInclusive value="86400"/>
            </restriction>
          </simpleType>
    </element>
    <element name="UsUtilIndexPercentage" type="unsignedByte">
        <annotation>
            <documentation>
                The calculated and truncated utilization index 
                percentage for the downstream interface.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilTotalMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of all 
                mini-slots defined for this upstream logical channel 
                interface. This count includes all IUCs and SIDs, 
                even those allocated to the NULL SID for a logical 
                channel that is inactive.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilUcastGrantedMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of unicast
                granted mini-slots on the upstream logical channel 
                regardless of burst type. Unicast granted mini-slots 
                are those in which the CMTS assigned bandwidth to any 
                unicast SID on the logical channel. However, this 
                object does not include mini-slots for reserved IUCs, 
                or grants to SIDs designated as meaning 'no CM'.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilTotalCntnMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of 
                contention mini-slots defined for this upstream logical
                channel. This count includes all mini-slots assigned 
                to a broadcast or multicast SID on the logical channel.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilUsedCntnMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of 
                contention mini-slots utilized on the upstream logical
                channel. For contention regions, utilized mini-slots 
                are those in which the CMTS correctly received an 
                upstream burst from any CM on the upstream logical channel.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilCollCntnMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of 
                collision contention mini-slots on the upstream 
                logical channel. For contention regions, these 
                are the mini-slots applicable to burst that the 
                CMTS detected but could not correctly receive.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilTotalCntnReqMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of 
                contention request mini-slots defined for this upstream
                logical channel. This count includes all mini-slots 
                for IUC1 assigned to a broadcast or multicast SID on 
                the logical channel.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilUsedCntnReqMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of 
                contention request mini-slots utilized on this upstream
                logical channel. This count includes all contention 
                mini-slots for UIC1 applicable to bursts that the CMTS 
                correctly received.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilCollCntnReqMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of 
                contention request mini-slots subjected to collisions
                on this upstream logical channel. This includes all 
                contention mini-slots for IUC1 applicable to bursts 
                that the CMTS detected but could not correctly receive.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilTotalCntnReqDataMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of 
                contention request data mini-slots defined for this
                upstream logical channel. This count includes all 
                mini-slots for IUC2 assigned to a broadcast or 
                multicast SID on the logical channel.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilUsedCntnReqDataMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of 
                contention request data mini-slots utilized on this 
                upstream logical channel. This includes all contention
                mini-slots for IUC2 applicable to bursts that the CMTS 
                correctly received.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilCollCntnReqDataMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of 
                contention request data mini-slots subjected to 
                collisions on this upstream logical channel. This 
                includes all contention mini-slots for IUC2 applicable
                bursts that the CMTS detected but could not correctly 
                receive.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilTotalCntnInitMaintMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of 
                initial maintenance mini-slots defined for this 
                upstream logical channel. This count includes all 
                mini-slots for IUC3 assigned to a broadcast or 
                multicast SID on the logical channel.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilUsedCntnInitMaintMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of 
                initial maintenance mini-slots utilized on this 
                upstream logical channel. This includes all 
                contention mini-slots for IUC3 applicable to bursts
                that the CMTS correctly received.
            </documentation>
        </annotation>
    </element>
    <element name="UsUtilCollCntnInitMaintMslots" type="unsignedLong">
        <annotation>
            <documentation>
                The current count, from CMTS initialization, of 
                contention initial maintenance mini-slots subjected
                to collisions on this upstream logical channel. This
                includes all contention mini-slots for IUC3 applicable
                to bursts that the CMTS detected but could not 
                correctly receive.
            </documentation>
        </annotation>
    </element>
</schema>
