<?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://www.ipdr.org/namespaces/ipdr" 
        version="3.5.1-A.1" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <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-DIAG-LOG_3.5.1-A.1 is an auxiliary schema 
        which defines Diagnostic Log (DiagLog) information.</documentation>
        <documentation>
        <ipdr:reference>Data-Over-Cable Service Interface Specifications: Operations
        Support System Interface Specification SP-CM-OSSIv3.0-I01-061207, Annex G.
        </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>

