<?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-QOS" 
        xmlns:DOCSIS-QOS="http://www.cablelabs.com/namespaces/DOCSIS/3.0/xsd/ipdr/DOCSIS-QOS" 
        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-QOS_3.5.1-A.1 is an auxiliary schema 
        which defines Quality of Service (QOS) information.</documentation>
        <documentation>
        <ipdr:reference>DOCSIS 3.0 Operations Support System Interface Specification 
        CM-SP-OSSIv3.0-I12-100611, Annex C.
        </ipdr:reference>
        </documentation>
    </annotation>
    <element name="ServiceFlowChSet">
        <annotation>
            <documentation>Contains the set of channels
            configured for the service flow. Each octet represents the
            channel id of a channel.</documentation>
        </annotation>
        <simpleType>
            <restriction base="hexBinary">
                <maxLength value="255"/>
                <minLength value="1"/>
            </restriction>
        </simpleType>
    </element>
    <element name="ServiceAppId" type="unsignedInt">
        <annotation>
            <documentation>Contains the application identifier associated 
            with the service flow.</documentation>
        </annotation>
    </element>
    <element name="ServiceDsMulticast" type="boolean">
        <annotation>
            <documentation>Indicates whether the service flow
            is multicast or unicast. A value of 'true' indicates a multicast
            service flow. A value of 'false' indicates a unicast service flow</documentation>
        </annotation>
    </element>
    <element name="ServiceIdentifier" type="unsignedInt">
        <annotation>
            <documentation>Contains a 32-bit Service Flow ID of the SF, in decimal notation.</documentation>
        </annotation>
    </element>
    <element name="ServiceGateId" type="unsignedInt">
        <annotation>
            <documentation> Contains a 32-bit GateID of the SF, or zero if not applicable, in decimal notation.</documentation>
        </annotation>
    </element>
    <element name="ServiceClassName" type="string">
        <annotation>
            <documentation>Contains the Service Class Name (SCN) of the Service Flow.</documentation>
        </annotation>
    </element>
    <element name="ServiceDirection">
        <annotation>
            <documentation>Contains the direction of the SF from the CMTS cable interface.</documentation>
        </annotation>
        <simpleType>
            <restriction base="integer">
                <enumeration value="1">
                    <annotation>
                        <documentation>
                            <ipdr:enumMeaning>Downstream</ipdr:enumMeaning>
                        </documentation>
                    </annotation>
                </enumeration>
                <enumeration value="2">
                    <annotation>
                        <documentation>
                            <ipdr:enumMeaning>Upstream</ipdr:enumMeaning>
                        </documentation>
                    </annotation>
                </enumeration>
            </restriction>
        </simpleType>
    </element>
    <element name="ServiceOctetsPassed" type="unsignedLong">
        <annotation>
            <documentation>Contains a 64-bit absolute counter value of octets passed by this SF.</documentation>
        </annotation>
    </element>
    <element name="ServicePktsPassed" type="unsignedLong">
        <annotation>
            <documentation>Contains a 64-bit absolute counter value of octets passed by this SF.</documentation>
        </annotation>
    </element>
    <element name="ServiceSlaDropPkts" type="unsignedInt">
        <annotation>
            <documentation>Contains a 32-bit absolute counter value of packets dropped exceeding SLA by this SF (Downstream only).</documentation>
        </annotation>
    </element>
    <element name="ServiceSlaDelayPkts" type="unsignedInt">
        <annotation>
            <documentation>Contains a 32-bit absolute counter value of packets delayed exceeding SLA by this SF (Downstream only).</documentation>
        </annotation>
    </element>
    <element name="ServiceTimeCreated" type="unsignedInt">
        <annotation>
            <documentation>Contains the value of CmtsSysUpTime when the Service
            Flow was created for DOCSIS QOS CM provisioning. For DOCSIS
            COS CM provisioning (optionally supported only by 3.0 CMTSs),
			it is the time the non-temporary SID is created.
            For downstream CM traffic it indicates the time the CM registers.
            </documentation>
        </annotation>
    </element>
    <element name="ServiceTimeActive" type="unsignedInt">
        <annotation>
            <documentation>Contains the total time that the Service Flow 
            was active, specified in seconds.</documentation>
        </annotation>
    </element>
</schema>

