﻿<xs:schema targetNamespace="http://ddex.net/xml/2007/dsrm/20" elementFormDefault="unqualified"
    attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:ddex="http://ddex.net/xml/20070606/ddex"
    xmlns:ddexC="http://ddex.net/xml/20070606/ddexC"
    xmlns:iso639a2="http://ddex.net/xml/20070606/iso639a2"
    xmlns:iso3166a2="http://ddex.net/xml/20070606/iso3166a2"
    xmlns:iso4217a="http://ddex.net/xml/20070606/iso4217a"
    xmlns:dsr="http://ddex.net/xml/2007/dsrm/20">
    <xs:import namespace="http://ddex.net/xml/20070606/ddex" schemaLocation="http://ddex.net/xml/20070606/ddex.xsd"/>
    <xs:import namespace="http://ddex.net/xml/20070606/ddexC" schemaLocation="http://ddex.net/xml/20070606/ddexC.xsd"/>
    <xs:import namespace="http://ddex.net/xml/20070606/iso639a2" schemaLocation="http://ddex.net/xml/20070606/iso639a2.xsd"/>
    <xs:import namespace="http://ddex.net/xml/20070606/iso3166a2"
        schemaLocation="http://ddex.net/xml/20070606/iso3166a2.xsd"/>
    <xs:import namespace="http://ddex.net/xml/20070606/iso4217a" schemaLocation="http://ddex.net/xml/20070606/iso4217a.xsd"/>
    <xs:annotation>
        <xs:documentation>(c) 2007 DDEX LLC</xs:documentation>
    </xs:annotation>
    <xs:complexType name="Deal">
        <xs:annotation>
            <xs:documentation>A Composite containing details (in full or in summary) of the terms
                and conditions of a Deal made between a DSP (as Licensee) and a Licensor of Works or
                Releases.</xs:documentation>
        </xs:annotation>
        <xs:choice>
            <xs:element name="DetailedDeal" type="dsr:DetailedDeal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the terms and conditions of
                        the Deal. Either this Element or the SummaryDeal are required, but not
                    both.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SummaryDeal" type="dsr:SummaryDeal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a summary of the terms and conditions
                        of the Deal. Either this Element or the DetailedDeal are required, but not
                        both.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="DetailedDeal">
        <xs:annotation>
            <xs:documentation>A Composite containing details of the terms and conditions of a Deal
                made between a DSP (as Licensee) and a Licensor of Works or
            Releases.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CurrencyCode" type="iso4217a:CurrencyCode" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Currency in which the Transactions are made (represented
                        by an ISO 4217 CurrencyCode) if different from the
                    CurrencyOfAccounting.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PriceInformation" type="ddexC:PriceInformation" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Price applicable to the
                        SalesTransaction.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DealReference" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Reference (in the form of an Identifier, Name or
                        Description) to a Document containing details of the Deal governing the
                        SalesTransaction.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TaxRate" type="dsr:TaxRate" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a TaxRate applicable to the
                        total Amount to be paid. Within the DSR Message, only one of the two TaxRate
                        Elements (here and in the SalesToRecordCompanyByTerritory or in the
                        SalesToSocietyByTerritory Composite) may be filled.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PriceConsumerPaidExcSalesTax" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The RetailPrice excluding VAT.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CalculationType" type="xs:string" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Type of Calculation method
                        used by which the royalties are to be determined. This is a text string with
                        no prescribed allowed values.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RoyaltyRateType" type="ddex:RoyaltyRateType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Type of RoyaltyRate upon which the per unit royalty is
                        calculated.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RoyaltyRate" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Rate of royalty to be used when calculating the royalty
                        payment. Note that when this Composite is used in a sales reporting Message
                        for a RecordCompany, the RoyaltyRate refers to the rate due to the
                        RecordCompany, not the royalties due to individual
                    Artists.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AgreedUnitPriceExcSalesTax" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Price per unit (excluding VAT) agreed between DSP and the
                        RecordCompany as representing the notional unit price for Subscription
                        sales, as a basis for royalty and other calculations.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DeductionRate" type="ddexC:DeductionRate" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an applicable DeductionRate
                        (if any).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="EffectiveUnitRoyaltyRateNet" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The RoyaltyRate which applies after all calculations and
                        deductions have been applied.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ProprietaryFinancialData" type="dsr:ProprietaryFinancialData"
                minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing proprietary financial
                    Elements.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AmountPayable" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The extended Amount due to the RecordCompany for the sales
                        (The Amount reported in this Element is an estimate based on best knowledge
                        on the side of the MessageSender with respect to the intellectual property
                        rights controlled by the MessageRecipient. The default is that 100%
                        ownership is assumed).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AmountPayableInCurrencyOfAccounting" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The AmountPayable, measured in the Currency in which it has
                        been accounted.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CurrencyExchangeRate" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The conversion Rate applicable to the
                        AmountPayableInCurrencyOfAccounting.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="DspDetailsForSociety">
        <xs:annotation>
            <xs:documentation>A Composite (for use by WorkLicensors) 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="URL" type="xs:string" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A URL for the DSP's Website.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="TerritoryCode" type="ddexC:TerritoryCode">
                        <xs:annotation>
                            <xs:documentation>The Territory from which the DSP operates (represented
                                by an ISO 3166-1 TerritoryCode).</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="DistributionChannelDescriptor" type="xs:string" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>The Name and/or Description of the channel through
                                which the DSP distributes Releases.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="MWLI" type="ddex:MWLI" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A MusicalWork License Identifier identifying a License
                                existing between the Licensor and the DSP. A MWLI comprises four
                                parts, separated by dashes: one of the strings "M1" or "M2" or "M3"
                                or "M4", followed by 5 alphanumeric characters, 10 alphanumeric
                                characters and 1 alphanumeric character.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:simpleType name="MessageContentRevenueType">
        <xs:annotation>
            <xs:documentation>A Type of revenue to which the Content of the Message
            relates.</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:enumeration value="NonTransactionalRevenue"/>
            <xs:enumeration value="TransactionalRevenue"/>
            <xs:enumeration value="UserDefined"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="ProprietaryFinancialData">
        <xs:annotation>
            <xs:documentation>A Composite containing an element of proprietary financial
            data.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Value" type="xs:decimal">
                <xs:annotation>
                    <xs:documentation>The value of the proprietary financial
                    data.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Description" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Description of the proprietary financial
                    data.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RecordCompanyMarketShareData">
        <xs:annotation>
            <xs:documentation>A Composite containing information to support the calculation of a
                RecordCompany'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
                    ContentType.</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:sequence>
    </xs:complexType>
    <xs:complexType name="ReleaseTransactionsToRecordCompany">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions for a Release,
                reported by a DSP to a RecordCompany.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ReleaseId" type="ddexC:ReleaseId">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of the Release.
                        If available, a GRid has 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:element>
            <xs:element name="Deal" type="dsr:DetailedDeal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the terms and conditions of
                        the Deal under which sales were transacted. (Note: The Amount reported in
                        this Composite is an estimate based on best knowledge on the side of the
                        MessageSender with respect to the intellectual property rights controlled by
                        the MessageRecipient. The default is that 100% ownership is
                    assumed).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SalesTransactionToRecordCompany"
                type="dsr:SalesTransactionToRecordCompany" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a SalesTransaction for
                        specified Usages of the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Comment" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Comment about the ReleaseTransactionsToRecordCompany
                        Composite.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DurationUsed" type="ddexC:DurationByUseType" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the total Duration of the
                        Release that has been used (this may be less than the total Duration of the
                        Release), specified for a UseType (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). This applies only to single-Resource
                    Releases.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ReleaseTransactionsToSociety">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions for a Release,
                reported by a DSP to a WorkLicensor.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="ReleaseId" type="ddexC:ReleaseId" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of Identifiers of the Release.
                        If available, a GRid has 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:element>
            <xs:element name="Deal" type="dsr:DetailedDeal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the terms and conditions of
                        the Deal under which sales were transacted. (Note: The Amount reported in
                        this Composite is an estimate based on best knowledge on the side of the
                        MessageSender with respect to the intellectual property rights controlled by
                        the MessageRecipient. The default is that 100% ownership is
                    assumed).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SalesTransactionToSociety" type="dsr:SalesTransactionToSociety"
                maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a SalesTransaction for
                        specified Usages of the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MWLI" type="ddex:MWLI" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A MusicalWork License Identifier which identifies a License
                        for the MusicalWork(s) used in the Release. A MWLI comprises four parts,
                        separated by dashes: one of the strings "M1" or "M2" or "M3" or "M4",
                        followed by 5 alphanumeric characters, 10 alphanumeric characters and 1
                        alphanumeric character.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DurationUsed" type="ddexC:DurationByUseType" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the total Duration of the
                        Release that has been used (this may be less than the total Duration of the
                        Release), specified for a UseType (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). This applies only to Release which are
                        SingleResourceCreations.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalesDataGroupingToRecordCompany">
        <xs:annotation>
            <xs:documentation>A Composite containing details of the criteria by which sales reports
                to Record Companies are grouped.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="StartDate" type="xs:date" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The StartDate or actual Date of the sales
                    report.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="EndDate" type="xs:date" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The EndDate of the sales report if different from EndDate of
                        the transaction Period which is given in the
                    MessageHeader.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PostCode" type="xs:string" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A PostCode or zip code of a Consumer of the
                    Releases.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MinimumDuration" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The MinimumDuration of the Release contained in the
                        SalesDataGrouping (applicable only to Release containing a single
                        SoundRecording or MusicVideo) (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="MaximumDuration" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The MaximumDuration of the Release contained in the
                        SalesDataGrouping (applicable only to Release containing a single
                        SoundRecording or MusicVideo) (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="DistributionChannelType" type="ddex:DistributionChannelType"
                minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Type of telecommunication technology used by a Consumer to
                        receive the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CustomerId" type="xs:string" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A DSP's Identifier for a Consumer of the Releases
                    sold.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TransactionId" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The DSP's Identifier for the Transaction by the Consumer in
                        relation to the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="StoreLocationDescriptor" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Descriptor (typically an ID assigned by the DSP) of the
                        store in which the Kiosk is located.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PromotionalActivityDescription" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The freetext Description of a promotional
                    activity.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Deal" type="dsr:DetailedDeal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the terms and conditions of
                        the Deal under which sales were transacted. (Note: The Amount reported in
                        this Composite is an estimate based on best knowledge on the side of the
                        MessageSender with respect to the intellectual property rights controlled by
                        the MessageRecipient. The default is that 100% ownership is
                    assumed).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalesDataGroupingToSociety">
        <xs:annotation>
            <xs:documentation>A Composite containing details of the criteria by which sales reports
                to societies are grouped.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="StartDate" type="xs:date" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The StartDate or actual Date of the sales
                    report.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="EndDate" type="xs:date" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The EndDate of the sales report if different from EndDate of
                        the transaction Period which is given in the
                    MessageHeader.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PostCode" type="xs:string" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A PostCode or zip code of a Consumer of the
                    Releases.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MinimumDuration" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The MinimumDuration of the Release contained in the
                        SalesDataGrouping (applicable only to Release containing a single
                        SoundRecording or MusicVideo) (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="MaximumDuration" type="xs:duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The MaximumDuration of the Release contained in the
                        SalesDataGrouping (applicable only to Release containing a single
                        SoundRecording or MusicVideo) (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="DistributionChannelType" type="ddex:DistributionChannelType"
                minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Type of telecommunication technology used by a Consumer to
                        receive the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CustomerId" type="xs:string" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A DSP's Identifier for a Consumer of the Releases
                    sold.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TransactionId" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The DSP's Identifier for the Transaction by the Consumer in
                        relation to the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="StoreLocationDescriptor" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Descriptor (typically an ID assigned by the DSP) of the
                        store in which the Kiosk is located.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PromotionalActivityDescription" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The freetext Description of a promotional
                    activity.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Deal" type="dsr:Deal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the terms and conditions of
                        the Deal under which sales were transacted. The reported figures are based
                        on best knowledge on the side of the MessageSender with respect to the
                        intellectual property rights controlled by the MessageRecipient (the default
                        is that 100% ownership is assumed).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalesDataToRecordCompany">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions of a
            Release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SalesDataGrouping" type="dsr:SalesDataGroupingToRecordCompany"
                minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the criteria by which sales
                        reports to Record Companies are grouped.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NumberOfConsumerSalesGross" type="xs:integer">
                <xs:annotation>
                    <xs:documentation>The number of unit sales of the Release from the DSP to
                        Consumers, including any sales adjustments but not including units made
                        available free of charge. Sales adjustments include e.g. file
                    failures.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NumberOfUnitAdjustments" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The number of sold units of a Release returned (with refund)
                        to the DSP as a result of a reversal of a SalesTransation or because of an
                        earlier error in sales reporting.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NumberOfFreeUnitsToConsumers" type="xs:integer">
                <xs:annotation>
                    <xs:documentation>The number of units of a Release provided free to
                    Consumers.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NumberOfUnitAdjustmentsToFreeUnits" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The number of free units of a Release returned to the
                    DSP.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalesDataToSociety">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions of a
            Release.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SalesDataGrouping" type="dsr:SalesDataGroupingToSociety" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the criteria by which sales
                        reports to societies are grouped.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NumberOfConsumerSalesGross" type="xs:integer">
                <xs:annotation>
                    <xs:documentation>The number of unit sales of the Release from the DSP to
                        Consumers, including any sales adjustments but not including units made
                        available free of charge. Sales adjustments include e.g. file
                    failures.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NumberOfUnitAdjustments" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The number of sold units of a Release returned (with refund)
                        to the DSP as a result of a reversal of a SalesTransation or because of an
                        earlier error in sales reporting.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NumberOfFreeUnitsToConsumers" type="xs:integer">
                <xs:annotation>
                    <xs:documentation>The number of units of a Release provided free to
                    Consumers.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NumberOfUnitAdjustmentsToFreeUnits" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The number of free units of a Release returned to the
                    DSP.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PriceConsumerPaidExcSalesTax"
                type="ddexC:PriceConsumerPaidExcSalesTax" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the net Price (that is,
                        excluding VAT) paid by the Consumer. This Element is to be used only when no
                        Deal Composite is available which applies to the sales.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ConsumerPriceGross" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The gross Price (that is, including VAT) paid by the Consumer.
                        This Element is to be used only when no Deal Composite is available which
                        applies to the sales.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalesReportToRecordCompany">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions reported to a
                RecordCompany.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DSP" type="ddexC:DSP">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the DSP whose
                        SalesTransactions are being reported.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SalesToRecordCompanyByCommercialModel"
                type="dsr:SalesToRecordCompanyByCommercialModel" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of SalesTransactions reported
                        by the DSP to the RecordCompany for a specific
                    CommercialModelType.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalesReportToSociety">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions reported to a
                MusicalWork Licensor.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="DspDetailsForSociety" type="dsr:DspDetailsForSociety">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the DSP (as Licensee) whose
                        SalesTransactions are being reported.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Licensor" type="ddexC:PartyDescriptor">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Party granting the
                        permission for Usage.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SalesToSocietyByCommercialModel"
                type="dsr:SalesToSocietyByCommercialModel" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of SalesTransactions reported
                        by the DSP to the MusicalWorkLicensor for a specific
                    CommercialModelType.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalesToRecordCompanyByCommercialModel">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions reported by a DSP
                to a RecordCompany for a specific CommercialModelType.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CommercialModelType" type="ddexC:CommercialModelType" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the fundamental business
                        model of the commercial offering made to the Consumer for which
                        SalesTransactions are reported (e.g. SubscriptionModel or PayAsYouGoModel).
                        The CommercialModelType indicates how the Consumer pays for the service or
                        Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CurrencyOfAccounting" type="iso4217a:CurrencyCode">
                <xs:annotation>
                    <xs:documentation>The Currency in which the SalesTransactions are accounted
                        (represented by an ISO 4217 CurrencyCode).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SalesToRecordCompanyByTerritory"
                type="dsr:SalesToRecordCompanyByTerritory" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of SalesTransactions reported
                        by the DSP to the RecordCompany for a specific Territory.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalesToRecordCompanyByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions reported by a DSP
                to a RecordCompany for a specific Territory.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Territory for which SalesTransactions are reported
                        (represented by an ISO 3166-1 TerritoryCode).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TaxRate" type="dsr:TaxRate" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a TaxRate applicable to the
                        total Amount to be paid. Within the DSR Message, only one of the two TaxRate
                        Elements (here and in dsr:DetailedDeal) may be filled.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Deal" type="dsr:DetailedDeal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the terms and conditions of
                        the Deal under which sales were transacted. (Note: The Amount reported in
                        this Composite is an estimate based on best knowledge on the side of the
                        MessageSender with respect to the intellectual property rights controlled by
                        the MessageRecipient. The default is that 100% ownership is
                    assumed).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RecordCompanyMarketShareData" type="dsr:RecordCompanyMarketShareData"
                minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing information to support the calculation
                        of the RecordCompany's market share of all Releases provided by a DSP to
                        Consumers for a specified UseType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseTransactionsToRecordCompany"
                type="dsr:ReleaseTransactionsToRecordCompany" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the SalesTransactions for a
                        Release, reported by the DSP to the RecordCompany.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NumberOfSubscribers" type="ddexC:NumberOfSubscribers" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the number of Subscribers
                        for the UseType for the DSP (applicable only where a Subscription Service is
                        employed).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DspGrossRevenue" type="ddexC:AmountByUseAndDistributionChannelType"
                minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the GrossRevenue of the DSP
                        for the Territory, specified for a UseType and a
                    DistributionChannelType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DspNetRevenue" type="ddexC:AmountByUseAndDistributionChannelType"
                minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the NetRevenue of the DSP
                        for the Territory, specified for a UseType and a
                    DistributionChannelType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DspDeductionsAmount"
                type="ddexC:AmountByUseAndDistributionChannelType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Amount deducted by the
                        DSP from NetRevenue, specified for a UseType and a
                    DistributionChannelType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PercentageNetRevenueShare"
                type="ddexC:AmountByUseAndDistributionChannelType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Percentage which
                        represents a share of a NetRevenue generated by the DSP which is due to the
                        Record Company, specified for a UseType and a
                    DistributionChannelType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MinimumAmountPerCustomer" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The minimum Amount that has to be paid by each Customer to the
                        DSP for a Subscription for the UseType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="WholesaleAmountTotal" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Amount representing the total wholesale
                    revenue.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="WholesaleAmountTotalInCurrencyOfAccounting" type="xs:decimal"
                minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Amount representing the total wholesale revenue reported
                        in the CurrencyOfAccounting.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TotalAmountPayableInCurrencyOfAccounting" type="xs:decimal"
                minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The calculated Total of AmountPayables in the
                        CurrencyOfAccounting.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CurrencyExchangeRate" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The conversion Rate applicable to the
                        TotalAmountPayableInCurrencyOfAccounting.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalesToSocietyByCommercialModel">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions reported by a DSP
                to a WorkLicensor for a specific CommercialModelType.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CommercialModelType" type="ddexC:CommercialModelType" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the fundamental business
                        model of the commercial offering made to the Consumer for which
                        SalesTransactions are reported (e.g. SubscriptionModel or PayAsYouGoModel).
                        The CommercialModelType indicates how the Consumer pays for the service or
                        Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CurrencyOfAccounting" type="iso4217a:CurrencyCode">
                <xs:annotation>
                    <xs:documentation>The Currency in which the SalesTransactions are accounted
                        (represented by an ISO 4217 CurrencyCode).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SalesToSocietyByTerritory" type="dsr:SalesToSocietyByTerritory"
                maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of SalesTransactions reported
                        by the DSP to the MusicalWork Licensor for a specific
                    Territory.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalesToSocietyByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions reported by a DSP
                to a MusicalWork Licensor for a specific Territory.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="TerritoryCode" type="ddexC:TerritoryCode" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Territory for which SalesTransactions are reported
                        (represented by an ISO 3166-1 TerritoryCode).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TaxRate" type="ddexC:TerritoryCode" minOccurs="0"
                maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a TaxRate applicable to the
                        total Amount to be paid as value added tax. Within the DSR Message, only one
                        of the two TaxRate Elements (here and in the DetailedDeal Composite) may be
                        filled.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Deal" type="dsr:Deal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the terms and conditions of
                        the Deal under which sales were transacted. The reported figures are based
                        on best knowledge on the side of the MessageSender with respect to the
                        intellectual property rights controlled by the MessageRecipient (the default
                        is that 100% ownership is assumed).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseTransactionsToSociety" type="dsr:ReleaseTransactionsToSociety"
                maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the SalesTransactions for a
                        Release, reported by the DSP to the society.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="NumberOfSubscribers" type="ddexC:NumberOfSubscribers" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the number of Subscribers
                        for the UseType for the DSP (applicable only where a Subscription Service is
                        employed).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DspGrossRevenue" type="ddexC:AmountByUseAndDistributionChannelType"
                minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the GrossRevenue of the DSP
                        for the Territory, specified for a UseType and a
                    DistributionChannelType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DspNetRevenue" type="ddexC:AmountByUseAndDistributionChannelType"
                minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the NetRevenue of the DSP
                        for the Territory, specified for a UseType and a
                    DistributionChannelType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DspDeductionsAmount"
                type="ddexC:AmountByUseAndDistributionChannelType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Amount deducted by the
                        DSP from NetRevenue, specified for a UseType and a
                    DistributionChannelType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PercentageNetRevenueShare"
                type="ddexC:AmountByUseAndDistributionChannelType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Percentage which
                        represents a share of a NetRevenue generated by the DSP which is due to the
                        Record Company, specified for a UseType and a
                    DistributionChannelType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MinimumAmountPerCustomer" type="xs:integer" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The minimum Amount that has to be paid by each Customer to the
                        DSP for a Subscription for the UseType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TotalWholesalePricePerUnit" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The calculated Total of WholesalePricePerUnits (based on 100%
                        of the shares of the Works or Releases involved).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TotalWholesalePricePerUnitInCurrencyOfAccounting" type="xs:decimal"
                minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The TotalWholesalePricePerUnit measured in the Currency in
                        which they have been accounted (based on 100% of the shares of the Works or
                        Releases involved).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TotalAmountPayableInCurrencyOfAccounting" type="xs:decimal"
                minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The calculated Total of AmountPayables in the
                        CurrencyOfAccounting (based on 100% of the shares of the Works or Releases
                        involved).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CurrencyExchangeRate" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The conversion Rate applicable to the
                        TotalAmountPayableInCurrencyOfAccounting.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalesTransactionToRecordCompany">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SalesTransaction for specified
                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 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="Deal" type="dsr:DetailedDeal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the terms and conditions of
                        the Deal under which sales were transacted. (Note: The Amount reported in
                        this Composite is an estimate based on best knowledge on the side of the
                        MessageSender with respect to the intellectual property rights controlled by
                        the MessageRecipient. The default is that 100% ownership is
                    assumed).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SalesDataToRecordCompany" type="dsr:SalesDataToRecordCompany"
                maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of SalesTransactions of the
                        Release governed by the Deal.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="DataToBeForwarded" type="xs:boolean">
                <xs:annotation>
                    <xs:documentation>The Flag indicating whether sales data will be forwarded by
                        the DSP (or any Organization reporting on behalf of the DSP) to the
                        appropriate MusicalWork Licensor (=False) or if this has to be done by the
                        MessageRecipient (=True).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalesTransactionToSociety">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SalesTransactions for specified
                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 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="Deal" type="dsr:Deal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the terms and conditions of
                        the Deal under which sales were transacted. The reported figures are based
                        on best knowledge on the side of the MessageSender with respect to the
                        intellectual property rights controlled by the MessageRecipient (the default
                        is that 100% ownership is assumed).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SalesDataToSociety" type="dsr:SalesDataToSociety"
                maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of SalesTransactions of the
                        Release governed by the Deal.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TariffReference" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Reference (in the form of an Identifier, Name or
                        Description) to a Document containing details of the
                    Tariff.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TariffSubReference" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Reference (in the form of an Identifier, Name or
                        Description) to a Document (subsidiary to a TariffReference) containing more
                        specific details of a Tariff in respect to which the Claim is
                    made.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SummaryDeal">
        <xs:annotation>
            <xs:documentation>A Composite containing a summary of the terms and conditions of a Deal
                made between a DSP (as Licensee) and a Licensor of Works or
            Releases.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CurrencyCode" type="iso4217a:CurrencyCode" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Currency in which the Transactions are made (represented
                        by an ISO 4217 CurrencyCode), if different from the
                    CurrencyOfAccounting.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PriceConsumerPaidExcSalesTax" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Price paid by Consumers, excluding VAT (Value Added
                    Tax).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ConsumerPriceGross" type="xs:decimal" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The Price paid by Consumers, including VAT (Value Added
                    Tax).</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </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 theType 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 theType of Tax according to
                        its scope.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TotalSalesByReleaseType">
        <xs:annotation>
            <xs:documentation>A Composite containing details of total sales of Releases of a
                specific Type.</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
                    ContentType.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:element name="SalesReportToRecordCompanyMessage">
        <xs:annotation>
            <xs:documentation>A sales reporting Message in the DSR Message Suite sent to a
                RecordCompany.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="MessageHeader" type="ddexC:MessageHeader">
                    <xs:annotation>
                        <xs:documentation>The MessageHeader for the
                            SalesReportToRecordCompanyMessage.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="MessageNotificationPeriod" type="ddexC:MessageNotificationPeriod">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of the reporting Period
                            covered by the SalesReportToRecordCompanyMessage.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="RemittanceAdvice" type="ddex:RemittanceAdvice" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A textual commentary about the method for settlement of
                            payments between MessageSender and MessageRecipient (e.g. ‘international
                            bank transfer initiated on 2006-09-18’).</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="MessageContentRevenueType" type="dsr:MessageContentRevenueType"
                    minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A Type of revenue to which the Content of the Message
                            relates.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="RightsCoverage" type="ddex:RightsCoverage" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Type of Right which is covered in the
                            SalesReportToRecordCompanyMessage.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ContainedReleaseSummary" type="ddexC:ContainedReleaseSummary"
                    minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing summary details of a Release for
                            which sales data is provided in the SalesReportToRecordCompanyMessage.
                            If a Release is reported in a SalesReportToRecordCompanyMessage, then
                            exactly one ContainedReleaseSummary Composite shall be
                        provided.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="SalesReportToRecordCompany" type="dsr:SalesReportToRecordCompany"
                    minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of SalesTransactions by a
                            DistributionPartner reported to a RecordCompany.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="TotalSalesByReleaseType" type="dsr:TotalSalesByReleaseType"
                    maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of total sales of Releases
                            of a specific Type.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="RoyaltyAmount" type="ddexC:RoyaltyAmount" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of the RoyaltyAmount due.
                            This is an estimate based on best knowledge on the side of the
                            MessageSender with respect to the intellectual property Rights
                            controlled by the MessageRecipient (The default is that 100% ownership
                            is assumed).</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="NumberOfSalesTransactionRecords" type="xs:integer" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>The check number which identifies the number of
                            SalesTransactionRecords contained in the
                            SalesReportToRecordCompanyMessage. SalesTransactionRecords are
                            SalesToRecordCompanyByTerritory Composites.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:sequence>
            <xs:attribute name="MessageSchemaVersionId" type="xs:string" use="required">
                <xs:annotation>
                    <xs:documentation>The Identifier of the Version of the XML Schema used for the
                        Message. This is represented in an XML Schema as an XML
                    Attribute.</xs:documentation>
                </xs:annotation>
            </xs:attribute>
        </xs:complexType>
    </xs:element>
    <xs:element name="SalesReportToSocietyMessage">
        <xs:annotation>
            <xs:documentation>A sales reporting Message in the DSR Message Suite sent to a
                MusicalWorkLicensor.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="MessageHeader" type="ddexC:MessageHeader">
                    <xs:annotation>
                        <xs:documentation>The MessageHeader for the
                        SalesReportToSocietyMessage.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="MessageNotificationPeriod" type="ddexC:MessageNotificationPeriod">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of the Period covered by
                            the SalesReportToSocietyMessage.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="RemittanceAdvice" type="ddex:RemittanceAdvice" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A textual commentary about the method for settlement of
                            payments between MessageSender and MessageRecipient (e.g. ‘international
                            bank transfer initiated on 2006-09-18’).</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="MessageContentRevenueType" type="dsr:MessageContentRevenueType"
                    minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A Type of revenue to which the Content of the Message
                            relates.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="RightsCoverage" type="ddex:RightsCoverage" minOccurs="0"
                    maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Type of Right which is covered in the
                            SalesReportToSocietyMessage.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ContainedReleaseSummary" type="ddexC:ContainedReleaseSummary"
                    minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing summary details of a Release for
                            which sales data is provided in the SalesReportToSocietyMessage. If a
                            Release is reported in a SalesReportToSocietyMessage, then exactly one
                            ContainedReleaseSummary Composite shall be provided.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ContainedMusicalWorkList" type="ddexC:MusicalWorkList"
                    minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of one or more MusicalWorks
                            contained in Releases for which sales data is provided in the
                            SalesReportToSocietyMessage.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ContainedResourceList" type="ddexC:ResourceList" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of one or more Resources
                            contained in Releases for which sales data is provided in the
                            SalesReportToSocietyMessage.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ContainedReleaseList" type="ddexC:ReleaseList" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of one or more Releases for
                            which sales data is provided in the
                        SalesReportToSocietyMessage.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="SalesReportToSociety" type="dsr:SalesReportToSociety"
                    minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of SalesTransactions by a
                            DSP reported to a MuscialWork Licensor.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="RoyaltyAmount" type="ddexC:RoyaltyAmount" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of the RoyaltyAmount due.
                            This is an estimate based on best knowledge on the side of the
                            MessageSender with respect to the intellectual property Rights
                            controlled by the MessageRecipient (The default is that 100% ownership
                            is assumed).</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="NumberOfSalesTransactionRecords" type="xs:integer" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>The check number which identifies the number of
                            SalesTransactionRecords contained in the SalesReportToSocietyMessage.
                            SalesTransactionRecords are SalesToSocietyByTerritory
                        Composites.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:sequence>
            <xs:attribute name="MessageSchemaVersionId" type="xs:string" use="required">
                <xs:annotation>
                    <xs:documentation>The Identifier of the Version of the XML Schema used for the
                        Message. This is represented in an XML Schema as an XML
                    Attribute.</xs:documentation>
                </xs:annotation>
            </xs:attribute>
        </xs:complexType>
    </xs:element>
</xs:schema>
