<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
        targetNamespace="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-SAMIS-TYPE-2"
        xmlns:DOCSIS-SAMIS-TYPE-2="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-SAMIS-TYPE-2"
        xmlns:DOCSIS-CMTS="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS"
        xmlns:DOCSIS-CM="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CM"
        xmlns:DOCSIS-QOS="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-QOS"
        xmlns:DOCSIS-REC="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-REC"
        xmlns:ipdr="http://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/"
        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"/>
  <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS/DOCSIS-CMTS_3.7-A.1.0.1.xsd"/>
  <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CM" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CM/DOCSIS-CM_3.7-A.4.0.0.xsd"/>
  <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-QOS" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-QOS/DOCSIS-QOS_3.7-B.1.0.1.xsd"/>
  <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-REC" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-REC/DOCSIS-REC_3.7-A.1.0.1.xsd"/>
  <include schemaLocation="http://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/IPDRTypes.xsd"/>
  <annotation>
    <documentation>
      DOCSIS-SAMIS-TYPE-2 is an IPDR Service Definition schema defining
      the Subscriber Account Management (SAMIS) Type 2 IPDR data record
      which references the imported global elements. SAMIS-TYPE-2 is
      based on the optimized streaming model where only updated fields
      are included in each streamed record.

      Revision History:
      3.7-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>
  <complexType name="SAMIS-TYPE-2">
    <complexContent>
      <extension base="ipdr:IPDRType">
        <sequence>
          <element ref="DOCSIS-CMTS:CmtsHostName"/>
          <element ref="DOCSIS-CMTS:CmtsSysUpTime"/>
          <element ref="DOCSIS-CMTS:CmtsMdIfName"/>
          <element ref="DOCSIS-CMTS:CmtsMdIfIndex"/>
          <element ref="DOCSIS-CM:CmMacAddr"/>
          <element ref="DOCSIS-REC:RecType"/>
          <element ref="DOCSIS-REC:RecCreationTime"/>
          <element ref="DOCSIS-QOS:ServiceFlowChSet"/>
          <element ref="DOCSIS-QOS:ServiceAppId"/>
          <element ref="DOCSIS-QOS:AggregateServiceFlowId"/>
          <element ref="DOCSIS-QOS:ServiceDsMulticast"/>
          <element ref="DOCSIS-QOS:ServiceIdentifier"/>
          <element ref="DOCSIS-QOS:ServiceGateId"/>
          <element ref="DOCSIS-QOS:ServiceClassName"/>
          <element ref="DOCSIS-QOS:AsfQosProfileName"/>
          <element ref="DOCSIS-QOS:ServiceDirection"/>
          <element ref="DOCSIS-QOS:ServiceFlowType"/>
          <element ref="DOCSIS-QOS:ServiceOctetsPassed"/>
          <element ref="DOCSIS-QOS:ServicePktsPassed"/>
          <element ref="DOCSIS-QOS:ServiceSlaDropPkts"/>
          <element ref="DOCSIS-QOS:ServiceSlaDelayPkts"/>
          <element ref="DOCSIS-QOS:ServiceFlowStatsAqmDroppedPkts"/>
          <element ref="DOCSIS-QOS:SfCongestionStatsSanctionedPkts"/>
          <element ref="DOCSIS-QOS:SfCongestionStatsArrivedEct0Pkts"/>
          <element ref="DOCSIS-QOS:SfCongestionStatsArrivedEct1Pkts"/>
          <element ref="DOCSIS-QOS:SfCongestionStatsCeMarkedEct1Pkts"/>
          <element ref="DOCSIS-QOS:SfCongestionStatsArrivedCePkts"/>
          <element ref="DOCSIS-QOS:ServiceTimeCreated"/>
          <element ref="DOCSIS-QOS:ServiceTimeActive"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
</schema>
