<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
        targetNamespace="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG-TYPE" 
        xmlns:DOCSIS-DIAG-LOG-TYPE="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG-TYPE" 
        xmlns:DOCSIS-CM="http://mibs.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CM" 
        xmlns:DOCSIS-CMTS="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS" 
        xmlns:DOCSIS-REC="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-REC" 
        xmlns:DOCSIS-DIAG-LOG="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG" 
        xmlns:ipdr="http://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/" 
        version="3.7-A.2.0.0" elementFormDefault="qualified" 
attributeFormDefault="unqualified">
  <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://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS" schemaLocation="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS/DOCSIS-CMTS_3.7-A.1.0.0.xsd"/>
  <import namespace="http://mibs.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CM" schemaLocation="http://mibs.cablelabs.com/namespaces/DOCSIS/3.1/xsd/ipdr/DOCSIS-CM/DOCSIS-CM_3.7-B.3.0.0.xsd"/>
  <import namespace="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-REC" schemaLocation="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-REC/DOCSIS-REC_3.7-A.1.0.0.xsd"/>
  <import namespace="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG" schemaLocation="http://mibs.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG/DOCSIS-DIAG-LOG_3.7-A.1.0.0.xsd"/>
  <include schemaLocation="http://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/IPDRTypes.xsd"></include>
  <annotation>
    <documentation>
      DOCSIS-DIAG-LOG-TYPE is an IPDR Service Definition 
      schema defining the CMTS Diagnostic Log Type IPDR data 
      record which references the imported global elements.

      Revision History:
      3.5.1-A.1 Initial version.
      3.5.1-A.2 Revised version includes ECN
        OSSIv3.0-N-10.0968-2 and published as I14.
      3.7-A.2.0.0 New revision naming convention.
                  Fix import versions. Do not use version 2.0.0, bad import; use 3.0.0 instead.

      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-2024 Cable Television Laboratories, Inc.
        All rights reserved.
      </documentation>
    <documentation>
      <ipdr:reference>
          DOCSIS 3.0 Operations Support System Interface Specification 
          CM-SP-OSSIv3.0-I14-110210, Annex G.
      </ipdr:reference>
    </documentation>
  </annotation>
  <complexType name="DIAG-LOG-TYPE">
    <annotation>
      <documentation>The IPDR Record containing one diagnostic log entry representing a single
      cable modem which has triggered at least one of the diagnostic triggers.</documentation>
    </annotation>
    <complexContent>
      <extension base="ipdr:IPDRType">
        <sequence>
          <element ref="DOCSIS-CMTS:CmtsHostName"/>
          <element ref="DOCSIS-CM:CmMacAddr"/>
          <element ref="DOCSIS-DIAG-LOG:LastUpdateTime"/>
          <element ref="DOCSIS-DIAG-LOG:CreateTime"/>
          <element ref="DOCSIS-DIAG-LOG:LastRegTime"/>
          <element ref="DOCSIS-DIAG-LOG:RegCount"/>
          <element ref="DOCSIS-DIAG-LOG:RangingRetryCount"/>
          <element ref="DOCSIS-REC:RecType"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
</schema>
