<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:cadd="http://www.atsc.org/XMLSchemas/iss/cadd/1"
    xmlns:tns="urn:oipf:iptv:ContentAccessDownloadDescriptor:2008-1"
    targetNamespace="http://www.atsc.org/XMLSchemas/iss/cadd/1" elementFormDefault="qualified"
    version="1.0">
    <import namespace="urn:oipf:iptv:ContentAccessDownloadDescriptor:2008-1"
        schemaLocation="iptv-ContentAccessDownloadDescriptor.xsd"/>

    <annotation>
        <documentation source="http://www.atsc.org/cms/standards/a_nnn-2013.pdf"> 
            ATSC IIS extension of OIPF Content Access Download Descriptor 
            Version: 1.0 Date: m/dd/2013 Location:
            http://www.atsc.org/XMLSchemas/iss/cadd/1.0.xsd 
            Namespace: http://www.atsc.org/XMLSchemas/iss/cadd/1 
            Information about the use of this schema can be found in ATSC standard A/nnn 
            Interactive Services available at http://www.atsc.org/.
            This schema imports the OIPF ContentAccessDownloadDescriptor schema, 
            which has  namespace "urn:oipf:iptv:ContentAccessDownloadDescriptor:2008-1",
            and location "iptv-ContentAccessDownloadDescriptor.xsd".
            This OIPF schema uses the OIPF AbstractContentAccessDescriptor file at location:
                iptv-AbstractContentAccessDescriptor.xsd
            which in turn includes additional OIPF schema files at locations:
                "csp-MarlinPrivateDataType.xsd"
                "csp-DRMPrivateDataType.xsd"
                "csp-HexBinaryPrivateDataType.xsd"
        </documentation>
    </annotation>
    
    <element name="Contents" type="cadd:ContentsType"/>
    <complexType name="ContentsType">
        <sequence>
            <element name="ContentItem" type="cadd:ContItemType" 
                minOccurs="1" maxOccurs="unbounded" />
        </sequence>
    </complexType>
    
    <complexType name="ContItemType">
        <complexContent>
            <extension base="tns:ContItemType">
                <sequence>
                    <element name="Expiration" type="dateTime" minOccurs="0"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>

</schema>
