<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:DOCSIS-CMTS-CM-PARTIAL="http://mibs.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-PARTIAL" xmlns:ipdr="http://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/" targetNamespace="http://mibs.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CMTS-CM-PARTIAL" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.7-B.2.0.0">
  <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-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.1 Initial version.
      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.7-B.2.0.0 New revision naming convention.

      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.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>
  <simpleType name="PartialChannelType">
    <annotation>
      <documentation>
        This data type enumerates each of the possible profiles or channel
        attributes which can contribute to an OFDM channel being considered
        a Partial Channel by the MAC layer. As more than one of these error
        conditions can exist at the same time this data type is based on
        EnumBits. The bits from low to high are: 
        Bit 0: fecErrorsDsProfile
        Bit 1: fecErrorsNcpProfile
        Bit 2: fecErrorsPlc
        Bit 3: lostFecLockUsProfile
      </documentation>
    </annotation>
    <restriction base="hexBinary">
      <length fixed="true" value="1"/>
    </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>
      <appinfo>
				<ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
					CmtsCmRegStatus::PartialSvcState</ipdr:reference>
			</appinfo>
    </annotation>
  </element>
  <element name="PartialChanState" type="DOCSIS-CMTS-CM-PARTIAL:PartialChannelType">
    <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. This object is applicable to DOCSIS 3.1 modems but not
        to prior versions of DOCSIS modems. If the CM is a pre-DOCSIS 3.1 modem,
        the CMTS returns no bits set (0x0).
      </documentation>
      <appinfo>
				<ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
					CmtsCmRegStatus::PartialChanState</ipdr:reference>
			</appinfo>
    </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>
      <appinfo>
				<ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
					CmtsCmUsOfdmaChannelStatus::CurPartialSvcReasonCode</ipdr:reference>
			</appinfo>
    </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>
      <appinfo>
				<ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
					CmtsCmUsOfdmaChannelStatus::LastPartialSvcTime</ipdr:reference>
			</appinfo>
    </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>
      <appinfo>
				<ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
					CmtsCmUsOfdmaChannelStatus::LastPartialSvcReasonCode</ipdr:reference>
			</appinfo>
    </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>
      <appinfo>
				<ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
					CmtsCmUsOfdmaChannelStatus::NumPartialSvcIncidents</ipdr:reference>
			</appinfo>
    </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 channel. This attribute is deprecated.
      </documentation>
      <appinfo>
				<ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
					CmtsCmDsOfdmChannelStatus::NumPartialChanIncidents</ipdr:reference>
			</appinfo>
    </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>
      <appinfo>
				<ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
					CmtsCmDsOfdmChannelStatus::PartialChanReasonCode</ipdr:reference>
			</appinfo>
    </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>
      <appinfo>
				<ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
					CmtsCmDsOfdmChannelStatus::LastPartialChanTime</ipdr:reference>
			</appinfo>
    </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>
      <appinfo>
				<ipdr:reference>Information Model Mapping: CM-SP-CCAP-OSSIv3.1
					CmtsCmDsOfdmChannelStatus::LastPartialChanReasonCode</ipdr:reference>
			</appinfo>
    </annotation>
  </element>
</schema>
