-
Notifications
You must be signed in to change notification settings - Fork 15
/
scte_35_20220816.xsd
593 lines (592 loc) · 23.6 KB
/
scte_35_20220816.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
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is the normative schema for SCTE 35. The schema references specific sections in SCTE 35. -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.scte.org/schemas/35"
targetNamespace="http://www.scte.org/schemas/35" elementFormDefault="qualified"
version="20220816" attributeFormDefault="unqualified">
<xsd:complexType name="SpliceInfoSectionType">
<xsd:annotation>
<xsd:documentation>See Section 9.6 - Splice Info Section</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
<xsd:element name="EncryptedPacket" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="encryptionAlgorithm" type="xsd:unsignedByte" use="required"/>
<xsd:attribute name="cwIndex" type="xsd:unsignedByte" use="required"/>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
</xsd:element>
<xsd:choice>
<xsd:annotation>
<xsd:documentation>See Column XML Element in Table 7 - splice_command_type
Values. </xsd:documentation>
</xsd:annotation>
<xsd:element ref="SpliceNull"/>
<xsd:element ref="SpliceSchedule"/>
<xsd:element ref="SpliceInsert"/>
<xsd:element ref="TimeSignal"/>
<xsd:element ref="BandwidthReservation"/>
<xsd:element ref="PrivateCommand"/>
</xsd:choice>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>See Section 10 - Splice Descriptors AND Column XML Element in
Table 16 Splice Descriptor Tags </xsd:documentation>
</xsd:annotation>
<xsd:element ref="AvailDescriptor"/>
<xsd:element ref="DTMFDescriptor"/>
<xsd:element ref="SegmentationDescriptor"/>
<xsd:element ref="TimeDescriptor"/>
<xsd:element ref="AudioDescriptor"/>
<xsd:element ref="PrivateDescriptor"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="sapType" default="3">
<xsd:simpleType>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxInclusive value="3"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="preRollMilliSeconds" type="xsd:unsignedInt" default="0">
<xsd:annotation>
<xsd:documentation>
This attribute does NOT correspond to any field in the binary SCTE 35 SpliceInfoSection</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ptsAdjustment" type="PTSType" default="0"/>
<xsd:attribute name="protocolVersion" type="xsd:unsignedByte" fixed="0"/>
<xsd:attribute name="tier">
<xsd:simpleType>
<xsd:restriction base="xsd:unsignedShort">
<xsd:maxExclusive value="4096"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
<xsd:element name="SpliceInfoSection" type="SpliceInfoSectionType"/>
<xsd:complexType name="BinaryType">
<xsd:simpleContent>
<xsd:extension base="xsd:base64Binary">
<xsd:attribute name="signalType" default="SpliceInfoSection">
<xsd:annotation>
<xsd:documentation>When present, this value will typically specify that the
binary content represents a 'SpliceInfoSetion'. However, the binary
structure may be used to represent some other content and may do so by
providing a different type prefixed with 'other:'</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:token">
<xsd:pattern value="SpliceInfoSection|private:.+"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name="Binary" type="BinaryType">
<xsd:annotation>
<xsd:documentation>A binary representation of the in-band SpliceInfoSection or other
content as specified by the type attribute.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:group name="Signal">
<xsd:annotation>
<xsd:documentation>This group may be referenced in place of a SpliceInfoSection element
to allow for the option of a binary representation in XML.</xsd:documentation>
</xsd:annotation>
<xsd:choice>
<xsd:element ref="SpliceInfoSection"/>
<xsd:element ref="Binary"/>
</xsd:choice>
</xsd:group>
<!--Common Types-->
<!--Extensibility element-->
<xsd:element name="Ext">
<xsd:annotation>
<xsd:documentation>See Section 13.1 - Ext Element</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"
/>
</xsd:sequence>
<xsd:anyAttribute namespace="##any" processContents="lax"/>
</xsd:complexType>
</xsd:element>
<!-- PTSType Type -->
<xsd:simpleType name="PTSType">
<xsd:annotation>
<xsd:documentation>See Section 13.2 - PTSType </xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedLong">
<xsd:maxExclusive value="8589934592"/>
</xsd:restriction>
</xsd:simpleType>
<!--Splice Commands-->
<xsd:complexType name="SpliceCommandType">
<xsd:annotation>
<xsd:documentation>See Section 9.7 - Splice Commands</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
</xsd:sequence>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
<!-- Splice Null -->
<xsd:complexType name="SpliceNullType">
<xsd:annotation>
<xsd:documentation>See Section 9.7.1 - splice_null()</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceCommandType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="SpliceNull" type="SpliceNullType"/>
<!-- Splice Schedule -->
<xsd:complexType name="SpliceScheduleType">
<xsd:annotation>
<xsd:documentation>See Section 9.7.2 - splice_schedule()</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceCommandType">
<xsd:sequence>
<xsd:element name="Event" minOccurs="0" maxOccurs="255">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
<xsd:choice>
<xsd:element name="Program">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="utcSpliceTime" type="xsd:dateTime"
use="required"/>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="Component" maxOccurs="255">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="componentTag"
type="xsd:unsignedByte" use="required"/>
<xsd:attribute name="utcSpliceTime" type="xsd:dateTime"
use="required"/>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
<xsd:element ref="BreakDuration" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="spliceEventId" type="xsd:unsignedInt"/>
<xsd:attribute name="spliceEventCancelIndicator" type="xsd:boolean"
default="0"/>
<xsd:attribute name="outOfNetworkIndicator" type="xsd:boolean"/>
<xsd:attribute name="uniqueProgramId" type="xsd:unsignedShort"/>
<xsd:attribute name="availNum" type="xsd:unsignedByte"/>
<xsd:attribute name="availsExpected" type="xsd:unsignedByte"/>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="SpliceSchedule" type="SpliceScheduleType"/>
<!-- Splice Insert -->
<xsd:complexType name="SpliceInsertType">
<xsd:annotation>
<xsd:documentation>See Section 9.7.3 - splice_insert().</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceCommandType">
<xsd:sequence>
<xsd:choice>
<xsd:element name="Program">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
<xsd:element ref="SpliceTime" minOccurs="0"/>
</xsd:sequence>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="Component" maxOccurs="255">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
<xsd:element ref="SpliceTime" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="componentTag" type="xsd:unsignedByte"
use="required"/>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
<xsd:element ref="BreakDuration" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="spliceEventId" type="xsd:unsignedInt"/>
<xsd:attribute name="spliceEventCancelIndicator" type="xsd:boolean" default="0"/>
<xsd:attribute name="outOfNetworkIndicator" type="xsd:boolean"/>
<xsd:attribute name="spliceImmediateFlag" type="xsd:boolean"/>
<xsd:attribute name="uniqueProgramId" type="xsd:unsignedShort"/>
<xsd:attribute name="availNum" type="xsd:unsignedByte"/>
<xsd:attribute name="availsExpected" type="xsd:unsignedByte"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="SpliceInsert" type="SpliceInsertType"/>
<!-- Time Signal -->
<xsd:complexType name="TimeSignalType">
<xsd:annotation>
<xsd:documentation>See Section 9.7.4 - time_signal()</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceCommandType">
<xsd:sequence>
<xsd:element ref="SpliceTime"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="TimeSignal" type="TimeSignalType"/>
<!-- Bandwidth Reservation -->
<xsd:complexType name="BandwidthReservationType">
<xsd:annotation>
<xsd:documentation>See Section 9.7.5 - bandwidth_reservation()</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceCommandType"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="BandwidthReservation" type="BandwidthReservationType"/>
<!-- Private -->
<xsd:complexType name="PrivateCommandType">
<xsd:annotation>
<xsd:documentation>See Section 9.7.6 - private_command()</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceCommandType">
<xsd:sequence>
<xsd:element name="PrivateBytes" type="xsd:hexBinary" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="identifier" type="xsd:unsignedInt" use="required"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="PrivateCommand" type="PrivateCommandType"/>
<!-- Time Values - See Section 9.8 - Time-->
<!-- Splice Time -->
<xsd:complexType name="SpliceTimeType">
<xsd:annotation>
<xsd:documentation>See Section 9.8.1 - splice_time()</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="ptsTime" type="PTSType"/>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
<xsd:element name="SpliceTime" type="SpliceTimeType"/>
<!-- Break Duration -->
<xsd:complexType name="BreakDurationType">
<xsd:annotation>
<xsd:documentation>See Section 9.8.2 - break_duration()</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="autoReturn" type="xsd:boolean" use="required"/>
<xsd:attribute name="duration" type="PTSType" use="required"/>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
<xsd:element name="BreakDuration" type="BreakDurationType"/>
<!--Splice Descriptors - See Section 10 - Splice Descriptors -->
<!-- Table 16 - Splice Descriptor Tags - See column XML Element -->
<xsd:complexType name="SpliceDescriptorType" abstract="true">
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
</xsd:sequence>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
<!-- Avail Descriptor -->
<xsd:complexType name="AvailDescriptorType">
<xsd:annotation>
<xsd:documentation>See Section 10.3.1 - avail_descriptor() </xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceDescriptorType">
<xsd:attribute name="providerAvailId" type="xsd:unsignedInt" use="required"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="AvailDescriptor" type="AvailDescriptorType"/>
<!-- DTMF Descriptor -->
<xsd:complexType name="DTMFDescriptorType">
<xsd:annotation>
<xsd:documentation>See Section 10.3.2 - DTMF_descriptor() </xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceDescriptorType">
<xsd:attribute name="preroll" type="xsd:unsignedByte"/>
<xsd:attribute name="chars">
<xsd:simpleType>
<xsd:restriction base="xsd:token">
<xsd:whiteSpace value="collapse"/>
<xsd:pattern value="[0-9#\*]+"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="DTMFDescriptor" type="DTMFDescriptorType"/>
<!-- Segmentation Descriptor -->
<xsd:complexType name="SegmentationDescriptorType">
<xsd:annotation>
<xsd:documentation>See Section 10.3.3 - segmentation_descriptor() </xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceDescriptorType">
<xsd:sequence>
<xsd:element name="DeliveryRestrictions" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="webDeliveryAllowedFlag" type="xsd:boolean"
use="required"/>
<xsd:attribute name="noRegionalBlackoutFlag" type="xsd:boolean"
use="required"/>
<xsd:attribute name="archiveAllowedFlag" type="xsd:boolean"
use="required"/>
<xsd:attribute name="deviceRestrictions" use="required">
<xsd:annotation>
<xsd:documentation>See Table 21 - device_restrictions
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:unsignedByte">
<xsd:maxInclusive value="3"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
</xsd:element>
<xsd:element ref="SegmentationUpid" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Component" minOccurs="0" maxOccurs="255">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Ext" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="componentTag" type="xsd:unsignedByte"
use="required"/>
<xsd:attribute name="ptsOffset" type="PTSType" use="required"/>
<xsd:anyAttribute namespace="##any"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="segmentationEventId" type="xsd:unsignedInt"/>
<xsd:attribute name="segmentationEventCancelIndicator" type="xsd:boolean"
default="0"/>
<xsd:attribute name="segmentationDuration">
<xsd:simpleType>
<xsd:restriction base="xsd:unsignedLong">
<xsd:maxExclusive value="1099511627776"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="segmentationTypeId" type="xsd:unsignedByte">
<xsd:annotation>
<xsd:documentation>See Table 23 - segmentation_type_id </xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="segmentNum" type="xsd:unsignedByte"/>
<xsd:attribute name="segmentsExpected" type="xsd:unsignedByte"/>
<xsd:attribute name="subSegmentNum" type="xsd:unsignedByte"/>
<xsd:attribute name="subSegmentsExpected" type="xsd:unsignedByte"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="SegmentationDescriptor" type="SegmentationDescriptorType"/>
<!-- Segmentation Upid Type -->
<xsd:complexType name="SegmentationUpidType">
<xsd:annotation>
<xsd:documentation>See Section 10.3.3.1 - segmentation_upid()</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:token">
<xsd:attribute name="segmentationUpidType" type="xsd:unsignedByte">
<xsd:annotation>
<xsd:documentation>See Table 22 - segmentation_upid_type</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="formatIdentifier" type="xsd:unsignedInt">
<xsd:annotation>
<xsd:documentation>See Section 10.3.3.3 for description of format_identifier in an MPU.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="segmentationUpidFormat">
<xsd:annotation>
<xsd:documentation>The format of the Upid value. Valid values are: text, hexbinary, base-64 or private: </xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:pattern value="text|hexbinary|base-64|private:.+"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:anyAttribute namespace="##any"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:element name="SegmentationUpid" type="SegmentationUpidType"/>
<xsd:complexType name="TimeDescriptorType">
<xsd:annotation>
<xsd:documentation>See Section 10.3.4 - time_descriptor()</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceDescriptorType">
<xsd:attribute name="taiSeconds">
<xsd:annotation>
<xsd:documentation>Restricted to 48 bit unsigned</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:unsignedLong">
<xsd:maxInclusive value="281474976710656"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="taiNs" type="xsd:unsignedInt"/>
<xsd:attribute name="utcOffset" type="xsd:unsignedShort"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="TimeDescriptor" type="TimeDescriptorType"/>
<xsd:element name="AudioChannel" type="AudioChannelType"/>
<xsd:element name="AudioDescriptor">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="AudioDescriptorType">
<xsd:sequence maxOccurs="15">
<xsd:element ref="AudioChannel"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="AudioDescriptorType">
<xsd:annotation>
<xsd:documentation>See Section 10.3.5 - audio_descriptor() </xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceDescriptorType"> </xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AudioChannelType">
<xsd:annotation>
<xsd:documentation>See Section 10.3.5 - audio_descriptor() </xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceDescriptorType">
<xsd:attribute name="ISOCode" type="xsd:language" use="required"/>
<xsd:attribute name="BitStreamMode" use="required">
<xsd:annotation>
<xsd:documentation>bsmod acmod Type of Service
‘000’ any main audio service: complete main (CM)
‘001’ any main audio service: music and effects (ME)
‘010’ any associated service: visually impaired (VI)
‘011’ any associated service: hearing impaired (HI)
‘100’ any associated service: dialogue (D)
‘101’ any associated service: commentary (C)
‘110’ any associated service: emergency (E)
‘111’ ‘001’ associated service: voice over (VO)
‘111’ ‘010’-‘111’ main audio service: karaoke</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:unsignedByte">
<xsd:maxInclusive value="7"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="NumChannels" use="required">
<xsd:annotation>
<xsd:documentation>This is a 4-bit field that indicates the number of channels in the AC-3 elementary stream. When the MSB is 0, the lower 3 bits are set to the same value as the acmod field in the AC-3 elementary stream. When the MSB field is 1, the lower 3 bits indicate the maximum number of encoded audio channels (counting the lfe channel as 1).
num_channels Audio coding mode (acmod)
‘0000’ 1 + 1
‘0001’ 1/0
‘0010’ 2/0
‘0011’ 3/0
‘0100’ 2/1
‘0101’ 3/1
‘0110’ 2/2
‘0111’ 3/2
num_channels Number of encoded channels
‘1000’ 1
‘1001’ ≤ 2
‘1010’ ≤ 3
‘1011’ ≤ 4
‘1100’ ≤ 5
‘1101’ ≤ 6
‘1110’ Reserved
‘1111’ Reserved</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:unsignedByte">
<xsd:maxInclusive value="15"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="FullSrvcAudio" use="required">
<xsd:annotation>
<xsd:documentation>This is a 1-bit field that indicates whether or not this audio service is a full service suitable for presentation, or whether this audio service is only a partial service which should be
combined with another audio service before presentation. This bit should be set to a ‘1’ if this audio service is sufficiently complete to be presented to the listener without being combined with another audio service (for example, a visually impaired service which contains all elements of the program; music, effects, dialogue, and the visual content descriptive narrative). This bit should be set to a ‘0’ if the service is not sufficiently complete to be presented without
being combined with another audio service (e.g., a visually impaired service which only contains a narrative description of the visual program content and which needs to be combined with another audio service which contains music, effects, and dialogue).</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:unsignedByte">
<xsd:maxInclusive value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="componentTag" type="xsd:unsignedByte">
<xsd:annotation>
<xsd:documentation>An optional 8-bit value that identifies the elementary PID stream containing the audio channel that follows. If used the value shall be the same as the value used in the stream_identification_descriptor() to identify that elementary PID stream. If this is not used the value shall be 0xFF and the stream order shall be inferred from the PMT audio order.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<!-- Private Descriptor -->
<xsd:complexType name="PrivateDescriptorType">
<xsd:annotation>
<xsd:documentation>See Section 10.3.x - private descriptor </xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="SpliceDescriptorType">
<xsd:sequence>
<xsd:element name="PrivateBytes" type="xsd:hexBinary" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="descriptorTag" type="xsd:unsignedByte" use="required">
<xsd:annotation>
<xsd:documentation>The descriptor tags are defined by the owner of the descriptor, as registered using the identifier.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="identifier" type="xsd:unsignedInt" use="required">
<xsd:annotation>
<xsd:documentation>Only identifier values registered and recognized by SMPTE Registration Authority, LLC should be used.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="PrivateDescriptor" type="PrivateDescriptorType"/>
</xsd:schema>