<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:DOCSIS-CMTS-CM-PARTIAL="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-PARTIAL" xmlns:ipdr="http://www.ipdr.org/namespaces/ipdr" targetNamespace="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-PARTIAL" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.5.1-B.2">
  <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-PARTIAL is an auxiliary schema that defines
      the CM's partial channel and partial service status information
      for OFDM and OFDMA channels.
      
      Revision History:
      3.5.1-B.2 Per ECN CCAP-OSSIv3.1-N-20.2110-2: Deprecated NumPartialChanIncidents. Deleted PartialChanReasonType enumerations invalidDpd(19) and usOfdmaProfileFailure(25).
	  3.5.1-B.1 Initial version.
    </documentation>
    <documentation>
      <ipdr:reference>
	      DOCSIS 3.1 CCAP Operations Support System Interface Specification 
	      CCAP-OSSIv3.1-N-15.1390-2
      </ipdr:reference>
    </documentation>
  </annotation>
  <simpleType name="PartialServiceType">
    <annotation>
      <documentation>This data type enumerates the type of channel issue which the MAC Layer indicates is causing the CM to be in DOCSIS 3.0 Partial Service mode. </documentation>
    </annotation>
    <restriction base="integer">
      <enumeration value="1">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>other</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="2">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>none</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="3">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>partialSvcDsOnlyImpaired</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="4">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>partialSvcUsOnlyImpaired</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="5">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>partialSvcDsAndUsImpaired</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
    </restriction>
  </simpleType>
  <simpleType name="PartialSvcReasonType">
    <annotation>
      <documentation>This data type enumerates the CM-STATUS events which a CM can utilize to report a Partial Service situation.</documentation>
    </annotation>
    <restriction base="integer">
      <enumeration value="0">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>none</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="1">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>secondaryChanMddTimeout</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="2">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>lostFecLock</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
    </restriction>
  </simpleType>
  <simpleType name="PartialChanReasonType">
    <annotation>
      <documentation>This data type enumerates the CM-STATUS events which a CM can utilize to report a Partial Channel situation.</documentation>
    </annotation>
    <restriction base="integer">
      <enumeration value="0">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>none</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="16">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>dsOfdmProfileFailure</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="18">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>dpdMismatch</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="20">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>ncpProfileFailure</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
      <enumeration value="21">
        <annotation>
          <documentation>
            <ipdr:enumMeaning>lostFecLockPlc</ipdr:enumMeaning>
          </documentation>
        </annotation>
      </enumeration>
    </restriction>
  </simpleType>
  <element name="PartialSvcState" type="DOCSIS-CMTS-CM-PARTIAL:PartialServiceType">
    <annotation>
      <documentation>This attribute indicates the type of bonding group issue that this CM is experiencing, based on what the MAC-layer shows.</documentation>
    </annotation>
  </element>
  <element name="PartialChanState" type="unsignedInt">
    <annotation>
      <documentation>This attribute is a bit-field which indicates the type of OFDM channel issue that this CM is experiencing, based on what the MAC-layer shows. As more than one of these error conditions can exist at the same time this attribute is a bit-field. The bits from low to high are: Bit 0: lostFecLockDsProfile, Bit 1: lostFecLockNcpProfile, Bit 2: lostFecLockPlc, Bit 3: lostFecLockUsProfile</documentation>
    </annotation>
  </element>
  <element name="CurPartialSvcReasonCode" type="DOCSIS-CMTS-CM-PARTIAL:PartialSvcReasonType">
    <annotation>
      <documentation>This attribute indicates the type of bonding group issue that this CM is experiencing, based on what the MAC-layer shows.</documentation>
    </annotation>
  </element>
  <element name="LastPartialSvcTime" type="dateTime">
    <annotation>
      <documentation>This attribute returns the date and time when the MAC indicated that this CM recovered from its most recent Partial Service incident on this downstream OFDM/upstream OFDMA channel.</documentation>
    </annotation>
  </element>
  <element name="LastPartialSvcReasonCode" type="DOCSIS-CMTS-CM-PARTIAL:PartialSvcReasonType">
    <annotation>
      <documentation>This attribute returns the last CM-STATUS Event Code which indicates the reason that this CM was experiencing Partial Service on this downstream OFDM/upstream OFDMA channel. (Note: if the CM is currently experiencing Partial Service, this is the Event Code from the previous Partial Service event.) A value of 0 indicates that the CM has not experienced Partial Service involving this OFDM/OFDMA channel during the CCAP's history of this CM.</documentation>
    </annotation>
  </element>
  <element name="NumPartialSvcIncidents" type="unsignedInt">
    <annotation>
      <documentation>This attribute returns the number of Partial Service incidents the MAC layer has reported for this CM on this downstream OFDM/upstream OFDMA channel.</documentation>
    </annotation>
  </element>
  <element name="NumPartialChanIncidents" type="unsignedInt">
    <annotation>
      <documentation>This attributes returns the number of Partial Channel incidents the MAC layer has reported for this CM on this downstream OFDM/upstream OFDMA channel. This attribute is deprecated.</documentation>
    </annotation>
  </element>
  <element name="PartialChanReasonCode" type="DOCSIS-CMTS-CM-PARTIAL:PartialChanReasonType">
    <annotation>
      <documentation>This attribute returns the current CM-STATUS Event Code which indicates the reason that this CM is in a Partial Channel state utilizing this Profile on this downstream OFDM/upstream OFDMA channel. A value of 0 indicates that the CM is not currently experiencing Partial Channel involving this Profile on this OFDM/OFDMA channel.</documentation>
    </annotation>
  </element>
  <element name="LastPartialChanTime" type="dateTime">
    <annotation>
      <documentation>This attributes returns the date and time when the MAC indicated that this CM recovered from its most recent Partial Channel incident for this Profile on this downstream OFDM/upstream OFDMA channel.</documentation>
    </annotation>
  </element>
  <element name="LastPartialChanReasonCode" type="DOCSIS-CMTS-CM-PARTIAL:PartialChanReasonType">
    <annotation>
      <documentation>This attributes returns the last CM-STATUS Event Code which indicates the reason that this CM was experiencing a Partial Channel event for this Profile on this downstream OFDM/upstream OFDMA channel. A value of 0 indicates that the CM has not experienced a Partial Channel incident involving this Profile on this OFDM/OFDMA channel during the CCAP's maintained history of this CM.</documentation>
    </annotation>
  </element>
</schema>
