<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ern="http://ddex.net/xml/ern/341"
   xmlns:ddexC="http://ddex.net/xml/20120404/ddexC" xmlns:ddex="http://ddex.net/xml/20120404/ddex"
   xmlns:iso639a2="http://ddex.net/xml/20120404/iso639a2"
   xmlns:iso4217a="http://ddex.net/xml/20120404/iso4217a"
   xmlns:iso3166a2="http://ddex.net/xml/20120404/iso3166a2"
   targetNamespace="http://ddex.net/xml/ern/341" elementFormDefault="unqualified"
   attributeFormDefault="unqualified">
   <xs:import namespace="http://ddex.net/xml/20120404/ddexC" schemaLocation="ddexC.xsd"/>
   <xs:import namespace="http://ddex.net/xml/20120404/ddex" schemaLocation="ddex.xsd"/>
   <xs:import namespace="http://ddex.net/xml/20120404/iso639a2" schemaLocation="iso639a2.xsd"/>
   <xs:import namespace="http://ddex.net/xml/20120404/iso4217a" schemaLocation="iso4217a.xsd"/>
   <xs:import namespace="http://ddex.net/xml/20120404/iso3166a2" schemaLocation="iso3166a2.xsd"/>
   <xs:annotation>
      <xs:documentation>© 2006-2012 Digital Data Exchange, LLC (DDEX)</xs:documentation>
   </xs:annotation>
   <xs:element name="NewReleaseMessage">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Message in the Release Notification Message Suite Standard, containing details of a new ddex:Release.</xs:documentation>
      </xs:annotation>
      <xs:complexType>
         <xs:sequence>
            <xs:element name="MessageHeader" type="ddexC:MessageHeader">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">The MessageHeader for the ern:NewReleaseMessage.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="UpdateIndicator" type="ddex:UpdateIndicator">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">The indicator which distinguishes whether the ddex:Message contains original data or updates to previously sent data.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="CatalogTransfer" minOccurs="0" type="ern:CatalogTransfer">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Price change.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="WorkList" minOccurs="0" type="ddexC:WorkList">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:MusicalWorks, a ddex:Performance of which is contained in the ddex:Resources of the ern:NewReleaseMessage.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="CueSheetList" minOccurs="0" type="ern:CueSheetList">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:CueSheets contained in ddex:Releases for which data is provided in the ern:NewReleaseMessage.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ResourceList" type="ern:ResourceList">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Resources.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="CollectionList" minOccurs="0" type="ern:CollectionList">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Collections contained in ddex:Releases for which data is provided in the ern:NewReleaseMessage.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseList" type="ern:ReleaseList">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:DDEX ddex:Releases contained in the ern:NewReleaseMessage.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="DealList" minOccurs="0" type="ern:DealList">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Deals governing the Usage of the ddex:Releases in the ddex:Message.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:sequence>
         <xs:attribute name="MessageSchemaVersionId" type="xs:string" use="required">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier of the ddex:Version of the XML schema used for the ddex:Message. This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
            </xs:annotation>
         </xs:attribute>
         <xs:attribute name="BusinessProfileVersionId" type="xs:string">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier of the ddex:Version of the business profile used for the ddex:Message. This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
            </xs:annotation>
         </xs:attribute>
         <xs:attribute name="ReleaseProfileVersionId" type="xs:string">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier of the ddex:Version of the release profile used for the ddex:Message. This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
            </xs:annotation>
         </xs:attribute>
         <xs:attribute name="LanguageAndScriptCode" type="xs:string">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:NewReleaseMessage as defined in IETF RfC 4646. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
            </xs:annotation>
         </xs:attribute>
      </xs:complexType>
   </xs:element>
   <xs:element name="CatalogListMessage">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Message in the Release Notification Message Suite Standard, containing a list of ddex:Releases that form part of a catalog.</xs:documentation>
      </xs:annotation>
      <xs:complexType>
         <xs:sequence>
            <xs:element name="MessageHeader" type="ddexC:MessageHeader">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">The MessageHeader for the ern:CatalogListMessage.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="PublicationDate" type="xs:dateTime">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">The ddex:DateTime at which the catalog will become available (the only allowed format is ISO 8601:2004: YYYY-MM-DDThh:mm:ssTZD).</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="CatalogItem" maxOccurs="unbounded" type="ern:CatalogItem">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Release which is an item of the catalog.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:sequence>
         <xs:attribute name="MessageSchemaVersionId" type="xs:string" use="required">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier of the ddex:Version of the XML schema used for the ddex:Message. This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
            </xs:annotation>
         </xs:attribute>
         <xs:attribute name="BusinessProfileVersionId" type="xs:string">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier of the ddex:Version of the business profile used for the ddex:Message. This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
            </xs:annotation>
         </xs:attribute>
         <xs:attribute name="ReleaseProfileVersionId" type="xs:string">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier of the ddex:Version of the release profile used for the ddex:Message. This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
            </xs:annotation>
         </xs:attribute>
         <xs:attribute name="LanguageAndScriptCode" type="xs:string">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:CatalogListMessage as defined in IETF RfC 4646. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
            </xs:annotation>
         </xs:attribute>
      </xs:complexType>
   </xs:element>
   <xs:complexType name="CatalogItem">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Release which is an item of a catalog.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Territory for the ddex:Release (represented by an ISO 3166-1 iso3166a2:TerritoryCode).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ReleaseId" maxOccurs="unbounded" type="ddexC:ReleaseId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:ReleaseIds. If available, a ddex:GRid has to be used. If the ern:Release contains only one ddex:SoundRecording, the ddex:ISRC of the ddex:SoundRecording may be used instead. If the ern:Release is an abstraction of a complete ddex:PhysicalProduct (such as a CD ddex:Album), the ddex:ICPN of the ddex:PhysicalProduct may be used instead.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Title" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="DisplayArtistName" type="ddexC:Name">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:Name to be used by a ddex:DSP when presenting ddex:Artist details of the ddex:Release to a ddex:Consumer.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ContributorName" maxOccurs="unbounded" type="ddexC:Name">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Contributor to the catalog, i.e. to at least one of the included ddex:Releases.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="DisplayTitle" type="ddexC:ReferenceTitle">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:DisplayTitle of the ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="LabelName" maxOccurs="unbounded" type="ddexC:LabelName">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:Name of the ddex:Label for the ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Genre" minOccurs="0" maxOccurs="unbounded" type="ddexC:Genre">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Genre to which the ddex:Release belongs.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:PLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:PLine for the ern:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:CLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:CLine for the ern:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ReleaseDate" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:Release was or will be first made available for Usage, whether for physical or electronic/online distribution (in ISO 8601:2004 format: YYYY-MM-DD).</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CatalogReleaseReferenceList">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing a list of CatalogReleaseReferences.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="CatalogReleaseReference" maxOccurs="unbounded">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Reference for a ddex:Release (specific to this ddex:Message) that is part of the catalog. This is a ddex:LocalReleaseAnchorReference starting with the letter R.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:IDREF">
                  <xs:pattern value="R[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CatalogTransfer">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:CatalogTransfer.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="CatalogTransferCompleted" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Flag indicating whether the ddex:CatalogTransfer has been made (=True) or still needs to be made (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="EffectiveTransferDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the catalog is or was transferred.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CatalogReleaseReferenceList" type="ern:CatalogReleaseReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Releases contained in the catalog that is or was transferred.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice>
            <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:CatalogTransfer applies (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:ExcludedTerritory must be present, but not both. </xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedTerritoryCode" maxOccurs="unbounded"
               type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:CatalogTransfer does not apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:Territory must be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="TransferringFrom" type="ddexC:PartyDescriptor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the old ddex:RightsController.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TransferringTo" type="ddexC:PartyDescriptor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the new ddex:RightsController.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="Collection">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Collection. ddex:Collections referenced from ddex:Video ddex:Resources are of ddex:CollectionType ddex:VideoChapter . ddex:Collections referenced from a ddex:Release composite are of ddex:CollectionType ddex:Series, ddex:Season or ddex:Episode.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="CollectionId" maxOccurs="unbounded" type="ddexC:CollectionId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an ddex:Identifier of the ddex:Collection.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CollectionType" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:CollectionType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:Type of the ddex:Collection.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CollectionReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ddex:Collection within the ddex:Release which contains it. This is a ddex:LocalCollectionAnchor starting with the letter X.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="X[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ddex:Collection.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Contributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details a ddex:Contributor to the ddex:Collection.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Character" minOccurs="0" maxOccurs="unbounded" type="ddexC:Character">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Character in the ddex:Collection. A ddex:Character may be described through ddex:Name, ddex:Identifier and Roles.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CollectionCollectionReferenceList" minOccurs="0"
            type="ddexC:CollectionCollectionReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a list of ddex:CollectionCollectionReferences for a ddex:Collection (specific to this ddex:Message).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsComplete" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ddex:Collection is complete (=True) or not (=False). Only one of the Elements ddex:IsComplete here and in the ern:CollectionDetailsByTerritory is valid for a given ern:Collection.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Duration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The sum of the ddex:Durations of all ddex:Resources contained in the ddexC:Collection (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="DurationOfMusicalContent" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the musical content (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CreationDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:Collection was created.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OriginalReleaseDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:Collection was or will be first made available for Usage, whether for physical or electronic/online distribution (in ISO 8601:2004 format: YYYY-MM-DD).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OriginalLanguage" minOccurs="0" type="iso639a2:LanguageCode">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The orignal ddex:Language of the ddex:Collection (represented by an ISO 639-2 iso639a2:LanguageCode).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CollectionDetailsByTerritory" minOccurs="0" maxOccurs="unbounded"
            type="ern:CollectionDetailsByTerritory">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors and other attributes of the ddex:Collection which may vary according to ddex:Territory of release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CollectionResourceReferenceList" minOccurs="0"
            type="ern:CollectionResourceReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a list of ddex:CollectionResourceReferences for a ddex:Resource (specific to this ddex:Message).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CollectionWorkReferenceList" minOccurs="0"
            type="ern:CollectionWorkReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a list of ddex:CollectionWorkReferences for a ddex:Work (specific to this ddex:Message).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RepresentativeImageReference" minOccurs="0">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Reference for an ddex:Image (specific to this ddex:Message). This is a ddex:LocalResourceAnchorReference starting with the letter A.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:IDREF">
                  <xs:pattern value="A[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="PLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:PLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:PLine for the ern:Collection.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:CLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:CLine for the ern:Collection.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ddex:Collection as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="CollectionDetailsByTerritory">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors and other attributes of a ddex:Collection which may vary according to ddex:Territory of release. </xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:choice>
            <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:Collection details apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:ExcludedTerritory shall be present, but not both. </xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedTerritoryCode" maxOccurs="unbounded"
               type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:Collection details do not apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:Territory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ddex:Collection.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Contributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Contributor to the ddex:Collection.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsComplete" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ddex:Collection is complete (=True) or not (=False). Only one of the Elements ddex:IsComplete here and in the Collection is valid for a given Collection.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Character" minOccurs="0" maxOccurs="unbounded" type="ddexC:Character">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Character in the ddex:Collection. A ddex:Character may be described through ddex:Name, ddex:Identifier and Roles.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CollectionList">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Collections.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="Collection" maxOccurs="unbounded" type="ern:Collection">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Collection contained in a ddex:Resource.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the CollectionList as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="CollectionResourceReference">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:CollectionResourceReference.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="CollectionResourceReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Reference for a ddex:Resource (specific to this ddex:Message). This is a ddex:LocalResourceAnchorReference starting with the letter A.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:IDREF">
                  <xs:pattern value="A[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="Duration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the use of the ddex:Resource that is referenced in the ddex:CollectionResourceReference (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CollectionResourceReferenceList">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing a list of ddex:CollectionResourceReferences.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="CollectionResourceReference" maxOccurs="unbounded"
            type="ern:CollectionResourceReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:CollectionResourceReference for a ddex:Collection (specific to this ddex:Message).</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CollectionWorkReference">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:CollectionWorkReference.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="CollectionWorkReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Reference for a ddex:Work (specific to this ddex:Message). This is a ddex:LocalMusicalWorkAnchorReference starting with the letter W.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:IDREF">
                  <xs:pattern value="W[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="Duration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the use of the ddex:Work that is referenced in the ddex:CollectionWorkReference (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CollectionWorkReferenceList">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing a list of ddex:CollectionWorkReferences.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="CollectionWorkReference" maxOccurs="unbounded"
            type="ern:CollectionWorkReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:CollectionWorkReference for a ddex:Collection (specific to this ddex:Message).</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="Condition">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a condition.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="Value" type="xs:decimal">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The numeric value of the condition.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Unit" type="ddex:UnitOfConditionValue">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:UnitOfMeasure for the condition value.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RelationalRelator" type="ddex:RelationalRelator">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Relator expressing the accuracy of the condition value.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="Cue">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Cue.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="CueUseType" minOccurs="0" type="ddexC:CueUseType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:UseType of the ddexC:Cue. It can be expected that this element will be contractually mandatory in many communications of cue sheets to music rights societies.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CueThemeType" minOccurs="0" type="ddexC:CueThemeType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:ThemeType for the ddex:Creation referenced in the ddexC:Cue.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CueVocalType" minOccurs="0" type="ddexC:CueVocalType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:VocalType for the ddex:Creation referenced in the ddexC:Cue.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsDance" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Flag indicating whether a ddex:Creation contains dancing (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CueVisualPerceptionType" minOccurs="0"
            type="ddexC:CueVisualPerceptionType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:VisualPerceptionType for the ddex:Creation referenced in the ddexC:Cue.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CueOrigin" minOccurs="0" type="ddexC:CueOrigin">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:CueOrigin for the ddexC:Cue. It can be expected that this element will be contractually mandatory in many communications of cue sheets to music rights societies.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice>
            <xs:element name="CueCreationReference" maxOccurs="unbounded"
               type="ddexC:CueCreationReference">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:CueCreationReference for a ddex:Creation (specific to this ddex:Message).</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:sequence>
               <xs:element name="ReferencedCreationType" minOccurs="0" type="ddex:CreationType">
                  <xs:annotation>
                     <xs:documentation source="ddex:Definition">A ddex:Type of the ddex:Creation referenced in the ddexC:Cue.</xs:documentation>
                  </xs:annotation>
               </xs:element>
               <xs:element name="ReferencedCreationId" minOccurs="0" type="ddexC:CreationId">
                  <xs:annotation>
                     <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:CreationIds.</xs:documentation>
                  </xs:annotation>
               </xs:element>
               <xs:element name="ReferencedCreationTitle" minOccurs="0" maxOccurs="unbounded"
                  type="ddexC:Title">
                  <xs:annotation>
                     <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ddex:Creation referenced in the ddexC:Cue.</xs:documentation>
                  </xs:annotation>
               </xs:element>
               <xs:element name="ReferencedCreationContributor" minOccurs="0" maxOccurs="unbounded"
                  type="ddexC:ResourceContributor">
                  <xs:annotation>
                     <xs:documentation source="ddex:Definition">A ddex:Composite containing details a ddex:Contributor of the ddex:Creation referenced in the ddexC:Cue.</xs:documentation>
                  </xs:annotation>
               </xs:element>
               <xs:element name="ReferencedCreationCharacter" minOccurs="0" maxOccurs="unbounded"
                  type="ddexC:Character">
                  <xs:annotation>
                     <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Character in the ddex:Creation referenced in the ddexC:Cue. A ddex:Character may be described through ddex:Name, ddex:Identifier and Roles.</xs:documentation>
                  </xs:annotation>
               </xs:element>
            </xs:sequence>
         </xs:choice>
         <xs:element name="HasMusicalContent" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Flag indicating whether whether the ddex:Creation referenced in the ddexC:Cue contains musical content such as a ddex:SoundRecording or a ddex:MusicalWork (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="StartTime" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The start time of the ddex:Creation, measured from the start of the ddex:Resource from which the ddex:CueSheet is referenced (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Duration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the use of the ddex:Creation that is referenced in the ddex:CueCreationReference (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="EndTime" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The end time of the ddex:Creation, measured from the start of the ddex:Resource from which the ddex:CueSheet is referenced (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:PLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:PLine for the ern:Cue.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:CLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:CLine for the ern:Cue.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CueSheet">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:CueSheet.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="CueSheetId" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ProprietaryId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:CueSheetId of the ddexC:CueSheet.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CueSheetReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ddexC:CueSheet within the ddex:Release which contains it. This is a ddex:LocalCueSheetAnchor starting with the letter Q.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="Q[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="CueSheetType" type="ddexC:CueSheetType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of the ddexC:CueSheet.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Cue" maxOccurs="unbounded" type="ern:Cue">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Cue.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="CueSheetList">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:CueSheets.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="CueSheet" maxOccurs="unbounded" type="ern:CueSheet">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:CueSheet contained in a ddex:Resource.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="Deal">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details (in full or in summary) of a ddex:Deal made between a ddex:DSP (as ddex:Licensee) and a ddex:Licensor of ddex:Works or ddex:Releases. When any new DealTerms are added or removed from an existing ddex:Deal (different ddex:UseTypes, ddex:Prices, Territories, ddex:DistributionChannels) then a new ddex:Deal is created, and (if appropriate) the ddex:ValidityPeriod of the existing ddex:Deal should be terminated. The only changes which should be made to the DealTerms of an existing ddex:Deal are corrections required because of an earlier error or omission, or the addition of an ddex:EndDate to the Deal's ddex:ValidityPeriod.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="DealReference" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:DealReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Reference to a ddex:TextDocument containing details of the ern:Deal (in the form of an ddex:Identifier, ddex:Name or ddex:Description).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="DealTerms" minOccurs="0" type="ern:DealTerms">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the terms of the ern:Deal.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceUsage" minOccurs="0" type="ern:ResourceUsage">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more Usages that govern a ddex:Resource in the ern:Deal where the Usage of the ddex:Resource differs from the Usage of the other ddex:Resources in the same ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="DealTechnicalResourceDetailsReferenceList" minOccurs="0"
            type="ern:DealTechnicalResourceDetailsReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a list of ddex:DealTechnicalResourceDetailsReferences for the ern:Deal.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="DistributionChannelPage" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:WebPage">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:WebPage for the ddex:DistributionChannel.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:Deal as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="DealList">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Deals.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="ReleaseDeal" minOccurs="0" maxOccurs="unbounded" type="ern:ReleaseDeal">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Deals pertaining to one or more ddex:Releases.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:DealList as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="DealTechnicalResourceDetailsReferenceList">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing a list of ddex:DealTechnicalResourceDetailsReferences.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="DealTechnicalResourceDetailsReference" maxOccurs="unbounded">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Reference for a ddex:Composite specifying technical details of a ddex:Resource (specific to this ddex:Message). This is a ddex:LocalTechnicalResourceDetailsAnchorReference starting with the letter T.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:IDREF">
                  <xs:pattern value="T[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="DealTerms">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the terms of a ddex:Deal.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="CommercialModelType" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:CommercialModelType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the fundamental business model which applies to the ddex:Deal (e.g. ddex:SubscriptionModel and ddex:PayAsYouGoModel). The ddex:CommercialModelType indicates how the ddex:Consumer pays for the ddex:Service or ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice>
            <xs:element name="Usage" maxOccurs="unbounded" type="ddexC:Usage">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:Types and number of Usages applicable to a ddex:Release to which the ddex:Deal applies.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="AllDealsCancelled" minOccurs="0" type="xs:boolean">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether all ddex:Deals are cancelled for the given Territories (=True) or not (=False). This ddex:Flag can be used in conjunction with a ddex:StartDate of a ddex:ValidityPeriod to indicate the point in time from which all ddex:Deals are cancelled.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="TakeDown" minOccurs="0" type="xs:boolean">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether all ddex:Releases referred to are to be taken down by the ddex:MessageRecipient. This includes that all ddex:Deals referred to in a specific ddex:Composite are cancelled and no information about the ddex:Releases should be displayed to the end user on the DSP's website (=True) or not (=False). This ddex:Flag can be used in conjunction with a ddex:StartDate of a ddex:ValidityPeriod to indicate the point in time from which all ddex:Deals are cancelled.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:choice>
            <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory in which the ddex:Deal applies (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:ExcludedTerritory must be present, but not both. </xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedTerritoryCode" maxOccurs="unbounded"
               type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory in which the ddex:Deal does not apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:Territory must be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:choice minOccurs="0">
            <xs:element name="DistributionChannel" maxOccurs="unbounded" type="ddexC:DSP">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:DSP through whose ddex:DistributionChannel the sales are permitted. If none are provided no limitations on the ddex:DistributionChannels are given.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedDistributionChannel" maxOccurs="unbounded" type="ddexC:DSP">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of excluded ddex:DSP. This is used in an aggregator model where all agreed partners of the aggregators may use a ddex:ReleaseDeal, except those that are listed herein.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="PriceInformation" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:PriceInformation">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Price. Note that this ddex:Price applies to all ddex:UseTypes referenced in this ddex:Composite.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice minOccurs="0">
            <xs:element name="IsPromotional" type="xs:boolean">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether a special ddex:Deal is made between the ddex:Licensor and the ddex:Licensee (=True) or not (=False) regarding the royalties or payments due to be paid for Releases distributed under this ddex:Deal.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="PromotionalCode" type="ddexC:PromotionalCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:PromotionalCode.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="ValidityPeriod" maxOccurs="unbounded" type="ddexC:Period">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details about a ddex:Period of ddex:Time during which the ddex:Deal is valid. No ddex:StartDate in this ddex:Composite means that the ddex:Deal is valid as per contractual relationship between ddex:MessageSender and ddex:MessageRecipient. No ddex:EndDate in this ddex:Composite means that the ddex:Deal is valid until further notice.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ConsumerRentalPeriod" minOccurs="0" type="ddexC:ConsumerRentalPeriod">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Period the ddex:DSP may rent something to a ddex:Customer.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PreOrderReleaseDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the related ddex:Release is made available for pre-ordering.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PreOrderPreviewDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the pre-ordered ddex:Release is made first available for previewing.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsExclusive" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ddex:Deal is exclusive (=True) or not (=False) to the ddex:MessageRecipient with respect to the relevant Territory(ies), Time(s) and Release(s). For other Territory(ies), or Time(s), other ddex:DSPs might be able to sell the Release(s). The exclusivity is in accordance with the agreement between the ddex:MessageSender and ddex:MessageRecipient.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RelatedReleaseOfferSet" minOccurs="0" maxOccurs="unbounded"
            type="ern:RelatedReleaseOfferSet">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more offers related to the ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PhysicalReturns" minOccurs="0" type="ern:PhysicalReturns">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of physical returns.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="NumberOfProductsPerCarton" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A number of ddex:Products per carton. This is the smallest number of ddex:Products that can be ordered.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsClaimPolicy" minOccurs="0" maxOccurs="unbounded"
            type="ern:RightsClaimPolicy">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a rights claim policy.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="WebPolicy" minOccurs="0" maxOccurs="unbounded" type="ern:WebPolicy">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:UserGeneratedContent permissions.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:DealTerms as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="Image">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an ddex:Image. </xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="ImageType" minOccurs="0" type="ddexC:ImageType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:Type of the ern:Image.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsArtistRelated" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Image is related to an ddex:Artist (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ImageId" maxOccurs="unbounded" type="ddexC:ImageId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of the ern:Image.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:Image within the ddex:Release which contains it. This is a ddex:LocalResourceAnchor starting with the letter A.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="A[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ern:Image.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CreationDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ern:Image was created.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ImageDetailsByTerritory" maxOccurs="unbounded"
            type="ern:ImageDetailsByTerritory">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ern:Image which may vary according to ddex:Territory of release.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="IsUpdated" type="xs:boolean">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Image ddex:Element was updated (=True) or not (=False). The ddex:Flag may only be used when the ddex:UpdateIndicator is set to ddex:UpdateMessage. When this ddex:Boolean ddex:Flag is set to true, the ddex:MessageRecipient is expected to replace any previously provided ern:Image data with the now provided data.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:Image as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="ImageDetailsByTerritory">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors, Dates and other attributes of an ddex:Image which may vary according to ddex:Territory of release.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:choice>
            <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:Image details apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:ExcludedTerritory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedTerritoryCode" maxOccurs="unbounded"
               type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:Image details do not apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:Territory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="ResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Contributor to the ddex:Image.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:IndirectResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an indirect ddex:Contributor to the ddex:Image.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:CLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:CLine for the ddex:Image.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Description" minOccurs="0" type="ddexC:Description">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description of the subject of the ddex:Image.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CourtesyLine" minOccurs="0" type="ddexC:CourtesyLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing an ddex:Annotation which acknowledges record companies and/or other Parties giving permission for ddex:Artists or others featured on the ddex:Image.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OriginalResourceReleaseDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:Image was originally published, whether for physical or electronic/online distribution.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Keywords" minOccurs="0" maxOccurs="unbounded" type="ddexC:Keywords">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Description of the ddex:Image containing ddex:Keywords.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Synopsis" minOccurs="0" type="ddexC:Synopsis">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Synopsis of the ddex:Image.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Genre" minOccurs="0" maxOccurs="unbounded" type="ddexC:Genre">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Genre to which the ddex:Image belongs.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ParentalWarningType" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ParentalWarningType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the classification of the ddex:Image according to advice which it carries about the level of explicitness or offensiveness of its content.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TechnicalImageDetails" minOccurs="0" maxOccurs="unbounded"
            type="ern:TechnicalImageDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of the ddex:Image.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ddexC:ImageDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="MIDI">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:MIDI.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="MidiType" minOccurs="0" type="ddexC:MidiType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:Type of the ern:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsArtistRelated" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:MIDI is related to an ddex:Artist (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="MidiId" maxOccurs="unbounded" type="ddexC:MidiId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of the Midi.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectMidiId" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:MusicalWorkId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:MusicalWorkId of a ddex:MusicalWork used in the ern:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:MIDI within the ddex:Release which contains it. This is a ddex:LocalResourceAnchor starting with the letter A.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="A[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="ReferenceTitle" type="ddexC:ReferenceTitle">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:ReferenceTitle of the ern:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="InstrumentationDescription" minOccurs="0" type="ddexC:Description">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description of the ddex:Type of instrumentation of the MusicalWork(s) in the ern:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsMedley" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:MIDI is a ddex:Medley (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsPotpourri" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:MIDI is a ddex:Potpourri (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsInstrumental" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:MIDI is instrumental (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsBackground" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:MIDI is used as background to other audio or audiovisual material (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsHiddenResource" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:MIDI is hidden in some way from the ddex:Consumer (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsBonusResource" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:MIDI is additional to those on the original ddex:Release of which this is a ddex:Version (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsComputerGenerated" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:MIDI is generated by a computer (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="NoSilenceBefore" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:MIDI is preceded by a period of silence (=False) or not (=True). </xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="NoSilenceAfter" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:MIDI is followed by a period of silence (=False) or not (=True). </xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PerformerInformationRequired" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Flag indicating whether performer information is required (=True) or not (=False) when communicating details of the ern:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="LanguageOfPerformance" minOccurs="0" type="iso639a2:LanguageCode">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Language of the ddex:Performance recorded in the ern:MIDI (represented by an ISO 639-2 iso639a2:LanguageCode).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Duration" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the ern:MIDI (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsAgreementId" minOccurs="0" type="ddexC:RightsAgreementId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of a ddex:License, ddex:Claim, ddex:RightShare or contract for the MusicalWork(s) used in the ern:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceMusicalWorkReferenceList" minOccurs="0"
            type="ddexC:ResourceMusicalWorkReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:MusicalWorks contained in the ern:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceContainedResourceReferenceList" minOccurs="0"
            type="ddexC:ResourceContainedResourceReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:ResourceContainedResourceReferences referring to a ddex:Resource that is contained in the current ern:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CreationDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ern:MIDI was created.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="MasteredDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ern:MIDI was originally mastered (in either analogue or digital form).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="MidiDetailsByTerritory" maxOccurs="unbounded"
            type="ern:MidiDetailsByTerritory">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors and other attributes of the ern:MIDI which may vary according to ddex:Territory of release. </xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="IsUpdated" type="xs:boolean">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:MIDI ddex:Element was updated (=True) or not (=False). The ddex:Flag may only be used when the ddex:UpdateIndicator is set to ddex:UpdateMessage. When this ddex:Boolean ddex:Flag is set to true, the ddex:MessageRecipient is expected to replace any previously provided ern:MIDI data with the now provided data.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:MIDI as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="MidiDetailsByTerritory">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors and other attributes of a ddex:MIDI which may vary according to ddex:Territory of release.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:choice>
            <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:MIDI details apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:ExcludedTerritory shall be present, but not both. </xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedTerritoryCode" maxOccurs="unbounded"
               type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:MIDI details do not apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:Territory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ddex:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="DisplayArtist" minOccurs="0" maxOccurs="unbounded" type="ddexC:Artist">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:DisplayArtist for the ddex:MIDI. The ddex:DisplayArtist may be described through ddex:Name, ddex:Identifier and Roles.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Contributor to the ddex:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:IndirectResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an indirect ddex:Contributor to the ddex:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsAgreementId" minOccurs="0" type="ddexC:RightsAgreementId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of a ddex:License, ddex:Claim, ddex:RightShare or contract for the MusicalWork(s) used in the ddex:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="LabelName" minOccurs="0" maxOccurs="unbounded" type="ddexC:LabelName">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:Name of the ddex:Label under which the ddex:Release is to be marketed.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsController" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:RightsController">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:RightsController of Rights in the ddex:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RemasteredDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:MIDI was re-mastered (usually digitally).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OriginalResourceReleaseDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:MIDI was originally published, whether for physical or electronic/online distribution.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:CLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:CLine for the ddex:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CourtesyLine" minOccurs="0" type="ddexC:CourtesyLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing an ddex:Annotation which acknowledges record companies and/or other Parties giving permission for guests ddex:Artists or others featured on the ddex:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SequenceNumber" minOccurs="0" type="xs:string">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The number indicating the order of the ddex:MIDI in a group of ddex:MIDIs in a ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="HostSoundCarrier" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:HostSoundCarrier">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:HostSoundCarrier on which the ddex:MIDI appears (e.g., the CD on which it was originally released). This ddex:Composite exists in the Release Notification Message Suite Standard, to support the identification and matching of ddex:MIDI information.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="MarketingComment" minOccurs="0" type="ddexC:Comment">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Comment about the promotion and marketing of the ddex:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Genre" minOccurs="0" maxOccurs="unbounded" type="ddexC:Genre">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Genre to which the ddex:MIDI belongs.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ParentalWarningType" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ParentalWarningType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the classification of the ddex:MIDI according to advice which it carries about the level of explicitness or offensiveness of its content.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Keywords" minOccurs="0" maxOccurs="unbounded" type="ddexC:Keywords">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Description of the ddex:MIDI containing ddex:Keywords.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Synopsis" minOccurs="0" type="ddexC:Synopsis">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Synopsis of the ddex:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TechnicalMidiDetails" minOccurs="0" maxOccurs="unbounded"
            type="ern:TechnicalMidiDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of the ddex:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ddexC:MidiDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="PhysicalReturns">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of physical returns.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="PhysicalReturnsAllowed" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether physical returns are allowed (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="LatestDateForPhysicalReturns" minOccurs="0" type="xs:date">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A Date which is the latest one for physical returns (in ISO 8601:2004 format: YYYY-MM-DD).</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="PreviewDetails">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a preview.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="PartType" minOccurs="0" type="ddexC:Description">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description of the ddex:Type of ddex:Part that the preview relates to, e.g. chorus or intro.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TopLeftCorner" minOccurs="0" type="xs:decimal">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The position of the preview measured in ddex:Pixels or millimetres from the top left corner of the ddex:Resource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="BottomRightCorner" minOccurs="0" type="xs:decimal">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The position of the preview measured in ddex:Pixels or millimetres  from the bottom right corner of the ddex:Resource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ExpressionType" type="ddex:ExpressionType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Type of expression indicating how this should be perceived, e.g. as instruction (meaning that this has to be done to create the preview) or as information (meaning that this has been done to craete the preview).</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="RelatedReleaseOfferSet">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more offers related to one or more ddex:Releases.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:choice>
            <xs:element name="ReleaseId" maxOccurs="unbounded" type="ddexC:ReleaseId">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:ReleaseIds of the Release(s) for which the offer(s) are available.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseDescription" type="ddexC:Description">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description of the Release(s) for which the offer(s) are available.This ddex:Element is designed to be used to describe entire collections or repertoires, and is not to be used to list individual ddex:Releases by xs:ID or ddex:Title.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Deal" minOccurs="0" maxOccurs="unbounded" type="ern:Deal">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Deal that is available as an offer related to the Release(s). If no ddex:Deal is provided, the parent ddex:Release and the ddex:Releases listed in the ern:RelatedReleaseOfferSet are bundled and offered under the ddex:ReleaseOffer associated with the parent ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:RelatedReleaseOfferSet as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="Release">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:DDEX ddex:Release.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="ReleaseId" maxOccurs="unbounded" type="ddexC:ReleaseId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:ReleaseIds. If available, a ddex:GRid has to be used. If the ern:Release contains only one ddex:SoundRecording, the ddex:ISRC of the ddex:SoundRecording may be used instead. If the ern:Release is an abstraction of a complete ddex:PhysicalProduct (such as a CD ddex:Album), the ddex:ICPN of the ddex:PhysicalProduct may be used instead.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ReleaseReference" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:Release. Used to link the ern:Release to one or more Deal(s). This is a ddex:LocalReleaseAnchor starting with the letter R.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="R[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="ExternalResourceLink" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ExternalResourceLink">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of promotional or other material related to the ern:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SalesReportingProxyReleaseId" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:SalesReportingProxyReleaseId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the A ddex:Composite containing details of the ddex:SalesReportingProxyReleaseId.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ReferenceTitle" type="ddexC:ReferenceTitle">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:ReferenceTitle of the ern:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice>
            <xs:element name="ReleaseResourceReferenceList"
               type="ddexC:ReleaseResourceReferenceList">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Resources contained in the ern:Release.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ResourceOmissionReason" type="ddexC:ResourceOmissionReason">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:ResourceOmissionReason.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="ReleaseCollectionReferenceList" minOccurs="0"
            type="ddexC:ReleaseCollectionReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Collections contained in the ern:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ReleaseType" minOccurs="0" maxOccurs="unbounded" type="ddexC:ReleaseType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the form in which a ddex:ReleaseCreator anticipates offering the ern:Release to ddex:Consumers. This may be overridden by the ddex:ReleaseType for specific Territories as specified in the ReleaseDetailsByTerritory ddex:Composite.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ReleaseDetailsByTerritory" maxOccurs="unbounded"
            type="ern:ReleaseDetailsByTerritory">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors and other attributes of the ern:Release which may vary according to ddex:Territory of release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Duration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The sum of the ddex:Durations of all ddex:Resources contained in the ern:Release (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsAgreementId" minOccurs="0" type="ddexC:RightsAgreementId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of a ddex:License, ddex:Claim, ddex:RightShare or contract for the MusicalWork(s) used in the ern:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:PLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:PLine for the ern:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:CLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:CLine for the ern:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ArtistProfilePage" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:WebPage">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:WebPage for the ddex:Artist.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:Release as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="ReleaseDeal">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Deals pertaining to one or more ddex:Releases.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="DealReleaseReference" maxOccurs="unbounded">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of a ddex:Release in the ddex:Deal. This is a ddex:LocalReleaseAnchorReference starting with the letter R.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:IDREF">
                  <xs:pattern value="R[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="Deal" maxOccurs="unbounded" type="ern:Deal">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Deal governing the Usage of all ddex:Releases identified in the ern:ReleaseDeal ddex:Composite.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="EffectiveDate" minOccurs="0" type="xs:date">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The Date at which the ddex:MessageRecipient is expected to cancel all ddex:Deals for the ddex:Release and replace them with the ddex:Deals provided within the current ddex:Message. The EffectiveDate is typically the date on which the ern:NewReleaseMessage is being sent.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:ReleaseDeal as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="ReleaseDetailsByTerritory">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors and other attributes of a ddex:Release which may vary according to ddex:Territory of release.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:choice>
            <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddexC:ReleaseSummaryDetailsByTerritory apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:ExcludedTerritory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedTerritoryCode" maxOccurs="unbounded"
               type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddexC:ReleaseSummaryDetailsByTerritory do not apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:Territory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="DisplayArtistName" minOccurs="0" maxOccurs="unbounded" type="ddexC:Name">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:Name to be used by a ddex:DSP when presenting ddex:Artist details of the ddex:Release to a ddex:Consumer.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="LabelName" minOccurs="0" maxOccurs="unbounded" type="ddexC:LabelName">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:Name of the ddex:Label for the ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsAgreementId" minOccurs="0" type="ddexC:RightsAgreementId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of a ddex:License, ddex:Claim, ddex:RightShare or contract for the MusicalWork(s) used in the ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="DisplayArtist" maxOccurs="unbounded" type="ddexC:Artist">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:DisplayArtist for the ddex:Release. The ddex:DisplayArtist may be described through ddex:Name, ddex:Identifier and Roles.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsMultiArtistCompilation" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ddex:Release is a multiartist compilation (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="AdministratingRecordCompany" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:AdministratingRecordCompany">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:AdministratingRecordCompany for the ddex:Release. </xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ReleaseType" minOccurs="0" maxOccurs="unbounded" type="ddexC:ReleaseType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the form in which a ddex:ReleaseCreator anticipates offering the ddex:Release to ddex:Consumers. This overrides the ddex:ReleaseType specified globally for the ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RelatedRelease" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:RelatedRelease">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Release (or a ddex:PhysicalProduct or a ddex:DigitalProduct derived from such a ddex:Release) which is related to this ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ParentalWarningType" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ParentalWarningType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the classification of the ddex:Release according to advice which it carries about the level of explicitness or offensiveness of its content.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="AvRating" minOccurs="0" maxOccurs="unbounded" type="ddexC:AvRating">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a rating for the ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="MarketingComment" minOccurs="0" type="ddexC:Comment">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Comment about the promotion and marketing of the ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceGroup" minOccurs="0" maxOccurs="unbounded"
            type="ern:ResourceGroup">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a group of some or all of the ddex:Resources in the ddex:Release. ResourceGroups are used to signal groupings or sequences of ddex:Resources within a ddex:Release. Examples include individual carriers in a multi-carrier ddex:Release or classical ddex:Work groupings as well as the default order of ddex:Resources within a ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Genre" minOccurs="0" maxOccurs="unbounded" type="ddexC:Genre">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Genre to which the ddex:Release belongs.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OriginalReleaseDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:Release was or will be first made available for Usage, whether for physical or electronic/online distribution (in ISO 8601:2004 format: YYYY-MM-DD).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OriginalDigitalReleaseDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:Release was or will be first made available in electronic/online format for Usage (in ISO 8601:2004 format: YYYY-MM-DD).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice minOccurs="0">
            <xs:element name="FileAvailabilityDescription" maxOccurs="unbounded"
               type="ddexC:Description">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description providing details of how a ddex:DSP can obtain any related ddex:Release ddex:File.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="File" maxOccurs="unbounded" type="ddexC:File">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a related ddex:Release ddex:File that a ddex:DSP can obtain.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Keywords" minOccurs="0" maxOccurs="unbounded" type="ddexC:Keywords">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Description of the ddex:Release containing ddex:Keywords.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Synopsis" minOccurs="0" type="ddexC:Synopsis">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Synopsis of the ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Character" minOccurs="0" maxOccurs="unbounded" type="ddexC:Character">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Character in the ddex:Release. A ddex:Character may be described through ddex:Name, ddex:Identifier and Roles.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="NumberOfUnitsPerPhysicalRelease" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A number of units (typically a CD or a DVD) contained in a physical ddex:Release. This Element is for boxed sets.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ddexC:ReleaseSummaryDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="ReleaseList">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Releases.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="Release" minOccurs="0" maxOccurs="unbounded" type="ern:Release">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:DDEX ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:ReleaseList as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="ResourceGroup">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:ResourceGroup. ResourceGroups are used to signal groupings or sequences of ddex:Resources within a ddex:Release. Examples include individual carriers in a multi-carrier ddex:Release or classical ddex:Work groupings as well as the default order of ddex:Resources within a ddex:Release.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ern:ResourceGroup. Typically this will apply to 'sub' ddex:ResourceGroups within a hierarchy, e.g., different ddex:Albums in a ddex:Set.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SequenceNumber" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The number indicating the order of the ern:ResourceGroup within all ddex:ResourceGroups at this level. The default value is 1, and the value must be incremented by 1 for each ern:ResourceGroup occurring at a particular level. The ddex:SequenceNumber is unique within its ddex:ResourceGroupLevelNumber.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="DisplayArtist" minOccurs="0" maxOccurs="unbounded" type="ddexC:Artist">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:DisplayArtist for the ern:ResourceGroup. The ddex:DisplayArtist may be described through ddex:Name, ddex:Identifier and Roles.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Contributor to this ern:ResourceGroup. This includes roles such as the compiler of the ern:ResourceGroup, and may summarize details of ddex:Contributors to individual ddex:SoundRecordings or other content.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:IndirectResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an indirect ddex:Contributor to this ern:ResourceGroup.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceGroup" minOccurs="0" maxOccurs="unbounded"
            type="ern:ResourceGroup">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ern:ResourceGroup contained within this ern:ResourceGroup. ResourceGroups are used to signal groupings or sequences of ddex:Resources within a ddex:Release. Examples include individual carriers in a multi-carrier ddex:Release or classical ddex:Work groupings as well as the default order of ddex:Resources within a ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice>
            <xs:element name="ResourceGroupContentItem" minOccurs="0" maxOccurs="unbounded"
               type="ern:ResourceGroupContentItem">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Resource contained in the ern:ResourceGroup.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ResourceGroupResourceReferenceList" minOccurs="0"
               type="ddexC:ResourceGroupResourceReferenceList">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Resource contained in the ern:ResourceGroup.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:choice minOccurs="0">
            <xs:element name="ResourceGroupReleaseReference">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of a ddex:Release which has the same content as the ern:ResourceGroup. This is a ddex:LocalReleaseAnchorReference starting with the letter R.</xs:documentation>
               </xs:annotation>
               <xs:simpleType>
                  <xs:restriction base="xs:IDREF">
                     <xs:pattern value="R[\d\-_a-zA-Z]+"/>
                  </xs:restriction>
               </xs:simpleType>
            </xs:element>
            <xs:element name="ReleaseId" type="ddexC:ReleaseId">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:ReleaseIds of a ddex:Release which has the same content as the ern:ResourceGroup. If available, a ddex:GRid has to be used. If the ddex:Release contains only one ddex:SoundRecording, the ddex:ISRC of the ddex:SoundRecording may be used instead. If the ddex:Release is an abstraction of a complete ddex:PhysicalProduct (such as a CD ddex:Album), the ddex:ICPN of the ddex:PhysicalProduct may be used instead.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:ResourceGroup as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="ResourceGroupContentItem">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Resource which is a ddex:ContentItem of a ddex:ResourceGroup.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="SequenceNumber" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The number indicating the order of the ddex:ContentItem among all ddex:Resources within this ddex:ResourceGroup. This is analogous to the ddex:Track number on a ddex:SoundCarrier. Not all ddex:ResourceGroups necessarily have ddex:SequenceNumbers (it is most applicable to ddex:SoundRecordings and ddex:MusicalWorkVideos). The ddex:SequenceNumber is unique within its ddex:ResourceGroupLevelNumber.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SequenceSubNumber" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:SequenceNumber within the ddex:SequenceNumber. Example: if a ddex:Track is subdivided into several numbered sections, these are numbered with a ddex:SequenceSubNumber. The ddex:SequenceSubNumber is unique within its ddex:SequenceNumber.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceType" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ResourceType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:Type of the ddex:ContentItem.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ReleaseResourceReference" type="ddexC:ReleaseResourceReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:ReleaseResourceReference for the ddex:ContentItem (specific to this ddex:Message). The ddex:LocalAnchorReference in this ddex:Composite is a xs:string starting with the letter A.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="LinkedReleaseResourceReference" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:LinkedReleaseResourceReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:ReleaseResourceReference (specific to this ddex:Message) for a ddex:Resource which is linked to this ddex:ContentItem. Example: an ddex:Image, ddex:Text or ddex:NonMusicalWorkVideo associated with a ddex:SoundRecording. This ddex:LocalAnchorReference is a xs:string starting with the letter A.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice minOccurs="0">
            <xs:element name="ResourceGroupContentItemReleaseReference">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of a ddex:Release which has the same content as the ern:ResourceGroupContentItem. This is a ddex:LocalReleaseAnchorReference starting with the letter R.</xs:documentation>
               </xs:annotation>
               <xs:simpleType>
                  <xs:restriction base="xs:IDREF">
                     <xs:pattern value="R[\d\-_a-zA-Z]+"/>
                  </xs:restriction>
               </xs:simpleType>
            </xs:element>
            <xs:element name="ReleaseId" type="ddexC:ReleaseId">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:ReleaseIds of a ddex:Release which has the same content as the ern:ResourceGroupContentItem. If available, a ddex:GRid has to be used. If the ddex:Release contains only one ddex:SoundRecording, the ddex:ISRC of the ddex:SoundRecording may be used instead. If the ddex:Release is an abstraction of a complete ddex:PhysicalProduct (such as a CD ddex:Album), the ddex:ICPN of the ddex:PhysicalProduct may be used instead.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Duration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the ddex:ContentItem featured, if it is a ddex:SoundRecording or ddex:Video (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S). This ddex:Duration may be less than the normal ddex:Duration of the ddex:ContentItem, if only a part of it is included.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsHiddenResource" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether a ddex:Resource in a ddex:Release is hidden in some way from the ddex:Consumer (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsBonusResource" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether a ddex:Resource in a ddex:Release is additional to those on the original ddex:Release of which this is a ddex:Version (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="ResourceList">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Resources. ResourceList provides a simple means of aggregating ddex:Resources without any explicit sequencing or grouping: if that is needed it is provided by the ddex:ResourceGroup ddex:Composite. </xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="SoundRecording" minOccurs="0" maxOccurs="unbounded"
            type="ern:SoundRecording">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="MIDI" minOccurs="0" maxOccurs="unbounded" type="ern:MIDI">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Video" minOccurs="0" maxOccurs="unbounded" type="ern:Video">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Image" minOccurs="0" maxOccurs="unbounded" type="ern:Image">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an ddex:Image.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Text" minOccurs="0" maxOccurs="unbounded" type="ern:Text">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SheetMusic" minOccurs="0" maxOccurs="unbounded" type="ern:SheetMusic">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Software" minOccurs="0" maxOccurs="unbounded" type="ern:Software">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an item of ddex:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="UserDefinedResource" minOccurs="0" maxOccurs="unbounded"
            type="ern:UserDefinedResource">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:ResourceList as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="ResourceUsage">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more Usages that govern a ddex:Resource.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="DealResourceReference" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Reference for a ddex:Resource (specific to this ddex:Message). This is a ddex:LocalResourceAnchorReference starting with the letter A.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:IDREF">
                  <xs:pattern value="A[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="Usage" maxOccurs="unbounded" type="ddexC:Usage">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:Types and number of Usages applicable to the ddex:Resource.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="RightsClaimPolicy">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a rights claim policy.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="Condition" type="ern:Condition">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of conditions.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsClaimPolicyType" type="ddex:RightsClaimPolicyType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Type of rights claim policy.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="SheetMusic">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:SheetMusic.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="SheetMusicType" minOccurs="0" type="ddexC:SheetMusicType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:Type of the ern:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsArtistRelated" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SheetMusic is related to an ddex:Artist (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SheetMusicId" maxOccurs="unbounded" type="ddexC:SheetMusicId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of the ern:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectSheetMusicId" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:MusicalWorkId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:MusicalWorkId of a ddex:MusicalWork used in the ern:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ddexC:SheetMusic within the ddex:Release which contains it. This is a ddex:LocalResourceAnchor starting with the letter A.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="A[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="LanguageOfLyrics" minOccurs="0" type="iso639a2:LanguageCode">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Language of the lyrics of the ern:SheetMusic (represented by an ISO 639-2 iso639a2:LanguageCode).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsAgreementId" minOccurs="0" type="ddexC:RightsAgreementId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of a ddex:License, ddex:Claim, ddex:RightShare or contract for the MusicalWork(s) related to the ern:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceMusicalWorkReferenceList" minOccurs="0"
            type="ddexC:ResourceMusicalWorkReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:MusicalWorks contained in the ern:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceContainedResourceReferenceList" minOccurs="0"
            type="ddexC:ResourceContainedResourceReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:ResourceContainedResourceReferences referring to a ddex:Resource that is contained in the current ern:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ReferenceTitle" type="ddexC:ReferenceTitle">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:ReferenceTitle of the ern:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CreationDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ern:SheetMusic was created.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SheetMusicDetailsByTerritory" maxOccurs="unbounded"
            type="ern:SheetMusicDetailsByTerritory">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ern:SheetMusic which may vary according to ddex:Territory of release.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="IsUpdated" type="xs:boolean">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SheetMusic ddex:Element was updated (=True) or not (=False). The ddex:Flag may only be used when the ddex:UpdateIndicator is set to ddex:UpdateMessage. When this ddex:Boolean ddex:Flag is set to true, the ddex:MessageRecipient is expected to replace any previously provided ern:SheetMusic data with the now provided data.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:SheetMusic as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="SheetMusicDetailsByTerritory">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors, Dates and other attributes of a ddex:SheetMusic which may vary according to ddex:Territory of release.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:choice>
            <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:SheetMusic details apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:ExcludedTerritory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedTerritoryCode" maxOccurs="unbounded"
               type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:SheetMusic details do not apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:Territory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ddex:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Contributor to the ddex:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:IndirectResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an indirect ddex:Contributor to the ddex:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:CLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:CLine for the ddex:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CourtesyLine" minOccurs="0" type="ddexC:CourtesyLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing an ddex:Annotation which acknowledges record companies and/or other Parties giving permission for ddex:Artists or others featured in the ddex:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OriginalResourceReleaseDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:SheetMusic was originally published, whether for physical or electronic/online distribution.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Genre" minOccurs="0" maxOccurs="unbounded" type="ddexC:Genre">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Genre to which the ddex:SheetMusic belongs.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ParentalWarningType" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ParentalWarningType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the classification of the ddex:SheetMusic according to advice which it carries about the level of explicitness or offensiveness of its content.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TechnicalSheetMusicDetails" minOccurs="0" maxOccurs="unbounded"
            type="ern:TechnicalSheetMusicDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of the ddex:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ddexC:SheetMusicDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="Software">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an item of ddex:Software.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="SoftwareType" minOccurs="0" type="ddexC:SoftwareType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:Type of the ern:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsArtistRelated" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Software is related to an ddex:Artist (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SoftwareId" maxOccurs="unbounded" type="ddexC:SoftwareId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of the ern:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectSoftwareId" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:MusicalWorkId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:MusicalWorkId of a ddex:MusicalWork used in the ern:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:Software within the ddex:Release which contains it. This is a ddex:LocalResourceAnchor starting with the letter A.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="A[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="ResourceMusicalWorkReferenceList" minOccurs="0"
            type="ddexC:ResourceMusicalWorkReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:MusicalWorks contained in the ern:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceContainedResourceReferenceList" minOccurs="0"
            type="ddexC:ResourceContainedResourceReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:ResourceContainedResourceReferences referring to a ddex:Resource that is contained in the current ern:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ern:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CreationDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ern:Software was created.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SoftwareDetailsByTerritory" maxOccurs="unbounded"
            type="ern:SoftwareDetailsByTerritory">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ern:Software which may vary according to ddex:Territory of release.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="IsUpdated" type="xs:boolean">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Software ddex:Element was updated (=True) or not (=False). The ddex:Flag may only be used when the ddex:UpdateIndicator is set to ddex:UpdateMessage. When this ddex:Boolean ddex:Flag is set to true, the ddex:MessageRecipient is expected to replace any previously provided ern:Software data with the now provided data.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:Software as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="SoftwareDetailsByTerritory">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors, Dates and other attributes of a ddex:Software application which may vary according to ddex:Territory of release.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:choice>
            <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:Software details apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:ExcludedTerritory shall be present, but not both. </xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedTerritoryCode" maxOccurs="unbounded"
               type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:Software details do not apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:Territory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="ResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Contributor to the ddex:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:IndirectResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an indirect ddex:Contributor to the ddex:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:PLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:PLine for the ddex:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:CLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:CLine for the ddex:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CourtesyLine" minOccurs="0" type="ddexC:CourtesyLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing an ddex:Annotation which acknowledges record companies and/or other Parties giving permission for ddex:Artists or others featured in the ddex:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OriginalResourceReleaseDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:Software was originally published, whether for physical or electronic/online distribution.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Keywords" minOccurs="0" maxOccurs="unbounded" type="ddexC:Keywords">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Description of the ddex:Software containing ddex:Keywords.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Synopsis" minOccurs="0" type="ddexC:Synopsis">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Synopsis of the ddex:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Genre" minOccurs="0" maxOccurs="unbounded" type="ddexC:Genre">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Genre to which the ddex:Software belongs.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ParentalWarningType" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ParentalWarningType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the classification of the ddex:Software according to advice which it carries about the level of explicitness or offensiveness of its content.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TechnicalSoftwareDetails" minOccurs="0" maxOccurs="unbounded"
            type="ern:TechnicalSoftwareDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of the ddex:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ddexC:SoftwareDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="SoundRecording">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:SoundRecording.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="SoundRecordingType" minOccurs="0" type="ddexC:SoundRecordingType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:Type of the ern:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsArtistRelated" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SoundRecording is related to an ddex:Artist (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SoundRecordingId" maxOccurs="unbounded" type="ddexC:SoundRecordingId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:SoundRecordingId.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectSoundRecordingId" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:MusicalWorkId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:MusicalWorkId of a ddex:MusicalWork used in the ern:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:SoundRecording within the ddex:Release which contains it. This is a ddex:LocalResourceAnchor starting with the letter A.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="A[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="ReferenceTitle" type="ddexC:ReferenceTitle">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:ReferenceTitle of the ern:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="InstrumentationDescription" minOccurs="0" type="ddexC:Description">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description of the ddex:Type of instrumentation of the MusicalWork(s) in the ern:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsMedley" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SoundRecording is a ddex:Medley (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsPotpourri" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SoundRecording is a ddex:Potpourri (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsInstrumental" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SoundRecording is instrumental (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsBackground" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SoundRecording is used as background to other audio or audiovisual material (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsHiddenResource" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SoundRecording is hidden in some way from the ddex:Consumer (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsBonusResource" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SoundRecording is additional to those on the original ddex:Release of which this is a ddex:Version (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsComputerGenerated" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SoundRecording is generated by a computer (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="NoSilenceBefore" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SoundRecording is preceded by a period of silence (=False) or not (=True). </xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="NoSilenceAfter" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SoundRecording is followed by a period of silence (=False) or not (=True). </xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PerformerInformationRequired" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Flag indicating whether performer information is required (=True) or not (=False) when communicating details of the ern:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="LanguageOfPerformance" minOccurs="0" type="iso639a2:LanguageCode">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Language of the ddex:Performance recorded in the ern:SoundRecording (represented by an ISO 639-2 iso639a2:LanguageCode).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Duration" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the ern:SoundRecording (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsAgreementId" minOccurs="0" type="ddexC:RightsAgreementId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of a ddex:License, ddex:Claim, ddex:RightShare or contract for the MusicalWork(s) used in the ern:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SoundRecordingCollectionReferenceList" minOccurs="0"
            type="ddexC:SoundRecordingCollectionReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Collections. The referenced ddex:Collection has to be of ddex:CollectionType ddex:AudioChapter.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceMusicalWorkReferenceList" minOccurs="0"
            type="ddexC:ResourceMusicalWorkReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:MusicalWorks contained in the ern:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceContainedResourceReferenceList" minOccurs="0"
            type="ddexC:ResourceContainedResourceReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:ResourceContainedResourceReferences referring to a ddex:Resource that is contained in the current ern:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CreationDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ern:SoundRecording was created.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="MasteredDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ern:SoundRecording was originally mastered (in either analogue or digital form).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SoundRecordingDetailsByTerritory" maxOccurs="unbounded"
            type="ern:SoundRecordingDetailsByTerritory">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors and other attributes of the ern:SoundRecording which may vary according to ddex:Territory.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="IsUpdated" type="xs:boolean">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SoundRecording ddex:Element was updated (=True) or not (=False). The ddex:Flag may only be used when the ddex:UpdateIndicator is set to ddex:UpdateMessage. When this ddex:Boolean ddex:Flag is set to true, the ddex:MessageRecipient is expected to replace any previously provided ern:SoundRecording data with the now provided data.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:SoundRecording as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="SoundRecordingDetailsByTerritory">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors and other attributes of a ddex:SoundRecording which may vary according to ddex:Territory of release.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:choice>
            <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:SoundRecording details apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:ExcludedTerritory shall be present, but not both. </xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedTerritoryCode" maxOccurs="unbounded"
               type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:SoundRecording details do not apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:Territory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="DisplayArtist" minOccurs="0" maxOccurs="unbounded" type="ddexC:Artist">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:DisplayArtist for the ddex:SoundRecording. The ddex:DisplayArtist may be described through ddex:Name, ddex:Identifier and Roles.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Contributor to the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:IndirectResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an indirect ddex:Contributor to the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsAgreementId" minOccurs="0" type="ddexC:RightsAgreementId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of a ddex:License, ddex:Claim, ddex:RightShare or contract for the MusicalWork(s) used in the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="LabelName" minOccurs="0" maxOccurs="unbounded" type="ddexC:LabelName">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:Name of the ddex:Label under which the ddex:Release is to be marketed.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsController" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:RightsController">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:RightsController of Rights in the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RemasteredDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:SoundRecording was re-mastered (usually digitally).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OriginalResourceReleaseDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:SoundRecording was originally published, whether for physical or electronic/online distribution.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:PLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:PLine for the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CourtesyLine" minOccurs="0" type="ddexC:CourtesyLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing an ddex:Annotation which acknowledges record companies and/or other Parties giving permission for guests ddex:Artists or others featured on the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SequenceNumber" minOccurs="0" type="xs:string">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The number indicating the order of the ddex:SoundRecording in a group of ddex:SoundRecordings in a ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="HostSoundCarrier" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:HostSoundCarrier">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:HostSoundCarrier on which the ddex:SoundRecording appears (e.g., the CD on which it was originally released). This ddex:Composite exists in the Release Notification Message Suite Standard, to support the identification and matching of ddex:SoundRecording information.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="MarketingComment" minOccurs="0" type="ddexC:Comment">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Comment about the promotion and marketing of the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Genre" minOccurs="0" maxOccurs="unbounded" type="ddexC:Genre">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Genre to which the ddex:SoundRecording belongs.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ParentalWarningType" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ParentalWarningType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the classification of the ddex:SoundRecording according to advice which it carries about the level of explicitness or offensiveness of its content.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="AvRating" minOccurs="0" maxOccurs="unbounded" type="ddexC:AvRating">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a rating for the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TechnicalSoundRecordingDetails" minOccurs="0" maxOccurs="unbounded"
            type="ern:TechnicalSoundRecordingDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Keywords" minOccurs="0" maxOccurs="unbounded" type="ddexC:Keywords">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Description of the ddex:SoundRecording containing ddex:Keywords.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Synopsis" minOccurs="0" type="ddexC:Synopsis">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Synopsis of the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ddexC:SoundRecordingDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="SoundRecordingPreviewDetails">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a preview.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="PartType" minOccurs="0" type="ddexC:Description">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description of the ddex:Type of ddex:Part that the preview relates to, e.g. chorus or intro.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="StartPoint" minOccurs="0" type="xs:decimal">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The start point of the preview given in seconds from the start of the ddex:Resource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="EndPoint" minOccurs="0" type="xs:decimal">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The end point of the preview given in seconds from the start of the ddex:Resource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Duration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the preview, measured from the StartPoint.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TopLeftCorner" minOccurs="0" type="xs:decimal">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The position of the preview measured in ddex:Pixels or millimetres from the top left corner of the ddex:Resource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="BottomRightCorner" minOccurs="0" type="xs:decimal">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The position of the preview measured in ddex:Pixels or millimetres  from the bottom right corner of the ddex:Resource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ExpressionType" type="ddex:ExpressionType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Type of expression indicating how this should be perceived, e.g. as instruction (meaning that this has to be done to create the preview) or as information (meaning that this has been done to craete the preview).</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="TechnicalImageDetails">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of a ddex:Image.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="TechnicalResourceDetailsReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:TechnicalImageDetails within the ddex:Release which contains it. This is a ddex:LocalTechnicalResourceDetailsAnchor starting with the letter T.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="T[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="DrmPlatformType" minOccurs="0" type="ddexC:DrmPlatformType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of ddex:DrmPlatform.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ContainerFormat" minOccurs="0" type="ddexC:ContainerFormat">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:ContainerFormat.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ImageCodecType" minOccurs="0" type="ddexC:ImageCodecType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of ddex:ImageCodec.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ImageHeight" minOccurs="0" type="ddexC:Extent">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the vertical ddex:Extent of an ddex:Image of the ddex:Image and a ddex:UnitOfMeasure (the default is pixels).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ImageWidth" minOccurs="0" type="ddexC:Extent">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the horizontal ddex:Extent of an ddex:Image of the ddex:Image and a ddex:UnitOfMeasure (the default is pixels).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="AspectRatio" minOccurs="0" type="xs:decimal">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ratio formed by dividing the ddex:ImageHeight by the ddex:ImageWidth.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ColorDepth" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">An amount of data determining the color of a pixel of the ddex:Image (given in bits per pixel).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ImageResolution" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A number of pixels of the ddex:Image displayed in a specific spatial range (given in dpi).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsPreview" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ddex:Image is technically a preview of the parent ddex:Resource (=True) or not (=False). Note that nothing can be implied from this element as to the conditions under which the preview can be made available.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PreviewDetails" minOccurs="0" type="ern:PreviewDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a preview.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ConsumerFulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of when a consumer is able to get hold of the ddex:Image.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice minOccurs="0">
            <xs:element name="FileAvailabilityDescription" maxOccurs="unbounded"
               type="ddexC:Description">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description providing details of how a ddex:DSP can obtain a ddex:File that contains the ddex:Image.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="File" maxOccurs="unbounded" type="ddexC:File">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:File containing the ddex:Image that a ddex:DSP can obtain.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Fingerprint" minOccurs="0" maxOccurs="unbounded" type="ddexC:Fingerprint">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Fingerprint and its governing algorithm.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:TechnicalImageDetails as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="TechnicalMidiDetails">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of a ddex:MIDI.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="TechnicalResourceDetailsReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:TechnicalMidiDetails within the ddex:Release which contains it. This is a ddex:LocalTechnicalResourceDetailsAnchor starting with the letter T.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="T[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="Duration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the instantiation of the ern:MIDI if this differs from the ddex:Duration provided for the ern:MIDI itself (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S). This element must only be used if and when there are no royalty reporting implications on this change in duration and when the specific technical instantiation is a clip taken from a technical instantiation representing the whole ern:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceProcessingRequired" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:MIDI needs to be processed (=True) or not (=False) (typically: transcoded) by the ddex:MessageRecipient before being delivered to ddex:Consumers.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="UsableResourceDuration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the ern:MIDI that may be sold to a ddex:Consumer if the ern:MIDI provided is not intended to be provided to ddex:Consumers 'as is' but will need to be transcoded into an appropriate format by the ddex:MessageRecipient or any other ddex:DSP handling the ddex:Release before it is sold (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsPreview" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ddex:MIDI is technically a preview of the parent ddex:Resource (=True) or not (=False). Note that nothing can be implied from this element as to the conditions under which the preview can be made available.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PreviewDetails" minOccurs="0" type="ern:SoundRecordingPreviewDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a preview.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ConsumerFulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of when a consumer is able to get hold of the ddex:MIDI.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice minOccurs="0">
            <xs:element name="FileAvailabilityDescription" maxOccurs="unbounded"
               type="ddexC:Description">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description providing details of how a ddex:DSP can obtain a ddex:File that contains the ddex:MIDI.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="File" maxOccurs="unbounded" type="ddexC:File">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:File containing the ddex:MIDI that a ddex:DSP can obtain.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="NumberOfVoices" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The number of voices.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SoundProcessorType" minOccurs="0" type="ddexC:SoundProcessorType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Type of sound processor.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Fingerprint" minOccurs="0" maxOccurs="unbounded" type="ddexC:Fingerprint">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Fingerprint and its governing algorithm.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:TechnicalMidiDetails as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="TechnicalSheetMusicDetails">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of a ddex:SheetMusic.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="TechnicalResourceDetailsReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:TechnicalSheetMusicDetails within the ddex:Release which contains it. This is a ddex:LocalTechnicalResourceDetailsAnchor starting with the letter T.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="T[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="DrmPlatformType" minOccurs="0" type="ddexC:DrmPlatformType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of ddex:DrmPlatform.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ContainerFormat" minOccurs="0" type="ddexC:ContainerFormat">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:ContainerFormat.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SheetMusicCodecType" minOccurs="0" type="ddexC:SheetMusicCodecType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of SheetMusicCodec.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsPreview" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ddex:SheetMusic is technically a preview of the parent ddex:Resource (=True) or not (=False). Note that nothing can be implied from this element as to the conditions under which the preview can be made available.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PreviewDetails" minOccurs="0" type="ern:PreviewDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a preview.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ConsumerFulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of when a consumer is able to get hold of the ddex:SheetMusic.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice minOccurs="0">
            <xs:element name="FileAvailabilityDescription" maxOccurs="unbounded"
               type="ddexC:Description">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description providing details of how a ddex:DSP can obtain a ddex:File that contains the ddex:SheetMusic.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="File" maxOccurs="unbounded" type="ddexC:File">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:File containing the ddex:SheetMusic that a ddex:DSP can obtain.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Fingerprint" minOccurs="0" maxOccurs="unbounded" type="ddexC:Fingerprint">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Fingerprint and its governing algorithm.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:TechnicalSheetMusicDetails as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="TechnicalSoftwareDetails">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of a ddex:Software.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="TechnicalResourceDetailsReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:TechnicalSoftwareDetails within the ddex:Release which contains it. This is a ddex:LocalTechnicalResourceDetailsAnchor starting with the letter T.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="T[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="DrmPlatformType" minOccurs="0" type="ddexC:DrmPlatformType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of ddex:DrmPlatform.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OperatingSystemType" minOccurs="0" type="ddexC:OperatingSystemType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of ddex:OperatingSystem.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsPreview" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ddex:Software is technically a preview of the parent ddex:Resource (=True) or not (=False). Note that nothing can be implied from this element as to the conditions under which the preview can be made available.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PreviewDetails" minOccurs="0" type="ern:PreviewDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a preview.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ConsumerFulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of when a consumer is able to get hold of the ddex:Software.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice minOccurs="0">
            <xs:element name="FileAvailabilityDescription" maxOccurs="unbounded"
               type="ddexC:Description">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description providing details of how a ddex:DSP can obtain a ddex:File that contains the ddex:Software.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="File" maxOccurs="unbounded" type="ddexC:File">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:File containing the ddex:Software that a ddex:DSP can obtain.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Fingerprint" minOccurs="0" maxOccurs="unbounded" type="ddexC:Fingerprint">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Fingerprint and its governing algorithm.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:TechnicalSoftwareDetails as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="TechnicalSoundRecordingDetails">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of a ddex:SoundRecording.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="TechnicalResourceDetailsReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:TechnicalSoundRecordingDetails within the ddex:Release which contains it. This is a ddex:LocalTechnicalResourceDetailsAnchor starting with the letter T.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="T[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="DrmPlatformType" minOccurs="0" type="ddexC:DrmPlatformType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of ddex:DrmPlatform.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ContainerFormat" minOccurs="0" type="ddexC:ContainerFormat">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:ContainerFormat.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="AudioCodecType" minOccurs="0" type="ddexC:AudioCodecType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of ddex:AudioCodec.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="BitRate" minOccurs="0" type="ddexC:BitRate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:BitRate for the audio data and a ddex:UnitOfMeasure (the default is ddex:kbps).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="NumberOfChannels" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A number of audio channels.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SamplingRate" minOccurs="0" type="ddexC:SamplingRate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the sampling rate of the ddex:SoundRecording and a ddex:UnitOfMeasure (the default is ddex:Hz).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="BitsPerSample" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">An amount of audio data in a sample.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Duration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the instantiation of the ern:SoundRecording if this differs from the ddex:Duration provided for the ern:SoundRecording itself (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S). This element must only be used if and when there are no royalty reporting implications on this change in duration and when the specific technical instantiation is a clip taken from a technical instantiation representing the whole ern:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceProcessingRequired" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:SoundRecording needs to be processed (=True) or not (=False) (typically: transcoded) by the ddex:MessageRecipient before being delivered to ddex:Consumers.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="UsableResourceDuration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the ern:SoundRecording that may be sold to a ddex:Consumer if the ern:SoundRecording provided is not intended to be provided to ddex:Consumers 'as is' but will need to be transcoded into an appropriate format by the ddex:MessageRecipient or any other ddex:DSP handling the ddex:Release before it is sold (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsPreview" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ddex:SoundRecording is technically a preview of the parent ddex:Resource (=True) or not (=False). Note that nothing can be implied from this element as to the conditions under which the preview can be made available.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PreviewDetails" minOccurs="0" type="ern:SoundRecordingPreviewDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a preview.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ConsumerFulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of when a consumer is able to get hold of the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice minOccurs="0">
            <xs:element name="FileAvailabilityDescription" maxOccurs="unbounded"
               type="ddexC:Description">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description providing details of how a ddex:DSP can obtain a ddex:File that contains the ddex:SoundRecording.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="File" maxOccurs="unbounded" type="ddexC:File">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:File containing the ddex:SoundRecording that a ddex:DSP can obtain.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Fingerprint" minOccurs="0" maxOccurs="unbounded" type="ddexC:Fingerprint">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Fingerprint and its governing algorithm.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:TechnicalSoundRecordingDetails as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="TechnicalTextDetails">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of a ddex:Text.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="TechnicalResourceDetailsReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:TechnicalTextDetails within the ddex:Release which contains it. This is a ddex:LocalTechnicalResourceDetailsAnchor starting with the letter T.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="T[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="DrmPlatformType" minOccurs="0" type="ddexC:DrmPlatformType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of ddex:DrmPlatform.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ContainerFormat" minOccurs="0" type="ddexC:ContainerFormat">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:ContainerFormat.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TextCodecType" minOccurs="0" type="ddexC:TextCodecType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of ddex:TextCodec.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsPreview" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ddex:Text is technically a preview of the parent ddex:Resource (=True) or not (=False). Note that nothing can be implied from this element as to the conditions under which the preview can be made available.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PreviewDetails" minOccurs="0" type="ern:PreviewDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a preview.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ConsumerFulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of when a consumer is able to get hold of the ddex:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice minOccurs="0">
            <xs:element name="FileAvailabilityDescription" maxOccurs="unbounded"
               type="ddexC:Description">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description providing details of how a ddex:DSP can obtain a ddex:File that contains the ddex:Text.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="File" maxOccurs="unbounded" type="ddexC:File">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:File containing the ddex:Text that a ddex:DSP can obtain.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Fingerprint" minOccurs="0" maxOccurs="unbounded" type="ddexC:Fingerprint">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Fingerprint and its governing algorithm.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:TechnicalTextDetails as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="TechnicalUserDefinedResourceDetails">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of a ddex:UserDefinedResource.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="TechnicalResourceDetailsReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:TechnicalUserDefinedResourceDetails within the ddex:Release which contains it. This is a ddex:LocalTechnicalResourceDetailsAnchor starting with the letter T.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="T[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="UserDefinedValue" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:UserDefinedValue">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:UserDefinedValue.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsPreview" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ddex:UserDefinedResource is technically a preview of the parent ddex:Resource (=True) or not (=False). Note that nothing can be implied from this element as to the conditions under which the preview can be made available.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PreviewDetails" minOccurs="0" type="ern:PreviewDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a preview.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ConsumerFulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of when a consumer is able to get hold of the ddex:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice minOccurs="0">
            <xs:element name="FileAvailabilityDescription" maxOccurs="unbounded"
               type="ddexC:Description">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description providing details of how a ddex:DSP can obtain a ddex:File that contains the ddex:UserDefinedResource.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="File" maxOccurs="unbounded" type="ddexC:File">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:File containing the ddex:UserDefinedResource that a ddex:DSP can obtain.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Fingerprint" minOccurs="0" maxOccurs="unbounded" type="ddexC:Fingerprint">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Fingerprint and its governing algorithm.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:TechnicalUserDefinedResourceDetails as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="TechnicalVideoDetails">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of a ddex:Video.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="TechnicalResourceDetailsReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:TechnicalVideoDetails within the ddex:Release which contains it. This is a ddex:LocalTechnicalResourceDetailsAnchor starting with the letter T.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="T[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="DrmPlatformType" minOccurs="0" type="ddexC:DrmPlatformType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of ddex:DrmPlatform.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OverallBitRate" minOccurs="0" type="ddexC:BitRate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the overall ddex:BitRate and a ddex:UnitOfMeasure (the default is ddex:kbps).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ContainerFormat" minOccurs="0" type="ddexC:ContainerFormat">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:ContainerFormat.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="VideoCodecType" minOccurs="0" type="ddexC:VideoCodecType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of ddex:VideoCodec.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="VideoBitRate" minOccurs="0" type="ddexC:BitRate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:BitRate for the video data and a ddex:UnitOfMeasure (the default is ddex:kbps).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FrameRate" minOccurs="0" type="ddexC:FrameRate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:Rate for a number of frames shown in the ddex:Video in a specific ddex:Period of ddex:Time and a ddex:UnitOfMeasure (the default is ddex:Hz, interlaced).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ImageHeight" minOccurs="0" type="ddexC:Extent">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the vertical ddex:Extent of an ddex:Image of the ddex:Video and a ddex:UnitOfMeasure (the default is pixels).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ImageWidth" minOccurs="0" type="ddexC:Extent">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the horizontal ddex:Extent of an ddex:Image of the ddex:Video and a ddex:UnitOfMeasure (the default is pixels).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="AspectRatio" minOccurs="0" type="xs:decimal">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ratio formed by dividing the ddex:ImageHeight by the ddex:ImageWidth.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ColorDepth" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">An amount of data determining the color of a pixel of an ddex:Image of the ddex:Video (given in bits per pixel).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="VideoDefinitionType" minOccurs="0" type="ddex:VideoDefinitionType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Type of resolution (or definition) in which the ddex:Video is provided.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="AudioCodecType" minOccurs="0" type="ddexC:AudioCodecType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Type of ddex:AudioCodec.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="AudioBitRate" minOccurs="0" type="ddexC:BitRate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:BitRate for the audio data and a ddex:UnitOfMeasure (the default is ddex:kbps).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="NumberOfAudioChannels" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A number of audio channels.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="AudioSamplingRate" minOccurs="0" type="ddexC:SamplingRate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:SamplingRate for the audio data and a ddex:UnitOfMeasure (the default is ddex:Hz).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="AudioBitsPerSample" minOccurs="0" type="xs:integer">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">An amount of audio data in a sample.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Duration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the instantiation of the ern:Video if this differs from the ddex:Duration provided for the ern:Video itself (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S). This element must only be used if and when there are no royalty reporting implications on this change in duration and when the specific technical instantiation is a clip taken from a technical instantiation representing the whole ern:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceProcessingRequired" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Video needs to be processed (=True) or not (=False) (typically: transcoded) by the ddex:MessageRecipient before being delivered to ddex:Consumers.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="UsableResourceDuration" minOccurs="0" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the ern:Video that may be sold to a ddex:Consumer if the ern:Video provided is not intended to be provided to ddex:Consumers 'as is' but will need to be transcoded into an appropriate format by the ddex:MessageRecipient or any other ddex:DSP handling the ddex:Release before it is sold (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsPreview" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ddex:Video is technically a preview of the parent ddex:Resource (=True) or not (=False). Note that nothing can be implied from this element as to the conditions under which the preview can be made available.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PreviewDetails" minOccurs="0" type="ern:SoundRecordingPreviewDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a preview.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ConsumerFulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of when a consumer is able to get hold of the ddex:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:choice minOccurs="0">
            <xs:element name="FileAvailabilityDescription" maxOccurs="unbounded"
               type="ddexC:Description">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description providing details of how a ddex:DSP can obtain a ddex:File that contains the ddex:Video.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="File" maxOccurs="unbounded" type="ddexC:File">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:File containing the ddex:Video that a ddex:DSP can obtain.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Fingerprint" minOccurs="0" maxOccurs="unbounded" type="ddexC:Fingerprint">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Fingerprint and its governing algorithm.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the TechnicalSoundRecordingDetails as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="Text">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Text.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="TextType" minOccurs="0" type="ddexC:TextType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:Type of the ern:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsArtistRelated" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Text is related to an ddex:Artist (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TextId" minOccurs="0" maxOccurs="unbounded" type="ddexC:TextId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an ddex:Identifier of the ern:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectTextId" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:MusicalWorkId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:MusicalWorkId of a ddex:MusicalWork used in the ern:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:Text within the ddex:Release which contains it. This is a ddex:LocalResourceAnchor starting with the letter A.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="A[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="ResourceMusicalWorkReferenceList" minOccurs="0"
            type="ddexC:ResourceMusicalWorkReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:MusicalWorks contained in the ern:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceContainedResourceReferenceList" minOccurs="0"
            type="ddexC:ResourceContainedResourceReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:ResourceContainedResourceReferences referring to a ddex:Resource that is contained in the current ern:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ern:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CreationDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ern:Text was created.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TextDetailsByTerritory" maxOccurs="unbounded"
            type="ern:TextDetailsByTerritory">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ern:Text which may vary according to ddex:Territory of release.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="IsUpdated" type="xs:boolean">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Text ddex:Element was updated (=True) or not (=False). The ddex:Flag may only be used when the ddex:UpdateIndicator is set to ddex:UpdateMessage. When this ddex:Boolean ddex:Flag is set to true, the ddex:MessageRecipient is expected to replace any previously provided ern:Text data with the now provided data.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:Text as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="TextDetailsByTerritory">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors, Dates and other attributes of a ddex:Text which may vary according to ddex:Territory of release.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:choice>
            <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:Text details apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:ExcludedTerritory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedTerritoryCode" maxOccurs="unbounded"
               type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:Text details do not apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:Territory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="ResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Contributor to the ddex:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:IndirectResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an indirect ddex:Contributor to the ddex:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:CLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:CLine for the ddex:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CourtesyLine" minOccurs="0" type="ddexC:CourtesyLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing an ddex:Annotation which acknowledges record companies and/or other Parties giving permission for ddex:Artists or others featured in the ddex:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OriginalResourceReleaseDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:Text was originally published, whether for physical or electronic/online distribution.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Keywords" minOccurs="0" maxOccurs="unbounded" type="ddexC:Keywords">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Description of the ddex:Text containing ddex:Keywords.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Synopsis" minOccurs="0" type="ddexC:Synopsis">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Synopsis of the ddex:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Genre" minOccurs="0" maxOccurs="unbounded" type="ddexC:Genre">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Genre to which the ddex:Text belongs.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ParentalWarningType" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ParentalWarningType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the classification of the ddex:Text according to advice which it carries about the level of explicitness or offensiveness of its content.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TechnicalTextDetails" minOccurs="0" maxOccurs="unbounded"
            type="ern:TechnicalTextDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of the ddex:Text.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ddexC:TextDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="UserDefinedResource">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:UserDefinedResource.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="UserDefinedResourceType" minOccurs="0"
            type="ddexC:UserDefinedResourceType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:Type of the ern:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsArtistRelated" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:UserDefinedResource is related to an ddex:Artist (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="UserDefinedResourceId" maxOccurs="unbounded"
            type="ddexC:UserDefinedResourceId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of the ern:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectUserDefinedResourceId" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:MusicalWorkId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:MusicalWorkId of a ddex:MusicalWork used in the ern:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:UserDefinedResource within the ddex:Release which contains it. This is a ddex:LocalResourceAnchor starting with the letter A.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="A[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:element name="ResourceMusicalWorkReferenceList" minOccurs="0"
            type="ddexC:ResourceMusicalWorkReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:MusicalWorks contained in the ern:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceContainedResourceReferenceList" minOccurs="0"
            type="ddexC:ResourceContainedResourceReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:ResourceContainedResourceReferences referring to a ddex:Resource that is contained in the current ern:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ern:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="UserDefinedValue" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:UserDefinedValue">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:UserDefinedValue.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="UserDefinedResourceDetailsByTerritory" maxOccurs="unbounded"
            type="ern:UserDefinedResourceDetailsByTerritory">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ern:UserDefinedResource which may vary according to ddex:Territory of release.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="IsUpdated" type="xs:boolean">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:UserDefinedResource ddex:Element was updated (=True) or not (=False). The ddex:Flag may only be used when the ddex:UpdateIndicator is set to ddex:UpdateMessage. When this ddex:Boolean ddex:Flag is set to true, the ddex:MessageRecipient is expected to replace any previously provided ern:UserDefinedResource data with the now provided data.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:UserDefinedResource as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="UserDefinedResourceDetailsByTerritory">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors, Dates and other attributes of a ddex:UserDefinedResource application which may vary according to ddex:Territory of release.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:choice>
            <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:UserDefinedResource details apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:ExcludedTerritory shall be present, but not both. </xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedTerritoryCode" maxOccurs="unbounded"
               type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:UserDefinedResource details do not apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:Territory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="ResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Contributor to the ddex:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:IndirectResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an indirect ddex:Contributor to the ddex:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="UserDefinedValue" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:UserDefinedValue">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:UserDefinedValue.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:PLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:PLine for the ddex:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:CLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:CLine for the ddex:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OriginalResourceReleaseDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:UserDefinedResource was originally published, whether for physical or electronic/online distribution.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Keywords" minOccurs="0" maxOccurs="unbounded" type="ddexC:Keywords">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Description of the ddex:UserDefinedResource containing ddex:Keywords.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Synopsis" minOccurs="0" type="ddexC:Synopsis">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Synopsis of the ddex:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Genre" minOccurs="0" maxOccurs="unbounded" type="ddexC:Genre">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Genre to which the ddex:UserDefinedResource belongs.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ParentalWarningType" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ParentalWarningType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the classification of the ddex:UserDefinedResource according to advice which it carries about the level of explicitness or offensiveness of its content.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TechnicalUserDefinedResourceDetails" minOccurs="0" maxOccurs="unbounded"
            type="ern:TechnicalUserDefinedResourceDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of the ddex:UserDefinedResource.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ddexC:UserDefinedResourceDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="Video">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Video.</xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:element name="VideoType" minOccurs="0" type="ddexC:VideoType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:Type of the ern:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsArtistRelated" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Video is related to an ddex:Artist (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="VideoId" minOccurs="0" maxOccurs="unbounded" type="ddexC:VideoId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an ddex:Identifier of the ern:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectVideoId" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:MusicalWorkId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:MusicalWorkId of a ddex:MusicalWork used in the ern:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceReference">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Identifier (specific to the ddex:Message) of the ern:Video within the ddex:Release which contains it. This is a ddex:LocalResourceAnchor starting with the letter A.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
               <xs:restriction base="xs:ID">
                  <xs:pattern value="A[\d\-_a-zA-Z]+"/>
               </xs:restriction>
            </xs:simpleType>
         </xs:element>
         <xs:choice minOccurs="0">
            <xs:element name="VideoCueSheetReference" maxOccurs="unbounded"
               type="ddexC:VideoCueSheetReference">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:VideoCueSheetReference for a ddex:CueSheet (specific to this ddex:Message).</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ReasonForCueSheetAbsence" type="ddexC:Reason">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Composite containing the textual ddex:Description of the reason for the ddex:Identifier being used as a proxy.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="ReferenceTitle" minOccurs="0" type="ddexC:ReferenceTitle">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:ReferenceTitle of the ern:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ern:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="InstrumentationDescription" minOccurs="0" type="ddexC:Description">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Description of the ddex:Type of instrumentation of the MusicalWork(s) in the ern:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsMedley" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Video is a ddex:Medley (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsPotpourri" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Video is a ddex:Potpourri (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsInstrumental" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Video is instrumental (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsBackground" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Video is used as background to other audio or audiovisual material (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsHiddenResource" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Video is hidden in some way from the ddex:Consumer (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IsBonusResource" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Video is additional to those on the original ddex:Release of which this is a ddex:Version (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="NoSilenceBefore" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Video is preceded by a period of silence (=False) or not (=True). </xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="NoSilenceAfter" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Video is followed by a period of silence (=False) or not (=True). </xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PerformerInformationRequired" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Flag indicating whether performer information is required (=True) or not (=False) when communicating details of the ern:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="LanguageOfPerformance" minOccurs="0" maxOccurs="unbounded"
            type="iso639a2:LanguageCode">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Language of the ddex:Performance recorded in the ern:Video (represented by an ISO 639-2 iso639a2:LanguageCode).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Duration" type="xs:duration">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The ddex:Duration of the ern:Video (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsAgreementId" minOccurs="0" type="ddexC:RightsAgreementId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of a ddex:License, ddex:Claim, ddex:RightShare or contract for the MusicalWork(s) used in the ern:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="VideoCollectionReferenceList" minOccurs="0"
            type="ddexC:SoundRecordingCollectionReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:Collections. The referenced ddex:Collection has to be of ddex:CollectionType ddex:VideoChapter.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceMusicalWorkReferenceList" minOccurs="0"
            type="ddexC:ResourceMusicalWorkReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of one or more ddex:MusicalWorks contained in the ern:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceContainedResourceReferenceList" minOccurs="0"
            type="ddexC:ResourceContainedResourceReferenceList">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:ResourceContainedResourceReferences referring to a ddex:Resource that is contained in the current ern:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CreationDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ern:Video was created.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="MasteredDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ern:Video was originally mastered (in either analogue or digital form).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="VideoDetailsByTerritory" maxOccurs="unbounded"
            type="ern:VideoDetailsByTerritory">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors and other attributes of the ern:Video which may vary according to ddex:Territory of release. </xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="IsUpdated" type="xs:boolean">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Flag indicating whether the ern:Video ddex:Element was updated (=True) or not (=False). The ddex:Flag may only be used when the ddex:UpdateIndicator is set to ddex:UpdateMessage. When this ddex:Boolean ddex:Flag is set to true, the ddex:MessageRecipient is expected to replace any previously provided ern:Video data with the now provided data.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ern:Video as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="VideoDetailsByTerritory">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Descriptors and other attributes of a ddex:Video which may vary according to ddex:Territory of release. </xs:documentation>
      </xs:annotation>
      <xs:sequence>
         <xs:choice>
            <xs:element name="TerritoryCode" maxOccurs="unbounded" type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:SoundRecording details apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:ExcludedTerritory shall be present, but not both. </xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="ExcludedTerritoryCode" maxOccurs="unbounded"
               type="ddexC:TerritoryCode">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Territory to which the ddex:SoundRecording details do not apply (represented by an ISO 3166-1 iso3166a2:TerritoryCode). Either this ddex:Element or ddex:Territory shall be present, but not both.</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:choice>
         <xs:element name="Title" minOccurs="0" maxOccurs="unbounded" type="ddexC:Title">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Title of the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="DisplayArtist" minOccurs="0" maxOccurs="unbounded" type="ddexC:Artist">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:DisplayArtist for the ddex:SoundRecording. The ddex:DisplayArtist may be described through ddex:Name, ddex:Identifier and Roles.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Contributor to the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:IndirectResourceContributor">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of an indirect ddex:Contributor to the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsAgreementId" minOccurs="0" type="ddexC:RightsAgreementId">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:Identifiers of a ddex:License, ddex:Claim, ddex:RightShare or contract for the MusicalWork(s) used in the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="LabelName" minOccurs="0" maxOccurs="unbounded" type="ddexC:LabelName">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing the ddex:Name of the ddex:Label under which the ddex:Release is to be marketed.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RightsController" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:RightsController">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of ddex:RightsController of Rights in the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="RemasteredDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:SoundRecording was re-mastered (usually digitally).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="OriginalResourceReleaseDate" minOccurs="0" type="ddexC:EventDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the Date and ddex:Place of the ddex:Event in which the ddex:SoundRecording was originally published, whether for physical or electronic/online distribution.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="PLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:PLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:PLine for the ddex:SoundRecording.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CourtesyLine" minOccurs="0" type="ddexC:CourtesyLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing an ddex:Annotation ddex:Annotation which acknowledges record companies and/or other Parties giving permission for guests ddex:Artists or others featured on the ddex:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="SequenceNumber" minOccurs="0" type="xs:string">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">The number indicating the order of the ddex:Video in a group of ddex:Videos in a ddex:Release.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="HostSoundCarrier" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:HostSoundCarrier">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:HostSoundCarrier on which the ddex:Video appears (e.g., the CD on which it was originally released). This ddex:Composite exists in the Release Notification Message Suite Standard, to support the identification and matching of ddex:Video information.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="MarketingComment" minOccurs="0" type="ddexC:Comment">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing a ddex:Comment about the promotion and marketing of the ddex:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Genre" minOccurs="0" maxOccurs="unbounded" type="ddexC:Genre">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Genre to which the ddex:Video belongs.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="ParentalWarningType" minOccurs="0" maxOccurs="unbounded"
            type="ddexC:ParentalWarningType">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the classification of the ddex:Video according to advice which it carries about the level of explicitness or offensiveness of its content.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="AvRating" minOccurs="0" maxOccurs="unbounded" type="ddexC:AvRating">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a rating for the ddex:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="FulfillmentDate" minOccurs="0" type="ddexC:FulfillmentDate">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:FulfillmentDate.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Keywords" minOccurs="0" maxOccurs="unbounded" type="ddexC:Keywords">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Description of the ddex:Video containing ddex:Keywords.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Synopsis" minOccurs="0" type="ddexC:Synopsis">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Synopsis of the ddex:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="CLine" minOccurs="0" maxOccurs="unbounded" type="ddexC:CLine">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of the ddex:CLine for the ddex:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="TechnicalVideoDetails" minOccurs="0" maxOccurs="unbounded"
            type="ern:TechnicalVideoDetails">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing technical details of the ddex:Video.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="Character" minOccurs="0" maxOccurs="unbounded" type="ddexC:Character">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a ddex:Character in the ddex:Video. A ddex:Character may be described through ddex:Name, ddex:Identifier and Roles.</xs:documentation>
            </xs:annotation>
         </xs:element>
      </xs:sequence>
      <xs:attribute name="LanguageAndScriptCode" type="xs:string">
         <xs:annotation>
            <xs:documentation source="ddex:Definition">The ddex:Language and script for the ddex:Elements of the ddexC:SoundRecordingDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. ddex:Language and Script are provided as lang[-scipt][-region][-variant].  This is represented in an XML schema as an XML ddex:Attribute.</xs:documentation>
         </xs:annotation>
      </xs:attribute>
   </xs:complexType>
   <xs:complexType name="WebPolicy">
      <xs:annotation>
         <xs:documentation source="ddex:Definition">A ddex:Composite containing details of a Web policy.</xs:documentation>
      </xs:annotation>
      <xs:choice>
         <xs:element name="Condition" type="ern:Condition">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Composite containing details of conditions.</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:element name="AccessBlockingRequested" minOccurs="0" type="xs:boolean">
            <xs:annotation>
               <xs:documentation source="ddex:Definition">A ddex:Flag indicating whether a ddex:MessageRecipient shall block all access to the ddex:Release (=True) or not (=False).</xs:documentation>
            </xs:annotation>
         </xs:element>
         <xs:sequence>
            <xs:element name="AccessLimitation" minOccurs="0" type="ddex:AccessLimitation">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Type of limitation on the access of the ddex:UgcSite. This governs whether the content of ddex:UgcSites is only accessible to members/friends of the site or not.</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="EmbeddingAllowed" minOccurs="0" type="xs:boolean">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Flag indicating whether a user is allowed to embed a ddex:Release on his website outside the ddex:UgcSite (=True) or not (=False).</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="UserRatingAllowed" minOccurs="0" type="xs:boolean">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Flag indicating whether a user is allowed to provide a rating for the ddex:Release on the ddex:UgcSite (=True) or not (=False).</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="UserCommentAllowed" minOccurs="0" type="xs:boolean">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Flag indicating whether a user is allowed to provide a ddex:Comment for the ddex:Release on the ddex:UgcSite (=True) or not (=False).</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="UserResponsesAllowed" minOccurs="0" type="xs:boolean">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Flag indicating whether a user is allowed to provide a response to a ddex:Comment for the ddex:Release on the ddex:UgcSite (=True) or not (=False).</xs:documentation>
               </xs:annotation>
            </xs:element>
            <xs:element name="SyndicationAllowed" minOccurs="0" type="xs:boolean">
               <xs:annotation>
                  <xs:documentation source="ddex:Definition">A ddex:Flag indicating whether syndication is allowed (=True) or not (=False).</xs:documentation>
               </xs:annotation>
            </xs:element>
         </xs:sequence>
      </xs:choice>
   </xs:complexType>
</xs:schema>
