datex2-xml2json 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. datex2_xml2json/__init__.py +0 -0
  2. datex2_xml2json/json_validator.py +36 -0
  3. datex2_xml2json/merge.py +39 -0
  4. datex2_xml2json/schema/Baustellen-4-00-00.sch +7 -0
  5. datex2_xml2json/schema/DATEXIISchema_2_2_0.xsd +4707 -0
  6. datex2_xml2json/schema/DATEXIISchema_2_2_3.xsd +6783 -0
  7. datex2_xml2json/schema/DATEXII_3.7_Profile/.DS_Store +0 -0
  8. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_AfirEnergyInfrastructure.json +2455 -0
  9. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_AfirFacilities.json +2809 -0
  10. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_Common.json +3651 -0
  11. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_CommonExtension.json +919 -0
  12. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_ControlledZone.json +1070 -0
  13. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_D2Payload.json +11 -0
  14. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_EnergyInfrastructure.json +1924 -0
  15. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_Facilities.json +2858 -0
  16. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_FaultAndStatus.json +1415 -0
  17. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_LocationExtension.json +186 -0
  18. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_LocationReferencing.json +4847 -0
  19. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_Parking.json +5314 -0
  20. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_ReroutingManagementEnhanced.json +1160 -0
  21. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_RoadTrafficData.json +1938 -0
  22. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_Situation.json +8040 -0
  23. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_TrafficManagementPlan.json +2358 -0
  24. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_TrafficRegulation.json +3377 -0
  25. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_UrbanExtensions.json +194 -0
  26. datex2_xml2json/schema/DATEXII_3.7_Profile/DATEXII_3_Vms.json +2544 -0
  27. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/.DS_Store +0 -0
  28. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_AfirEnergyInfrastructure.xsd +2102 -0
  29. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_AfirFacilities.xsd +2060 -0
  30. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_Common.xsd +4152 -0
  31. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_CommonExtension.xsd +1102 -0
  32. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_ControlledZone.xsd +601 -0
  33. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_D2Payload.xsd +280 -0
  34. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_EnergyInfrastructure.xsd +1761 -0
  35. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_Facilities.xsd +2037 -0
  36. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_FaultAndStatus.xsd +1076 -0
  37. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_LocationExtension.xsd +196 -0
  38. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_LocationReferencing.xsd +4132 -0
  39. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_Parking.xsd +4025 -0
  40. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_ReroutingManagementEnhanced.xsd +997 -0
  41. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_RoadTrafficData.xsd +1273 -0
  42. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_Situation.xsd +5777 -0
  43. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_TrafficManagementPlan.xsd +1184 -0
  44. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_TrafficRegulation.xsd +2611 -0
  45. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_UrbanExtensions.xsd +148 -0
  46. datex2_xml2json/schema/DATEXII_3.7_Profile/xml/DATEXII_3_Vms.xsd +2290 -0
  47. datex2_xml2json/schema/MDM_BaustellenInfoDigitalRoadworksProfile_04-03-00.xsd +2401 -0
  48. datex2_xml2json/schema/MDM_Datenmodell_Baustellen_04-00-00.xsd +3232 -0
  49. datex2_xml2json/schema/cifs_schema.json +161 -0
  50. datex2_xml2json/transform/.DS_Store +0 -0
  51. datex2_xml2json/transform/__init__.py +13 -0
  52. datex2_xml2json/transform/base.py +79 -0
  53. datex2_xml2json/transform/cifs_transformer.py +275 -0
  54. datex2_xml2json/transform/geojson_geometry_transformer.py +159 -0
  55. datex2_xml2json/transform/geoparquet_transformer.py +160 -0
  56. datex2_xml2json/transform/jsonata_transformer.py +100 -0
  57. datex2_xml2json/transform/roads_regio_transformer.py +88 -0
  58. datex2_xml2json/transform/source_setter.py +42 -0
  59. datex2_xml2json/transform/transformation_rules.py +526 -0
  60. datex2_xml2json/transformer.py +197 -0
  61. datex2_xml2json/util.py +141 -0
  62. datex2_xml2json-0.0.1.dist-info/METADATA +176 -0
  63. datex2_xml2json-0.0.1.dist-info/RECORD +65 -0
  64. datex2_xml2json-0.0.1.dist-info/WHEEL +4 -0
  65. datex2_xml2json-0.0.1.dist-info/licenses/LICENSE.md +179 -0
@@ -0,0 +1,601 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:cz="http://datex2.eu/schema/3/controlledZone" version="1" targetNamespace="http://datex2.eu/schema/3/controlledZone" xmlns:com="http://datex2.eu/schema/3/common" xmlns:tro="http://datex2.eu/schema/3/trafficRegulation" xmlns:fac="http://datex2.eu/schema/3/facilities" xmlns:loc="http://datex2.eu/schema/3/locationReferencing" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
+ <xs:import namespace="http://datex2.eu/schema/3/locationReferencing" schemaLocation="DATEXII_3_LocationReferencing.xsd" />
4
+ <xs:import namespace="http://datex2.eu/schema/3/facilities" schemaLocation="DATEXII_3_Facilities.xsd" />
5
+ <xs:import namespace="http://datex2.eu/schema/3/trafficRegulation" schemaLocation="DATEXII_3_TrafficRegulation.xsd" />
6
+ <xs:import namespace="http://datex2.eu/schema/3/common" schemaLocation="DATEXII_3_Common.xsd" />
7
+ <xs:complexType name="_ActivationTypeEnum">
8
+ <xs:simpleContent>
9
+ <xs:extension base="cz:ActivationTypeEnum">
10
+ <xs:attribute name="_extendedValue" type="xs:string" />
11
+ </xs:extension>
12
+ </xs:simpleContent>
13
+ </xs:complexType>
14
+ <xs:complexType name="_ConditionTypeEnum">
15
+ <xs:simpleContent>
16
+ <xs:extension base="cz:ConditionTypeEnum">
17
+ <xs:attribute name="_extendedValue" type="xs:string" />
18
+ </xs:extension>
19
+ </xs:simpleContent>
20
+ </xs:complexType>
21
+ <xs:complexType name="_ControlledZoneTablePublicationVersionedReference">
22
+ <xs:complexContent>
23
+ <xs:extension base="com:VersionedReference">
24
+ <xs:attribute name="targetClass" type="xs:string" use="required" fixed="cz:ControlledZoneTablePublication" />
25
+ </xs:extension>
26
+ </xs:complexContent>
27
+ </xs:complexType>
28
+ <xs:complexType name="_ControlledZoneTypeEnum">
29
+ <xs:simpleContent>
30
+ <xs:extension base="cz:ControlledZoneTypeEnum">
31
+ <xs:attribute name="_extendedValue" type="xs:string" />
32
+ </xs:extension>
33
+ </xs:simpleContent>
34
+ </xs:complexType>
35
+ <xs:complexType name="_ControlledZoneVersionedReference">
36
+ <xs:complexContent>
37
+ <xs:extension base="com:VersionedReference">
38
+ <xs:attribute name="targetClass" type="xs:string" use="required" fixed="cz:ControlledZone" />
39
+ </xs:extension>
40
+ </xs:complexContent>
41
+ </xs:complexType>
42
+ <xs:complexType name="_EnforcementMethodTypeEnum">
43
+ <xs:simpleContent>
44
+ <xs:extension base="cz:EnforcementMethodTypeEnum">
45
+ <xs:attribute name="_extendedValue" type="xs:string" />
46
+ </xs:extension>
47
+ </xs:simpleContent>
48
+ </xs:complexType>
49
+ <xs:complexType name="_PredefinedConditionPublicationVersionedReference">
50
+ <xs:complexContent>
51
+ <xs:extension base="com:VersionedReference">
52
+ <xs:attribute name="targetClass" type="xs:string" use="required" fixed="tro:PredefinedConditionPublication" />
53
+ </xs:extension>
54
+ </xs:complexContent>
55
+ </xs:complexType>
56
+ <xs:complexType name="_PredefinedConditionVersionedReference">
57
+ <xs:complexContent>
58
+ <xs:extension base="com:VersionedReference">
59
+ <xs:attribute name="targetClass" type="xs:string" use="required" fixed="tro:PredefinedCondition" />
60
+ </xs:extension>
61
+ </xs:complexContent>
62
+ </xs:complexType>
63
+ <xs:complexType name="_TrafficRegulationVersionedReference">
64
+ <xs:complexContent>
65
+ <xs:extension base="com:VersionedReference">
66
+ <xs:attribute name="targetClass" type="xs:string" use="required" fixed="tro:TrafficRegulation" />
67
+ </xs:extension>
68
+ </xs:complexContent>
69
+ </xs:complexType>
70
+ <xs:complexType name="ActivationStatus" abstract="true">
71
+ <xs:annotation>
72
+ <xs:documentation>An activation status of a controlled zone, traffic regulation, predefined condition or non-predefined condition.</xs:documentation>
73
+ </xs:annotation>
74
+ <xs:sequence>
75
+ <xs:element name="activationTime" type="com:DateTime" minOccurs="1" maxOccurs="1">
76
+ <xs:annotation>
77
+ <xs:documentation>The date/time the creation of the Activation.</xs:documentation>
78
+ </xs:annotation>
79
+ </xs:element>
80
+ <xs:element name="activationVersionTime" type="com:DateTime" minOccurs="1" maxOccurs="1">
81
+ <xs:annotation>
82
+ <xs:documentation>The date/time of the current version of the Activation.</xs:documentation>
83
+ </xs:annotation>
84
+ </xs:element>
85
+ <xs:element name="validity" type="com:Validity" />
86
+ <xs:element name="_activationStatusExtension" type="com:_ExtensionType" minOccurs="0" />
87
+ </xs:sequence>
88
+ <xs:attribute name="id" type="xs:string" use="required" />
89
+ <xs:attribute name="version" type="xs:string" use="required" />
90
+ </xs:complexType>
91
+ <xs:simpleType name="ActivationTypeEnum">
92
+ <xs:annotation>
93
+ <xs:documentation>Activation types of controlled zones.</xs:documentation>
94
+ </xs:annotation>
95
+ <xs:restriction base="xs:string">
96
+ <xs:enumeration value="dynamicallyActivated">
97
+ <xs:annotation>
98
+ <xs:documentation>The assignment is dynamically activated within in the validity period. The real time status is published elsewhere.</xs:documentation>
99
+ </xs:annotation>
100
+ </xs:enumeration>
101
+ <xs:enumeration value="permanent">
102
+ <xs:annotation>
103
+ <xs:documentation>The assignment is permanent within in the validity period.</xs:documentation>
104
+ </xs:annotation>
105
+ </xs:enumeration>
106
+ <xs:enumeration value="_extended" />
107
+ </xs:restriction>
108
+ </xs:simpleType>
109
+ <xs:complexType name="AlternativeMobilityOptions">
110
+ <xs:annotation>
111
+ <xs:documentation>Information about alternative mobility options.</xs:documentation>
112
+ </xs:annotation>
113
+ <xs:sequence>
114
+ <xs:element name="description" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
115
+ <xs:annotation>
116
+ <xs:documentation>Description of the alternative mobility option.</xs:documentation>
117
+ </xs:annotation>
118
+ </xs:element>
119
+ <xs:element name="url" type="com:Url" minOccurs="0" maxOccurs="1">
120
+ <xs:annotation>
121
+ <xs:documentation>URL to a resource on the internet with further information from the transportation service provider.</xs:documentation>
122
+ </xs:annotation>
123
+ </xs:element>
124
+ <xs:element name="_alternativeMobilityOptionsExtension" type="com:_ExtensionType" minOccurs="0" />
125
+ </xs:sequence>
126
+ </xs:complexType>
127
+ <xs:simpleType name="ConditionTypeEnum">
128
+ <xs:annotation>
129
+ <xs:documentation>Types of specialisations of the Condition class.</xs:documentation>
130
+ </xs:annotation>
131
+ <xs:restriction base="xs:string">
132
+ <xs:enumeration value="accessCondition">
133
+ <xs:annotation>
134
+ <xs:documentation>Conditions for the access of a road or carriageway or lane that cannot be coded by the AccessCondition class.</xs:documentation>
135
+ </xs:annotation>
136
+ </xs:enumeration>
137
+ <xs:enumeration value="driverCondition">
138
+ <xs:annotation>
139
+ <xs:documentation>Conditions for the driver, e.g. holding a disabled permit that cannot be coded by the DriverCondition class.</xs:documentation>
140
+ </xs:annotation>
141
+ </xs:enumeration>
142
+ <xs:enumeration value="locationCondition">
143
+ <xs:annotation>
144
+ <xs:documentation>Conditions for the location of a traffic regulation that cannot be coded via the LocationCondition class.</xs:documentation>
145
+ </xs:annotation>
146
+ </xs:enumeration>
147
+ <xs:enumeration value="nonVehicularRoadUserCondition">
148
+ <xs:annotation>
149
+ <xs:documentation>Conditions for non-vehicular road users that cannot be coded by the NonVehicularRoadUserCondition class.</xs:documentation>
150
+ </xs:annotation>
151
+ </xs:enumeration>
152
+ <xs:enumeration value="occupantConditions">
153
+ <xs:annotation>
154
+ <xs:documentation>Conditions for the occupants of a vehicle that cannot be coded by the OccupantCondition class.</xs:documentation>
155
+ </xs:annotation>
156
+ </xs:enumeration>
157
+ <xs:enumeration value="other">
158
+ <xs:annotation>
159
+ <xs:documentation>Other non-codable condition.</xs:documentation>
160
+ </xs:annotation>
161
+ </xs:enumeration>
162
+ <xs:enumeration value="permitCondition">
163
+ <xs:annotation>
164
+ <xs:documentation>Condition for which a permit is required for vehicles with certain characteristics (sometimes restricted to specific locations) that cannot be coded by the PermitCondition class.</xs:documentation>
165
+ </xs:annotation>
166
+ </xs:enumeration>
167
+ <xs:enumeration value="registrationCondition">
168
+ <xs:annotation>
169
+ <xs:documentation>Conditions for registration before entering a UVAR that cannot be coded by the RegistrationCondition class.</xs:documentation>
170
+ </xs:annotation>
171
+ </xs:enumeration>
172
+ <xs:enumeration value="retrofittingCondition">
173
+ <xs:annotation>
174
+ <xs:documentation>Class for defining information on retrofitting details that cannot be coded by the RetrofittingCondition class.</xs:documentation>
175
+ </xs:annotation>
176
+ </xs:enumeration>
177
+ <xs:enumeration value="roadCondition">
178
+ <xs:annotation>
179
+ <xs:documentation>Specification of road types (e.g. motorway, express way, etc.) that cannot be coded by the RoadCondition class.</xs:documentation>
180
+ </xs:annotation>
181
+ </xs:enumeration>
182
+ <xs:enumeration value="stickerCondition">
183
+ <xs:annotation>
184
+ <xs:documentation>Conditions relating to a sticker that the vehicle must be equipped with that cannot be coded by the StickerCondition class.</xs:documentation>
185
+ </xs:annotation>
186
+ </xs:enumeration>
187
+ <xs:enumeration value="validityCondition">
188
+ <xs:annotation>
189
+ <xs:documentation>Conditions for time validity of a traffic regulation that cannot be coded by the ValidityCondition class.</xs:documentation>
190
+ </xs:annotation>
191
+ </xs:enumeration>
192
+ <xs:enumeration value="vehicleCondition">
193
+ <xs:annotation>
194
+ <xs:documentation>Conditions for a vehicle that cannot be coded by the VehicleCondition class.</xs:documentation>
195
+ </xs:annotation>
196
+ </xs:enumeration>
197
+ <xs:enumeration value="_extended" />
198
+ </xs:restriction>
199
+ </xs:simpleType>
200
+ <xs:complexType name="ControlledZone">
201
+ <xs:annotation>
202
+ <xs:documentation>Defines a geographic zone together with an applicable set of regulations, e.g. usable for UVAR (Urban Vehicle Access Regulation) zones.</xs:documentation>
203
+ </xs:annotation>
204
+ <xs:sequence>
205
+ <xs:element name="name" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
206
+ <xs:annotation>
207
+ <xs:documentation>The formal name of the controlled zone.</xs:documentation>
208
+ </xs:annotation>
209
+ </xs:element>
210
+ <xs:element name="controlledZoneType" type="cz:_ControlledZoneTypeEnum" minOccurs="0" maxOccurs="unbounded">
211
+ <xs:annotation>
212
+ <xs:documentation>Broad category of the controlled zone.</xs:documentation>
213
+ </xs:annotation>
214
+ </xs:element>
215
+ <xs:element name="description" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
216
+ <xs:annotation>
217
+ <xs:documentation>Additional description of the restrictions of the zone and its areas.</xs:documentation>
218
+ </xs:annotation>
219
+ </xs:element>
220
+ <xs:element name="recordVersionTime" type="com:DateTime" minOccurs="1" maxOccurs="1">
221
+ <xs:annotation>
222
+ <xs:documentation>Date/time that this version of the zone was last updated.</xs:documentation>
223
+ </xs:annotation>
224
+ </xs:element>
225
+ <xs:element name="activationType" type="cz:_ActivationTypeEnum" minOccurs="0" maxOccurs="1">
226
+ <xs:annotation>
227
+ <xs:documentation>The activation type of the controlled zone.</xs:documentation>
228
+ </xs:annotation>
229
+ </xs:element>
230
+ <xs:element name="status" type="tro:_ActivationStatusEnum" minOccurs="1" maxOccurs="1">
231
+ <xs:annotation>
232
+ <xs:documentation>The activation status of the controlled zone.</xs:documentation>
233
+ </xs:annotation>
234
+ </xs:element>
235
+ <xs:element name="dynamicActivationPublicationSource" type="cz:_ControlledZoneTablePublicationVersionedReference" minOccurs="0" maxOccurs="1">
236
+ <xs:annotation>
237
+ <xs:documentation>Reference to the publication where the dynamic activation status of the controlled zone is published.</xs:documentation>
238
+ </xs:annotation>
239
+ </xs:element>
240
+ <xs:element name="controlledZoneSummary" type="cz:ControlledZoneSummary" minOccurs="0" />
241
+ <xs:element name="trafficRegulationOrder" type="tro:TrafficRegulationOrder" minOccurs="0" maxOccurs="unbounded" />
242
+ <xs:element name="controlledZoneRegulation" type="cz:ControlledZoneRegulation" minOccurs="0" maxOccurs="unbounded" />
243
+ <xs:element name="tariffInformation" type="fac:Rates" minOccurs="0" maxOccurs="unbounded">
244
+ <xs:annotation>
245
+ <xs:documentation>Information on the tariffs for tickets that permit the entry of the controlled zone. </xs:documentation>
246
+ </xs:annotation>
247
+ </xs:element>
248
+ <xs:element name="alternativeMobilityOptions" type="cz:AlternativeMobilityOptions" minOccurs="0" maxOccurs="unbounded" />
249
+ <xs:element name="_controlledZoneExtension" type="com:_ExtensionType" minOccurs="0" />
250
+ </xs:sequence>
251
+ <xs:attribute name="id" type="xs:string" use="required" />
252
+ <xs:attribute name="version" type="xs:string" use="required" />
253
+ </xs:complexType>
254
+ <xs:complexType name="ControlledZoneActivation">
255
+ <xs:annotation>
256
+ <xs:documentation>Class to identify the activation of a dynamic controlled zone as a whole.</xs:documentation>
257
+ </xs:annotation>
258
+ <xs:complexContent>
259
+ <xs:extension base="cz:ActivationStatus">
260
+ <xs:sequence>
261
+ <xs:element name="controlledZoneReference" type="cz:_ControlledZoneVersionedReference" minOccurs="1" maxOccurs="1">
262
+ <xs:annotation>
263
+ <xs:documentation>Reference to the controlled zone to be activated.</xs:documentation>
264
+ </xs:annotation>
265
+ </xs:element>
266
+ <xs:element name="_controlledZoneActivationExtension" type="com:_ExtensionType" minOccurs="0" />
267
+ </xs:sequence>
268
+ </xs:extension>
269
+ </xs:complexContent>
270
+ </xs:complexType>
271
+ <xs:complexType name="ControlledZoneRegulation">
272
+ <xs:annotation>
273
+ <xs:documentation>A specialisation of a traffic regulation for controlled zones.</xs:documentation>
274
+ </xs:annotation>
275
+ <xs:complexContent>
276
+ <xs:extension base="tro:TrafficRegulation">
277
+ <xs:sequence>
278
+ <xs:element name="enforcementMethodType" type="cz:_EnforcementMethodTypeEnum" minOccurs="0" maxOccurs="unbounded">
279
+ <xs:annotation>
280
+ <xs:documentation>The enforcement method(s) used to enforce the traffic regulation.</xs:documentation>
281
+ </xs:annotation>
282
+ </xs:element>
283
+ <xs:element name="penalty" type="cz:Penalty" minOccurs="0" maxOccurs="unbounded" />
284
+ <xs:element name="_controlledZoneRegulationExtension" type="com:_ExtensionType" minOccurs="0" />
285
+ </xs:sequence>
286
+ </xs:extension>
287
+ </xs:complexContent>
288
+ </xs:complexType>
289
+ <xs:complexType name="ControlledZoneSummary">
290
+ <xs:annotation>
291
+ <xs:documentation>Collection of general information on the controlled zone.</xs:documentation>
292
+ </xs:annotation>
293
+ <xs:sequence>
294
+ <xs:element name="cityName" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
295
+ <xs:annotation>
296
+ <xs:documentation>The name of the city where the controlled zone is located.</xs:documentation>
297
+ </xs:annotation>
298
+ </xs:element>
299
+ <xs:element name="informalName" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
300
+ <xs:annotation>
301
+ <xs:documentation>The name the controlled zone is generally known by.</xs:documentation>
302
+ </xs:annotation>
303
+ </xs:element>
304
+ <xs:element name="urlForFurtherInformation" type="com:Url" minOccurs="0" maxOccurs="1">
305
+ <xs:annotation>
306
+ <xs:documentation>A Uniform Resource Locator (URL) address pointing to a resource available on the Internet from where further relevant information may be obtained.</xs:documentation>
307
+ </xs:annotation>
308
+ </xs:element>
309
+ <xs:element name="locationForDisplay" type="loc:PointCoordinates" minOccurs="0">
310
+ <xs:annotation>
311
+ <xs:documentation>Coordinates that may be used for visual display of the controlled zone on user interfaces.</xs:documentation>
312
+ </xs:annotation>
313
+ </xs:element>
314
+ <xs:element name="_controlledZoneSummaryExtension" type="com:_ExtensionType" minOccurs="0" />
315
+ </xs:sequence>
316
+ </xs:complexType>
317
+ <xs:complexType name="ControlledZoneTable">
318
+ <xs:annotation>
319
+ <xs:documentation>A table comprising a number of controlled zone specifications.</xs:documentation>
320
+ </xs:annotation>
321
+ <xs:sequence>
322
+ <xs:element name="controlledZoneTableName" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
323
+ <xs:annotation>
324
+ <xs:documentation>The name of the controlled zone table.</xs:documentation>
325
+ </xs:annotation>
326
+ </xs:element>
327
+ <xs:element name="tableVersionTime" type="com:DateTime" minOccurs="1" maxOccurs="1">
328
+ <xs:annotation>
329
+ <xs:documentation>The date/time that this version of the controlled zone table was defined by the supplier.</xs:documentation>
330
+ </xs:annotation>
331
+ </xs:element>
332
+ <xs:element name="informationManager" type="com:InternationalIdentifier" minOccurs="0" />
333
+ <xs:element name="controlledZone" type="cz:ControlledZone" minOccurs="0" maxOccurs="unbounded">
334
+ <xs:annotation>
335
+ <xs:documentation>Controlled zones. Zones in the uvarZone property should not be duplicated here, so if that property is populated, the controlled zones in this controlledZone property should be only those other than for UVAR.</xs:documentation>
336
+ </xs:annotation>
337
+ </xs:element>
338
+ <xs:element name="uvarZone" type="cz:ControlledZone" minOccurs="0" maxOccurs="unbounded">
339
+ <xs:annotation>
340
+ <xs:documentation>Controlled zones for Urban Vehicle Access Regulations (UVAR).</xs:documentation>
341
+ </xs:annotation>
342
+ </xs:element>
343
+ <xs:element name="_controlledZoneTableExtension" type="com:_ExtensionType" minOccurs="0" />
344
+ </xs:sequence>
345
+ </xs:complexType>
346
+ <xs:complexType name="ControlledZoneTablePublication">
347
+ <xs:annotation>
348
+ <xs:documentation>A publication defining one or more tables that have entries of controlled zone specifications.</xs:documentation>
349
+ </xs:annotation>
350
+ <xs:complexContent>
351
+ <xs:extension base="com:PayloadPublication">
352
+ <xs:sequence>
353
+ <xs:element name="predefinedConditionPublicationReference" type="cz:_PredefinedConditionPublicationVersionedReference" minOccurs="0" maxOccurs="unbounded">
354
+ <xs:annotation>
355
+ <xs:documentation>Reference to a publication of predefined conditions.</xs:documentation>
356
+ </xs:annotation>
357
+ </xs:element>
358
+ <xs:element name="headerInformation" type="com:HeaderInformation" />
359
+ <xs:element name="controlledZoneTable" type="cz:ControlledZoneTable" maxOccurs="unbounded" />
360
+ <xs:element name="_controlledZoneTablePublicationExtension" type="com:_ExtensionType" minOccurs="0" />
361
+ </xs:sequence>
362
+ <xs:attribute name="id" type="xs:string" use="required" />
363
+ </xs:extension>
364
+ </xs:complexContent>
365
+ </xs:complexType>
366
+ <xs:simpleType name="ControlledZoneTypeEnum">
367
+ <xs:annotation>
368
+ <xs:documentation>Different types of controlled zones.</xs:documentation>
369
+ </xs:annotation>
370
+ <xs:restriction base="xs:string">
371
+ <xs:enumeration value="limitedTrafficZone">
372
+ <xs:annotation>
373
+ <xs:documentation>Limited traffic zone (LTZ).</xs:documentation>
374
+ </xs:annotation>
375
+ </xs:enumeration>
376
+ <xs:enumeration value="lowEmissionZone">
377
+ <xs:annotation>
378
+ <xs:documentation>Low Emission Zone (LEZ).</xs:documentation>
379
+ </xs:annotation>
380
+ </xs:enumeration>
381
+ <xs:enumeration value="pedestrianZone">
382
+ <xs:annotation>
383
+ <xs:documentation>Pedestrian Zone.</xs:documentation>
384
+ </xs:annotation>
385
+ </xs:enumeration>
386
+ <xs:enumeration value="restrictedParkingZone">
387
+ <xs:annotation>
388
+ <xs:documentation>Restricted parking zone.</xs:documentation>
389
+ </xs:annotation>
390
+ </xs:enumeration>
391
+ <xs:enumeration value="zeroEmissionZone">
392
+ <xs:annotation>
393
+ <xs:documentation>Zero emission zone (ZEZ).</xs:documentation>
394
+ </xs:annotation>
395
+ </xs:enumeration>
396
+ <xs:enumeration value="_extended" />
397
+ </xs:restriction>
398
+ </xs:simpleType>
399
+ <xs:complexType name="DynamicActivationStatusPublication">
400
+ <xs:annotation>
401
+ <xs:documentation>Publication of dynamically activated and deactivated access zones, restrictions and exemptions.</xs:documentation>
402
+ </xs:annotation>
403
+ <xs:complexContent>
404
+ <xs:extension base="com:PayloadPublication">
405
+ <xs:sequence>
406
+ <xs:element name="predefinedConditionPublicationReference" type="cz:_PredefinedConditionPublicationVersionedReference" minOccurs="0" maxOccurs="unbounded">
407
+ <xs:annotation>
408
+ <xs:documentation>Reference to a publication of predefined conditions.</xs:documentation>
409
+ </xs:annotation>
410
+ </xs:element>
411
+ <xs:element name="headerInformation" type="com:HeaderInformation" />
412
+ <xs:element name="activationStatus" type="cz:ActivationStatus" minOccurs="0" maxOccurs="unbounded" />
413
+ <xs:element name="_dynamicActivationStatusPublicationExtension" type="com:_ExtensionType" minOccurs="0" />
414
+ </xs:sequence>
415
+ <xs:attribute name="id" type="xs:string" use="required" />
416
+ </xs:extension>
417
+ </xs:complexContent>
418
+ </xs:complexType>
419
+ <xs:simpleType name="EnforcementMethodTypeEnum">
420
+ <xs:annotation>
421
+ <xs:documentation>Types of enforcement methods for traffic regulations..</xs:documentation>
422
+ </xs:annotation>
423
+ <xs:restriction base="xs:string">
424
+ <xs:enumeration value="camera">
425
+ <xs:annotation>
426
+ <xs:documentation>CCTV camera.</xs:documentation>
427
+ </xs:annotation>
428
+ </xs:enumeration>
429
+ <xs:enumeration value="manualStickerInspection">
430
+ <xs:annotation>
431
+ <xs:documentation>Manual inspection by humans on valid stickers.</xs:documentation>
432
+ </xs:annotation>
433
+ </xs:enumeration>
434
+ <xs:enumeration value="checkingVehiclePapers">
435
+ <xs:annotation>
436
+ <xs:documentation>Manual inspection of the vehicle registration papers.</xs:documentation>
437
+ </xs:annotation>
438
+ </xs:enumeration>
439
+ <xs:enumeration value="mobileLicensePlateControls">
440
+ <xs:annotation>
441
+ <xs:documentation>Mobile licence plate inspections.</xs:documentation>
442
+ </xs:annotation>
443
+ </xs:enumeration>
444
+ <xs:enumeration value="other">
445
+ <xs:annotation>
446
+ <xs:documentation>Some other kind of enforcement.</xs:documentation>
447
+ </xs:annotation>
448
+ </xs:enumeration>
449
+ <xs:enumeration value="_extended" />
450
+ </xs:restriction>
451
+ </xs:simpleType>
452
+ <xs:complexType name="NonCodableCondition">
453
+ <xs:annotation>
454
+ <xs:documentation>Conditions that are not codable by the elements of the Condition model.</xs:documentation>
455
+ </xs:annotation>
456
+ <xs:complexContent>
457
+ <xs:extension base="tro:Condition">
458
+ <xs:sequence>
459
+ <xs:element name="condition" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
460
+ <xs:annotation>
461
+ <xs:documentation>Specification of a condition that is not codable by the Condition model.</xs:documentation>
462
+ </xs:annotation>
463
+ </xs:element>
464
+ <xs:element name="type" type="cz:_ConditionTypeEnum" minOccurs="1" maxOccurs="1">
465
+ <xs:annotation>
466
+ <xs:documentation>The condition class, for which there is a condition which can not be expressed by the contained model elements.</xs:documentation>
467
+ </xs:annotation>
468
+ </xs:element>
469
+ <xs:element name="_nonCodableConditionExtension" type="com:_ExtensionType" minOccurs="0" />
470
+ </xs:sequence>
471
+ </xs:extension>
472
+ </xs:complexContent>
473
+ </xs:complexType>
474
+ <xs:complexType name="NonPredefinedConditionActivation">
475
+ <xs:annotation>
476
+ <xs:documentation>Activation of a non-predefined dynamic condition in a controlled zone.</xs:documentation>
477
+ </xs:annotation>
478
+ <xs:complexContent>
479
+ <xs:extension base="cz:ActivationStatus">
480
+ <xs:sequence>
481
+ <xs:element name="controlledZoneReference" type="cz:_ControlledZoneVersionedReference" minOccurs="1" maxOccurs="1">
482
+ <xs:annotation>
483
+ <xs:documentation>Reference to the controlled zone involved.</xs:documentation>
484
+ </xs:annotation>
485
+ </xs:element>
486
+ <xs:element name="condition" type="tro:Condition" />
487
+ <xs:element name="_nonPredefinedConditionActivationExtension" type="com:_ExtensionType" minOccurs="0" />
488
+ </xs:sequence>
489
+ </xs:extension>
490
+ </xs:complexContent>
491
+ </xs:complexType>
492
+ <xs:complexType name="Penalty">
493
+ <xs:annotation>
494
+ <xs:documentation>Penalty for violating the traffic regulation.</xs:documentation>
495
+ </xs:annotation>
496
+ <xs:sequence>
497
+ <xs:element name="amountDue" type="tro:AmountOfMoney" minOccurs="1" maxOccurs="1">
498
+ <xs:annotation>
499
+ <xs:documentation>Amount of money due if a violation of the traffic regulation order occurs.</xs:documentation>
500
+ </xs:annotation>
501
+ </xs:element>
502
+ <xs:element name="penaltyDescription" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
503
+ <xs:annotation>
504
+ <xs:documentation>Further information about the penalty.</xs:documentation>
505
+ </xs:annotation>
506
+ </xs:element>
507
+ <xs:element name="_penaltyExtension" type="com:_ExtensionType" minOccurs="0" />
508
+ </xs:sequence>
509
+ </xs:complexType>
510
+ <xs:complexType name="PeriodCondition">
511
+ <xs:annotation>
512
+ <xs:documentation>Condition for time periods.</xs:documentation>
513
+ </xs:annotation>
514
+ <xs:complexContent>
515
+ <xs:extension base="tro:Condition">
516
+ <xs:sequence>
517
+ <xs:element name="period" type="com:Period" maxOccurs="unbounded" />
518
+ <xs:element name="_periodConditionExtension" type="com:_ExtensionType" minOccurs="0" />
519
+ </xs:sequence>
520
+ </xs:extension>
521
+ </xs:complexContent>
522
+ </xs:complexType>
523
+ <xs:complexType name="PredefinedConditionActivation">
524
+ <xs:annotation>
525
+ <xs:documentation>Activation of a predefined condition of a controlled zone.</xs:documentation>
526
+ </xs:annotation>
527
+ <xs:complexContent>
528
+ <xs:extension base="cz:ActivationStatus">
529
+ <xs:sequence>
530
+ <xs:element name="controlledZoneReference" type="cz:_ControlledZoneVersionedReference" minOccurs="1" maxOccurs="1">
531
+ <xs:annotation>
532
+ <xs:documentation>Reference to the controlled zone involved.</xs:documentation>
533
+ </xs:annotation>
534
+ </xs:element>
535
+ <xs:element name="predefinedConditionReference" type="cz:_PredefinedConditionVersionedReference" minOccurs="1" maxOccurs="1">
536
+ <xs:annotation>
537
+ <xs:documentation>Reference to a predefined condition.</xs:documentation>
538
+ </xs:annotation>
539
+ </xs:element>
540
+ <xs:element name="_predefinedConditionActivationExtension" type="com:_ExtensionType" minOccurs="0" />
541
+ </xs:sequence>
542
+ </xs:extension>
543
+ </xs:complexContent>
544
+ </xs:complexType>
545
+ <xs:complexType name="RetrofittingCondition">
546
+ <xs:annotation>
547
+ <xs:documentation>Information on retrofitting details.</xs:documentation>
548
+ </xs:annotation>
549
+ <xs:complexContent>
550
+ <xs:extension base="tro:Condition">
551
+ <xs:sequence>
552
+ <xs:element name="retrofittingPossible" type="com:Boolean" minOccurs="1" maxOccurs="1">
553
+ <xs:annotation>
554
+ <xs:documentation>Indication whether retrofitting (addition of new technology or features in order to reduce vehicle emissions) is possible.</xs:documentation>
555
+ </xs:annotation>
556
+ </xs:element>
557
+ <xs:element name="urlForFurtherInformation" type="com:Url" minOccurs="0" maxOccurs="1">
558
+ <xs:annotation>
559
+ <xs:documentation>URL for further information to retrofitting details.</xs:documentation>
560
+ </xs:annotation>
561
+ </xs:element>
562
+ <xs:element name="_retrofittingConditionExtension" type="com:_ExtensionType" minOccurs="0" />
563
+ </xs:sequence>
564
+ </xs:extension>
565
+ </xs:complexContent>
566
+ </xs:complexType>
567
+ <xs:complexType name="TariffCondition">
568
+ <xs:annotation>
569
+ <xs:documentation>Conditions relating tariffs for receiving a permit to enter a controlled zone.</xs:documentation>
570
+ </xs:annotation>
571
+ <xs:complexContent>
572
+ <xs:extension base="tro:Condition">
573
+ <xs:sequence>
574
+ <xs:element name="tariffPaid" type="com:Boolean" minOccurs="1" maxOccurs="1">
575
+ <xs:annotation>
576
+ <xs:documentation>A tariff is paid that permits the entry of the controlled zone.</xs:documentation>
577
+ </xs:annotation>
578
+ </xs:element>
579
+ <xs:element name="_tariffConditionExtension" type="com:_ExtensionType" minOccurs="0" />
580
+ </xs:sequence>
581
+ </xs:extension>
582
+ </xs:complexContent>
583
+ </xs:complexType>
584
+ <xs:complexType name="TrafficRegulationActivation">
585
+ <xs:annotation>
586
+ <xs:documentation>Class to identify the activation of a dynamic traffic regulation.</xs:documentation>
587
+ </xs:annotation>
588
+ <xs:complexContent>
589
+ <xs:extension base="cz:ActivationStatus">
590
+ <xs:sequence>
591
+ <xs:element name="trafficRegulationReference" type="cz:_TrafficRegulationVersionedReference" minOccurs="1" maxOccurs="1">
592
+ <xs:annotation>
593
+ <xs:documentation>Reference to the traffic regulation to be activated.</xs:documentation>
594
+ </xs:annotation>
595
+ </xs:element>
596
+ <xs:element name="_trafficRegulationActivationExtension" type="com:_ExtensionType" minOccurs="0" />
597
+ </xs:sequence>
598
+ </xs:extension>
599
+ </xs:complexContent>
600
+ </xs:complexType>
601
+ </xs:schema>