This repository has been archived by the owner on Sep 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathddex-ern-v36.xsd
8815 lines (8815 loc) · 534 KB
/
ddex-ern-v36.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ern="http://ddex.net/xml/ern/36"
xmlns:avs="http://ddex.net/xml/avs/avs"
targetNamespace="http://ddex.net/xml/ern/36"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<xs:import namespace="http://ddex.net/xml/avs/avs"
schemaLocation="avs.xsd"/>
<xs:annotation>
<xs:documentation>© 2006-2013 Digital Data Exchange, LLC (DDEX)</xs:documentation>
</xs:annotation>
<xs:element name="NewReleaseMessage">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Message in the Release Notification Message Suite Standard, containing details of a new Release.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="MessageHeader" type="ern:MessageHeader">
<xs:annotation>
<xs:documentation source="ddex:Definition">The MessageHeader for the NewReleaseMessage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UpdateIndicator" minOccurs="0" type="avs:UpdateIndicator">
<xs:annotation>
<xs:documentation source="ddex:Definition">The indicator which distinguishes whether the Message contains original data or updates to previously sent data. This element is deprecated. DDEX advises that it may be removed at a future date and therefore recommends against using it.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IsBackfill" minOccurs="0" type="xs:boolean">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Flag indicating whether the NewReleaseMessage is sent as part of a backfill activity (as opposed to providing ongoing deliveries of frontline Releases) (=True) or not (=False). When this element is not present, then no information on whether it is part of a backfill activity or not is provided.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CatalogTransfer" minOccurs="0" type="ern:CatalogTransfer">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Price change.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WorkList" minOccurs="0" type="ern:WorkList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of one or more MusicalWorks, a Performance of which is contained in the Resources of the NewReleaseMessage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CueSheetList" minOccurs="0" type="ern:CueSheetList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of one or more CueSheets contained in Releases for which data is provided in the NewReleaseMessage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResourceList" type="ern:ResourceList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of one or more Resources.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CollectionList" minOccurs="0" type="ern:CollectionList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of one or more Collections contained in Releases for which data is provided in the NewReleaseMessage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ReleaseList" type="ern:ReleaseList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of one or more DDEX Releases contained in the NewReleaseMessage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DealList" minOccurs="0" type="ern:DealList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of one or more Deals governing the Usage of the Releases in the Message.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="MessageSchemaVersionId" type="xs:string" use="required">
<xs:annotation>
<xs:documentation source="ddex:Definition">The 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="BusinessProfileVersionId" type="xs:string">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Identifier of the Version of the business profile used for the Message. This is represented in an XML schema as an XML Attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ReleaseProfileVersionId" type="xs:string">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Identifier of the Version of the release profile 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">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Language and script for the Elements of the NewReleaseMessage 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="CatalogListMessage">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Message in the Release Notification Message Suite Standard, containing a list of Releases that form part of a catalog.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="MessageHeader" type="ern:MessageHeader">
<xs:annotation>
<xs:documentation source="ddex:Definition">The MessageHeader for the CatalogListMessage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PublicationDate" type="xs:dateTime">
<xs:annotation>
<xs:documentation source="ddex:Definition">The DateTime at which the catalog will become available (the only allowed format is ISO 8601:2004: YYYY-MM-DDThh:mm:ssTZD).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CatalogItem" maxOccurs="unbounded" type="ern:CatalogItem">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Release which is an item of the catalog.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="MessageSchemaVersionId" type="xs:string" use="required">
<xs:annotation>
<xs:documentation source="ddex:Definition">The 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="BusinessProfileVersionId" type="xs:string">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Identifier of the Version of the business profile used for the Message. This is represented in an XML schema as an XML Attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ReleaseProfileVersionId" type="xs:string">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Identifier of the Version of the release profile 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">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Language and script for the Elements of the CatalogListMessage 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:complexType name="CatalogItem">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Release which is an item of a catalog.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TerritoryCode" maxOccurs="unbounded" type="avs:TerritoryCode">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Territory for the Release (represented by an ISO 3166-1 TerritoryCode).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ReleaseId" maxOccurs="unbounded" type="ern:ReleaseId">
<xs:annotation>
<xs:documentation source="ddex:Definition">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:element name="Title" type="ern:Title">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Title of the Release.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DisplayArtistName" type="ern:Name">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing the Name to be used by a DSP when presenting Artist details of the Release to a Consumer.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ContributorName" maxOccurs="unbounded" type="ern:Name">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Contributor to the catalog, i.e. to at least one of the included Releases.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DisplayTitle" type="ern:ReferenceTitle">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a DisplayTitle of the Release.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LabelName" maxOccurs="unbounded" type="ern:LabelName">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing the Name of the Label for the Release.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Genre"
minOccurs="0"
maxOccurs="unbounded"
type="ern:Genre">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Genre to which the Release belongs.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PLine"
minOccurs="0"
maxOccurs="unbounded"
type="ern:PLine">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the PLine for the Release.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CLine"
minOccurs="0"
maxOccurs="unbounded"
type="ern:CLine">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the CLine for the Release.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ReleaseDate" type="ern:EventDate">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the Date and Place of the Event in which the Release was or will be first made available for Usage, whether for physical or electronic/online distribution (in ISO 8601:2004 format: YYYY-MM-DD).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CatalogReleaseReferenceList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a list of CatalogReleaseReferences.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CatalogReleaseReference" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Reference for a Release (specific to this Message) that is part of the catalog. This is a LocalReleaseAnchorReference starting with the letter R.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:IDREF">
<xs:pattern value="R[\d\-_a-zA-Z]+"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CatalogTransfer">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a CatalogTransfer.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CatalogTransferCompleted" type="xs:boolean">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Flag indicating whether the CatalogTransfer has been made (=True) or still needs to be made (=False).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EffectiveTransferDate" minOccurs="0" type="ern:EventDate">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the Date and Place of the Event in which the catalog is or was transferred.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CatalogReleaseReferenceList"
type="ern:CatalogReleaseReferenceList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of one or more Releases contained in the catalog that is or was transferred.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="TerritoryCode" maxOccurs="unbounded" type="avs:TerritoryCode">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Territory to which the CatalogTransfer applies (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory must be present, but not both. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExcludedTerritoryCode"
maxOccurs="unbounded"
type="avs:TerritoryCode">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Territory to which the CatalogTransfer does not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory must be present, but not both.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="TransferringFrom" type="ern:PartyDescriptor">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the old RightsController.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TransferringTo" type="ern:PartyDescriptor">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the new RightsController.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Character">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Character. A Character may be described through Name, Identifier and Roles.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element name="PartyId" maxOccurs="unbounded" type="ern:PartyId">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the PartyId for the Party. If no Namespace is given, the Identifier is a DdexPartyId (DPID). Note that DPIDs are not normally used to identify Artists, Producers or other Creators.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence>
<xs:element name="PartyName" maxOccurs="unbounded" type="ern:PartyName">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the PartyName(s).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PartyId"
minOccurs="0"
maxOccurs="unbounded"
type="ern:PartyId">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the PartyId for the Party. If no Namespace is given, the Identifier is a DdexPartyId (DPID). Note that DPIDs are not normally used to identify Artists, Producers or other Creators.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
<xs:element name="ResourceContributor"
minOccurs="0"
type="ern:ResourceContributor">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the Name, Identifier and role(s) of a Contributor.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="SequenceNumber" type="xs:integer">
<xs:annotation>
<xs:documentation source="ddex:Definition">The number indicating the order of the Character in a group of Characters. This is represented in an XML schema as an XML Attribute. </xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Collection">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Collection. Collections referenced from Video Resources are of CollectionType VideoChapter . Collections referenced from a Release composite are of CollectionType Series, Season or Episode.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CollectionId" maxOccurs="unbounded" type="ern:CollectionId">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of an Identifier of the Collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CollectionType"
minOccurs="0"
maxOccurs="unbounded"
type="ern:CollectionType">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the Type of the Collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CollectionReference">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Identifier (specific to the Message) of the Collection within the Release which contains it. This is a LocalCollectionAnchor starting with the letter X.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:ID">
<xs:pattern value="X[\d\-_a-zA-Z]+"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Title"
minOccurs="0"
maxOccurs="unbounded"
type="ern:Title">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Title of the Collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Contributor"
minOccurs="0"
maxOccurs="unbounded"
type="ern:ResourceContributor">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details a Contributor to the Collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Character"
minOccurs="0"
maxOccurs="unbounded"
type="ern:Character">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Character in the Collection. A Character may be described through Name, Identifier and Roles.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CollectionCollectionReferenceList"
minOccurs="0"
type="ern:CollectionCollectionReferenceList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a list of CollectionCollectionReferences for a Collection (specific to this Message).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IsComplete" type="xs:boolean">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Flag indicating whether the Collection is complete (=True) or not (=False). Only one of the Elements IsComplete here and in the CollectionDetailsByTerritory is valid for a given Collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Duration" minOccurs="0" type="xs:duration">
<xs:annotation>
<xs:documentation source="ddex:Definition">The sum of the Durations of all Resources contained in the Collection (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DurationOfMusicalContent" minOccurs="0" type="xs:duration">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Duration of the musical content (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CreationDate" minOccurs="0" type="ern:EventDate">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the Date and Place of the Event in which the Collection was created.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OriginalReleaseDate" minOccurs="0" type="ern:EventDate">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the Date and Place of the Event in which the Collection was or will be first made available for Usage, whether for physical or electronic/online distribution (in ISO 8601:2004 format: YYYY-MM-DD).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OriginalLanguage" minOccurs="0" type="avs:IsoLanguageCode">
<xs:annotation>
<xs:documentation source="ddex:Definition">The orignal Language of the Collection (represented by an ISO 639-2 LanguageCode).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CollectionDetailsByTerritory"
minOccurs="0"
maxOccurs="unbounded"
type="ern:CollectionDetailsByTerritory">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of Descriptors and other attributes of the Collection which may vary according to Territory of release.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CollectionResourceReferenceList"
minOccurs="0"
type="ern:CollectionResourceReferenceList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a list of CollectionResourceReferences for a Resource (specific to this Message).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CollectionWorkReferenceList"
minOccurs="0"
type="ern:CollectionWorkReferenceList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a list of CollectionWorkReferences for a Work (specific to this Message).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RepresentativeImageReference" minOccurs="0">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Reference for an Image (specific to this Message). This is a LocalResourceAnchorReference starting with the letter A.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:IDREF">
<xs:pattern value="A[\d\-_a-zA-Z]+"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PLine"
minOccurs="0"
maxOccurs="unbounded"
type="ern:PLine">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the PLine for the Collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CLine"
minOccurs="0"
maxOccurs="unbounded"
type="ern:CLine">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the CLine for the Collection.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="LanguageAndScriptCode" type="xs:string">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Language and script for the Elements of the Collection as defined in IETF RfC 4646. The default is the same as indicated for the containing composite. Language and Script are provided as lang[-scipt][-region][-variant]. This is represented in an XML schema as an XML Attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="CollectionDetailsByTerritory">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of Descriptors and other attributes of a Collection which may vary according to Territory of release. </xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element name="TerritoryCode" maxOccurs="unbounded" type="avs:TerritoryCode">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Territory to which the Collection details apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory shall be present, but not both. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExcludedTerritoryCode"
maxOccurs="unbounded"
type="avs:TerritoryCode">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Territory to which the Collection details do not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory shall be present, but not both.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="Title"
minOccurs="0"
maxOccurs="unbounded"
type="ern:Title">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Title of the Collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Contributor"
minOccurs="0"
maxOccurs="unbounded"
type="ern:ResourceContributor">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Contributor to the Collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IsComplete" minOccurs="0" type="xs:boolean">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Flag indicating whether the Collection is complete (=True) or not (=False). Only one of the Elements IsComplete here and in the Collection is valid for a given Collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Character"
minOccurs="0"
maxOccurs="unbounded"
type="ern:Character">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Character in the Collection. A Character may be described through Name, Identifier and Roles.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CollectionList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of one or more Collections.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Collection" maxOccurs="unbounded" type="ern:Collection">
<xs:annotation>
<xs:documentation source="ddex:Definition">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">
<xs:annotation>
<xs:documentation source="ddex:Definition">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="CollectionResourceReference">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a CollectionResourceReference.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CollectionResourceReference">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Reference for a Resource (specific to this Message). This is a LocalResourceAnchorReference starting with the letter A.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:IDREF">
<xs:pattern value="A[\d\-_a-zA-Z]+"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Duration" minOccurs="0" type="xs:duration">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Duration of the use of the Resource that is referenced in the CollectionResourceReference (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CollectionResourceReferenceList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a list of CollectionResourceReferences.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CollectionResourceReference"
maxOccurs="unbounded"
type="ern:CollectionResourceReference">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a CollectionResourceReference for a Collection (specific to this Message).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CollectionWorkReference">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a CollectionWorkReference.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CollectionWorkReference">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Reference for a Work (specific to this Message). This is a LocalMusicalWorkAnchorReference starting with the letter W.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:IDREF">
<xs:pattern value="W[\d\-_a-zA-Z]+"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Duration" minOccurs="0" type="xs:duration">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Duration of the use of the Work that is referenced in the CollectionWorkReference (using the ISO 8601:2004 PT[[hhH]mmM]ssS format, where lower case characters indicate variables, upper case characters are part of the xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CollectionWorkReferenceList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a list of CollectionWorkReferences.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CollectionWorkReference"
maxOccurs="unbounded"
type="ern:CollectionWorkReference">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a CollectionWorkReference for a Collection (specific to this Message).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Condition">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a condition.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Value" type="xs:decimal">
<xs:annotation>
<xs:documentation source="ddex:Definition">The numeric value of the condition.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Unit" type="avs:UnitOfConditionValue">
<xs:annotation>
<xs:documentation source="ddex:Definition">A UnitOfMeasure for the condition value.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RelationalRelator" type="avs:RelationalRelator">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Relator expressing the accuracy of the condition value.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Cue">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Cue.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CueUseType" minOccurs="0" type="ern:CueUseType">
<xs:annotation>
<xs:documentation source="ddex:Definition">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" minOccurs="0" type="ern:CueThemeType">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a ThemeType for the Creation referenced in the Cue.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CueVocalType" minOccurs="0" type="ern:CueVocalType">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a VocalType for the Creation referenced in the Cue.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IsDance" minOccurs="0" type="xs:boolean">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Flag indicating whether a Creation contains dancing (=True) or not (=False).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CueVisualPerceptionType"
minOccurs="0"
type="ern:CueVisualPerceptionType">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a VisualPerceptionType for the Creation referenced in the Cue.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CueOrigin" minOccurs="0" type="ern:CueOrigin">
<xs:annotation>
<xs:documentation source="ddex:Definition">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"
maxOccurs="unbounded"
type="ern:CueCreationReference">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a CueCreationReference for a Creation (specific to this Message).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence>
<xs:element name="ReferencedCreationType" minOccurs="0" type="avs:CreationType">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Type of the Creation referenced in the Cue.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ReferencedCreationId" minOccurs="0" type="ern:CreationId">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a CreationIds.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ReferencedCreationTitle"
minOccurs="0"
maxOccurs="unbounded"
type="ern:Title">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Title of the Creation referenced in the Cue.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ReferencedCreationContributor"
minOccurs="0"
maxOccurs="unbounded"
type="ern:ResourceContributor">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details a Contributor of the Creation referenced in the Cue.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ReferencedCreationCharacter"
minOccurs="0"
maxOccurs="unbounded"
type="ern:Character">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Character in the Creation referenced in the Cue. A Character may be described through Name, Identifier and Roles.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
<xs:element name="HasMusicalContent" minOccurs="0" type="xs:boolean">
<xs:annotation>
<xs:documentation source="ddex:Definition">A 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" minOccurs="0" type="xs:duration">
<xs:annotation>
<xs:documentation source="ddex:Definition">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 xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Duration" minOccurs="0" type="xs:duration">
<xs:annotation>
<xs:documentation source="ddex:Definition">The 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 xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EndTime" minOccurs="0" type="xs:duration">
<xs:annotation>
<xs:documentation source="ddex:Definition">The end time of the 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 xs:string, e.g. one hour, two minutes and three seconds would be PT1H2M3S).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PLine"
minOccurs="0"
maxOccurs="unbounded"
type="ern:PLine">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the PLine for the Cue.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CLine"
minOccurs="0"
maxOccurs="unbounded"
type="ern:CLine">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the CLine for the Cue.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CueSheet">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a CueSheet.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CueSheetId"
minOccurs="0"
maxOccurs="unbounded"
type="ern:ProprietaryId">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a CueSheetId of the CueSheet.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CueSheetReference">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Identifier (specific to the Message) of the CueSheet within the Release which contains it. This is a LocalCueSheetAnchor starting with the letter Q.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:ID">
<xs:pattern value="Q[\d\-_a-zA-Z]+"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CueSheetType" type="ern:CueSheetType">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Type of the CueSheet.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Cue" maxOccurs="unbounded" type="ern:Cue">
<xs:annotation>
<xs:documentation source="ddex:Definition">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 source="ddex:Definition">A Composite containing details of one or more CueSheets.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CueSheet" maxOccurs="unbounded" type="ern:CueSheet">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a CueSheet contained in a Resource.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Deal">
<xs:annotation>
<xs:documentation source="ddex:Definition">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. When any new DealTerms are added or removed from an existing Deal (different UseTypes, Prices, Territories, DistributionChannels) then a new Deal is created, and (if appropriate) the ValidityPeriod of the existing Deal should be terminated. The only changes which should be made to the DealTerms of an existing Deal are corrections required because of an earlier error or omission, or the addition of an EndDate to the Deal's ValidityPeriod.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DealReference"
minOccurs="0"
maxOccurs="unbounded"
type="ern:DealReference">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a Reference to a TextDocument containing details of the Deal (in the form of an Identifier, Name or Description).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DealTerms" minOccurs="0" type="ern:DealTerms">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the terms of the Deal.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResourceUsage" minOccurs="0" type="ern:ResourceUsage">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of one or more Usages that govern a Resource in the Deal where the Usage of the Resource differs from the Usage of the other Resources in the same Release.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DealTechnicalResourceDetailsReferenceList"
minOccurs="0"
type="ern:DealTechnicalResourceDetailsReferenceList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a list of DealTechnicalResourceDetailsReferences for the Deal.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DistributionChannelPage"
minOccurs="0"
maxOccurs="unbounded"
type="ern:WebPage">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a WebPage for the DistributionChannel.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="LanguageAndScriptCode" type="xs:string">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Language and script for the Elements of the Deal 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="DealList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of one or more Deals.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ReleaseDeal"
minOccurs="0"
maxOccurs="unbounded"
type="ern:ReleaseDeal">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of one or more Deals pertaining to one or more Releases.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="LanguageAndScriptCode" type="xs:string">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Language and script for the Elements of the DealList 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="DealTechnicalResourceDetailsReferenceList">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing a list of DealTechnicalResourceDetailsReferences.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DealTechnicalResourceDetailsReference" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Reference for a Composite specifying technical details of a Resource (specific to this Message). This is a LocalTechnicalResourceDetailsAnchorReference starting with the letter T.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:IDREF">
<xs:pattern value="T[\d\-_a-zA-Z]+"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DealTerms">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the terms of a Deal.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CommercialModelType"
minOccurs="0"
maxOccurs="unbounded"
type="ern:CommercialModelType">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the fundamental business model which applies to the Deal (e.g. SubscriptionModel and PayAsYouGoModel). The CommercialModelType indicates how the Consumer pays for the Service or Release.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="Usage" maxOccurs="unbounded" type="ern:Usage">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing the Types and number of Usages applicable to a Release to which the Deal applies.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AllDealsCancelled" minOccurs="0" type="xs:boolean">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Flag indicating whether all Deals are cancelled for the given Territories (=True) or not (=False). This Flag can be used in conjunction with a StartDate of a ValidityPeriod to indicate the point in time from which all Deals are cancelled.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TakeDown" minOccurs="0" type="xs:boolean">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Flag indicating whether all Releases referred to are to be taken down by the MessageRecipient. This includes that all Deals referred to in a specific Composite are cancelled and no information about the Releases should be displayed to the end user on the DSP's website (=True) or not (=False). This Flag can be used in conjunction with a StartDate of a ValidityPeriod to indicate the point in time from which all Deals are cancelled.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice>
<xs:element name="TerritoryCode" maxOccurs="unbounded" type="avs:TerritoryCode">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Territory in which the Deal applies (represented by an ISO 3166-1 TerritoryCode). Either this Element or ExcludedTerritory must be present, but not both. </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExcludedTerritoryCode"
maxOccurs="unbounded"
type="avs:TerritoryCode">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Territory in which the Deal does not apply (represented by an ISO 3166-1 TerritoryCode). Either this Element or Territory must be present, but not both.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0">
<xs:element name="DistributionChannel" maxOccurs="unbounded" type="ern:DSP">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the DSP through whose DistributionChannel the sales are permitted. If none are provided no limitations on the DistributionChannels are given.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExcludedDistributionChannel"
maxOccurs="unbounded"
type="ern:DSP">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of excluded DSP. This is used in an aggregator model where all agreed partners of the aggregators may use a ReleaseDeal, except those that are listed herein.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="PriceInformation"
minOccurs="0"
maxOccurs="unbounded"
type="ern:PriceInformation">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Price. Note that this Price applies to all UseTypes referenced in this Composite.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element name="IsPromotional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="ddex:Definition">The 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="ern:PromotionalCode">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a PromotionalCode.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="ValidityPeriod" maxOccurs="unbounded" type="ern:Period">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details about a Period of Time during which the Deal is valid. No StartDate in this Composite means that the Deal is valid as per contractual relationship between MessageSender and MessageRecipient. No EndDate in this Composite means that the Deal is valid until further notice.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ConsumerRentalPeriod"
minOccurs="0"
type="ern:ConsumerRentalPeriod">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of a Period the DSP may rent something to a Customer.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PreOrderReleaseDate" minOccurs="0" type="ern:EventDate">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the Date and Place of the Event in which the related Release is made available for pre-ordering.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:sequence>
<xs:element name="ReleaseDisplayStartDate" type="xs:date">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Date on which the Release is made first available for display. If other Track list, cover art and clip preview dates are not provided, then this date covers them as well (assuming clips are available). If no ReleaseDisplayStartDate is provided, the StartDate for the Deal is used instead. The ReleaseDisplayStartDate may not be later than the StartDate for the Deal. If the MessageRecipient is not able to cater for such granular display policies, the MessageRecipient may be forced to not display any Release information until a much later date.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TrackListingPreviewStartDate" type="xs:date">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Date on which the Track list is made first available for display (it overrides the generic ReleaseDisplayStartDate if supplied). If no TrackListingPreviewStartDate is provided, the StartDate for the Deal is used instead. The TrackListingPreviewStartDate may not be later than the StartDate for the Deal.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CoverArtPreviewStartDate" type="xs:date">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Date on which the cover art is made first available for display (it overrides the generic ReleaseDisplayStartDate if supplied). If no CoverArtPreviewStartDate is provided, the StartDate for the Deal is used instead. The CoverArtPreviewStartDate may not be later than the StartDate for the Deal.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClipPreviewStartDate" type="xs:date">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Date on which an audio or video clip is made first available for display (it overrides the generic ReleaseDisplayStartDate if supplied). If no ClipPreviewStartDate is provided, the StartDate for the Deal is used instead. The ClipPreviewStartDate may not be later than the StartDate for the Deal.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:element name="PreOrderPreviewDate" type="ern:EventDate">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of the Date and Place of the Event in which the pre-ordered Release is made first available for previewing (it overrides the generic ReleaseDisplayStartDate if supplied). If no PreOrderPreviewDate is provided, the StartDate for the Deal is used instead. The PreOrderPreviewDate may not be later than the StartDate for the Deal. This element has been deprecated and may be deleted in a future version of this message.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="IsExclusive" minOccurs="0" type="xs:boolean">
<xs:annotation>
<xs:documentation source="ddex:Definition">The Flag indicating whether the Deal is exclusive (=True) or not (=False) to the MessageRecipient with respect to the relevant Territory(ies), Time(s) and Release(s). For other Territory(ies), or Time(s), other DSPs might be able to sell the Release(s). The exclusivity is in accordance with the agreement between the MessageSender and MessageRecipient.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RelatedReleaseOfferSet"
minOccurs="0"
maxOccurs="unbounded"
type="ern:RelatedReleaseOfferSet">
<xs:annotation>
<xs:documentation source="ddex:Definition">A Composite containing details of one or more offers related to the Release.</xs:documentation>