-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdvbi_types_v1.0.xsd
182 lines (182 loc) · 7.15 KB
/
dvbi_types_v1.0.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
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:dvbi-types="urn:dvb:metadata:servicediscovery-types:2023" xmlns:mpeg7="urn:tva:mpeg7:2008" xmlns:tva="urn:tva:metadata:2024" targetNamespace="urn:dvb:metadata:servicediscovery-types:2023" elementFormDefault="qualified" attributeFormDefault="unqualified">
<import namespace="urn:tva:metadata:2024" schemaLocation="./tva_metadata_3-1_2024.xsd"/>
<import namespace="urn:tva:mpeg7:2008" schemaLocation="./tva_mpeg7.xsd"/>
<import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="./xml.xsd"/>
<complexType name="ExtensionBaseType" abstract="true">
<attribute name="extensionName" use="required">
<simpleType>
<restriction base="string">
<pattern value="[A-Za-z0-9][A-Za-z0-9:\-/\.]*[A-Za-z0-9]"/>
</restriction>
</simpleType>
</attribute>
</complexType>
<simpleType name="ServiceIdentifierType">
<restriction base="anyURI"/>
</simpleType>
<simpleType name="LatitudeType">
<restriction base="double">
<minInclusive value="-90.0"/>
<maxInclusive value="90.0"/>
</restriction>
</simpleType>
<simpleType name="LongitudeType">
<restriction base="double">
<minInclusive value="-180.0"/>
<maxInclusive value="180.0"/>
</restriction>
</simpleType>
<simpleType name="RadiusType">
<restriction base="positiveInteger"/>
</simpleType>
<simpleType name="NetworkIdType">
<restriction base="unsignedShort"/>
</simpleType>
<complexType name="ServiceListOfferingType">
<sequence>
<element name="ServiceListName" type="mpeg7:TextualType" maxOccurs="unbounded"/>
<element name="ServiceListURI" type="dvbi-types:ExtendedURIType" maxOccurs="unbounded"/>
<element name="Delivery" type="dvbi-types:DeliveryType"/>
<element name="Language" type="tva:AudioLanguageType" minOccurs="0" maxOccurs="unbounded"/>
<element name="Genre" type="tva:GenreType" minOccurs="0" maxOccurs="unbounded"/>
<element name="TargetCountry" type="tva:ISO-3166-List" minOccurs="0" maxOccurs="unbounded"/>
<element name="RelatedMaterial" type="tva:RelatedMaterialType" minOccurs="0" maxOccurs="unbounded"/>
<element name="SRSSupport" minOccurs="0">
<complexType>
<attribute name="postcode" type="boolean" default="false"/>
<attribute name="regionId" type="boolean" default="false"/>
<attribute name="receivedMultiplex" type="boolean" default="false"/>
</complexType>
</element>
<element name="ServiceListId" type="dvbi-types:ServiceIdentifierType"/>
</sequence>
<attribute name="regulatorListFlag" type="boolean" default="false"/>
<attribute ref="xml:lang"/>
</complexType>
<complexType name="DeliveryType">
<sequence>
<element name="DASHDelivery" type="dvbi-types:NoAdditionalIPParametersType" minOccurs="0"/>
<element name="DVBTDelivery" type="dvbi-types:DVBTDeliveryType" minOccurs="0" maxOccurs="unbounded"/>
<element name="DVBCDelivery" type="dvbi-types:DVBCDeliveryType" minOccurs="0" maxOccurs="unbounded"/>
<element name="DVBSDelivery" type="dvbi-types:DVBSDeliveryType" minOccurs="0" maxOccurs="unbounded"/>
<element name="RTSPDelivery" type="dvbi-types:NoAdditionalIPParametersType" minOccurs="0"/>
<element name="MulticastTSDelivery" type="dvbi-types:NoAdditionalIPParametersType" minOccurs="0"/>
<element name="ApplicationDelivery" type="dvbi-types:ApplicationTypeListType" minOccurs="0"/>
<element name="OtherDeliveryParameters" type="dvbi-types:ExtensionBaseType" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
<complexType name="AbstractDeliveryType" abstract="true">
<attribute name="required" type="boolean" default="false"/>
</complexType>
<complexType name="AbstractIPDeliveryType" abstract="true">
<complexContent>
<extension base="dvbi-types:AbstractDeliveryType">
<attribute name="minimumBitRate" type="unsignedInt"/>
</extension>
</complexContent>
</complexType>
<complexType name="NoAdditionalIPParametersType">
<complexContent>
<extension base="dvbi-types:AbstractIPDeliveryType"/>
<!-- no additional elements or attributes -->
</complexContent>
</complexType>
<complexType name="DVBTDeliveryType">
<complexContent>
<extension base="dvbi-types:AbstractDeliveryType">
<attribute name="originalNetworkID" type="dvbi-types:NetworkIdType" use="optional"/>
</extension>
</complexContent>
</complexType>
<complexType name="DVBCDeliveryType">
<complexContent>
<extension base="dvbi-types:AbstractDeliveryType">
<attribute name="networkID" type="dvbi-types:NetworkIdType" use="required"/>
</extension>
</complexContent>
</complexType>
<complexType name="DVBSDeliveryType">
<complexContent>
<extension base="dvbi-types:AbstractDeliveryType">
<sequence>
<element name="OrbitalPosition" type="dvbi-types:LongitudeType" maxOccurs="unbounded"/>
</sequence>
<attribute name="originalNetworkID" type="dvbi-types:NetworkIdType" use="optional">
<annotation>
<documentation>The use of this attribute is deprecated.</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<complexType name="ApplicationTypeListType">
<complexContent>
<extension base="dvbi-types:AbstractDeliveryType">
<sequence>
<element name="ApplicationType" type="dvbi-types:ApplicationType" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="ApplicationType">
<attribute name="contentType" type="mpeg7:mimeType" use="required"/>
<attribute name="xmlAitApplicationType" type="mpeg7:mimeType"/>
</complexType>
<complexType name="ExtendedURIPathType">
<sequence>
<element name="URI">
<simpleType>
<restriction base="anyURI">
<pattern value=".+/"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="contentType" type="mpeg7:mimeType" use="required"/>
</complexType>
<!-- -->
<!-- data types adapted from SDnS v1.4 -->
<!-- -->
<complexType name="DVBTripletType">
<attribute name="origNetId" type="dvbi-types:OrigNetId" use="optional"/>
<attribute name="tsId" type="dvbi-types:TSId" use="optional"/>
<attribute name="serviceId" type="dvbi-types:ServiceId" use="required"/>
</complexType>
<!-- -->
<!-- items copied from SDnS v1.4 -->
<!-- -->
<simpleType name="OrigNetId">
<annotation>
<documentation xml:lang="en">
A unique identifier of a network. This is managed by DVB through ETSI
</documentation>
</annotation>
<restriction base="unsignedShort"/>
</simpleType>
<simpleType name="TSId">
<annotation>
<documentation xml:lang="en">
A number used to identify Transport Stream within an original_network.
</documentation>
</annotation>
<restriction base="unsignedShort"/>
</simpleType>
<simpleType name="ServiceId">
<annotation>
<documentation xml:lang="en">
A number used to identify a service within a Transport Stream.
</documentation>
</annotation>
<restriction base="unsignedShort"/>
</simpleType>
<!-- -->
<!-- items copied from OSDT v1.2.1 -->
<!-- -->
<complexType name="ExtendedURIType">
<sequence>
<element name="URI" type="anyURI"/>
</sequence>
<attribute name="contentType" type="mpeg7:mimeType" use="required"/>
</complexType>
</schema>