TS_103_280.xsd 9.58 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
canterburym's avatar
canterburym committed
2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://uri.etsi.org/03280/common/2017/07" targetNamespace="http://uri.etsi.org/03280/common/2017/07" version="2.6.1" elementFormDefault="qualified">
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
    <xs:simpleType name="ShortString">
        <xs:restriction base="xs:string">
            <xs:maxLength value="255"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="LongString">
        <xs:restriction base="xs:string">
            <xs:maxLength value="65535"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="LIID">
        <xs:restriction base="xs:normalizedString">
            <xs:pattern value="([!-~]{1,25})|([0-9a-f]{26,50})"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="UTCDateTime">
        <xs:restriction base="xs:dateTime">
            <xs:pattern value="[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="UTCMicrosecondDateTime">
        <xs:restriction base="xs:dateTime">
            <xs:pattern value="[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{6}Z"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="QualifiedDateTime">
        <xs:restriction base="xs:dateTime">
            <xs:pattern value="[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(Z|[+-][0-9]{2}:[0-9]{2})"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="QualifiedMicrosecondDateTime">
        <xs:restriction base="xs:dateTime">
            <xs:pattern value="[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{6}(Z|[+-][0-9]{2}:[0-9]{2})"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="InternationalE164">
        <xs:restriction base="xs:token">
            <xs:pattern value="[0-9]{1,15}"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="IMSI">
        <xs:restriction base="xs:token">
45
            <xs:pattern value="[0-9]{6,15}"/>
46
47
48
49
50
51
52
53
54
55
56
57
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="IMEI">
        <xs:restriction base="xs:token">
            <xs:pattern value="[0-9]{14}"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="IMEICheckDigit">
        <xs:restriction base="xs:token">
            <xs:pattern value="[0-9]{15}"/>
        </xs:restriction>
    </xs:simpleType>
58
59
60
61
62
    <xs:simpleType name="IMEISV">
        <xs:restriction base="xs:token">
            <xs:pattern value="[0-9]{16}"/>
        </xs:restriction>
    </xs:simpleType>
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
    <xs:simpleType name="IPv4Address">
        <xs:restriction base="xs:token">
            <xs:pattern value="((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="IPv4CIDR">
        <xs:restriction base="xs:token">
            <xs:pattern value="((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])/([1-2]?[0-9]|3[0-2])"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="IPv6Address">
        <xs:restriction base="xs:token">
            <xs:pattern value="([0-9a-f]{4}:){7}([0-9a-f]{4})"/>
        </xs:restriction>
    </xs:simpleType>
78
    <xs:simpleType name="IPv6CIDR">
79
80
81
82
83
84
85
86
87
        <xs:restriction base="xs:token">
            <xs:pattern value="([0-9a-f]{4}:){7}([0-9a-f]{4})/(([1-9][0-9]?)|(1[0-1][0-9])|(12[0-8]))"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="IPAddress">
        <xs:choice>
            <xs:element name="IPv4Address" type="IPv4Address"/>
            <xs:element name="IPv6Address" type="IPv6Address"/>
        </xs:choice>
88
    </xs:complexType>
89
90
91
92
93
    <xs:complexType name="IPCIDR">
        <xs:choice>
            <xs:element name="IPv4CIDR" type="IPv4CIDR"/>
            <xs:element name="IPv6CIDR" type="IPv6CIDR"/>
        </xs:choice>
94
    </xs:complexType>
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
    <xs:simpleType name="TCPPort">
        <xs:restriction base="xs:integer">
            <xs:minExclusive value="1"/>
            <xs:maxInclusive value="65535"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="TCPPortRange">
        <xs:sequence>
            <xs:element name="start" type="TCPPort"/>
            <xs:element name="end" type="TCPPort"/>
        </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="UDPPort">
        <xs:restriction base="xs:integer">
            <xs:minInclusive value="0"/>
            <xs:maxInclusive value="65535"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="UDPPortRange">
        <xs:sequence>
            <xs:element name="start" type="UDPPort"/>
            <xs:element name="end" type="UDPPort"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Port">
        <xs:choice>
            <xs:element name="TCPPort" type="TCPPort"/>
            <xs:element name="UDPPort" type="UDPPort"/>
        </xs:choice>
124
    </xs:complexType>
125
126
127
128
129
    <xs:complexType name="PortRange">
        <xs:choice>
            <xs:element name="TCPPortRange" type="TCPPortRange"/>
            <xs:element name="UDPPortRange" type="UDPPortRange"/>
        </xs:choice>
130
    </xs:complexType>
131
132
133
134
135
    <xs:complexType name="IPAddressPort">
        <xs:sequence>
            <xs:element name="address" type="IPAddress"/>
            <xs:element name="port" type="Port"/>
        </xs:sequence>
136
    </xs:complexType>
137
138
139
140
141
    <xs:complexType name="IPAddressPortRange">
        <xs:sequence>
            <xs:element name="address" type="IPAddress"/>
            <xs:element name="portRange" type="PortRange"/>
        </xs:sequence>
142
    </xs:complexType>
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
    <xs:simpleType name="MACAddress">
        <xs:restriction base="xs:token">
            <xs:pattern value="([a-f0-9]{2}:){5}[a-f0-9]{2}"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="EmailAddress">
        <xs:restriction base="ShortString">
            <xs:pattern value="[a-zA-Z0-9\.!#$%&amp;'\*\+\\/=\?\^_`\{\|\}~\-]+@[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="UUID">
        <xs:restriction base="xs:token">
            <xs:pattern value="[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="ISOCountryCode">
        <xs:restriction base="xs:token">
            <xs:pattern value="[A-Z]{2}"/>
        </xs:restriction>
    </xs:simpleType>
163
164
165
166
167
168
169
170
171
172
    <xs:simpleType name="SIPURI">
        <xs:restriction base="xs:anyURI">
            <xs:pattern value="sips?:[a-zA-Z0-9!#$&amp;-;=?-\[\]_~%]+"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TELURI">
        <xs:restriction base="xs:anyURI">
            <xs:pattern value="tel:[a-zA-Z0-9!#$&amp;-;=?-\[\]_~%]+"/>
        </xs:restriction>
    </xs:simpleType>
173
    <xs:complexType name="WGS84CoordinateDecimal">
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
        <xs:sequence>
            <xs:element name="latitude" type="WGS84LatitudeDecimal"/>
            <xs:element name="longitude" type="WGS84LongitudeDecimal"/>
        </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="WGS84LatitudeDecimal">
        <xs:restriction base="xs:string">
            <xs:pattern value="[NS][0-9]{2}\.[0-9]{6}"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="WGS84LongitudeDecimal">
        <xs:restriction base="xs:string">
            <xs:pattern value="[EW][0-9]{3}\.[0-9]{6}"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="WGS84CoordinateAngular">
        <xs:sequence>
            <xs:element name="latitude" type="WGS84LatitudeAngular"/>
            <xs:element name="longitude" type="WGS84LongitudeAngular"/>
        </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="WGS84LatitudeAngular">
        <xs:restriction base="xs:string">
            <xs:pattern value="[NS][0-9]{6}\.[0-9]{2}"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="WGS84LongitudeAngular">
        <xs:restriction base="xs:string">
            <xs:pattern value="[EW][0-9]{7}\.[0-9]{2}"/>
        </xs:restriction>
    </xs:simpleType>
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
    <xs:simpleType name="SUPIIMSI">
        <xs:restriction base="IMSI"/>
    </xs:simpleType>
    <xs:simpleType name="SUPINAI">
        <xs:restriction base="NAI"/>
    </xs:simpleType>
    <xs:simpleType name="SUCI">
        <xs:restriction base="xs:hexBinary"/>
    </xs:simpleType>
    <xs:simpleType name="PEIIMEI">
        <xs:restriction base="IMEI"/>
    </xs:simpleType>
    <xs:simpleType name="PEIIMEICheckDigit">
        <xs:restriction base="IMEICheckDigit"/>
    </xs:simpleType>
    <xs:simpleType name="PEIIMEISV">
        <xs:restriction base="IMEISV"/>
    </xs:simpleType>
     <xs:simpleType name="GPSIMSISDN">
        <xs:restriction base="xs:token">
            <xs:pattern value="[0-9]{1,15}"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="GPSINAI">
        <xs:restriction base="NAI"/>
    </xs:simpleType>
    <xs:simpleType name="NAI">
        <xs:restriction base="xs:string"/>
    </xs:simpleType>
234
235
236
237
238
    <xs:simpleType name="LDID">
        <xs:restriction base="xs:string">
            <xs:pattern value="([A-Z]{2}-.+-.+)"/>
        </xs:restriction>
    </xs:simpleType>
canterburym's avatar
canterburym committed
239
240
241
242
243
    <xs:simpleType name="InternationalizedEmailAddress">
        <xs:restriction base="ShortString">
            <xs:pattern value=".+@.+"/>
        </xs:restriction>
    </xs:simpleType>
rengasamis's avatar
rengasamis committed
244
245
246
247
248
        <xs:simpleType name="EUI64">
        <xs:restriction base="xs:token">
            <xs:pattern value="([a-f0-9]{2}:){7}[a-f0-9]{2}"/>
        </xs:restriction>
    </xs:simpleType>
canterburym's avatar
canterburym committed
249
</xs:schema>