<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:DOCSIS-OFDM-PROFILE="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-OFDM-PROFILE" xmlns:ipdr="http://www.ipdr.org/namespaces/ipdr" targetNamespace="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-OFDM-PROFILE" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.5.1-B.1">
  <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-OFDM-PROFILE is an auxiliary schema that defines
      elements for Service Definitions for monitoring downstream OFDM
      profiles or upstream OFDMA profiles/Data IUCs.
      
      Revision History:
      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-1
      </ipdr:reference>
    </documentation>
  </annotation>
  <element name="ProfileId" type="unsignedByte">
    <annotation>
      <documentation>
      </documentation>
    </annotation>
  </element>
  <element name="DataIuc" type="unsignedByte">
    <annotation>
      <documentation>
        The DataIuc associated with this upstream OFDMA profile.
      </documentation>
    </annotation>
  </element>
  <element name="DsProfileIdList" type="hexBinary">
    <annotation>
      <documentation>
        This attribute is a series of octets where each entry consists
        of the following single octet fields (in order): Channel Id of
        the OFDM channel where the downstream Profile Ids are
        assigned, the number of Profile Ids assigned to the CM on that
        channel, and the Profile Ids assigned to this CM on that
        channel. The CCAP encodes each OFDM channel in a CM’s RCS as a
        separate n-octet entry in the DsProfileIdList.
        
        Examples: a CM with a single OFDM channel (channel id 34) and
        four assigned profiles (Profiles 0 (aka A), 8, 9 and 10) would
        have a ProfileIdList value of 0x22040008090a. A CM with a 2
        OFDM channel bonding group each with two assigned profiles
        (Profiles 0 and 15 on channel 34 and Profiles 0 and 14 on
        channel 35) would have a DsProfileIdList value of 0x2202000f2302000e.
        Note: The CCAP does not include the transitional profile or test
        profile in the DsProfileIdList.
      </documentation>
    </annotation>
  </element>
  <element name="UsProfileIucList" type="hexBinary">
    <annotation>
      <documentation>
        This attribute is a series of octets where each entry consists
        of the following single octet fields (in order): Channel Id of
        the OFDMA channel where the Profile IUCs are assigned, the
        number of Data IUCs assigned to this CM on that channel, and
        the Data IUCs assigned to this CM on that channel. The CCAP
        encodes each OFDMA channel in a CM’s TCS as a separate n-octet
        entry in the UsProfileIucList.
        
        Examples: a CM with a single OFDMA channel (channel id 36) and
        two assigned Data IUCs (5 and 6) would have a ProfileIdList
        value of 0x24020506. A CM with a 2 OFDMA channel bonding group
        each with one assigned Data IUC (IUC 5 on channel 34 and IUC 13
        on channel 35) would have a UsProfileIucList value of 0x22010523010d.
        Note: The CCAP does not include transitional IUCs or test IUCs
        in the UsProfileIucList.
      </documentation>
    </annotation>
  </element>
  <element name="FullChannelSpeed" type="unsignedLong">
    <annotation>
      <documentation>
      </documentation>
    </annotation>
  </element>
  <element name="TotalCodewords" type="unsignedLong">
    <annotation>
      <documentation>
        The count of the total number of FEC codewords either received
        from the CM/CMs on this Profile/Data IUC for this upstream OFDMA
	channel.
      </documentation>
    </annotation>
  </element>
  <element name="CorrectedCodewords" type="unsignedLong">
    <annotation>
      <documentation>
	The count of codewords received that failed the
	pre-decoding syndrome check, but passed the post-decoding
	syndrome check from the CM/CMs on this Profile/Data IUC for this
	upstream OFDMA channel.
      </documentation>
    </annotation>
  </element>
  <element name="UnreliableCodewords" type="unsignedLong">
    <annotation>
      <documentation>
	This attribute represents the count of codewords that failed the
	post-decoding syndrome check received from the CM/CMs on this
        Profile/Data IUC for this upstream OFDMA channel.
      </documentation>
    </annotation>
  </element>
  <element name="InOctets" type="unsignedLong">
    <annotation>
      <documentation>
        This attribute is the count of unicast octets received by the CCAP on this profile. This value is the size of all unicast
        frames (including all MAC-layer framing) and CCF PMD overhead (segment headers and stuffing bytes) delivered from the 
        PHY to the MAC - this includes user data, DOCSIS MAC Management Messages, etc.
        Discontinuities in the value of this counter can occur at reinitialization of the managed system, and at other times as
        indicated by the value of ProfileCounterDiscontinuityTime.
     </documentation>
    </annotation>
  </element>
  <element name="OutOctets" type="unsignedLong">
    <annotation>
      <documentation>
	      This attribute is the count of MAC-layer octets transmitted by the CCAP using this profile. This value is the size of
        all unicast, multicast or broadcast frames (including all MAC-layer framing) delivered from the MAC to the PHY -
        this includes user data, DOCSIS MAC Management Messages, etc.
       Discontinuities in the value of this counter can occur at reinitialization of the managed system, and at other times as
       indicated by the value of ProfileCounterDiscontinuityTime. 
	    </documentation>
    </annotation>
  </element>
  <element name="OutUnicastOctets" type="unsignedLong">
    <annotation>
      <documentation>
	      This attribute is the count of MAC-layer Unicast octets transmitted by the CCAP using this profile. This value is the size of all
        unicast frames (including all MAC-layer framing) delivered from the MAC to the PHY - this includes user data,
        DOCSIS MAC Management Messages, etc.
        Discontinuities in the value of this counter can occur at reinitialization of the managed system, and at other times as
        indicated by the value of ProfileCounterDiscontinuityTime.
	    </documentation>
    </annotation>
  </element>
  <element name="OutMulticastOctets" type="unsignedLong">
    <annotation>
      <documentation>
	      This attribute is the count of multicast and broadcast octets transmitted by the CCAP using this profile. This value is the size of all
        frames (including all MAC-layer framing) delivered from the MAC to the PHY and addressed to a multicast MAC
        address - this includes user data, DOCSIS MAC Management Messages, etc.
        Discontinuities in the value of this counter can occur at reinitialization of the managed system, and at other times as
        indicated by the value of ProfileCounterDiscontinuityTime.
	    </documentation>
    </annotation>
  </element>
  <element name="OutFrames" type="unsignedLong">
    <annotation>
      <documentation>
	      This attribute is the count of frames transmitted by the CCAP using this profile. This value is the count of all
        unicast, multicast or broadcast frames delivered from the MAC to the PHY - this includes user data, DOCSIS MAC
        Management Messages, etc.
        Discontinuities in the value of this counter can occur at reinitialization of the managed system, and at other times as
        indicated by the value of ProfileCounterDiscontinuityTime. 
	    </documentation>
    </annotation>
  </element>
  <element name="OutUnicastFrames" type="unsignedLong">
    <annotation>
      <documentation>
	      This attribute is the count of unicast frames transmitted by the CCAP using this profile. This value is the count of all
        frames delivered from the MAC to the PHY and addressed to a unicast MAC address - this includes user data,
        DOCSIS MAC Management Messages, etc.
        Discontinuities in the value of this counter can occur at reinitialization of the managed system, and at other times as
        indicated by the value of ProfileCounterDiscontinuityTime. 
	    </documentation>
    </annotation>
  </element>
  <element name="OutMulticastFrames" type="unsignedLong">
    <annotation>
      <documentation>
	      This attribute is the count of multicast frames transmitted by the CCAP using this profile. This value is the count of
        all frames delivered from the MAC to the PHY and addressed to a multicast MAC address - this includes user data,
        DOCSIS MAC Management Messages, etc., but excludes frames sent to a broadcast address.
        Discontinuities in the value of this counter can occur at reinitialization of the managed system, and at other times as
        indicated by the value of ProfileCounterDiscontinuityTime. 
	    </documentation>
    </annotation>
  </element>
  <element name="CounterDiscontinuityTime" type="unsignedInt">
    <annotation>
      <documentation>
        This attribute is the value of sysUpTime on the most recent occasion at which any one or more of this entry's
        counters suffered a discontinuity. If no such discontinuities have occurred since the last re-initialization of the local
        management subsystem, then this attribute contains a zero value.
      </documentation>
    </annotation>
  </element>
</schema>
