<?xml version="1.0"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://ddex.net/xml/20100712/ddexC" xmlns:ddex="http://ddex.net/xml/20100712/ddex" xmlns:ddexC="http://ddex.net/xml/20100712/ddexC" xmlns:iso3166a2="http://ddex.net/xml/20100712/iso3166a2" xmlns:iso4217a="http://ddex.net/xml/20100712/iso4217a" xmlns:iso639a2="http://ddex.net/xml/20100712/iso639a2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://ddex.net/xml/20100712/iso3166a2" schemaLocation="iso3166a2.xsd" />
    <xs:import namespace="http://ddex.net/xml/20100712/iso4217a" schemaLocation="iso4217a.xsd" />
    <xs:import namespace="http://ddex.net/xml/20100712/iso639a2" schemaLocation="iso639a2.xsd" />
    <xs:import namespace="http://ddex.net/xml/20100712/ddex" schemaLocation="ddex.xsd" />
    <xs:annotation>
        <xs:documentation>(c) 2006-2010 DDEX, LLC</xs:documentation>
    </xs:annotation>
    <xs:complexType name="AdditionalInformation">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an AdditionalInformation.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the AdditionalInformation as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="AdministratingRecordCompany">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an AdministratingRecordCompany.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:PartyDescriptor">
                <xs:attribute name="Role" type="ddex:AdministratingRecordCompanyRole" use="required">
                    <xs:annotation>
                        <xs:documentation>The role played by the Party responsible for administering Rights in a Resource or a Release.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="AmountByUseAndDistributionChannelType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an Amount specified for a UseType and a DistributionChannelType.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Amount" type="xs:decimal">
                <xs:annotation>
                    <xs:documentation>The Amount specified for the UseType and the DistributionChannelType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UseType" type="ddexC:UseType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a nature of a Service, or a Release, as used by a Consumer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UserInterfaceType" type="ddexC:UserInterfaceType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a physical interface by which a Consumer uses a Service or Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DistributionChannelType" type="ddexC:DistributionChannelType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a distribution channel used to disseminate a Service or Release to a Consumer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CarrierType" type="ddexC:CarrierType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Carrier.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AmountPerCollection">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an Amount that has to be paid per Collection.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Amount" type="xs:decimal">
                <xs:annotation>
                    <xs:documentation>The Amount specified for the CollectionType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CollectionType" type="ddexC:CollectionType">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of the Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Annotation">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an Annotation.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the Annotation as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="AppliedRoyaltyRate">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an applied RoyaltyRate.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:decimal">
                <xs:attribute name="ValueType" type="ddex:ValueType" use="required">
                    <xs:annotation>
                        <xs:documentation>The Type of the numeric value specified for the RoyaltyRate. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="RoyaltyRateType" type="ddex:RoyaltyRateType" use="required">
                    <xs:annotation>
                        <xs:documentation>A Type of RoyaltyRate upon which the per unit royalty is calculated.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the RoyaltyRateType if it is UserDefined. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the RoyaltyRateType if it is UserDefined. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ArtistRole">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an ArtistRole. Note: This can be used in a DdexMessage in relation to any Performance or Fixation either of which may form the whole or part of the Resource itself. Example: if an "AssociatedPerformer" is shown as a Contributor to a MusicalWork it refers to a Performer of a Resource (e.g. a SoundRecording) expressing the MusicalWork.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ArtistRole">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ArtistRole. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ArtistRole. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="AudioCodecType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an AudioCodecType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:AudioCodecType">
                <xs:attribute name="Version" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Identifier of the Version of the AudioCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the AudioCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the AudioCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="AvRating">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a rating for an audio-visual Creation.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="RatingText" type="xs:string">
                <xs:annotation>
                    <xs:documentation>The text of the AvRating.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RatingAgency" type="ddexC:RatingAgency">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an Organization that issues the AvRating.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="BitRate">
        <xs:annotation>
            <xs:documentation>A Composite containing a BitRate and a UnitOfMeasure.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:decimal">
                <xs:attribute name="UnitOfMeasure" type="ddex:UnitOfBitRate" use="optional">
                    <xs:annotation>
                        <xs:documentation>The UnitOfMeasure of the BitRate. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="CalculationType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a CalculationType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:CalculationType">
                <xs:attribute name="SequenceNumber" type="xs:integer" use="optional">
                    <xs:annotation>
                        <xs:documentation>The number indicating the order of the CalculationType in a group of CalculationTypes. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="CarrierType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a CarrierType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:CarrierType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the CarrierType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the CarrierType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="CatalogNumber">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a CatalogNumber.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="Namespace" type="xs:string" use="required">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the CatalogNumber. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="Character">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Character. A Character may be described through Name, Identifier and Roles.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:PartyDescriptor">
                <xs:sequence>
                    <xs:element name="ResourceContributor" type="ddexC:ResourceContributor" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of the Name, Identifier and role(s) of a Contributor.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="SequenceNumber" type="xs:integer" use="optional">
                    <xs:annotation>
                        <xs:documentation>The number indicating the order of the Character in a group of Characters. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="CLine">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a CLine.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Year" type="xs:gYear">
                <xs:annotation>
                    <xs:documentation>The Year of the CLine.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CLineText" type="xs:string">
                <xs:annotation>
                    <xs:documentation>The text of the CLine.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script of the CLineText as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="Collection">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Collection.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CollectionId" type="ddexC:CollectionId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an Identifier of the Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CollectionType" type="ddexC:CollectionType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of the Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CollectionReference" type="ddex:LocalCollectionAnchor">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of the Collection within the Release which contains it. This LocalAnchor is a string starting with the letter X.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Title" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Title of the Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Contributor" type="ddexC:ResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details a Contributor to the Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CollectionCollectionReferenceList" type="ddexC:CollectionCollectionReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a list of CollectionCollectionReferences for a Collection (specific to this Message).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsComplete" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the Collection is complete (=True) or not (=False). Only one of the Elements IsComplete here and in the CollectionDetailsByTerritory is valid for a given Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DurationOfMusicalContent" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The 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 string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CreationDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the Collection was created.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OriginalReleaseDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the 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" type="iso639a2:LanguageCode" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The orignal Language of the Collection (represented by an ISO 639-2 LanguageCode).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CollectionDetailsByTerritory" type="ddexC:CollectionDetailsByTerritory" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Descriptors and other attributes of the Collection which may vary according to Territory of release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the Collection as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="CollectionCollectionReference">
        <xs:annotation>
            <xs:documentation>A Composite containing a CollectionCollectionReference.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SequenceNumber" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The number indicating the order of the Collection in a group of Collections within a Medley, SoundRecording or other Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CollectionCollectionReference" type="ddex:LocalCollectionAnchorReference">
                <xs:annotation>
                    <xs:documentation>A Reference for a Collection (specific to this Message). This LocalAnchorReference is a string starting with the letter X. The referenced Collection has to be of CollectionType Series, Season or Episode.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="StartTime" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The start time of the Creation, measured from the start of the Resource from which the 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 string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Duration" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Duration of the use of the Creation that is referenced in the CueCreationReference (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="EndTime" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The end time of the Creation, measured from the start of the Resource from which the 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 string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="InclusionDate" type="xs:dateTime" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Date on which the Collection or Resource was included in the parent Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CollectionCollectionReferenceList">
        <xs:annotation>
            <xs:documentation>A Composite containing a list of CollectionCollectionReferences.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="NumberOfCollections" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The number of referenced Collections (typically Chapters).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CollectionCollectionReference" type="ddexC:CollectionCollectionReference" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing a CollectionCollectionReference for a Collection (specific to this Message).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CollectionDetailsByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Descriptors and other attributes of a Collection which may vary according to Territory of release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the Collection details apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ExcludedTerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the Collection details do not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="Title" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Title of the Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Contributor" type="ddexC:ResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Contributor to the Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsComplete" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the Collection is complete (=True) or not (=False). Only one of the Elements IsComplete here and in the Collection is valid for a given Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CollectionId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a CollectionId.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="GRid" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The GRid identifying the Collection. This is the preferred Element and is mandatory if a GRid is available. A GRid comprises four parts: the string "A1", followed by five alphanumeric characters, ten alphanumeric characters and and one alphanumeric character.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ISRC" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISRC (International Standard Recording Code as defined in ISO 3901) for the Collection. An ISRC comprises four parts: two characters, followed by three alphanumeric characters, then two digits and five digits.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ISAN" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISAN (International Standard Audiovisual Number as defined in ISO 15706) for the Collection. An ISAN comprises four blocks of four hexadecimal charaters followed by a check character.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VISAN" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The V-ISAN (Version Identifier of a International Standard Audiovisual Number as defined in ISO 15706-2) for the Collection. A V-ISAN comprises four blocks of four hexadecimal charaters followed by a check character, followed by two further blocks of four hexadecimal characters, followed by a further check character.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ICPN" type="ddexC:ICPN" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the ICPN used as proxy for identification of the Collection. Only applicable when the Collection is an abstraction of a complete PhysicalProduct. An ICPN comprises 12 or 13 digits, depending whether it is an EAN (13) or a UPC (12).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CatalogNumber" type="ddexC:CatalogNumber" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the CatalogNumber of the Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the Collection (usually one per society involved in the messaging).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CollectionResourceReferenceList">
        <xs:annotation>
            <xs:documentation>A Composite containing a list of CollectionResourceReferences.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CollectionResourceReference" type="ddex:LocalResourceAnchorReference" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Reference for a Resource (specific to this Message). This LocalAnchorReference is a string starting with the letter A.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CollectionType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a CollectionType. Collections referenced from Video Resources are of CollectionType VideoChapter . Collections referenced from a Release composite are of CollectionType Series, Season or Episode.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:CollectionType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the CollectionType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the CollectionType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="Comment">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an Comment.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the Comment as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="CommercialModelType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a CommercialModelType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:CommercialModelType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the CommercialModelType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the CommercialModelType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ConsumerRentalPeriod">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Period a DSP may rent something to a Customer.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:duration">
                <xs:attribute name="IsExtensible" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation>A Flag indicating whether a Period can be extended after the end of a Deal (=True) or not (=False).</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ContainedReleaseSummary">
        <xs:annotation>
            <xs:documentation>A Composite containing summary details of a Release for which data is provided in a Message.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:ReleaseSummary">
                <xs:sequence>
                    <xs:element name="RelatedRelease" type="ddexC:RelatedRelease" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of a Release (or a PhysicalProduct or a DigitalProduct derived from such a Release) which is related to the Release.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="CourtesyLine">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an CourtesyLine.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the CourtesyLine as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="CueCreationReference">
        <xs:annotation>
            <xs:documentation>A Composite containing a CueCreationReference.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="CueWorkReference" type="ddex:LocalMusicalWorkAnchorReference">
                    <xs:annotation>
                        <xs:documentation>A Reference for a Work (specific to this Message). This LocalAnchorReference is a string starting with the letter W.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="CueResourceReference" type="ddex:LocalResourceAnchorReference">
                    <xs:annotation>
                        <xs:documentation>A Reference for a Resource (specific to this Message). This LocalAnchorReference is a string starting with the letter A.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CueOrigin">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a CueOrigin.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:CueOrigin">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the CueOrigin. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the CueOrigin. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="CueSheetType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a CueSheetType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:CueSheetType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the CueSheetType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the CueSheetType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="CueThemeType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ThemeType for a Creation referenced in a Cue.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ThemeType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ThemeType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ThemeType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="CueUseType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a CueUseType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:CueUseType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the CueUseType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the CueUseType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="CueVisualPerceptionType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a VisualPerceptionType for a Creation referenced in a Cue.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:VisualPerceptionType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the VisualPerceptionType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the VisualPerceptionType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="CueVocalType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a VocalType for a Creation referenced in a Cue.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:VocalType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the VocalType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the VocalType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="DealReference">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a DealReference.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the DealReference as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="DeductionRate">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a DeductionRate.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:decimal">
                <xs:attribute name="DeductionRateType" type="ddex:DeductionRateType" use="required">
                    <xs:annotation>
                        <xs:documentation>A Type of DeductionRate.This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="DeductionDescription" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A Description of the deduction to be applied to an Amount to determine the actual Amount paid. This is a text string with no prescribed allowed values.This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the DeductionDescription as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="Description">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an Description.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the Description as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="DisplayArtist">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a DisplayArtist. A DisplayArtist may be described through Name, Identifier and Roles.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:PartyDescriptor">
                <xs:sequence>
                    <xs:element name="ArtistRole" type="ddexC:ArtistRole" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of a role played by the DisplayArtist in relation to other DisplayArtists.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="SequenceNumber" type="xs:integer" use="optional">
                    <xs:annotation>
                        <xs:documentation>The number indicating the order of the DisplayArtist in a group of DisplayArtists. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="DistributionChannelDescriptor">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a DistributionChannelDescriptor.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the DistributionChannelDescriptor as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="DistributionChannelType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a DistributionChannelType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:DistributionChannelType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the DistributionChannelType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the DistributionChannelType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="DrmPlatformType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a DrmPlatformType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:DrmPlatformType">
                <xs:attribute name="Version" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Identifier of the Version of the DrmPlatformType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the DrmPlatformType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the DrmPlatformType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="DSP">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a DSP acting as a Licensee in a commercial relationship.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:PartyDescriptor">
                <xs:sequence>
                    <xs:element name="TradingName" type="ddexC:Name" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A Composite containing a TradingName of the DSP.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="URL" type="xs:string" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A URL for the DSP's web site.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>The Territory from which the DSP operates (represented by an ISO 3166-1 TerritoryCode). This Territory may differ from the one in which SalesTransactions occur.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script for the Elements of the DSP as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="DurationByUseType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Duration specified for a UseType.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Duration" type="xs:duration">
                <xs:annotation>
                    <xs:documentation>The Duration specified for the UseType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UseType" type="ddexC:UseType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a nature of a Service, or a Release, as used by a Consumer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UserInterfaceType" type="ddexC:UserInterfaceType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a physical interface by which a Consumer uses a Service or Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DistributionChannelType" type="ddexC:DistributionChannelType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a distribution channel used to disseminate a Service or Release to a Consumer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CarrierType" type="ddexC:CarrierType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Carrier.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="EventDate">
        <xs:annotation>
            <xs:documentation>A Composite containing details of the Date and Place of an Event.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:date">
                <xs:attribute name="IsApproximate" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Flag indicating whether the reported Date is approximate (=True) or exact (=False). This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="IsBefore" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Flag indicating whether the Event being described occurred sometime before the reported Date (=True) or not (=False). This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="IsAfter" type="xs:boolean" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Flag indicating whether the Event being described occurred sometime after the reported Date (=True) or not (=False). This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="TerritoryCode" type="ddexC:TerritoryCode" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Territory in which the Event occurred (represented by an ISO 3166-1 TerritoryCode). This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="LocationDescription" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A Description of the location in which the Event occurred. It offers the opportunity to describe a place more precisely than using the TerritoryCode. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script for the LocationDescription as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="Extent">
        <xs:annotation>
            <xs:documentation>A Composite containing an Extent and a UnitOfMeasure.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:decimal">
                <xs:attribute name="UnitOfMeasure" type="ddex:UnitOfExtent" use="optional">
                    <xs:annotation>
                        <xs:documentation>The UnitOfMeasure of the Extent. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ExternalLocationDescriptor">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an ExternalLocationDescriptor.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="DescriptorSyntax" type="ddex:DescriptorSyntax" use="optional">
                    <xs:annotation>
                        <xs:documentation>A Type of the Descriptor according to how it is defined syntactically. For example, using a namespace (typically using a DPID) for a proprietary syntax or "URI" for a uniform resource identifier as defined in RFC 1630). This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ExternallyLinkedResourceType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an ExternallyLinkedResourceType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ExternallyLinkedResourceType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ExternallyLinkedResourceType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ExternallyLinkedResourceType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ExternalResourceLink">
        <xs:annotation>
            <xs:documentation>A Composite containing details of promotional or other material in digital form related to a Release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="URL" type="xs:string" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A URL of the linked external Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ValidityPeriod" type="ddexC:Period" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details about the Period of Time during which the ExternalResourceLink is active.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ExternalLink" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Identifier which provides a communication link to the related external Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ExternallyLinkedResourceType" type="ddexC:ExternallyLinkedResourceType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of a Resource pointed to by the ExternalResourceLink.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="FileFormat" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The FileFormat of the external Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="File">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a File.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:sequence>
                    <xs:element name="FileName" type="xs:string">
                        <xs:annotation>
                            <xs:documentation>A Name of the File.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="FilePath" type="xs:string" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A location of the File.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
                <xs:element name="URL" type="xs:string">
                    <xs:annotation>
                        <xs:documentation>A URL of the File.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="HashSum" type="ddexC:HashSum" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a HashSum of the File and information about the algorithm with which it has been generated.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="FrameRate">
        <xs:annotation>
            <xs:documentation>A Composite containing a FrameRate and a UnitOfMeasure.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:decimal">
                <xs:attribute name="UnitOfMeasure" type="ddex:UnitOfFrameRate" use="optional">
                    <xs:annotation>
                        <xs:documentation>The UnitOfMeasure of the FrameRate. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="FulfillmentDate">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a FulfillmentDate.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="FulfillmentDate" type="xs:date">
                <xs:annotation>
                    <xs:documentation>A Date after which an end user can receive the Resource (in ISO 8601:2004 format: YYYY-MM-DD). If no FulfillmentDate is provided the FulfillmentDate is the StartDate of the respective Deal.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceReleaseReference" type="ddex:LocalReleaseAnchorReference" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of a Release for a Resource. This LocalAnchorReference is a string starting with the letter R.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Genre">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Genre.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="GenreText" type="ddexC:Description">
                <xs:annotation>
                    <xs:documentation>A Composite containing a Description of a genre or style (such as Musical, literary or audio-visual) with which a Creation is associated.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SubGenre" type="ddexC:Description" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a Description of a secondary genre or style with which a Creation is associated.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the Genre as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="GuaranteedAmount">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a GuaranteedAmount.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:decimal">
                <xs:attribute name="CurrencyCode" type="iso4217a:CurrencyCode" use="required">
                    <xs:annotation>
                        <xs:documentation>The Currency of the GuaranteedAmount (represented by an ISO 4217 CurrencyCode). This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="ReferenceUnit" type="ddex:ReferenceUnit" use="required">
                    <xs:annotation>
                        <xs:documentation>A unit to which the GuaranteedAmount refers (per Use or for the whole License).</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="HashSum">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a HashSum and its governing algorithm.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="HashSum" type="xs:string">
                <xs:annotation>
                    <xs:documentation>The value of the HashSum.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="HashSumAlgorithmType" type="ddexC:HashSumAlgorithmType">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of HashSumAlgorithm governing the HashSum.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="HashSumAlgorithmType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a HashSumAlgorithmType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:HashSumAlgorithmType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the HashSumAlgorithmType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the HashSumAlgorithmType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="HostSoundCarrier">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a HostSoundCarrier of a SoundRecording. This Composite exists in the ERN MessageSuite to support the identification and matching of SoundRecording information.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ReleaseId" type="ddexC:ReleaseId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of ReleaseIds of the HostSoundCarrier. If available, a GRid has to be used. If the HostSoundCarrier contains only one SoundRecording, the ISRC of the SoundRecording may be used instead.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsAgreementId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract for the MusicalWork(s) used in the HostSoundCarrier.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Title" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Title of the HostSoundCarrier.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DisplayArtist" type="ddexC:DisplayArtist" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the DisplayArtist for the HostSoundCarrier. The DisplayArtist may be described through Name, Identifier and Roles.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AdministratingRecordCompany" type="ddexC:AdministratingRecordCompany" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the AdministratingRecordCompany for the Rights in the HostSoundCarrier.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TrackNumber" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The TrackNumber of the SoundRecording within the HostSoundCarrier.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VolumeNumberInSet" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The SequenceNumber within the Set of the volume containing the SoundRecording, where the HostSoundCarrier is a Set (such as a "box set" of CDs).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ICPN">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an ICPN.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="IsEan" type="xs:boolean" use="required">
                    <xs:annotation>
                        <xs:documentation>The Flag indicating whether the ICPN is specifically an EAN (=True) or a UPC (=False). This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="Image">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an Image.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ImageType" type="ddexC:ImageType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of the Image.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsArtistRelated" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the Image is related to an Artist (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ImageId" type="ddexC:ImageId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of the Image.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceReference" type="ddex:LocalResourceAnchor">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of the Image within the Release which contains it. This LocalAnchor is a string starting with the letter A.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Title" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Title of the Image.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CreationDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the Image was created.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ImageDetailsByTerritory" type="ddexC:ImageDetailsByTerritory" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Image which may vary according to Territory of release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the Image as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="ImageCodecType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an ImageCodecType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ImageCodecType">
                <xs:attribute name="Version" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Identifier of the Version of the ImageCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ImageCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ImageCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ImageDetailsByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Descriptors, Dates and other attributes of an Image which may vary according to Territory of release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the Image details apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ExcludedTerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the Image details do not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="ResourceContributor" type="ddexC:ResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Contributor to the Image.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectResourceContributor" type="ddexC:IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an indirect Contributor to the Image.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CLine" type="ddexC:CLine" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the CLine for the Image.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Description" type="ddexC:Description" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a Description of the subject of the Image.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CourtesyLine" type="ddexC:CourtesyLine" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing an Annotation which acknowledges record companies and/or other Parties giving permission for Artists or others featured on the Image.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OriginalResourceReleaseDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the Image was originally published, whether for physical or electronic/online distribution.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the ImageDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="ImageId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Identifiers of an Image.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the Image.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ImageType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an ImageType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ImageType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ImageType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ImageType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="IndirectResourceContributor">
        <xs:annotation>
            <xs:documentation>A Composite containing details of the Name, Identifier and role(s) of an indirect Contributor to a Resource.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:PartyDescriptor">
                <xs:sequence>
                    <xs:element name="IndirectResourceContributorRole" type="ddexC:MusicalWorkContributorRole" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of a role played by the indirect Contributor.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="SequenceNumber" type="xs:integer" use="optional">
                    <xs:annotation>
                        <xs:documentation>The number indicating the order of the indirect ResourceContributor in a group of ResourceContributors that have contributed to a Resource. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="Keywords">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Description containing Keywords.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the Keywords as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="LicenseOrClaimRefusalReason">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a LicenseOrClaimRefusalReason.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:LicenseOrClaimRefusalReason">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the LicenseOrClaimRefusalReason. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the LicenseOrClaimRefusalReason. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="LinkedReleaseResourceReference">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a LinkedReleaseResourceReference for a Resource which is linked to a ContentItem.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:LocalResourceAnchorReference">
                <xs:attribute name="LinkDescription" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A Composite containing a Description of the link for the ReleaseResourceReference.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script for the LinkDescription as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="MessageActionType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a MessageActionType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:MessageActionType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the MessageActionType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the MessageActionType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="MessageAuditTrail">
        <xs:annotation>
            <xs:documentation>A Composite containing information about Parties in between the original MessageSender and ultimate MessageRecipient.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="MessageAuditTrailEvent" type="ddexC:MessageAuditTrailEvent" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Party handling the Message and the Time at which the handling took place.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the MessageAuditTrail as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="MessageAuditTrailEvent">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Party handling a Message and the Time at which the handling took place.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="MessagingPartyDescriptor" type="ddexC:MessagingParty">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a MessagingParty.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DateTime" type="xs:dateTime">
                <xs:annotation>
                    <xs:documentation>The DateTime at which the Message was handled by the MessagingParty (the only allowed format is ISO 8601:2004: YYYY-MM-DDThh:mm:ssTZD).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MessageHeader">
        <xs:annotation>
            <xs:documentation>A Composite placed at the beginning of each DdexMessage providing information about the Message, such as MessageSender, MessageRecipient and a Message creation time stamp.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="MessageThreadId" type="xs:string">
                <xs:annotation>
                    <xs:documentation>A string used to uniquely identify the thread of Messages of which the current Message is a part.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageId" type="xs:string">
                <xs:annotation>
                    <xs:documentation>A string used to uniquely identify the current Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageFileName" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The FileName, possibly including the FilePath, of the XML File containing the current Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageSender" type="ddexC:MessagingParty">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the MessageSender.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SentOnBehalfOf" type="ddexC:MessagingParty" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Party on whose behalf the Message is sent.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageRecipient" type="ddexC:MessagingParty">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the MessageRecipient.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageCreatedDateTime" type="xs:dateTime">
                <xs:annotation>
                    <xs:documentation>The DateTime on which the Message was created (the only allowed format is ISO 8601:2004: YYYY-MM-DDThh:mm:ssTZD).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageAuditTrail" type="ddexC:MessageAuditTrail" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing information about Parties in between the original MessageSender and ultimate MessageRecipient.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Comment" type="ddexC:Comment" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a human-readable Comment about the Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageControlType" type="ddex:MessageControlType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The indicator used to distinguish a live Message from a test Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the MessageHeader as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="MessageNotificationPeriod">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a reporting Period covered by a Message. It must contain at least one out of StartDate or EndDate. The StartDate must be earlier than the EndDate if both are provided.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="StartDate" type="xs:date">
                <xs:annotation>
                    <xs:documentation>The Date that marks the beginning of the Period (in ISO 8601:2004 format: YYYY-MM-DD). This cannot be a Date in the future.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="EndDate" type="xs:date">
                <xs:annotation>
                    <xs:documentation>The Date that marks the end of the Period (in ISO 8601:2004 format: YYYY-MM-DD). This cannot be a Date in the future.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MessagingParty">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a MessagingParty.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PartyId" type="ddexC:PartyId">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the PartyId for the Party handling the Message. If no Namespace is given, the Identifier is a DdexPartyId (DPID). Note that DPIDs are not normally used to identify Artists, Producers or other Creators.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PartyName" type="ddexC:PartyName" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the PartyNames for the Party handling the Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TradingName" type="ddexC:Name" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a TradingName for the Party handling the Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the MessagingParty as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="MIDI">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a MIDI.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="MidiType" type="ddexC:MidiType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of the MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsArtistRelated" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the MIDI is related to an Artist (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MidiId" type="ddexC:MidiId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of the Midi.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectMidiId" type="ddexC:MusicalWorkId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a MusicalWorkId of a MusicalWork used in the MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceReference" type="ddex:LocalResourceAnchor">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of the MIDI within the Release which contains it. This LocalAnchor is a string starting with the letter A.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReferenceTitle" type="ddexC:ReferenceTitle">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the ReferenceTitle of the MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="InstrumentationDescription" type="ddexC:Description" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a Description of the Type of instrumentation of the MusicalWork(s) in the MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsMedley" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the MIDI is a Medley (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsPotpourri" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the MIDI is a Potpourri (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsInstrumental" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the MIDI is instrumental (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsBackground" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the 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" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the MIDI is hidden in some way from the Consumer (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsBonusResource" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the MIDI is additional to those on the original Release of which this is a Version (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsComputerGenerated" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the MIDI is generated by a computer (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="LanguageOfPerformance" type="iso639a2:LanguageCode" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Language of the Performance recorded in the MIDI (represented by an ISO 639-2 LanguageCode).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Duration" type="xs:duration">
                <xs:annotation>
                    <xs:documentation>The Duration of the MIDI (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsAgreementId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract for the MusicalWork(s) used in the MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceMusicalWorkReferenceList" type="ddexC:ResourceMusicalWorkReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of one or more MusicalWorks contained in the MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceContainedResourceReferenceList" type="ddexC:ResourceContainedResourceReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of ResourceContainedResourceReferences referring to a Resource that is contained in the current MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CreationDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the MIDI was created.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MasteredDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the MIDI was originally mastered (either in analogue or digital form).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MidiDetailsByTerritory" type="ddexC:MidiDetailsByTerritory" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Descriptors and other attributes of the MIDI which may vary according to Territory of release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the MIDI as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="MidiDetailsByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Descriptors and other attributes of a MIDI which may vary according to Territory of release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the MIDI details apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ExcludedTerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the MIDI details do not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="Title" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Title of the MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DisplayArtist" type="ddexC:DisplayArtist" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the DisplayArtist for the MIDI. The DisplayArtist may be described through Name, Identifier and Roles.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceContributor" type="ddexC:ResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Contributor to the MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectResourceContributor" type="ddexC:IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an indirect Contributor to the MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsAgreementId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract for the MusicalWork(s) used in the MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="LabelName" type="ddexC:Name" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the Name of the Label under which the Release is to be marketed.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsController" type="ddexC:RightsController" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of RightsController of Rights in the MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RemasteredDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the MIDI was re-mastered (usually digitally).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OriginalResourceReleaseDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the MIDI was originally published, whether for physical or electronic/online distribution.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CLine" type="ddexC:CLine" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the CLine for the MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the MidiDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="MidiId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Identifiers of a Midi.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the Midi.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MidiType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a MidiType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:MidiType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the MidiType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the MidiType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="MusicalWork">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a MusicalWork.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="MusicalWorkId" type="ddexC:MusicalWorkId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a MusicalWorkId of the MusicalWork.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MusicalWorkReference" type="ddex:LocalMusicalWorkAnchor">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of the MusicalWork within the Release which contains it. This LocalAnchor is a string starting with the letter W.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReferenceTitle" type="ddexC:ReferenceTitle" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ReferenceTitle of the MusicalWork.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsAgreementId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract for the MusicalWork.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MusicalWorkContributor" type="ddexC:MusicalWorkContributor" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details a MusicalWorkContributor to the MusicalWork.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MusicalWorkType" type="ddexC:MusicalWorkType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of the MusicalWork.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightShare" type="ddexC:RightShare" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a RightShare for the MusicalWork.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MusicalWorkDetailsByTerritory" type="ddexC:MusicalWorkDetailsByTerritory" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Descriptors and other attributes of the MusicalWork which may vary according to Territory of release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="IsUpdated" type="xs:boolean" use="optional">
            <xs:annotation>
                <xs:documentation>The Flag indicating whether the MusicalWork Element was updated (=True) or not (=False). The Flag may only be used when the UpdateIndicator is set to UpdateMessage. When this Boolean Flag is set to true, the MessageRecipient is expected to replace any previously provided MusicalWork data with the now provided data.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the MusicalWork as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="MusicalWorkContributor">
        <xs:annotation>
            <xs:documentation>A Composite containing details a MusicalWorkContributor.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:PartyDescriptor">
                <xs:sequence>
                    <xs:element name="MusicalWorkContributorRole" type="ddexC:MusicalWorkContributorRole" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of a role played by the Contributor in relation to the MusicalWork. Note: This can be used in a DdexMessage in relation to any Work, Performance or Fixation any of which may form the whole or part of the Resource itself. Example: if an "AssociatedPerformer" is shown as a Contributor to a MusicalWork it refers to a performer of a Resource (e.g. a SoundRecording) expressing the MusicalWork.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="SocietyAffiliation" type="ddexC:SocietyAffiliation" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of a society affiliation for the MusicalWorkContributor.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="SequenceNumber" type="xs:integer" use="optional">
                    <xs:annotation>
                        <xs:documentation>The number indicating the order of the MusicalWorkContributor in a group of MusicalWorkContributors that have contributed to a MusicalWork. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="MusicalWorkContributorRole">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a MusicalWorkContributorRole. Note: This can be used in a DdexMessage in relation to any Work, Performance or Fixation any of which may form the whole or part of the Resource itself. Example: if an "AssociatedPerformer" is shown as a Contributor to a MusicalWork it refers to a performer of a Resource (e.g. a SoundRecording) expressing the MusicalWork.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:MusicalWorkContributorRole">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the MusicalWorkContributorRole. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the MusicalWorkContributorRole. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="MusicalWorkDetailsByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Descriptors and other attributes of a MusicalWork which may vary according to Territory of release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the MusicalWork details apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ExcludedTerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the MusicalWork details do not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="MusicalWorkContributor" type="ddexC:MusicalWorkContributor" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details a MusicalWorkContributor to the MusicalWork.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the MusicalWorkDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="MusicalWorkId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a MusicalWorkId.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ISWC" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISWC (International Standard Musical Work Code defined in ISO 15707) identifying the MusicalWork. An ISWC comprises three parts: the letter "T", followed by nine digits and then one check digit.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OpusNumber" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The MusicalWorkId identifying the MusicalWork within the catalog of its Composer (typically of classical music) as an opus number.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ComposerCatalogNumber" type="xs:string" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A MusicalWorkId identifying a MusicalWork within the catalog of its Composer (typically of classical music) according to a standardized numbering (e.g. "K" numbers for Koechel's catalog of Mozart).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the MusicalWork.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MusicalWorkType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a MusicalWorkType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:MusicalWorkType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the MusicalWorkType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the MusicalWorkType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="Name">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Name.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the Name as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="NumberOfDataMismatchItems">
        <xs:annotation>
            <xs:documentation>A Composite containing a NumberOfDataMismatchItems.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:integer">
                <xs:attribute name="DataMismatchStatus" type="ddex:DataMismatchStatus" use="optional">
                    <xs:annotation>
                        <xs:documentation>A status of the DataMismatch(es). This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="NumberOfSubscribers">
        <xs:annotation>
            <xs:documentation>A Composite containing a NumberOfSubscribers (applicable only where a Subscription Service is employed).</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Quantity" type="xs:integer">
                <xs:annotation>
                    <xs:documentation>The number of Consumers using the DSP service specified for the UseType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UseType" type="ddexC:UseType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a nature of a Service, or a Release, as used by a Consumer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UserInterfaceType" type="ddexC:UserInterfaceType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a physical interface by which a Consumer uses a Service or Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DistributionChannelType" type="ddexC:DistributionChannelType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a distribution channel used to disseminate a Service or Release to a Consumer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CarrierType" type="ddexC:CarrierType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Carrier.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="OperatingSystemType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an OperatingSystemType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:OperatingSystemType">
                <xs:attribute name="Version" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Identifier of the Version of the OperatingSystemType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the OperatingSystemType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the OperatingSystemType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="OrderType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a OrderType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:OrderType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the OrderType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the OrderType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ParentalWarningType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ParentalWarningType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ParentalWarningType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ParentalWarningType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ParentalWarningType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="PartyDescriptor">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Party. Parties are typically described through Names and/or Identifiers.</xs:documentation>
        </xs:annotation>
        <xs:choice>
            <xs:element name="PartyId" type="ddexC:PartyId">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the PartyId for the Party. If no Namespace is given, the Identifier is a DdexPartyId (DPID). Note that DPIDs are not normally used to identify Artists, Producers or other Creators.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:sequence>
                <xs:element name="PartyName" type="ddexC:PartyName" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of the PartyName(s).</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="PartyId" type="ddexC:PartyId" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of the PartyId for the Party. If no Namespace is given, the Identifier is a DdexPartyId (DPID). Note that DPIDs are not normally used to identify Artists, Producers or other Creators.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:sequence>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="PartyId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a PartyId. If no Namespace is given, the Identifier is a DdexPartyId (DPID). Note that DPIDs are not normally used to identify Artists, Producers or other Creators.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the PartyId if it belongs to a proprietary Party ID scheme. If the PartyId is a DPID, the Namespace Element must not be used. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="PartyName">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a PartyName. Name details for a Party typically either contain a FullName or a KeyName.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="FullName" type="ddexC:Name">
                <xs:annotation>
                    <xs:documentation>A Composite containing the complete Name of the Party, in its normal form of presentation (e.g. John H. Smith, Acme Music Inc, A Composite containing the Beatles).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="FullNameAsciiTranscribed" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The FullName transcribed using 7-bit ASCII code.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="FullNameIndexed" type="ddexC:Name" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the complete Name of the Party in the form in which it normally appears in an alphabetic index, with the KeyName first (e.g. Smith, John H.; Beatles, A Composite containing the).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NamesBeforeKeyName" type="ddexC:Name" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the Name(s) preceding the KeyName in the FullName (and that is placed after it in a FullNameIndexed). Examples: "George" in "George Michael"; "John Fitzgerald" in "John Fitzgerald Kennedy". Not all PartyNames have a NamesBeforeKeyName (e.g. Madonna, EMI Music Inc).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KeyName" type="ddexC:Name" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the Part of a Name of the Party normally used to index an entry in an alphabetical list, such as "Smith" (in John Smith) or "Garcia Marquez" or "Madonna" or "Francis de Sales" (in Saint Francis de Sales). For persons, this normally corresponds to the "family name" or names, which in Western name forms usually comes as a surname at the end of a FullName, and in Asian name forms often at the beginning of a FullName.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NamesAfterKeyName" type="ddexC:Name" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the Name(s) following the KeyName. Example:"Ibrahim" (in Anwar Ibrahim). This is common, e.g., in many Asian personal name forms where a FullName begins with the KeyName, which is followed by other names.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AbbreviatedName" type="ddexC:Name" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a short version of the PartyName (e.g. for use on devices with a small display).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the PartyName as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="Period">
        <xs:annotation>
            <xs:documentation>A Composite containing details about a Period of Time. Periods are typically described by at least a StartDate or EndDate.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="StartDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of an Event that marks the beginning of the Period (in ISO 8601:2004 format: YYYY-MM-DD). The StartDate must be earlier than the EndDate if both are provided.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="EndDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of an Event that marks the end of the Period (in ISO 8601:2004 format: YYYY-MM-DD). The EndDate must be later than the StartDate if both are provided.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PLine">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a PLine.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Year" type="xs:gYear">
                <xs:annotation>
                    <xs:documentation>The Year of the PLine.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PLineText" type="xs:string">
                <xs:annotation>
                    <xs:documentation>The text of the PLine.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script of the PLineText as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="Price">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Price.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:decimal">
                <xs:attribute name="CurrencyCode" type="iso4217a:CurrencyCode" use="required">
                    <xs:annotation>
                        <xs:documentation>The Currency of the Price (represented by an ISO 4217 CurrencyCode). This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="PriceConsumerPaidExcSalesTax">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a PriceConsumerPaidExcSalesTax.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:decimal">
                <xs:attribute name="CurrencyCode" type="iso4217a:CurrencyCode" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Currency of the Price (represented by an ISO 4217 CurrencyCode). This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="PriceInformation">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Price.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PriceRangeType" type="ddexC:PriceRangeType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a Type of Price according to its value range. Typical examples include "budget" and "front line".</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PriceType" type="ddexC:PriceType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing further details of the Price. Often used to refine the PriceRangeType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="WholesalePricePerUnit" type="ddexC:Price" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a wholesale Price for a single unit of Usage. Note that this Price applies to all UseTypes referenced in a DealTerm Composite.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="BulkOrderWholesalePricePerUnit" type="ddexC:Price" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a wholesale Price for a single unit. Note that the size of a bulk order is defined in the contract between MessageSender and the MessageRecipient.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SuggestedRetailPrice" type="ddexC:Price" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a suggested retail Price.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PriceRangeType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a PriceRangeType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:PriceRangeType">
                <xs:attribute name="Namespace" type="xs:string" use="required">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the PriceRangeType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="PriceType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a PriceType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:PriceType">
                <xs:attribute name="Namespace" type="xs:string" use="required">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the PriceType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ProductType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ProductType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ProductType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ProductType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ProductType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="PromotionalCode">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a PromotionalCode.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the PromotionalCode. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ProprietaryId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ProprietaryIdentifier.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="Namespace" type="xs:string" use="required">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ProprietaryId. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="Purpose">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Purpose.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:Purpose">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the Purpose. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the Purpose. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="RatingAgency">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a RatingAgency.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:RatingAgency">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the RatingAgency. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the RatingAgency. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="Reason">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Reason.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the Reason as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ReasonType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ReasonType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ReasonType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ReasonType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ReasonType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="RecordCompanyMarketShareData">
        <xs:annotation>
            <xs:documentation>A Composite containing information to support the calculation of a record company's market share of all Releases provided by a DSP to Consumers for a specified UseType.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ReleaseType" type="ddexC:ReleaseType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the form in which a ReleaseCreator anticipates offering the Release to Consumers.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UnitsSoldTotal" type="xs:integer">
                <xs:annotation>
                    <xs:documentation>The total number of Releases sold of the ReleaseType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UseType" type="ddexC:UseType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a nature of a Service, or a Release, as used by a Consumer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UserInterfaceType" type="ddexC:UserInterfaceType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a physical interface by which a Consumer uses a Service or Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DistributionChannelType" type="ddexC:DistributionChannelType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a distribution channel used to disseminate a Service or Release to a Consumer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CarrierType" type="ddexC:CarrierType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Carrier.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RedeliveryReasonType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a RedeliveryReasonType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:RedeliveryReasonType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the RedeliveryReasonType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the RedeliveryReasonType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ReferenceTitle">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ReferenceTitle.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TitleText" type="ddexC:TitleText">
                <xs:annotation>
                    <xs:documentation>A Composite containing the text of the ReferenceTitle.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SubTitle" type="ddexC:SubTitle" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a SubTitle of the ReferenceTitle, including Titles of Versions used to differentiate different versions of the same Title, as required by the GRId and ISRC ReferenceDescriptiveMetadataSets.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the ReferenceTitle as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="RelatedRelease">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Release (or a PhysicalProduct or a DigitalProduct derived from such a Release) which is related to a Resource, Release or Product.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ReleaseId" type="ddexC:ReleaseId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of ReleaseIds. If available, a GRid shall always to be used. If the Release contains only one SoundRecording, the ISRC of the SoundRecording may be used instead. If the Release is an abstraction of a complete PhysicalProduct (such as a CD Album), the ICPN of the PhysicalProduct may be used instead. More than one of these identifiers may be provided.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReferenceTitle" type="ddexC:ReferenceTitle" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the ReferenceTitle of the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseSummaryDetailsByTerritory" type="ddexC:ReleaseSummaryDetailsByTerritory" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing summary details of Descriptors and other attributes of the Release which may vary according to Territory of Release. Territory of Release may be the world.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsAgreementId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract for the MusicalWork(s) used in the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseRelationshipType" type="ddexC:ReleaseRelationshipType">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of the relationship between the two Releases.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the related Release is made available for Usage.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OriginalReleaseDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the 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:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the ReleatedRelease as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="Release">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a DDEX Release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ReleaseId" type="ddexC:ReleaseId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of ReleaseIds. If available, a GRid shall always to be used. If the Release contains only one SoundRecording, the ISRC of the SoundRecording may be used instead. If the Release is an abstraction of a complete PhysicalProduct (such as a CD Album), the ICPN of the PhysicalProduct may be used instead. More than one of these identifiers may be provided.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReferenceTitle" type="ddexC:ReferenceTitle">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the ReferenceTitle of the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseResourceReferenceList" type="ddexC:ReleaseResourceReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of one or more Resources contained in the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseType" type="ddexC:ReleaseType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the form in which a ReleaseCreator anticipates offering the Release to Consumers. This may be overridden by the ReleaseType for specific Territories as specified in the ReleaseDetailsByTerritory Composite.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseDetailsByTerritory" type="ddexC:ReleaseDetailsByTerritory" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Descriptors and other attributes of the Release which may vary according to Territory of release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Duration" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The sum of the Durations of all Resources contained in the Release (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsAgreementId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract for the MusicalWork(s) used in the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PLine" type="ddexC:PLine" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the PLine for the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CLine" type="ddexC:CLine" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the CLine for the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the Release as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="ReleaseAvailabilityStatus">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ReleaseAvailabilityStatus.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ReleaseAvailabilityStatus">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ReleaseAvailabilityStatus. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ReleaseAvailabilityStatus. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ReleaseCollectionReference">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ReleaseCollectionReference.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:LocalCollectionAnchorReference">
                <xs:attribute name="ReleaseResourceType" type="ddex:ReleaseResourceType" use="optional">
                    <xs:annotation>
                        <xs:documentation>A Type of Collection in the context of a Release. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ReleaseCollectionReferenceList">
        <xs:annotation>
            <xs:documentation>A Composite containing a list of ReleaseCollectionReferences.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="NumberOfCollections" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The number of referenced Collections (typically Chapters).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseCollectionReference" type="ddexC:ReleaseCollectionReference" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing a ReleaseCollectionReference for a Collection (specific to this Message). The referenced Collection has to be of CollectionType Series, Season or Episode.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ReleaseDetailsByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Descriptors and other attributes of a Release which may vary according to Territory of release.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:ReleaseSummaryDetailsByTerritory">
                <xs:sequence>
                    <xs:element name="Title" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of a Title of the Release.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="DisplayArtist" type="ddexC:DisplayArtist" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of the DisplayArtist for the Release. The DisplayArtist may be described through Name, Identifier and Roles.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="IsMultiArtistCompilation" type="xs:boolean" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>The Flag indicating whether the Release is a multiartist compilation (=True) or not (=False).</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="AdministratingRecordCompany" type="ddexC:AdministratingRecordCompany" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of the AdministratingRecordCompany for the Release.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ReleaseType" type="ddexC:ReleaseType" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of the form in which a ReleaseCreator anticipates offering the Release to Consumers. This overrides the ReleaseType specified globally for the Release.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="RelatedRelease" type="ddexC:RelatedRelease" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of a Release (or a PhysicalProduct or a DigitalProduct derived from such a Release) which is related to this Release.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="ReleaseId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ReleaseId. If available, a GRid should always to be used. If the Release contains only one SoundRecording, the ISRC of the SoundRecording may be used instead. If the Release is an abstraction of a complete PhysicalProduct (such as a CD Album), the ICPN of the PhysicalProduct may be used instead.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="GRid" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The GRid identifying the Release. This is the preferred Element and is mandatory if a GRid is available. A GRid comprises four parts: the string "A1", followed by five alphanumeric characters, ten alphanumeric characters and and one alphanumeric character.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ISRC" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISRC (International Standard Recording Code as defined in ISO 3901) used as proxy for identification of the Release. Only applicable when the Release only contains one SoundRecording or one MusicalWorkVideo. An ISRC comprises four parts: two characters, followed by three alphanumeric characters, then two digits and five digits.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ICPN" type="ddexC:ICPN" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the ICPN used as proxy for identification of the Release. Only applicable when the Release is an abstraction of a complete PhysicalProduct. An ICPN comprises 12 or 13 digits, depending whether it is an EAN (13) or a UPC (12).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CatalogNumber" type="ddexC:CatalogNumber" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the CatalogNumber of the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ReleaseRelationshipType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ReleaseRelationshipType, e.g. between an AudioClipRelease and a VideoClipRelease.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ReleaseRelationshipType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ReleaseRelationshipType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ReleaseRelationshipType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ReleaseResourceReference">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ReleaseResourceReference.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:LocalResourceAnchorReference">
                <xs:attribute name="ReleaseResourceType" type="ddex:ReleaseResourceType" use="optional">
                    <xs:annotation>
                        <xs:documentation>A Type of Resource in the context of a Release. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ReleaseResourceReferenceList">
        <xs:annotation>
            <xs:documentation>A Composite containing a list of ReleaseResourceReferences.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ReleaseResourceReference" type="ddexC:ReleaseResourceReference" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing a Reference for a Resource (specific to this Message). The LocalAnchorReference in this Composite is a string starting with the letter A.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ReleaseSummary">
        <xs:annotation>
            <xs:documentation>A Composite containing summary details of a Release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ReleaseId" type="ddexC:ReleaseId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of ReleaseIds. If available, a GRid shall always to be used. If the Release contains only one SoundRecording, the ISRC of the SoundRecording may be used instead. If the Release is an abstraction of a complete PhysicalProduct (such as a CD Album), the ICPN of the PhysicalProduct may be used instead. More than one of these identifiers may be provided.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReferenceTitle" type="ddexC:ReferenceTitle">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the ReferenceTitle of the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseSummaryDetailsByTerritory" type="ddexC:ReleaseSummaryDetailsByTerritory" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing summary details of Descriptors and other attributes of the Release which may vary according to Territory of Release. Territory of Release may be the world.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsAgreementId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract for the MusicalWork(s) used in the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the ReleaseSummary as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="ReleaseSummaryDetailsByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing summary details of Descriptors and other attributes of a Release which may vary according to Territory of Release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the ReleaseSummaryDetailsByTerritory apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ExcludedTerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the ReleaseSummaryDetailsByTerritory do not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="DisplayArtistName" type="ddexC:Name" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the Name to be used by a DSP when presenting Artist details of the Release to a Consumer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="LabelName" type="ddexC:Name" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the Name of the Label for the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsAgreementId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract for the MusicalWork(s) used in the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the ReleaseSummaryDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="ReleaseType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ReleaseType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ReleaseType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ReleaseType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ReleaseType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="RemittanceAdvice">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an RemittanceAdvice.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the RemittanceAdvice as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ReportFormat">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ReportFormat.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ReportFormat">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ReportFormat. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ReportFormat. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ReportType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ReportType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ReportType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ReportType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ReportType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ResourceContainedResourceReference">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ResourceContainedResourceReference for the case where one Resource contains another one.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ResourceContainedResourceReference" type="ddex:LocalResourceAnchorReference">
                <xs:annotation>
                    <xs:documentation>A Reference for a Resource (specific to this Message). This LocalAnchorReference is a string starting with the letter A.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DurationUsed" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The total Duration of the Resource that has been used in a specified context (this may be less than the total Duration of the Resource) (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="StartPoint" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The start point of the preview given in seconds from the start of the referenced Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Purpose" type="ddexC:Purpose" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Purpose of the usage.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ResourceContainedResourceReferenceList">
        <xs:annotation>
            <xs:documentation>A Composite containing details of one or more ResourceContainedResourceReferences.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ResourceContainedResourceReference" type="ddexC:ResourceContainedResourceReference" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ResourceContainedResourceReference.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ResourceContributor">
        <xs:annotation>
            <xs:documentation>A Composite containing details of the Name, Identifier and role(s) of a Contributor to a Resource.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:PartyDescriptor">
                <xs:sequence>
                    <xs:element name="ResourceContributorRole" type="ddexC:ResourceContributorRole" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of a role played by the Contributor.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="SequenceNumber" type="xs:integer" use="optional">
                    <xs:annotation>
                        <xs:documentation>The number indicating the order of the ResourceContributor in a group of ResourceContributors that have contributed to a Resource. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="ResourceContributorRole">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ResourceContributorRole. Note: This can be used in a DdexMessage in relation to any Work, Performance or Fixation any of which may form the whole or part of the Resource itself.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ResourceContributorRole">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ResourceContributorRole. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ResourceContributorRole. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ResourceGroupResourceReferenceList">
        <xs:annotation>
            <xs:documentation>A Composite containing a list of ResourceGroupResourceReferences.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ResourceGroupResourceReference" type="ddex:LocalResourceAnchorReference" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Reference for a Resource (specific to this Message). This LocalAnchorReference is a string starting with the letter A.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ResourceId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of ResourceIds.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ISRC" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISRC (International Standard Recording Code as defined in ISO 3901) for the Resource. An ISRC comprises four parts: two characters, followed by three alphanumeric characters, then two digits and five digits.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ISMN" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISMN (International Standard Music Number defined in ISO 10957) for the Resource. An ISMN is a thirteen-digit number. Pre-2008 ISMNs, which had 10 characters and are now deprecated, are converted by replacing the initial letter ("M") with "979-0".</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ISAN" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISAN (International Standard Audiovisual Number as defined in ISO 15706) for the Resource. An ISAN comprises four blocks of four hexadecimal charaters followed by a check character.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VISAN" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The V-ISAN (Version Identifier of a International Standard Audiovisual Number as defined in ISO 15706-2) for the Resource. A V-ISAN comprises four blocks of four hexadecimal charaters followed by a check character, followed by two further blocks of four hexadecimal characters, followed by a further check character.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ISBN" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISBN (International Standard Book Number defined in ISO 2108) for the Resource. An ISBN is a 13-digit number. Pre-2007, ISBNs, which had 10-digits and are now deprecated, are converted by adding the prefix "978" and re-calculating the check character.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ISSN" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISSN (International Standard Serial Number defined in ISO 3297) for the Resource. An ISSN comprises two groups of four digits, separated by a hyphen and a control digit.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SICI" type="ddex:SICI" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The SICI (Serial Item and Contribution Identifier defined in ANSI/NISO Z39.56-199) for the Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CatalogNumber" type="ddexC:CatalogNumber" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the CatalogNumber of the Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ResourceMusicalWorkReference">
        <xs:annotation>
            <xs:documentation>A Composite containing a ResourceMusicalWorkReference.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SequenceNumber" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The number indicating the order of the MusicalWork in a group of MusicalWorks within a Medley, SoundRecording or other Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DurationUsed" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The total Duration of the MusicalWork that has been used in a specified context (this may be less than the total Duration of the MusicalWork) (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsFragment" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the MusicalWork is a Fragment (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceMusicalWorkReference" type="ddex:LocalMusicalWorkAnchorReference">
                <xs:annotation>
                    <xs:documentation>A Reference for a MusicalWork (specific to this Message). This LocalAnchorReference is a string starting with the letter W.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ResourceMusicalWorkReferenceList">
        <xs:annotation>
            <xs:documentation>A Composite containing a list of ResourceMusicalWorkReferences.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ResourceMusicalWorkReference" type="ddexC:ResourceMusicalWorkReference" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing a ResourceMusicalWorkReference for a MusicalWork (specific to this Message).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ResourceType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a ResourceType. For example a SoundRecording of a Performance of a MusicalWork or an Image of an Artist.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:ResourceType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the ResourceType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the ResourceType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="RightsAgreementId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="MWLI" type="xs:string" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A MusicalWork License Identifier identifying a License. If the Composite is meant to describe a Claim, RightShare or contract, then the License relates to that Claim, RightShare or contract. A MWLI comprises four parts: one of the strings "M1" or "M2" or "M3" or "M4", followed by five alphanumeric characters, ten alphanumeric characters and one alphanumeric check character.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the License, Claim, RightShare or contract.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RightsController">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a RightsController. RightsControllers are typicallydescribed by Name, Identifier and role(s).</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:PartyDescriptor">
                <xs:sequence>
                    <xs:element name="RightsControllerRole" type="ddex:RightsControllerRole" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A role that describes the Party involved in the administration of Rights.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:choice>
                        <xs:element name="RightShareUnknown" type="xs:boolean">
                            <xs:annotation>
                                <xs:documentation>The Flag indicating whether the RightSharePercentage is unknown (=True) or not (=False).</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="RightSharePercentage" type="xs:string">
                            <xs:annotation>
                                <xs:documentation>The share of the licensed Rights owned by the RightsController. RightShare information is given as a decimal value (e.g. "0.125" represents 12.5%). If no information is given, 100% is assumed.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                    </xs:choice>
                </xs:sequence>
                <xs:attribute name="SequenceNumber" type="xs:integer" use="optional">
                    <xs:annotation>
                        <xs:documentation>The number indicating the order of the RightsController in a group of RightsControllers. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="RightShare">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a RightShare.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="RightShareId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers for the RightShare.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightShareReference" type="ddex:LocalRightShareAnchor">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of the RightShare within the Release which contains it. This LocalAnchor is a string starting with the letter S.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightShareCreationReferenceList" type="ddexC:RightShareCreationReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of one or more Creations contained in the RightShare.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:choice>
                <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the RightShare applies (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ExcludedTerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the RightShare does not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="RightsType" type="ddexC:RightsType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Type of Right covered by the RightShare. One of the Elements RightsType and UseType must be present. The RightsType is defined according to the jurisdiction of the Territory indicated in the TerritoryCode XmlAttribute.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UseType" type="ddexC:UseType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a nature of a Service, or a Release, as used by a Consumer. One of the Elements RightsType and UseType must be present.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UserInterfaceType" type="ddexC:UserInterfaceType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a physical interface by which a Consumer uses a Service or Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DistributionChannelType" type="ddexC:DistributionChannelType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a distribution channel used to disseminate a Service or Release to a Consumer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CarrierType" type="ddexC:CarrierType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Carrier.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CommercialModelType" type="ddexC:CommercialModelType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the fundamental business model which applies (e.g. SubscriptionModel and PayAsYouGoModel). The CommercialModelType indicates how the Consumer pays for the Service or Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MusicalWorkRightsClaimType" type="ddex:MusicalWorkRightsClaimType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Type of the RightsClaim related to a MusicalWork.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsController" type="ddexC:RightsController" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a RightsController of Rights in a Creation.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ValidityPeriod" type="ddexC:Period">
                <xs:annotation>
                    <xs:documentation>A Composite containing details about the Period of Time for which the RightShare is valid.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:choice>
                <xs:element name="PercentageUnknown" type="xs:boolean">
                    <xs:annotation>
                        <xs:documentation>The Flag indicating whether the RightSharePercentage is unknown (=True) or not (=False).</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="PercentageRate" type="xs:string" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>The share of the licensed Rights owned by the RightsController. RightShare information is given as a decimal value (e.g. "0.125" represents 12.5%) or as a fraction (e.g. "1/8" represents 12.5%).</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="TariffReference" type="ddexC:TariffReference" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Reference to a TextDocument containing details of a Tariff (in the form of an Identifier, Name or Description) that is to be applied to the RightShare.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="LicenseStatus" type="ddex:LicenseStatus" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The legal status of a License for the RightShare.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="HasFirstLicenseRefusal" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether a RightsController retains the right of refusal regarding the granting of the first licence for creating a SoundRecording of a Musical Work (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the RightShare as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="RightShareCreationReferenceList">
        <xs:annotation>
            <xs:documentation>A Composite containing a list of RightShareCreationReferences.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="RightShareWorkReference" type="ddex:LocalMusicalWorkAnchorReference" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Reference for a Work (specific to this Message) that is part of the RightShare. This LocalAnchorReference is a string starting with the letter W.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightShareResourceReference" type="ddex:LocalResourceAnchorReference" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Reference for a Resource (specific to this Message) that is part of the RightShare. This LocalAnchorReference is a string starting with the letter A. The RightShare covers the Works used in the Resource(s).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightShareReleaseReference" type="ddex:LocalReleaseAnchorReference" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Reference for a Release (specific to this Message) that is part of the RightShare. This LocalAnchorReference is a string starting with the letter R. The RightShare covers the Works used in the Release(s).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RightsType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a RightsType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:RightsCoverage">
                <xs:attribute name="TerritoryCode" type="ddexC:TerritoryCode" use="required">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the RightsType applies (represented by an ISO 3166-1 TerritoryCode). The RightsType is defined according to the jurisdiction of this Territory.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the RightsType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the RightsType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="RoyaltyAmount">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a RoyaltyAmount.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:decimal">
                <xs:attribute name="CurrencyCode" type="iso4217a:CurrencyCode" use="required">
                    <xs:annotation>
                        <xs:documentation>The Currency of the RoyaltyAmount (represented by an ISO 4217 CurrencyCode). This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="RoyaltyCode">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a RoyaltyCode.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="Namespace" type="xs:string" use="required">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the RoyaltyRateType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="SalesReportingProxyReleaseId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SalesReportingProxyReleaseId.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ReleaseId" type="ddexC:ReleaseId">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of ReleaseIds. If available, a GRid should always be used.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Reason" type="ddexC:Reason" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the textual Description of the reason for the Identifier being used as a proxy.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReasonType" type="ddexC:ReasonType">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ReasonType.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SamplingRate">
        <xs:annotation>
            <xs:documentation>A Composite containing a SamplingRate and a UnitOfMeasure.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:decimal">
                <xs:attribute name="UnitOfMeasure" type="ddex:UnitOfFrequency" use="optional">
                    <xs:annotation>
                        <xs:documentation>The UnitOfMeasure of the SamplingRate. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="SheetMusic">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SheetMusic.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SheetMusicType" type="ddexC:SheetMusicType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of the SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsArtistRelated" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the SheetMusic is related to an Artist (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SheetMusicId" type="ddexC:SheetMusicId">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of the SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectSheetMusicId" type="ddexC:MusicalWorkId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a MusicalWorkId of a MusicalWork used in the SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceReference" type="ddex:LocalResourceAnchor">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of the SheetMusic within the Release which contains it. This LocalAnchor is a string starting with the letter A.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="LanguageOfLyrics" type="iso639a2:LanguageCode" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Language of the lyrics of the SheetMusic (represented by an ISO 639-2 LanguageCode).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsAgreementId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract for the MusicalWork(s) related to the SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceMusicalWorkReferenceList" type="ddexC:ResourceMusicalWorkReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of one or more MusicalWorks contained in the SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceContainedResourceReferenceList" type="ddexC:ResourceContainedResourceReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of ResourceContainedResourceReferences referring to a Resource that is contained in the current SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReferenceTitle" type="ddexC:ReferenceTitle">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the ReferenceTitle of the SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CreationDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the SheetMusic was created.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SheetMusicDetailsByTerritory" type="ddexC:SheetMusicDetailsByTerritory" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the SheetMusic which may vary according to Territory of release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the SheetMusic as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SheetMusicCodecType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SheetMusicCodecType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:SheetMusicCodecType">
                <xs:attribute name="Version" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Identifier of the Version of the SheetMusicCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the SheetMusicCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the SheetMusicCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="SheetMusicDetailsByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Descriptors, Dates and other attributes of a SheetMusic which may vary according to Territory of release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the SheetMusic details apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ExcludedTerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the SheetMusic details do not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="Title" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Title of the SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceContributor" type="ddexC:ResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Contributor to the SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectResourceContributor" type="ddexC:IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an indirect Contributor to the SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CLine" type="ddexC:CLine" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the CLine for the SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CourtesyLine" type="ddexC:CourtesyLine" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing an Annotation which acknowledges record companies and/or other Parties giving permission for Artists or others featured in the SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OriginalResourceReleaseDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the SheetMusic was originally published, whether for physical or electronic/online distribution.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the SheetMusicDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SheetMusicId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Identifiers of a SheetMusic.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ISMN" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISMN (International Standard Music Number defined in ISO 10957) for the SheetMusic. An ISMN is a thirteen-digit number. Pre-2008 ISMNs, which had 10 characters and are now deprecated, are converted by replacing the initial letter ("M") with "979-0".</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SheetMusicType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SheetMusicType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:SheetMusicType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the SheetMusicType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the SheetMusicType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="SimpleProfileDisplayArtist">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a DisplayArtist. A DisplayArtist may be described through Name, Identifier and Roles.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:SimpleProfilePartyDescriptor">
                <xs:sequence>
                    <xs:element name="ArtistRole" type="ddexC:ArtistRole" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of a role played by the DisplayArtist in relation to other DisplayArtists.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="SequenceNumber" type="xs:integer" use="optional">
                    <xs:annotation>
                        <xs:documentation>The number indicating the order of the DisplayArtist in a group of DisplayArtists. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="SimpleProfileMessageHeader">
        <xs:annotation>
            <xs:documentation>A Composite placed at the beginning of each DdexMessage providing information about the Message, such as MessageSender, MessageRecipient and a Message creation time stamp.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="MessageThreadId" type="xs:string">
                <xs:annotation>
                    <xs:documentation>A string used to uniquely identify the thread of Messages of which the current Message is a part.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageId" type="xs:string">
                <xs:annotation>
                    <xs:documentation>A string used to uniquely identify the current Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageFileName" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The FileName, possibly including the FilePath, of the XML File containing the current Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageSender" type="ddexC:SimpleProfileMessagingParty">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the MessageSender.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageRecipient" type="ddexC:SimpleProfileMessagingParty">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the MessageRecipient.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageCreatedDateTime" type="xs:dateTime">
                <xs:annotation>
                    <xs:documentation>The DateTime on which the Message was created (the only allowed format is ISO 8601:2004: YYYY-MM-DDThh:mm:ssTZD).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Comment" type="ddexC:Comment" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a human-readable Comment about the Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageControlType" type="ddex:MessageControlType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The indicator used to distinguish a live Message from a test Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the MessageHeader as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SimpleProfileMessagingParty">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a MessagingParty.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PartyId" type="ddexC:PartyId">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the PartyId for the Party handling the Message. If no Namespace is given, the Identifier is a DdexPartyId (DPID). Note that DPIDs are not normally used to identify Artists, Producers or other Creators.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PartyName" type="ddexC:SimpleProfilePartyName" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the PartyNames for the Party handling the Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the MessagingParty as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SimpleProfilePartyDescriptor">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Party. Parties are typically described through Names and/or Identifiers.</xs:documentation>
        </xs:annotation>
        <xs:choice>
            <xs:element name="PartyId" type="ddexC:PartyId">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the PartyId for the Party. If no Namespace is given, the Identifier is a DdexPartyId (DPID). Note that DPIDs are not normally used to identify Artists, Producers or other Creators.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:sequence>
                <xs:element name="PartyName" type="ddexC:SimpleProfilePartyName">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of the PartyName(s).</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="PartyId" type="ddexC:PartyId" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of the PartyId for the Party. If no Namespace is given, the Identifier is a DdexPartyId (DPID). Note that DPIDs are not normally used to identify Artists, Producers or other Creators.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:sequence>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="SimpleProfilePartyName">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a PartyName. Name details for a Party typically either contain a FullName or a KeyName.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="FullName" type="ddexC:Name">
                <xs:annotation>
                    <xs:documentation>A Composite containing the complete Name of the Party, in its normal form of presentation (e.g. John H. Smith, Acme Music Inc, A Composite containing the Beatles).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the PartyName as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SimpleProfileResourceContributor">
        <xs:annotation>
            <xs:documentation>A Composite containing details of the Name, Identifier and role(s) of a Contributor to a Resource.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:SimpleProfilePartyDescriptor">
                <xs:sequence>
                    <xs:element name="ResourceContributorRole" type="ddexC:ResourceContributorRole" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of a role played by the Contributor.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
                <xs:attribute name="SequenceNumber" type="xs:integer" use="optional">
                    <xs:annotation>
                        <xs:documentation>The number indicating the order of the ResourceContributor in a group of ResourceContributors that have contributed to a Resource. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="SocietyAffiliation">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a society affiliation.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the affiliation details apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ExcludedTerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the affiliation details do not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="MusicRightsSociety" type="ddexC:PartyDescriptor">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a MusicRightsSociety.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Software">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an item of Software.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SoftwareType" type="ddexC:SoftwareType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of the Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsArtistRelated" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the Software is related to an Artist (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SoftwareId" type="ddexC:SoftwareId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of the Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectSoftwareId" type="ddexC:MusicalWorkId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a MusicalWorkId of a MusicalWork used in the Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceReference" type="ddex:LocalResourceAnchor">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of the Software within the Release which contains it. This LocalAnchor is a string starting with the letter A.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceMusicalWorkReferenceList" type="ddexC:ResourceMusicalWorkReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of one or more MusicalWorks contained in the Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceContainedResourceReferenceList" type="ddexC:ResourceContainedResourceReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of ResourceContainedResourceReferences referring to a Resource that is contained in the current Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Title" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Title of the Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CreationDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the Software was created.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SoftwareDetailsByTerritory" type="ddexC:SoftwareDetailsByTerritory" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Software which may vary according to Territory of release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the Software as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SoftwareDetailsByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Descriptors, Dates and other attributes of a Software application which may vary according to Territory of release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the Software details apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ExcludedTerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the Software details do not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="ResourceContributor" type="ddexC:ResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Contributor to the Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectResourceContributor" type="ddexC:IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an indirect Contributor to the Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PLine" type="ddexC:PLine" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the PLine for the Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CLine" type="ddexC:CLine" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the CLine for the Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CourtesyLine" type="ddexC:CourtesyLine" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing an Annotation which acknowledges record companies and/or other Parties giving permission for Artists or others featured in the Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OriginalResourceReleaseDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the Software was originally published, whether for physical or electronic/online distribution.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the SoftwareDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SoftwareId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Identifiers of a Software.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SoftwareType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SoftwareType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:SoftwareType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the SoftwareType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the SoftwareType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="SoundProcessorType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SoundProcessorType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:SoundProcessorType">
                <xs:attribute name="Version" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Identifier of the Version of the SoundProcessorType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the SoundProcessorType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the SoundProcessorType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="SoundRecording">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SoundRecording.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SoundRecordingType" type="ddexC:SoundRecordingType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsArtistRelated" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the SoundRecording is related to an Artist (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SoundRecordingId" type="ddexC:SoundRecordingId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of SoundRecordingIds.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectSoundRecordingId" type="ddexC:MusicalWorkId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a MusicalWorkId of a MusicalWork used in the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceReference" type="ddex:LocalResourceAnchor">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of the SoundRecording within the Release which contains it. This LocalAnchor is a string starting with the letter A.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReferenceTitle" type="ddexC:ReferenceTitle">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the ReferenceTitle of the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="InstrumentationDescription" type="ddexC:Description" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a Description of the Type of instrumentation of the MusicalWork(s) in the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsMedley" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the SoundRecording is a Medley (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsPotpourri" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the SoundRecording is a Potpourri (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsInstrumental" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the SoundRecording is instrumental (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsBackground" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the 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" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the SoundRecording is hidden in some way from the Consumer (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsBonusResource" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the SoundRecording is additional to those on the original Release of which this is a Version (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsComputerGenerated" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the SoundRecording is generated by a computer (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="LanguageOfPerformance" type="iso639a2:LanguageCode" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Language of the Performance recorded in the SoundRecording (represented by an ISO 639-2 LanguageCode).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Duration" type="xs:duration">
                <xs:annotation>
                    <xs:documentation>The Duration of the SoundRecording (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsAgreementId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract for the MusicalWork(s) used in the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceMusicalWorkReferenceList" type="ddexC:ResourceMusicalWorkReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of one or more MusicalWorks contained in the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceContainedResourceReferenceList" type="ddexC:ResourceContainedResourceReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of ResourceContainedResourceReferences referring to a Resource that is contained in the current SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CreationDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the SoundRecording was created.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MasteredDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the SoundRecording was originally mastered (either in analogue or digital form).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SoundRecordingDetailsByTerritory" type="ddexC:SoundRecordingDetailsByTerritory" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Descriptors and other attributes of the SoundRecording which may vary according to Territory of release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the SoundRecording as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SoundRecordingCollectionReference">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SoundRecordingCollectionRef.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SequenceNumber" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The number indicating the order of the Collection in a group of Collections within a Medley, SoundRecording or other Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SoundRecordingCollectionReference" type="ddex:LocalCollectionAnchorReference">
                <xs:annotation>
                    <xs:documentation>A Reference for a Collection (specific to this Message). This LocalAnchorReference is a string starting with the letter X. The referenced Collection has to be of CollectionType Series, Season or Episode.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="StartTime" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The start time of the Creation, measured from the start of the Resource from which the 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 string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Duration" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Duration of the use of the Creation that is referenced in the CueCreationReference (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="EndTime" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The end time of the Creation, measured from the start of the Resource from which the 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 string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseResourceType" type="ddex:ReleaseResourceType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Type of Collection in the context of a Video. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SoundRecordingCollectionReferenceList">
        <xs:annotation>
            <xs:documentation>A Composite containing a list of SoundRecordingCollectionReferences.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="NumberOfCollections" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The number of referenced Collections (typically Chapters).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SoundRecordingCollectionReference" type="ddexC:SoundRecordingCollectionReference" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing a SoundRecordingCollectionReference for a Collection (specific to this Message).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SoundRecordingDetailsByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Descriptors and other attributes of a SoundRecording which may vary according to Territory of release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the SoundRecording details apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ExcludedTerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the SoundRecording details do not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="Title" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Title of the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DisplayArtist" type="ddexC:DisplayArtist" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the DisplayArtist for the SoundRecording. The DisplayArtist may be described through Name, Identifier and Roles.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceContributor" type="ddexC:ResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Contributor to the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectResourceContributor" type="ddexC:IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an indirect Contributor to the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsAgreementId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract for the MusicalWork(s) used in the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="LabelName" type="ddexC:Name" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the Name of the Label under which the Release is to be marketed.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsController" type="ddexC:RightsController" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of RightsController of Rights in the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RemasteredDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the SoundRecording was re-mastered (usually digitally).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OriginalResourceReleaseDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the SoundRecording was originally published, whether for physical or electronic/online distribution.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PLine" type="ddexC:PLine" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the PLine for the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the SoundRecordingDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="SoundRecordingId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SoundRecordingIds.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ISRC" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISRC (International Standard Recording Code as defined in ISO 3901) for the SoundRecording. An ISRC comprises four parts: two characters, followed by three alphanumeric characters, then two digits and five digits.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CatalogNumber" type="ddexC:CatalogNumber" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the CatalogNumber of the SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the SoundRecording (usually one per society involved in the messaging).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SoundRecordingType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SoundRecordingType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:SoundRecordingType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the SoundRecordingType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the SoundRecordingType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="StoreLocationDescriptor">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a StoreLocationDescriptor.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the StoreLocationDescriptor as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="SubTitle">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SubTitle, including Titles of Versions used to differentiate different versions of the same Title, as required by the GRId and ISRC ReferenceDescriptiveMetadataSets.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the SubTitle as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="SupplyChainStatus">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SupplyChainStatus.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:SupplyChainStatus">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the SupplyChainStatus. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the SupplyChainStatus. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="Synopsis">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Synopsis.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the Synopsis as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="TariffReference">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Reference to a TextDocument containing details of a Tariff.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the TariffReference (and the TariffSubReference if applicable) as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="TariffSubReference" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Reference to a TextDocument containing more specific details of a Tariff. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="Tax">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Tax.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:decimal">
                <xs:attribute name="CurrencyCode" type="iso4217a:CurrencyCode" use="required">
                    <xs:annotation>
                        <xs:documentation>The Currency of the Tax (represented by an ISO 4217 CurrencyCode). This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="TaxRate">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a TaxRate.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Rate" type="xs:decimal">
                <xs:annotation>
                    <xs:documentation>The TaxRate as a percentage.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TaxType" type="ddexC:TaxType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of Tax.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TaxScope" type="ddexC:TaxScope" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of Tax according to its scope.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TaxScope">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a TaxScope.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:TaxScope">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the TaxScope. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the TaxScope. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="TaxType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a TaxType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:TaxType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the TaxType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the TaxType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="TechnicalInstantiation">
        <xs:annotation>
            <xs:documentation>A Composite containing technical details of a Release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DrmEnforcementType" type="ddex:DrmEnforcementType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Type of DRM enforcement.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VideoDefinitionType" type="ddex:VideoDefinitionType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Type of resolution (or definition) in which a Video is provided.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CodingType" type="ddex:CodingType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Type of coding used to encode a Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="BitRate" type="ddexC:BitRate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the BitRate for the audio data and a UnitOfMeasure (the default is kbps).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="TerritoryCode">
        <xs:annotation>
            <xs:documentation>A code representing a Territory. This includes ISO 3166-1 two-letter codes plus a code for Worldwide.</xs:documentation>
        </xs:annotation>
        <xs:union memberTypes="ddex:NonIsoTerritoryCode iso3166a2:TerritoryCode" />
    </xs:simpleType>
    <xs:complexType name="Text">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Text.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TextType" type="ddexC:TextType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of the Text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsArtistRelated" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the Text is related to an Artist (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TextId" type="ddexC:TextId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an Identifier of the Text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectTextId" type="ddexC:MusicalWorkId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a MusicalWorkId of a MusicalWork used in the Text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceReference" type="ddex:LocalResourceAnchor">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of the Text within the Release which contains it. This LocalAnchor is a string starting with the letter A.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceMusicalWorkReferenceList" type="ddexC:ResourceMusicalWorkReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of one or more MusicalWorks contained in the Text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceContainedResourceReferenceList" type="ddexC:ResourceContainedResourceReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of ResourceContainedResourceReferences referring to a Resource that is contained in the current Text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Title" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Title of the Text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CreationDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the Text was created.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TextDetailsByTerritory" type="ddexC:TextDetailsByTerritory" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Text which may vary according to Territory of release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the Text as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="TextCodecType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a TextCodecType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:TextCodecType">
                <xs:attribute name="Version" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Identifier of the Version of the TextCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the TextCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the TextCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="TextDetailsByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Descriptors, Dates and other attributes of a Text which may vary according to Territory of release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the Text details apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ExcludedTerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the Text details do not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="ResourceContributor" type="ddexC:ResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Contributor to the Text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectResourceContributor" type="ddexC:IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an indirect Contributor to the Text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CLine" type="ddexC:CLine" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the CLine for the Text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CourtesyLine" type="ddexC:CourtesyLine" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing an Annotation which acknowledges record companies and/or other Parties giving permission for Artists or others featured in the Text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OriginalResourceReleaseDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the Text was originally published, whether for physical or electronic/online distribution.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the TextDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="TextId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Identifiers of a Text.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ISBN" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISBN (International Standard Book Number defined in ISO 2108) for the Text. An ISBN is a 13-digit number. Pre-2007, ISBNs, which had 10-digits and are now deprecated, are converted by adding the prefix "978" and re-calculating the check character.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ISSN" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISSN (International Standard Serial Number defined in ISO 3297) identifying the Text. An ISSN comprises two groups of four digits, separated by a hyphen and a control digit.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SICI" type="ddex:SICI" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The SICI (Serial Item and Contribution Identifier defined in ANSI/NISO Z39.56-199) for the Text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the Text (usually one per society involved in the messaging).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TextType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a TextType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:TextType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the TextType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the TextType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="Title">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Title.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TitleText" type="ddexC:TitleText">
                <xs:annotation>
                    <xs:documentation>A Composite containing the text of the Title.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SubTitle" type="ddexC:SubTitle" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a SubTitle of the Title, including Titles of Versions used to differentiate different versions of the same Title, as required by the GRId and ISRC ReferenceDescriptiveMetadataSets.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the Title as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="TitleType" type="ddex:TitleType" use="optional">
            <xs:annotation>
                <xs:documentation>A Type of the Title which defines its origin or the function it fulfils in relation to a Creation. Note: A Title may fulfil more than one role. Example: "Help" may be both the OriginalTitle and the DisplayTitle for the well-known Beatles song. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="TitleText">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a TitleText.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the TitleText as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="TotalRoyaltyAmount">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a total RoyaltyAmount.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ReleaseType" type="ddexC:ReleaseType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the ReleaseType for which the RoyaltyAmount is calculated.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsType" type="ddexC:RightsType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the RightsType for which the RoyaltyAmount is calculated.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RoyaltyAmount" type="ddexC:RoyaltyAmount">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the RoyaltyAmount due.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Usage">
        <xs:annotation>
            <xs:documentation>A Composite containing Types and number of Usages of a Release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="UseType" type="ddexC:UseType" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a nature of a Service, or a Release, as used by a Consumer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UserInterfaceType" type="ddexC:UserInterfaceType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a physical interface by which a Consumer is intended to use a Service or Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DistributionChannelType" type="ddexC:DistributionChannelType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a distribution channel intended to be used to disseminate a Service or Release to a Consumer.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CarrierType" type="ddexC:CarrierType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Carrier.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TechnicalInstantiation" type="ddexC:TechnicalInstantiation" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing technical details of the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NumberOfUsages" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The number of times a Release can be used under the terms of the Deal.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UserDefinedResource">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a UserDefinedResource.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="UserDefinedResourceType" type="ddexC:UserDefinedResourceType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of the UserDefinedResource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsArtistRelated" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the UserDefinedResource is related to an Artist (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UserDefinedResourceId" type="ddexC:UserDefinedResourceId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of the UserDefinedResource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectUserDefinedResourceId" type="ddexC:MusicalWorkId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a MusicalWorkId of a MusicalWork used in the UserDefinedResource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceReference" type="ddex:LocalResourceAnchor">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of the UserDefinedResource within the Release which contains it. This LocalAnchor is a string starting with the letter A.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceMusicalWorkReferenceList" type="ddexC:ResourceMusicalWorkReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of one or more MusicalWorks contained in the UserDefinedResource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceContainedResourceReferenceList" type="ddexC:ResourceContainedResourceReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of ResourceContainedResourceReferences referring to a Resource that is contained in the current UserDefinedResource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Title" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Title of the UserDefinedResource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UserDefinedValue" type="ddexC:UserDefinedValue" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a UserDefinedValue.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UserDefinedResourceDetailsByTerritory" type="ddexC:UserDefinedResourceDetailsByTerritory" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the UserDefinedResource which may vary according to Territory of release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the UserDefinedResource as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="UserDefinedResourceDetailsByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Descriptors, Dates and other attributes of a UserDefinedResource application which may vary according to Territory of release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the UserDefinedResource details apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ExcludedTerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Territory to which the UserDefinedResource details do not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="ResourceContributor" type="ddexC:ResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Contributor to the UserDefinedResource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectResourceContributor" type="ddexC:IndirectResourceContributor" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an indirect Contributor to the UserDefinedResource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UserDefinedValue" type="ddexC:UserDefinedValue" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a UserDefinedValue.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PLine" type="ddexC:PLine" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the PLine for the UserDefinedResource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CLine" type="ddexC:CLine" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the CLine for the UserDefinedResource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OriginalResourceReleaseDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the UserDefinedResource was originally published, whether for physical or electronic/online distribution.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the UserDefinedResourceDetailsByTerritory as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="UserDefinedResourceId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Identifiers of a UserDefinedResource.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the UserDefinedResource.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="UserDefinedResourceType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a UserDefinedResourceType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the UserDefinedResourceType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="UserDefinedValue">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a UserDefinedValue.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the UserDefinedValue. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Description" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A textual Description of the Type or function of the UserDefinedValue. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Language and script of the Description as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="UserInterfaceType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a UserInterfaceType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:UserInterfaceType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the UserInterfaceType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the UserInterfaceType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="UseType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a UseType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:UseType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the UseType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the UseType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="Video">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Video.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="VideoType" type="ddexC:VideoType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Type of the Video.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsArtistRelated" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the Video is related to an Artist (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VideoId" type="ddexC:VideoId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an Identifier of the Video.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IndirectVideoId" type="ddexC:MusicalWorkId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a MusicalWorkId of a MusicalWork used in the Video.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceReference" type="ddex:LocalResourceAnchor">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of the Video within the Release which contains it. This LocalAnchor is a string starting with the letter A.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReferenceTitle" type="ddexC:ReferenceTitle">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the ReferenceTitle of the Video.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Title" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Title of the Video.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="InstrumentationDescription" type="ddexC:Description" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a Description of the Type of instrumentation of the MusicalWork(s) in the Video.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsMedley" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the Video is a Medley (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsPotpourri" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the Video is a Potpourri (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsInstrumental" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the Video is instrumental (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsBackground" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the 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" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the Video is hidden in some way from the Consumer (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsBonusResource" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether the Video is additional to those on the original Release of which this is a Version (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="LanguageOfPerformance" type="iso639a2:LanguageCode" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Language of the Performance recorded in the Video (represented by an ISO 639-2 LanguageCode).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Duration" type="xs:duration">
                <xs:annotation>
                    <xs:documentation>The Duration of the Video (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RightsAgreementId" type="ddexC:RightsAgreementId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of a License, Claim, RightShare or contract for the MusicalWork(s) used in the Video.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceMusicalWorkReferenceList" type="ddexC:ResourceMusicalWorkReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of one or more MusicalWorks contained in the Video.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ResourceContainedResourceReferenceList" type="ddexC:ResourceContainedResourceReferenceList" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of ResourceContainedResourceReferences referring to a Resource that is contained in the current Video.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CreationDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the Video was created.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MasteredDate" type="ddexC:EventDate" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Date and Place of the Event in which the Video was originally mastered (either in analogue or digital form).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VideoDetailsByTerritory" type="ddexC:VideoDetailsByTerritory" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Descriptors and other attributes of the Video which may vary according to Territory of release.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the Video as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="VideoCodecType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a VideoCodecType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:VideoCodecType">
                <xs:attribute name="Version" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Identifier of the Version of the VideoCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the VideoCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the VideoCodecType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="VideoCueSheetReference">
        <xs:annotation>
            <xs:documentation>A Composite containing a VideoCueSheetReference.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="VideoCueSheetReference" type="ddex:LocalCueSheetAnchorReference">
                <xs:annotation>
                    <xs:documentation>A Reference for a CueSheet (specific to this Message). This LocalAnchorReference is a string starting with the letter Q.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VideoDetailsByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Descriptors and other attributes of a Video which may vary according to Territory of release.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:SoundRecordingDetailsByTerritory">
                <xs:sequence>
                    <xs:element name="CLine" type="ddexC:CLine" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of the CLine for the Video.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="VideoId">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Identifiers of a Video.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ISRC" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISRC (International Standard Recording Code as defined in ISO 3901) for the Video. An ISRC comprises four parts: two characters, followed by three alphanumeric characters, then two digits and five digits.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ISAN" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The ISAN (International Standard Audiovisual Number as defined in ISO 15706) for the Video. An ISAN comprises four blocks of four hexadecimal charaters followed by a check character.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VISAN" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The V-ISAN (Version Identifier of a International Standard Audiovisual Number as defined in ISO 15706-2) for the Video. A V-ISAN comprises four blocks of four hexadecimal charaters followed by a check character, followed by two further blocks of four hexadecimal characters, followed by a further check character.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CatalogNumber" type="ddexC:CatalogNumber" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the CatalogNumber of the Video.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ProprietaryId" type="ddexC:ProprietaryId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ProprietaryIdentifier of the Video (usually one per society involved in the messaging).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="VideoType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a VideoType.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:VideoType">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the VideoType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the VideoType. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="WebPage">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a WebPage.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="PageName" type="ddexC:Name" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the Name of the WebPage.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="URL" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A URL of the WebPage.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UserName" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>An Identifier of a computer user who is granted maintenance access to the WebPage.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Password" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Password needed to grant a user maintenance access to the WebPage in combination with the UserName.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="WorkList">
        <xs:annotation>
            <xs:documentation>A Composite containing details of one or more Works.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="MusicalWork" type="ddexC:MusicalWork" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a MusicalWork contained in a Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the WorkList as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="WsMessageStatus">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a WsMessageStatus.</xs:documentation>
        </xs:annotation>
        <xs:simpleContent>
            <xs:extension base="ddex:WsMessageStatus">
                <xs:attribute name="Namespace" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>The Namespace of the WsMessageStatus. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
                <xs:attribute name="UserDefinedValue" type="xs:string" use="optional">
                    <xs:annotation>
                        <xs:documentation>A UserDefined value of the WsMessageStatus. This is represented in an XML schema as an XML Attribute.</xs:documentation>
                    </xs:annotation>
                </xs:attribute>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
</xs:schema>
