<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2011 rel. 3 (x64) (http://www.altova.com) by Craig Seidel (MovieLabs) -->
<xs:schema xmlns:ema="http://www.entmerch.org/metadata/ema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:md="http://www.movielabs.com/schema/md/v1.2/md" targetNamespace="http://www.entmerch.org/metadata/ema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.2">
	<xs:import namespace="http://www.movielabs.com/schema/md/v1.2/md" schemaLocation="http://www.movielabs.com/schema/md/v1.1.8/md.xsd"/>
	<!--EMA METADATA -->
	<!--verson 1.1.8-->
	<xs:complexType name="BasicMetadata-type">
		<xs:complexContent>
			<xs:extension base="md:BasicMetadata-type"/>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="DigitalAssetMetadata-type">
		<xs:complexContent>
			<xs:extension base="md:DigitalAssetMetadata-type"/>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="CompanyCredits-type">
		<xs:sequence>
			<xs:element name="DisplayString" maxOccurs="unbounded">
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="xs:string">
							<xs:attribute name="language" type="xs:language"/>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="Region" type="md:Region-type" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="DisplaySequence" type="xs:integer" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GroupingEntity-type">
		<xs:sequence>
			<xs:element name="Type" type="xs:string"/>
			<xs:element name="GroupIdentity" type="xs:string"/>
			<xs:element name="DisplayName" maxOccurs="unbounded">
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="xs:string">
							<xs:attribute name="language" type="xs:language"/>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="Region" type="md:Region-type" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EMAMetadataFile-type">
		<xs:complexContent>
			<xs:extension base="ema:EMACoreMetadata-type"/>
		</xs:complexContent>
	</xs:complexType>
	<!--*** Manifest Metadata ***-->
	<xs:complexType name="FileInfo-type">
		<xs:sequence>
			<xs:element name="Location" type="xs:anyURI"/>
			<xs:element name="type">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="manifest"/>
						<xs:enumeration value="metadata"/>
						<xs:enumeration value="media"/>
						<xs:enumeration value="transaction"/>
						<xs:enumeration value="ancillary"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="Hash" minOccurs="0">
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="xs:string">
							<xs:attribute name="Method" type="xs:string"/>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="WrapperFormat" type="xs:string" minOccurs="0"/>
			<xs:element name="ContainerMetadata" type="md:ContainerMetadata-type" minOccurs="0"/>
			<xs:element name="Replaces" type="ema:FileInfo-type" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="Publisher-type">
		<xs:complexContent>
			<xs:extension base="md:OrgName-type">
				<xs:sequence>
					<xs:element name="ContactInfo" type="md:ContactInfo-type"/>
				</xs:sequence>
				<xs:attribute name="retailerSpecificID" type="xs:string"/>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="ManifestInfo-type">
		<xs:sequence>
			<xs:element name="PackageID" type="xs:string"/>
			<xs:element name="PackageDate" type="xs:dateTime"/>
			<xs:element name="Publisher" type="ema:Publisher-type"/>
			<xs:element name="AudienceRegion" type="md:Region-type"/>
			<xs:element name="TotalFilesInPackage" type="xs:int"/>
			<xs:element name="FileInfo" type="ema:FileInfo-type" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EMAManifestFile-type">
		<xs:complexContent>
			<xs:extension base="ema:ManifestInfo-type"/>
		</xs:complexContent>
	</xs:complexType>
	<!--*** Business Rules *** -->
	<xs:complexType name="TransCondDate-type">
		<xs:sequence>
			<xs:element name="Event" type="xs:string"/>
			<xs:element name="Condition" type="xs:string"/>
			<xs:element name="Locale" type="md:Region-type"/>
			<xs:element name="Lag" type="xs:duration"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TransInfo-type">
		<xs:sequence>
			<xs:element name="Type" type="xs:string"/>
			<xs:element name="Description" type="xs:string"/>
			<xs:element name="DistributionTerritory" type="md:Region-type" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>work Intended Audience Regiion</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Parameters" type="md:NVPair-type" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="OtherInstructions" type="xs:string" minOccurs="0"/>
			<xs:choice>
				<xs:element name="Start" type="xs:dateTime" minOccurs="0"/>
				<xs:element name="CondStart" type="ema:TransCondDate-type" minOccurs="0"/>
			</xs:choice>
			<xs:choice>
				<xs:element name="End" type="xs:dateTime" minOccurs="0"/>
				<xs:element name="CondEnd" type="ema:TransCondDate-type" minOccurs="0"/>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TransAssetList-type">
		<xs:sequence>
			<xs:element name="DisplayName" minOccurs="0">
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="xs:string">
							<xs:attribute name="lang" type="xs:language"/>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="ContentID" type="md:ContentID-type" maxOccurs="unbounded"/>
			<xs:element name="ContentStructure" type="md:CompObj-type" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="id" type="md:id-type"/>
	</xs:complexType>
	<xs:complexType name="TransInfoList-type">
		<xs:sequence>
			<xs:element name="Assets" type="ema:TransAssetList-type"/>
			<xs:element name="TransInfo" type="ema:TransInfo-type" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="EMATransFile-type">
		<xs:sequence>
			<xs:element name="Transaction" type="ema:TransInfoList-type" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<!--*** File type ***-->
	<xs:complexType name="EMAFile-type">
		<xs:choice>
			<xs:element name="Metadata" type="ema:EMAMetadataFile-type"/>
			<xs:element name="TransactionData" type="ema:EMATransFile-type"/>
			<xs:element name="ManifestData" type="ema:EMAManifestFile-type"/>
		</xs:choice>
	</xs:complexType>
	<xs:element name="EMAFile" type="ema:EMAFile-type"/>
	<!--*** Core Metadata ***-->
	<xs:complexType name="EMACoreMetadata-type">
		<xs:sequence>
			<xs:element name="Basic" type="ema:BasicMetadata-type"/>
			<xs:element name="DigitalAsset" type="ema:DigitalAssetMetadata-type" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="TitleInternalAlias" type="xs:string" minOccurs="0"/>
			<xs:element name="TrackingID" type="xs:string" minOccurs="0"/>
			<xs:element name="Source" type="ema:Publisher-type" minOccurs="0"/>
			<xs:element name="CompanyDisplayCredit" type="ema:CompanyCredits-type" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="GroupingEntity" type="ema:GroupingEntity-type" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="EMACoreMetadata" type="ema:EMACoreMetadata-type"/>
</xs:schema>

