<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
    xmlns:nrt="http://www.atsc.org/XMLSchemas/nrt/2012/1" 
    targetNamespace="http://www.atsc.org/XMLSchemas/nrt/2012/1" 
    elementFormDefault="qualified" version="1.0">
	<annotation>
		<documentation source="http://www.atsc.org/cms/standards/a_103-2012.pdf">
            ATSC NRT - FDT Extensions
            Version: 1.0
            Date: 5/9/2012
            Location: http://www.atsc.org/XMLSchemas/nrt/2012/1/FDT1.0.xsd
            Namespace: http://www.atsc.org/XMLSchemas/nrt/2012/1

            Information about the use of this schema can be found in ATSC standard
                A/103 Non-Real-Time Content Delivery
            available at http://www.atsc.org/ and referenced as [NRT] below.

            This schema defines XML elements used as extensions to the schema
                defined for FLUTE (with OMA-specific extensions) as part of the
                OMA BCAST Stream and File Distribution specification.
                These extensions add ATSC NRT-specific metadata to express
                grouping of files into content items within the FLUTE sessions
                used for content delivery in ATSC NRT services (fixed or mobile).
            FDT Instances are expected to consist of XML elements
                from the OMA Broadcast Services V1.0 File Description Table
                namespace (urn:oma:xml:bcast:fd:fdt:1.0), as defined in
                the schema located (at the time of publication) at
                
                    http://member.openmobilealliance.org/ftp/Public_documents/bcast/Permanent_documents/OMA-SUP-XSD_bcast_fd_fdt-V1_0-20090212-A.zip
                with ATSC NRT extension elements inserted in a manner consistent
                with the wildcards in that schema.
        </documentation>
	</annotation>
	<element name="FDTContentLinkage" type="nrt:FDTContentLinkageType">
		<annotation>
			<documentation>
                Zero or more of these elements may appear as instantiations of the element wildcard in the OMA FDT-InstanceType content model.
                When they do appear there, they shall specify the default content linkage tag(s) for all files in the FDT Instance.
                See Section 5.3 of [NRT].
            </documentation>
		</annotation>
	</element>
	<complexType name="FDTContentLinkageType">
		<simpleContent>
			<extension base="nrt:ContentLinkageType">
				<anyAttribute processContents="skip"/>
			</extension>
		</simpleContent>
	</complexType>
	<element name="FileContentLinkage" type="nrt:FileContentLinkageType">
		<annotation>
			<documentation>
                Zero or more of these elements may appear as instantiations of the element wildcard in the OMA FileType content model.
                When they do appear there, they shall specify the content linkage tag(s) for that specific file.
                See Section 5.3 of [NRT].
            </documentation>
		</annotation>
	</element>
	<complexType name="FileContentLinkageType">
		<simpleContent>
			<extension base="nrt:ContentLinkageType">
				<attribute name="entry" type="boolean" use="optional" default="false"/>
				<anyAttribute processContents="skip"/>
			</extension>
		</simpleContent>
	</complexType>
	<simpleType name="ContentLinkageType">
		<annotation>
			<documentation>
                ID used to group files in a content item.
                See Sections 4.3 and 5.3 of [NRT].
            </documentation>
		</annotation>
		<restriction base="unsignedInt">
			<minInclusive value="1"/>
		</restriction>
	</simpleType>
</schema>
