<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:raps="urn:ARIA-UpTake-Type-1.0" xmlns="urn:ARIA-UpTake-Type-1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:ARIA-UpTake-Type-1.0" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<!-- Date format for UpTake files. Not the same format as the common Chart Type -->
	<xs:simpleType name="DateType" final="restriction">
		<xs:restriction base="xs:string">
			<xs:pattern value="(175[3-9]|17[6-9][0-9]|1[89][0-9]{2}|[2-9][0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- Enumerations -->
	<xs:simpleType name="TitleIdentifierType" final="restriction">
		<xs:restriction base="xs:string">
			<xs:enumeration value="External Reference"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- TODO: APN, Skew Code and GRiD must conform to validation...Need substitution Group -->
	<xs:simpleType name="ProductIdentifierType" final="restriction">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Alternative Catalogue Number"/>
			<xs:enumeration value="Alternative APN"/>
			<xs:enumeration value="Alternative GRID"/>
			<xs:enumeration value="Skew Code"/>
			<xs:enumeration value="External Reference"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- Alternative ISRC must conform to correct validation -> Substitution group -->
	<xs:simpleType name="TrackIdentifierType" final="restriction">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Alternative ISRC"/>
			<xs:enumeration value="External Reference"/>
			<!-- Store EMI-DD and EMI-DV values as Alternative ISRC codes. -->
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="MediumType" final="restriction">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Vinyl"/>
			<xs:enumeration value="Cassette"/>
			<xs:enumeration value="VHS"/>
			<xs:enumeration value="BETA"/>
			<xs:enumeration value="CD"/>
			<xs:enumeration value="Other"/>
			<xs:enumeration value="UMD"/>
			<xs:enumeration value="Game Software"/>
			<xs:enumeration value="DVD"/>
			<xs:enumeration value="Laser Disc"/>
			<xs:enumeration value="Mini Disc"/>
			<xs:enumeration value="DCC"/>
			<xs:enumeration value="SACD"/>
			<xs:enumeration value="Blu-Ray"/>
			<xs:enumeration value="HD DVD"/>
			<xs:enumeration value="Digital"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PackageType" final="restriction">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Standard"/>
			<xs:enumeration value="Bonus Pack"/>
			<xs:enumeration value="Box Set"/>
			<xs:enumeration value="Christmas Package"/>
			<xs:enumeration value="Collector&apos;s Edition"/>
			<xs:enumeration value="Competition Pack"/>
			<xs:enumeration value="DIGI Pack"/>
			<xs:enumeration value="Double Pack"/>
			<xs:enumeration value="Limited Edition"/>
			<xs:enumeration value="Multipack"/>
			<xs:enumeration value="Other"/>
			<xs:enumeration value="Posterpack"/>
			<xs:enumeration value="Special Pack"/>
			<xs:enumeration value="Tour Pack"/>
			<xs:enumeration value="With CD Rom"/>
			<xs:enumeration value="With Jigsaw"/>
			<xs:enumeration value="With VHS"/>
			<xs:enumeration value="With DVD"/>
			<xs:enumeration value="With Compact Disc"/>
			<xs:enumeration value="With Vinyl"/>
			<xs:enumeration value="Deluxe Edition"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="RecordingType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Album"/>
			<xs:enumeration value="Audiovisual"/>
			<xs:enumeration value="Single"/>
			<xs:enumeration value="Download Album"/>
			<xs:enumeration value="Download Single"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ClassificationClassType" final="restriction">
		<xs:restriction base="xs:string">
			<xs:enumeration value="OFLC"/>
			<xs:enumeration value="ARIA"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="ClassificationCodeType" final="restriction">
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
			<xs:enumeration value="G"/>
			<xs:enumeration value="PG"/>
			<xs:enumeration value="M"/>
			<xs:enumeration value="MA"/>
			<xs:enumeration value="R"/>
			<!--xs:enumeration value="X"/-->
		</xs:restriction>
	</xs:simpleType>
	<!--Genre types-->
	<xs:simpleType name="GenreType" final="restriction">
		<xs:restriction base="xs:string">
			<xs:enumeration value="AMBIENT / INSPIRATIONAL / GOSPEL"/>
			<xs:enumeration value="Ambient / Inspirational / Gospel"/>
			<xs:enumeration value="Christian"/>
			<xs:enumeration value="Christmas/Seasonal Recordings"/>
			<xs:enumeration value="New Age"/>
			<xs:enumeration value="Spiritual"/>
			<xs:enumeration value="Ambient"/>
			<xs:enumeration value="Gospel"/>
			<xs:enumeration value="CHILDRENS"/>
			<xs:enumeration value="Childrens"/>
			<xs:enumeration value="CLASSICAL / OPERATIC"/>
			<xs:enumeration value="Classical / Operatic"/>
			<xs:enumeration value="Classical"/>
			<xs:enumeration value="Opera"/>
			<xs:enumeration value="COMEDY / SPOKEN WORD"/>
			<xs:enumeration value="Comedy / Spoken Word"/>
			<xs:enumeration value="Spoken Word"/>
			<xs:enumeration value="Comedy"/>
			<xs:enumeration value="COUNTRY / FOLK"/>
			<xs:enumeration value="Country / Folk"/>
			<xs:enumeration value="Country"/>
			<xs:enumeration value="Folk"/>
			<xs:enumeration value="Bluegrass"/>
			<xs:enumeration value="Singer/Songwriter"/>
			<xs:enumeration value="EASY / M.O.R. / NOSTALGIC"/>
			<xs:enumeration value="Easy / M.O.R. / Nostalgic"/>
			<xs:enumeration value="Easy Listening"/>
			<xs:enumeration value="MOR"/>
			<xs:enumeration value="Soundtrack"/>
			<xs:enumeration value="Adult Contemporary"/>
			<xs:enumeration value="Lounge"/>
			<xs:enumeration value="Musical"/>
			<xs:enumeration value="JAZZ / BIG BAND / SWING"/>
			<xs:enumeration value="Jazz / Big Band / Swing"/>
			<xs:enumeration value="Jazz"/>
			<xs:enumeration value="Big Band"/>
			<xs:enumeration value="Swing"/>
			<xs:enumeration value="ROCK / POP / DANCE"/>
			<xs:enumeration value="Rock / Pop / Dance"/>
			<xs:enumeration value="Alternative"/>
			<xs:enumeration value="Breaks"/>
			<xs:enumeration value="Dance"/>
			<xs:enumeration value="Drum n Bass"/>
			<xs:enumeration value="Funk"/>
			<xs:enumeration value="Hard Rock"/>
			<xs:enumeration value="Metal"/>
			<xs:enumeration value="Hip Hop"/>
			<xs:enumeration value="House"/>
			<xs:enumeration value="Pop"/>
			<xs:enumeration value="Rock"/>
			<xs:enumeration value="Trance"/>
			<xs:enumeration value="Urban"/>
			<xs:enumeration value="Rap"/>
			<xs:enumeration value="Electronica"/>
			<xs:enumeration value="Electro"/>
			<xs:enumeration value="Beats"/>
			<xs:enumeration value="Techno"/>
			<xs:enumeration value="Soft Rock"/>
			<xs:enumeration value="Hardcore"/>
			<xs:enumeration value="Progressive"/>
			<xs:enumeration value="Blues Rock"/>
			<xs:enumeration value="Power Pop"/>
			<xs:enumeration value="Punk"/>
			<xs:enumeration value="New Wave"/>
			<xs:enumeration value="SOUL / RHYTHM &amp; BLUES"/>
			<xs:enumeration value="Soul / Rhythm &amp; Blues"/>
			<xs:enumeration value="Motown"/>
			<xs:enumeration value="R&amp;B"/>
			<xs:enumeration value="Soul"/>
			<xs:enumeration value="Blues"/>
			<xs:enumeration value="Roots"/>
			<xs:enumeration value="TRADITIONAL / ETHNIC / WORLD MUSIC"/>
			<xs:enumeration value="Traditional / Ethnic / World Music"/>
			<xs:enumeration value="Traditional"/>
			<xs:enumeration value="Indigenous"/>
			<xs:enumeration value="World Music"/>
			<xs:enumeration value="Reggae"/>
			<xs:enumeration value="Latin"/>
			<xs:enumeration value="Samba"/>
			<xs:enumeration value="Dub"/>
			<xs:enumeration value="UNKNOWN"/>
			<xs:enumeration value="Unknown"/>
			<xs:enumeration value="Other"/>
			<xs:enumeration value="NON-MUSIC VIDEO"/>
			<xs:enumeration value="Non-Music Video"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TypeOfRightsOrganisation" final="restriction">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ARIA"/>
			<xs:enumeration value="PPCA"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TypeOfRights" final="restriction">
		<xs:restriction base="xs:string">
			<xs:enumeration value="All"/>
			<xs:enumeration value="AR"/>
			<xs:enumeration value="VR"/>
			<xs:enumeration value="AB"/>
			<xs:enumeration value="AI"/>
			<xs:enumeration value="AW"/>
			<xs:enumeration value="AS"/>
			<xs:enumeration value="AD"/>
			<xs:enumeration value="AH"/>
			<xs:enumeration value="VB"/>
			<xs:enumeration value="VI"/>
			<xs:enumeration value="VW"/>
			<xs:enumeration value="VS"/>
			<xs:enumeration value="VD"/>
			<xs:enumeration value="VH"/>
			<xs:enumeration value="AP"/>
			<xs:enumeration value="VP"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Percentage">
		<xs:restriction base="xs:decimal">
			<xs:minExclusive value="0"/>
			<xs:maxInclusive value="100"/>
			<xs:fractionDigits value="2"/>
			<!-- Support 2 decimal places only -->
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
