<?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://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/"
        targetNamespace="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-OFDM-PROFILE"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified"
        version="3.7-B.1.0.1">
  <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-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.
      3.7-B.1.0.0 New revision naming convention.
      3.7-B.1.0.1 Update namespace from mibs to www. Fix import versions.
                  Revised version includes ECN CCAP-OSSIv3.1-26.2430-1.

      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-2026 Cable Television Laboratories, Inc.
        All rights reserved.
    </documentation>
    <documentation>
      <ipdr:reference>
        DOCSIS 3.1 CCAP Operations Support System Interface Specification
        CCAP-OSSIv3.1-26.2430-1
      </ipdr:reference>
    </documentation>
  </annotation>
  <element name="ProfileId">
    <annotation>
      <documentation>
        This attribute is a unique index and is the identifier of the downstream
        profile associated with the OFDM downstream channel. The value of this
        key attribute is zero-based due to constraints of the definition of
        ProfileId.
      </documentation>
      <appinfo>
        <ipdr:reference>
          Information Model Mapping: CM-SP-CCAP-OSSIv3.1
          DsOfdmProfileStats::ProfileId
        </ipdr:reference>
      </appinfo>
    </annotation>
    <simpleType>
      <restriction base="unsignedByte">
        <minInclusive value="0"/>
        <maxInclusive value="15"/>
      </restriction>
    </simpleType>
  </element>
  <element name="DataIuc">
    <annotation>
      <documentation>
        The DataIuc associated with this upstream OFDMA profile.
      </documentation>
      <appinfo>
        <ipdr:reference>
          Information Model Mapping: CM-SP-CCAP-OSSIv3.1
          CmtsCmUsOfdmaProfileStatus::DataIuc
        </ipdr:reference>
      </appinfo>
    </annotation>
    <simpleType>
      <restriction base="unsignedByte">
        <minInclusive value="10"/>
        <maxInclusive value="13"/>
        <enumeration value="5"/>
        <enumeration value="6"/>
        <enumeration value="9"/>
      </restriction>
    </simpleType>
</element>
<element name="DsProfileIdList">
  <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>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        CmtsCmRegStatus::DsProfileIdList
      </ipdr:reference>
    </appinfo>
  </annotation>
  <simpleType>
    <restriction base="hexBinary">
      <maxLength value="144"/>
      <minLength value="0"/>
    </restriction>
  </simpleType>
</element>
<element name="UsProfileIucList">
  <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>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        CmtsCmRegStatus::UsProfileIucList
      </ipdr:reference>
    </appinfo>
  </annotation>
  <simpleType>
    <restriction base="hexBinary">
      <maxLength value="144"/>
      <minLength value="0"/>
    </restriction>
  </simpleType>
</element>
<element name="FullChannelSpeed" type="unsignedLong">
  <annotation>
    <documentation>
      This attribute is the speed of the associated channel in bps if this
      were the only profile and 100% of data-capable subcarriers were
      utilized to transmit MAC frames in full codewords.
      ProfileFullChannelSpeed is intended to approximate the maximum speed
      available to the MAC layer; thus, this attribute subtracts out FEC
      and NCP overhead from the maximum theoretical speed. The maximum
      ProfileFullChannelSpeed for a given channel differs from the ifSpeed
      for the channel by the amount of this FEC and NCP overhead.
    </documentation>
    <documentation>
      <ipdr:units>bps</ipdr:units>
    </documentation>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        DsOfdmProfileStats::ProfileFullChannelSpeed
      </ipdr:reference>
    </appinfo>
  </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>
    <documentation>
      <ipdr:units>codewords</ipdr:units>
    </documentation>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        CmtsCmUsOfdmaProfileStatus::TotalCodewords
      </ipdr:reference>
    </appinfo>
  </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>
    <documentation>
      <ipdr:units>codewords</ipdr:units>
    </documentation>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        CmtsCmUsOfdmaProfileStatus::CorrectedCodewords
      </ipdr:reference>
    </appinfo>
  </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>
    <documentation>
      <ipdr:units>codewords</ipdr:units>
    </documentation>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        CmtsCmUsOfdmaProfileStatus::UnreliableCodewords
      </ipdr:reference>
    </appinfo>
  </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>
    <documentation>
      <ipdr:units>bytes</ipdr:units>
    </documentation>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        UsOfdmaChannelDataIucStats::InOctets
      </ipdr:reference>
    </appinfo>
  </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>
    <documentation>
      <ipdr:units>bytes</ipdr:units>
    </documentation>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        DsOfdmProfileStats::ProfileOutOctets
      </ipdr:reference>
    </appinfo>
  </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>
    <documentation>
      <ipdr:units>bytes</ipdr:units>
    </documentation>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        DsOfdmProfileStats::ProfileOutUnicastOctets
      </ipdr:reference>
    </appinfo>
  </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>
    <documentation>
      <ipdr:units>bytes</ipdr:units>
    </documentation>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        DsOfdmProfileStats::ProfileOutMulticastOctets
      </ipdr:reference>
    </appinfo>
  </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>
    <documentation>
      <ipdr:units>frames</ipdr:units>
    </documentation>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        DsOfdmProfileStats::ProfileOutFrames
      </ipdr:reference>
    </appinfo>
  </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>
    <documentation>
      <ipdr:units>frames</ipdr:units>
    </documentation>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        DsOfdmProfileStats::ProfileOutUnicastFrames
      </ipdr:reference>
    </appinfo>
  </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>
    <documentation>
      <ipdr:units>frames</ipdr:units>
    </documentation>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        DsOfdmProfileStats::ProfileOutMulticastFrames
      </ipdr:reference>
    </appinfo>
  </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>
    <documentation>
      <ipdr:units>secs</ipdr:units>
    </documentation>
    <appinfo>
      <ipdr:reference>
        Information Model Mapping: CM-SP-CCAP-OSSIv3.1
        DsOfdmProfileStats::ProfileCounterDiscontinuityTime
      </ipdr:reference>
    </appinfo>
  </annotation>
</element>
</schema>
