<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
        targetNamespace="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG"
        xmlns:DOCSIS-DIAG-LOG="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG"
        xmlns:ipdr="http://mibs.cablelabs.com/namespaces/DOCSIS/tmforum/xsd/ipdr/"
        elementFormDefault="qualified"
        attributeFormDefault="unqualified"
        version="3.7-A.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-DIAG-LOG is an auxiliary schema which defines Diagnostic
      Log (DiagLog) information.

      Revision History:
      3.5.1-A.1 Initial version.
      3.7-A.1.0.0 New revision naming convention.
      3.7-A.1.0.1 Update namespace from mibs to www. Fix import versions.
                  Error corrections announced via errata sheet attached to CM-SP-OSSIv3.0-C01-171207.

      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.0 Operations Support System Interface Specification
        CM-SP-OSSIv3.0-C01-171207.
      </ipdr:reference>
    </documentation>
  </annotation>
  <element name="LastUpdateTime" type="dateTime">
    <annotation>
      <documentation>
        Contains the last time-of-day when a cable modem triggered one or more
        of its detectors.
      </documentation>
    </annotation>
  </element>
  <element name="CreateTime" type="dateTime">
    <annotation>
      <documentation>
        Contains the time-of-day when a cable modem was initially added to the
        diagnostic log.
      </documentation>
    </annotation>
  </element>
  <element name="LastRegTime" type="dateTime">
    <annotation>
      <documentation>
        Contains the time-of-day when a cable modem last registered.
      </documentation>
    </annotation>
  </element>
  <element name="RegCount" type="unsignedInt">
    <annotation>
      <documentation>
        Contains the number of times the Registration diagnostic detector has
        been triggered for a cable modem.
      </documentation>
    </annotation>
  </element>
  <element name="RangingRetryCount" type="unsignedInt">
    <annotation>
      <documentation>
        Contains the number of times the Ranging Retry diagnostic detector has
        been triggered for a cable modem.
      </documentation>
    </annotation>
  </element>
  <element name="TriggerFlagValue">
    <annotation>
      <documentation>
        Contains the diagnostic log trigger type value.
      </documentation>
    </annotation>
    <simpleType>
      <restriction base="integer">
        <enumeration value="1">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>Registration</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
        <enumeration value="2">
          <annotation>
            <documentation>
              <ipdr:enumMeaning>RangingRetry</ipdr:enumMeaning>
            </documentation>
          </annotation>
        </enumeration>
      </restriction>
    </simpleType>
  </element>
</schema>
