<?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-EVENT-TYPE" 
        xmlns:DOCSIS-DIAG-LOG-EVENT-TYPE="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG-EVENT-TYPE" 
        xmlns:DOCSIS-CM="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CM"
        xmlns:DOCSIS-CMTS="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-CMTS"
        xmlns:DOCSIS-REC="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-REC"
        xmlns:DOCSIS-DIAG-LOG="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG"
        xmlns:DOCSIS-DIAG-LOG-DETAIL="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG-DETAIL"
        xmlns:ipdr="http://www.ipdr.org/namespaces/ipdr" 
        version="3.5.1-A.2" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <import namespace="http://www.ipdr.org/namespaces/ipdr" schemaLocation="http://www.ipdr.org/public/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.5.1-A.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.5.1-A.3.xsd"/>
    <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG/DOCSIS-DIAG-LOG_3.5.1-A.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.5.1-A.1.xsd"/>
    <import namespace="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG-DETAIL" schemaLocation="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-DIAG-LOG-DETAIL/DOCSIS-DIAG-LOG-DETAIL_3.5.1-A.1.xsd"/>
    <include schemaLocation="http://www.ipdr.org/public/IPDRTypes.xsd">
        <annotation>
            <documentation>Import auxiliary schemas 
            for global element references.
            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.
            </documentation>
        </annotation>
    </include>
    <annotation>
        <documentation>DOCSIS-DIAG-LOG-EVENT-TYPE is an IPDR Service Definition 
         schema defining the CMTS Diagnostic Log Event Type IPDR data 
         record which references the imported global elements.</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-EVENT-TYPE">
        <annotation>
            <documentation>The event-based IPDR Record containing only the required elements for updating
      the diagnostic log located outside of the exporter.</documentation>
        </annotation>
        <complexContent>
            <extension base="ipdr:IPDRType">
                <sequence>
                    <element ref="DOCSIS-CMTS:CmtsHostName"/>
                    <element ref="DOCSIS-CM:CmMacAddr"/>
                    <element ref="DOCSIS-CMTS:CmtsSysUpTime"/>
                    <element ref="DOCSIS-DIAG-LOG:TriggerFlagValue"/>
                    <element ref="DOCSIS-DIAG-LOG-DETAIL:TypeValue"/>
                    <element ref="DOCSIS-DIAG-LOG-DETAIL:LastErrorText"/>
                    <element ref="DOCSIS-REC:RecType"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>
</schema>

