<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:PPCA-UpTake-Registrations-1.0" xmlns:uptaketype="urn:ARIA-UpTake-Type-1.0" xmlns:rapstype="urn:ARIA-Chart-Common-Type-1.0" targetNamespace="urn:PPCA-UpTake-Registrations-1.0" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="urn:ARIA-Chart-Common-Type-1.0" schemaLocation="ARIA-Chart-Common-Type.xsd"/>
	<xs:import namespace="urn:ARIA-UpTake-Type-1.0" schemaLocation="ARIA-UpTake-Type.xsd"/>
	<xs:element name="Registrations">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Track" minOccurs="1" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="TrackOtherPerformerDetails" minOccurs="0" maxOccurs="unbounded">
								<xs:complexType>
									<xs:attribute name="TrackOtherPerformerName" type="rapstype:nonemptystring" use="required"/>
									<xs:attribute name="TrackOtherPerformerIndexName" type="rapstype:nonemptystring" use="optional"/>
									<xs:attribute name="TrackOtherPerformerCountry" type="rapstype:CountryType" use="optional"/>
								</xs:complexType>
							</xs:element>
							<!-- Known Related Title Information -->
							<xs:element name="Title" minOccurs="0" maxOccurs="unbounded">
								<xs:complexType>
									<!-- Know Title that the track appeas on -->
									<xs:attribute name="ReleaseTitleName" type="rapstype:nonemptystring" use="required"/>
									<xs:attribute name="ReleaseTitleIndexName" type="rapstype:nonemptystring" use="optional"/>
									
									<!-- Title Artist Release Details -->
									<xs:attribute name="ReleaseArtistName" type="rapstype:nonemptystring" use="required"/>
									<xs:attribute name="ReleaseArtistIndexName" type="rapstype:nonemptystring" use="optional"/>
									<xs:attribute name="ReleaseArtistCountry" type="rapstype:CountryType" use="required"/>
									
									<!-- Other Title information -->
									<xs:attribute name="Distributor" type="rapstype:nonemptystring" use="optional"/>
									<xs:attribute name="MusicStyle" type="rapstype:nonemptystring" use="optional"/>
									<xs:attribute name="CountryOfOrigin" type="rapstype:nonemptystring" use="optional"/>
									<xs:attribute name="Format" type="uptaketype:MediumType" use="optional"/>
									<xs:attribute name="CatalogueNumber" type="rapstype:nonemptystring" use="required"/>
									<xs:attribute name="OriginalReleaseLabel" type="rapstype:nonemptystring" use="optional"/>
									<xs:attribute name="ReleaseDate" type="uptaketype:DateType" use="optional"/>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<!-- Track Name Details -->
						<xs:attribute name="TrackName" type="rapstype:nonemptystring" use="required"/>
						<xs:attribute name="TrackVersion" type="rapstype:nonemptystring" use="optional"/>
						<xs:attribute name="TrackIndexName" type="rapstype:nonemptystring" use="optional"/>
						
						<!-- Primary Artist Details -->
						<xs:attribute name="TrackPrimaryArtistName" type="rapstype:nonemptystring" use="required"/>
						<xs:attribute name="TrackPrimaryArtistIndexName" type="rapstype:nonemptystring" use="optional"/>
						<xs:attribute name="TrackPrimaryArtistCountry" type="rapstype:CountryType" use="required"/>

						<!-- Claim Details -->
						<xs:attribute name="LicensorPercentageClaimed" type="uptaketype:Percentage" use="optional" default="100.00"/>
						<xs:attribute name="DateRightsAquired" type="uptaketype:DateType" use="optional"/>
						<xs:attribute name="DateRightsEnded" type="uptaketype:DateType" use="optional"/>
						<xs:attribute name="TrackOriginalReleaseDate" type="uptaketype:DateType" use="optional"/>
						<xs:attribute name="TrackCountryRecorded" type="rapstype:CountryType" use="optional"/>
						<xs:attribute name="TrackCountryOfOrigin" type="rapstype:CountryType" use="optional"/>
						<xs:attribute name="ISRC" type="rapstype:ISRCType" use="optional"/>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="Name" type="rapstype:nonemptystring" use="required"/>
			<xs:attribute name="DateGenerated" type="uptaketype:DateType" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>
