<?xml version="1.0"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://ddex.net/xml/2010/dsr-main/32" xmlns:ddex="http://ddex.net/xml/20100712/ddex" xmlns:ddexC="http://ddex.net/xml/20100712/ddexC" xmlns:dsrm="http://ddex.net/xml/2010/dsr-main/32" 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/ddex" schemaLocation="ddex.xsd" />
    <xs:import namespace="http://ddex.net/xml/20100712/ddexC" schemaLocation="ddexC.xsd" />
    <xs:import namespace="http://ddex.net/xml/20100712/iso639a2" schemaLocation="iso639a2.xsd" />
    <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:annotation>
        <xs:documentation>(c) 2006-2010 DDEX, LLC</xs:documentation>
    </xs:annotation>
    <xs:complexType name="CollectionListToSociety">
        <xs:annotation>
            <xs:documentation>A Composite containing details of one or more Collections.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Collection" type="dsrm:CollectionToSociety" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Collection 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 CollectionList 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="CollectionToSociety">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Collection.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:Collection">
                <xs:sequence>
                    <xs:element name="CollectionResourceReferenceList" type="ddexC:CollectionResourceReferenceList" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A Composite containing a list of CollectionResourceReferences for a Resource (specific to this Message).</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="Cue">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Cue.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CueUseType" type="ddexC:CueUseType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a UseType of the Cue. It can be expected that this element will be contractually mandatory in many communications of cue sheets to music rights societies.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CueThemeType" type="ddexC:CueThemeType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a ThemeType for the Creation referenced in the Cue.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CueVocalType" type="ddexC:CueVocalType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a VocalType for the Creation referenced in the Cue.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IsDance" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Flag indicating whether a Creation contains dancing (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CueVisualPerceptionType" type="ddexC:CueVisualPerceptionType" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a VisualPerceptionType for the Creation referenced in the Cue.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CueOrigin" type="ddexC:CueOrigin" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a CueOrigin for the Cue. It can be expected that this element will be contractually mandatory in many communications of cue sheets to music rights societies.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:choice>
                <xs:element name="CueCreationReference" type="ddexC:CueCreationReference" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing a CueCreationReference for a Creation (specific to this Message).</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:sequence>
                    <xs:element name="ReferencedCreationType" type="ddex:CreationType" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A Type of the Creation referenced in the Cue.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ReferencedCreationTitle" type="ddexC:Title" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of a Title of the Creation referenced in the Cue.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ReferencedCreationContributor" type="ddexC:ResourceContributor" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details a Contributor of the Creation referenced in the Cue.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:choice>
            <xs:element name="HasMusicalContent" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Flag indicating whether whether the Creation referenced in the Cue contains musical content such as a SoundRecording or a MusicalWork (=True) or not (=False).</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:sequence>
    </xs:complexType>
    <xs:complexType name="CueSheet">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a CueSheet.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CueSheetId" type="ddexC:ProprietaryId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a CueSheetId of the CueSheet.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CueSheetReference" type="ddex:LocalCueSheetAnchor">
                <xs:annotation>
                    <xs:documentation>The Identifier (specific to the Message) of the CueSheet within the Release which contains it. This LocalAnchor is a string starting with the letter Q.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CueSheetType" type="ddexC:CueSheetType">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Type of the CueSheet.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Cue" type="dsrm:Cue" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Cue.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CueSheetList">
        <xs:annotation>
            <xs:documentation>A Composite containing details of one or more CueSheets.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="CueSheet" type="dsrm:CueSheet" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a CueSheet contained in a Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="DealForRecordCompanies">
        <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="DetailedDeal" type="dsrm:DetailedDeal">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the terms and conditions of the Deal.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="DealForSocieties">
        <xs:annotation>
            <xs:documentation>A Composite containing details (in full or in summary) 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="dsrm: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="dsrm: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 SalesTransactions 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:choice minOccurs="0">
                <xs:element name="IsPromotional" type="xs:boolean">
                    <xs:annotation>
                        <xs:documentation>The Flag indicating whether a special Deal is made between the Licensor and the Licensee (=True) or not (=False)regarding the royalties or payments due to be paid for Releases distributed under this Deal.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="PromotionalCode" type="ddexC:PromotionalCode">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of a PromotionalCode.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="DealReference" type="ddexC:DealReference" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the Reference (in the form of an Identifier, Name or Description) to a TextDocument containing details of the Deal governing the SalesTransaction.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TaxRate" type="ddexC: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 SalesByTerritory or in the SalesByTerritory 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 value-added tax.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CalculationType" type="ddexC:CalculationType" 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 record company, the RoyaltyRate refers to the rate due to the record company, 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 value-added tax) agreed between DSP and the record company 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="dsrm: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 Licensor of Works or Releases 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: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: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:DSP">
                <xs:sequence>
                    <xs:element name="DistributionChannelDescriptor" type="ddexC:DistributionChannelDescriptor" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A Composite containing the Name and/or Description of the channel through which the DSP distributes Releases.</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 existing between the Licensor and the DSP.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="Image">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an Image.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:Image">
                <xs:sequence>
                    <xs:element name="URL" type="xs:string" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A URL from which the Image was sold.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="InvoiceItem">
        <xs:annotation>
            <xs:documentation>A Composite containing details of an InvoiceItem.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="InvoiceItemId" type="ddexC:ProprietaryId">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an Identifier of the InvoiceItem.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="LicenseOrClaimId" type="ddexC:RightsAgreementId" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an Identifier of the License or Claim.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="InvoicePeriod" type="ddexC:Period">
                <xs:annotation>
                    <xs:documentation>A Composite containing details about the Period of Time covered by the Invoice.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SalesReportMessageReference" type="dsrm:SalesReportMessageReference" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing a reference to the sales report Message containing usage reports for which an invoice is provided.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseId" type="ddexC:ReleaseId" minOccurs="0" maxOccurs="unbounded">
                <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="NumberOfUsages" type="xs:integer">
                <xs:annotation>
                    <xs:documentation>The number of times a Release has been used under the terms and conditions reported in the Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseUsagePrice" type="ddexC:Price">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Price for each of the Usages of a Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AppliedTariff" 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).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AppliedRoyaltyRate" type="ddexC:AppliedRoyaltyRate">
                <xs:annotation>
                    <xs:documentation>A Composite containing the details of the RoyaltyRate that has been applied when issuing the invoice.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CalculatedRoyaltyAmountPerUse" type="ddexC:RoyaltyAmount">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the RoyaltyAmount that has been calculated to be due for the given Usage and ReleaseUsagePrice, based on the applied Tariff when issuing the invoice.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CalculatedTax" type="ddexC:Tax" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Tax applicable to the CalculatedRoyaltyAmountPerUse.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CalculatedRoyaltyAmountPerInvoice" type="ddexC:RoyaltyAmount">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the RoyaltyAmount that has been calculated for a given Invoice item.</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 a given Invoice item.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReleaseType" type="ddex:ReleaseType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>The Type of the Release according to its content, Duration and/or number of components.</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.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MIDI">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a MIDI.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:MIDI">
                <xs:sequence>
                    <xs:element name="URL" type="xs:string" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A URL from which the MIDI was sold.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <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="ddexC:Description" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing a Description of the proprietary financial data.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </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="ReleaseCollectionReference" type="ddexC:ReleaseCollectionReference" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing a Reference for a Collection (specific to this Message). The LocalAnchorReference in this Composite is a string starting with the letter X.</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="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="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:element name="URL" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A URL from which the Release was sold.</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 Release 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 Release was or will be first made available for Usage, whether for physical or electronic/online distribution (in ISO 8601:2004 format: YYYY-MM-DD).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OriginalLanguage" type="iso639a2:LanguageCode" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>The orignal Language of the Release (represented by an ISO 639-2 LanguageCode).</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="ReleaseList">
        <xs:annotation>
            <xs:documentation>A Composite containing details of one or more Releases.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Release" type="dsrm:Release" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a DDEX 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 ReleaseList 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="ReleaseTransactionsToRecordCompany">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions for a Release or a Resource, reported by a DSP to a record company.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="ReleaseId" type="ddexC:ReleaseId" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of ReleaseIds. 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:sequence>
                    <xs:element name="ResourceId" type="ddexC:ResourceId">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of ResourceIds.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ResourceType" type="ddexC:ResourceType" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of the Type of the Resource.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:choice>
            <xs:element name="Deal" type="dsrm:DealForRecordCompanies" 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="SalesTransaction" type="dsrm:SalesTransactionToRecordCompany" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a SalesTransaction for specified Usages of the Release or Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Comment" type="ddexC:Comment" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the Comment about the ReleaseTransactions 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 or Resource that has been used (this may be less than the total Duration), 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:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the ReleaseTransactions 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="ReleaseTransactionsToSociety">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions for a Release or a Resource, reported by a DSP to a WorkLicensor.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:choice>
                <xs:element name="ReleaseId" type="ddexC:ReleaseId" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of ReleaseIds. 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:sequence>
                    <xs:element name="ResourceId" type="ddexC:ResourceId">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of ResourceIds.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ResourceType" type="ddexC:ResourceType" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A Composite containing details of the Type of the Resource.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:choice>
            <xs:element name="Deal" type="dsrm: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="SalesTransaction" type="dsrm:SalesTransactionToSociety" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a SalesTransaction for specified Usages of the Release or Resource.</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 or Resource.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Comment" type="ddexC:Comment" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the Comment about the ReleaseTransactions 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 or Resource that has been used (this may be less than the total Duration), 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 single-Resource Creations.</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 ReleaseTransactions 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="ResourceList">
        <xs:annotation>
            <xs:documentation>A Composite containing details of one or more Resources. ResourceList provides a simple means of aggregating Resources without any explicit sequencing or grouping: if it is needed, that is provided by the ResourceGroup Composite.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="SoundRecording" type="dsrm:SoundRecording" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a SoundRecording.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MIDI" type="dsrm:MIDI" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a MIDI.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Video" type="dsrm:Video" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Video.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Image" type="dsrm:Image" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an Image.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Text" type="dsrm:Text" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Text.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SheetMusic" type="dsrm:SheetMusic" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a SheetMusic.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Software" type="dsrm:Software" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of an item of Software.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UserDefinedResource" type="dsrm:UserDefinedResource" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a UserDefinedResource.</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 ResourceList 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="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 transaction.</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 MusicalWorkVideo) (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 MusicalWorkVideo) (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 SalesTransaction by the Consumer in relation to the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="StoreLocationDescriptor" type="ddexC:StoreLocationDescriptor" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing 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="ddexC:Description" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the freetext Description of a promotional activity.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Deal" type="dsrm:DealForRecordCompanies" 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:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the SalesDataGrouping 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="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 MusicalWorkVideo) (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 MusicalWorkVideo) (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 SalesTransaction by the Consumer in relation to the Release.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="StoreLocationDescriptor" type="ddexC:StoreLocationDescriptor" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing 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="ddexC:Description" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing the freetext Description of a promotional activity.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Deal" type="dsrm:DealForSocieties" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details 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:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the SalesDataGrouping 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="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="dsrm: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 SalesTransaction 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="dsrm: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 SalesTransaction 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 a PriceConsumerPaidExcSalesTax. 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 value-added tax) 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="SalesReportMessageReference">
        <xs:annotation>
            <xs:documentation>A Composite containing details of Identifiers of a sales reporting DdexMessage.</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="MessageId" type="xs:string">
                <xs:annotation>
                    <xs:documentation>An Identifier of the sales reporting Message.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MessageThreadId" type="xs:string">
                <xs:annotation>
                    <xs:documentation>An Identifier of the Message thread. Typically used to track the progress and history (from Party to Party) of the sales reporting Message.</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 record company.</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="SalesByCommercialModel" type="dsrm:SalesToRecordCompanyByCommercialModel" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of SalesTransactions reported by the DSP to the record company for a specific CommercialModelType.</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 SalesReport 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="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="DSP" type="dsrm: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" minOccurs="0">
                <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="SalesByCommercialModel" type="dsrm:SalesToSocietyByCommercialModel" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of SalesTransactions reported by the DSP to the MusicalWork Licensor for a specific CommercialModelType.</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 SalesReport 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="SalesToRecordCompanyByCommercialModel">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions reported by a DSP to a record company 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="SalesByTerritory" type="dsrm:SalesToRecordCompanyByTerritory" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of SalesTransactions reported by the DSP to the record company for a specific Territory.</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 SalesByCommercialModel 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="SalesToRecordCompanyByTerritory">
        <xs:annotation>
            <xs:documentation>A Composite containing details of SalesTransactions reported by a DSP to a record company 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: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="dsrm:DealForRecordCompanies" 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="ReleaseTransactions" type="dsrm:ReleaseTransactionsToRecordCompany" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the SalesTransactions for a Release, reported by the DSP to the record company.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RecordCompanyMarketShareData" type="ddexC:RecordCompanyMarketShareData" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing information to support the calculation of the record company'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="NumberOfSubscribers" type="ddexC:NumberOfSubscribers" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing a NumberOfSubscribers 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" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the gross Revenue 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" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the net Revenue 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" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the Amount deducted by the DSP from gross Revenue, specified for a UseType and a DistributionChannelType.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PercentageNetRevenueShare" type="ddexC:AmountByUseAndDistributionChannelType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of the percentage which represents a share of a net Revenue 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:decimal" 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:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the SalesByTerritory 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="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="SalesByTerritory" type="dsrm: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:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the SalesByCommercialModel 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="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:TaxRate" 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="dsrm:DealForSocieties" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details 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="ReleaseTransactions" type="dsrm: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 a NumberOfSubscribersfor 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 gross Revenue 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 net Revenue 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 net Revenue, 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 net Revenue 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:decimal" 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="MinimumAmountPerCollection" type="ddexC:AmountPerCollection" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a minimum Amount due to the WorkLicensor that has to be paid per Collection.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MaximumAmountPerCollection" type="ddexC:AmountPerCollection" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a maximum Amount due to the WorkLicensor that has to be paid per Collection.</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:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the SalesByTerritory 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="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="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="Deal" type="dsrm:DealForRecordCompanies" 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="SalesData" type="dsrm: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="IsUpgrade" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Flag indicating whether the SalesTransaction applies to an upgraded Release (=True) or not (=False).</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:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>The Language and script for the Elements of the SalesTransaction 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="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="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="Deal" type="dsrm:DealForSocieties" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details 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="SalesData" type="dsrm: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="IsUpgrade" type="xs:boolean" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Flag indicating whether the SalesTransaction applies to an upgraded Release (=True) or not (=False).</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TariffReference" type="ddexC:TariffReference" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A Composite containing details of a Reference (in the form of an Identifier, Name or Description) to a TextDocument containing details of the Tariff.</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 SalesTransaction 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="SheetMusic">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SheetMusic.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:SheetMusic">
                <xs:sequence>
                    <xs:element name="URL" type="xs:string" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A URL from which the SheetMusic was sold.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="Software">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Software.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:Software">
                <xs:sequence>
                    <xs:element name="URL" type="xs:string" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A URL from which the Software was sold.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="SoundRecording">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a SoundRecording.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:SoundRecording">
                <xs:sequence>
                    <xs:element name="URL" type="xs:string" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A URL from which the SoundRecording was sold.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </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 SalesTransactions 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 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 value-added tax.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Text">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a Text.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:Text">
                <xs:sequence>
                    <xs:element name="URL" type="xs:string" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A URL from which the Text was sold.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="TotalRoyaltyAmount">
        <xs:annotation>
            <xs:documentation>A Composite containing details of a total RoyaltyAmount.</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="ddexC:TotalRoyaltyAmount">
                <xs:sequence>
                    <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.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </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 ReleaseType.</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:complexContent>
            <xs:extension base="ddexC:UserDefinedResource">
                <xs:sequence>
                    <xs:element name="URL" type="xs:string" minOccurs="0">
                        <xs:annotation>
                            <xs:documentation>A URL from which the UserDefinedResource was sold.</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </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:choice minOccurs="0">
                <xs:element name="VideoCueSheetReference" type="ddexC:VideoCueSheetReference" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing a VideoCueSheetReference for a CueSheet (specific to this Message).</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ReasonForCueSheetAbsence" type="ddexC:Reason">
                    <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:choice>
            <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="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="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:element name="URL" type="xs:string" minOccurs="0">
                <xs:annotation>
                    <xs:documentation>A URL from which the Video was sold.</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 Resource 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 Video (represented by an ISO 639-2 LanguageCode).</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:element name="InvoiceMessage">
        <xs:annotation>
            <xs:documentation>An invoice Message in the DSR DdexMessageSuite, Main Profile.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="MessageHeader" type="ddexC:MessageHeader">
                    <xs:annotation>
                        <xs:documentation>The MessageHeader for the InvoiceMessage.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="InvoiceId" type="ddexC:ProprietaryId">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of an Identifier of the Invoice.</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 InvoiceMessage.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="Currency" type="iso4217a:CurrencyCode">
                    <xs:annotation>
                        <xs:documentation>The Currency of the Invoice (represented by an ISO 4217 CurrencyCode).</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="InvoiceItem" type="dsrm:InvoiceItem" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of an InvoiceItem.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="TotalRoyaltyAmount" type="dsrm:TotalRoyaltyAmount" minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of a total RoyaltyAmount.</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:element name="SalesReportToRecordCompanyMessage">
        <xs:annotation>
            <xs:documentation>A sales reporting Message in the DSR DdexMessageSuite, Main Profile, sent to a record company.</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="ddexC: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="ddex: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="SalesReport" type="dsrm:SalesReportToRecordCompany" minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of SalesTransactions by a distribution partner reported to a record company.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="TotalSalesByReleaseType" type="dsrm: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 SalesTransaction records contained in the SalesReportToRecordCompanyMessage. SalesTransaction records 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:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                <xs:annotation>
                    <xs:documentation>The Language and script for the Elements of the SalesReportToRecordCompanyMessage as defined in IETF RfC 4646. 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:element>
    <xs:element name="SalesReportToSocietyMessage">
        <xs:annotation>
            <xs:documentation>A sales reporting Message in the DSR DdexMessageSuite, Main Profile, sent to a MusicalWork Licensor.</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="ddexC: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="ddex: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. Either this Element or at least one of ContainedMusicalWorkList, ContainedResourceList and ContainedReleaseList is required. Typically a SalesReportToSocietyMessage only contains either this Element or a set of ContainedMusicalWorkList, ContainedResourceList and ContainedReleaseList are used.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ContainedWorkList" type="ddexC:WorkList" 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. If this Element is used, the ContainedReleaseSummary Element shall not be used.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ContainedCueSheetList" type="dsrm:CueSheetList" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of one or more CueSheets contained in Releases for which sales data is provided in the SalesReportToSocietyMessage. If this Element is used, the ContainedReleaseSummary Element shall not be used.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ContainedResourceList" type="dsrm: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. If this Element is used, the ContainedReleaseSummary Element shall not be used.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ContainedCollectionList" type="dsrm:CollectionListToSociety" minOccurs="0">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of one or more Collections contained in Releases for which sales data is provided in the SalesReportToSocietyMessage. If this Element is used, the ContainedReleaseSummary Element shall not be used.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="ContainedReleaseList" type="dsrm: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. If this Element is used, the ContainedReleaseSummary Element shall not be used.</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="SalesReport" type="dsrm:SalesReportToSociety" minOccurs="0" maxOccurs="unbounded">
                    <xs:annotation>
                        <xs:documentation>A Composite containing details of SalesTransactions by a DSP reported to a MusicalWork 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 SalesTransaction records contained in the SalesReportToSocietyMessage. SalesTransaction records 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:attribute name="LanguageAndScriptCode" type="xs:string" use="optional">
                <xs:annotation>
                    <xs:documentation>The Language and script for the Elements of the SalesReportToSocietyMessage as defined in IETF RfC 4646. 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:element>
</xs:schema>
