<?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/cs_documents/A105-CS.zip"> 
            ATSC Interactive Services Standard (ISS) schema for extension of OIPF Content Access Download Descriptor 
            Version: 1.0 
            Date: 12/12/2013  
            Namespace: http://www.atsc.org/XMLSchemas/iss-cadd-1 
            Information about the use of this schema can be found in ATSC standard A/105-2013. 
            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"
             All five of these schema files must be present to validate this "cadd" schema. 
        </documentation>
    </annotation>
    
    <element name="Contents" type="cadd:ContentsType"/>
    <complexType name="ContentsType">
        <sequence>
            <element name="ContentItem" type="cadd:ContItemType" 
                minOccurs="0" 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>
