Skip to content

Commit

Permalink
move xsd files to correct folder issue #36
Browse files Browse the repository at this point in the history
  • Loading branch information
criadoperez committed Jul 19, 2024
1 parent faee82a commit 53ab741
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 0 deletions.
101 changes: 101 additions & 0 deletions xsd/MWN.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<!-- ddex_mwn.xsd -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="MusicalWorkNotificationMessage">
<xs:complexType>
<xs:sequence>
<xs:element name="MessageHeader">
<xs:complexType>
<xs:sequence>
<xs:element name="MessageID" type="xs:string"/>
<xs:element name="MessageCreatedDateTime" type="xs:dateTime"/>
<xs:element name="Sender">
<xs:complexType>
<xs:sequence>
<xs:element name="PartyName" type="xs:string"/>
<xs:element name="PartyID" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Recipient">
<xs:complexType>
<xs:sequence>
<xs:element name="PartyName" type="xs:string"/>
<xs:element name="PartyID" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="MusicalWork">
<xs:complexType>
<xs:sequence>
<xs:element name="MusicalWorkID">
<xs:complexType>
<xs:sequence>
<xs:element name="ISWC" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Title" type="xs:string"/>
<xs:element name="AlternateTitles" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Title" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Composer">
<xs:complexType>
<xs:sequence>
<xs:element name="ComposerName" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="WorkType" type="xs:string"/>
<xs:element name="RightShare">
<xs:complexType>
<xs:sequence>
<xs:element name="RightShareProprietaryId" type="xs:string"/>
<xs:element name="RightController">
<xs:complexType>
<xs:sequence>
<xs:element name="PartyID" type="xs:string"/>
<xs:element name="PartyName" type="xs:string"/>
<xs:element name="RightControllerName" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RightType" type="xs:string" maxOccurs="unbounded"/>
<xs:element name="Territory" type="xs:string"/>
<xs:element name="SharePercentage" type="xs:decimal"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="LinkedResources">
<xs:complexType>
<xs:sequence>
<xs:element name="LinkedResource">
<xs:complexType>
<xs:sequence>
<xs:element name="ResourceType" type="xs:string"/>
<xs:element name="ResourceID">
<xs:complexType>
<xs:sequence>
<xs:element name="ISRC" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
14 changes: 14 additions & 0 deletions xsd/deals01.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:custom="http://original.works/xml/deals01"
targetNamespace="http://original.works/xml/deals01"
elementFormDefault="qualified">

<xs:element name="UserDefinedValue" type="custom:UserDefinedValueType"/>
<xs:complexType>
<xs:sequence>
<xs:element name="Namespace" type="xs:anyURI"/>
<xs:element name="Private_deal_CID" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

0 comments on commit 53ab741

Please sign in to comment.