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,997 @@
1
+ <?xml version="1.0" encoding="utf-8" standalone="no"?>
2
+ <xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:rer="http://datex2.eu/schema/3/reroutingManagementEnhanced" version="00-05-00" targetNamespace="http://datex2.eu/schema/3/reroutingManagementEnhanced" xmlns:tro="http://datex2.eu/schema/3/trafficRegulation" xmlns:com="http://datex2.eu/schema/3/common" xmlns:loc="http://datex2.eu/schema/3/locationReferencing" xmlns:fac="http://datex2.eu/schema/3/facilities" xmlns:roa="http://datex2.eu/schema/3/roadTrafficData" xmlns:sit="http://datex2.eu/schema/3/situation" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
+ <xs:import namespace="http://datex2.eu/schema/3/situation" schemaLocation="DATEXII_3_Situation.xsd" />
4
+ <xs:import namespace="http://datex2.eu/schema/3/roadTrafficData" schemaLocation="DATEXII_3_RoadTrafficData.xsd" />
5
+ <xs:import namespace="http://datex2.eu/schema/3/facilities" schemaLocation="DATEXII_3_Facilities.xsd" />
6
+ <xs:import namespace="http://datex2.eu/schema/3/locationReferencing" schemaLocation="DATEXII_3_LocationReferencing.xsd" />
7
+ <xs:import namespace="http://datex2.eu/schema/3/common" schemaLocation="DATEXII_3_Common.xsd" />
8
+ <xs:import namespace="http://datex2.eu/schema/3/trafficRegulation" schemaLocation="DATEXII_3_TrafficRegulation.xsd" />
9
+ <xs:complexType name="_CapacityManagementActionEnum">
10
+ <xs:simpleContent>
11
+ <xs:extension base="rer:CapacityManagementActionEnum">
12
+ <xs:attribute name="_extendedValue" type="xs:string" />
13
+ </xs:extension>
14
+ </xs:simpleContent>
15
+ </xs:complexType>
16
+ <xs:complexType name="_CapacityManagementMeasureEnum">
17
+ <xs:simpleContent>
18
+ <xs:extension base="rer:CapacityManagementMeasureEnum">
19
+ <xs:attribute name="_extendedValue" type="xs:string" />
20
+ </xs:extension>
21
+ </xs:simpleContent>
22
+ </xs:complexType>
23
+ <xs:complexType name="_ConditionOperator">
24
+ <xs:simpleContent>
25
+ <xs:extension base="rer:ConditionOperator">
26
+ <xs:attribute name="_extendedValue" type="xs:string" />
27
+ </xs:extension>
28
+ </xs:simpleContent>
29
+ </xs:complexType>
30
+ <xs:complexType name="_FacilityTypeEnum">
31
+ <xs:simpleContent>
32
+ <xs:extension base="rer:FacilityTypeEnum">
33
+ <xs:attribute name="_extendedValue" type="xs:string" />
34
+ </xs:extension>
35
+ </xs:simpleContent>
36
+ </xs:complexType>
37
+ <xs:complexType name="_PublicTransportTypeEnum">
38
+ <xs:simpleContent>
39
+ <xs:extension base="rer:PublicTransportTypeEnum">
40
+ <xs:attribute name="_extendedValue" type="xs:string" />
41
+ </xs:extension>
42
+ </xs:simpleContent>
43
+ </xs:complexType>
44
+ <xs:complexType name="_PublicTransportVehicleType">
45
+ <xs:simpleContent>
46
+ <xs:extension base="rer:PublicTransportVehicleType">
47
+ <xs:attribute name="_extendedValue" type="xs:string" />
48
+ </xs:extension>
49
+ </xs:simpleContent>
50
+ </xs:complexType>
51
+ <xs:complexType name="_ReroutingAdviceTypeEnum">
52
+ <xs:simpleContent>
53
+ <xs:extension base="rer:ReroutingAdviceTypeEnum">
54
+ <xs:attribute name="_extendedValue" type="xs:string" />
55
+ </xs:extension>
56
+ </xs:simpleContent>
57
+ </xs:complexType>
58
+ <xs:complexType name="_ReroutingTypeEnum">
59
+ <xs:simpleContent>
60
+ <xs:extension base="rer:ReroutingTypeEnum">
61
+ <xs:attribute name="_extendedValue" type="xs:string" />
62
+ </xs:extension>
63
+ </xs:simpleContent>
64
+ </xs:complexType>
65
+ <xs:complexType name="_TrafficRegulationOrderVersionedReference">
66
+ <xs:complexContent>
67
+ <xs:extension base="com:VersionedReference">
68
+ <xs:attribute name="targetClass" type="xs:string" use="required" fixed="tro:TrafficRegulationOrder" />
69
+ </xs:extension>
70
+ </xs:complexContent>
71
+ </xs:complexType>
72
+ <xs:complexType name="BasicAllocation">
73
+ <xs:annotation>
74
+ <xs:documentation>Specifiying allocation by using a basic set of Conditions, but without using the TrafficRegulations namespace </xs:documentation>
75
+ </xs:annotation>
76
+ <xs:complexContent>
77
+ <xs:extension base="rer:RouteAllocation">
78
+ <xs:sequence>
79
+ <xs:element name="condition" type="rer:Condition" />
80
+ <xs:element name="_basicAllocationExtension" type="com:_ExtensionType" minOccurs="0" />
81
+ </xs:sequence>
82
+ </xs:extension>
83
+ </xs:complexContent>
84
+ </xs:complexType>
85
+ <xs:complexType name="CapacityManagement">
86
+ <xs:annotation>
87
+ <xs:documentation>One or more capacity management measures without specifying a specific route</xs:documentation>
88
+ </xs:annotation>
89
+ <xs:sequence>
90
+ <xs:element name="name" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
91
+ <xs:annotation>
92
+ <xs:documentation>A given name for the specific capacity management.</xs:documentation>
93
+ </xs:annotation>
94
+ </xs:element>
95
+ <xs:element name="capacityManagementMeasure" type="rer:CapacityManagementMeasure" maxOccurs="unbounded" />
96
+ </xs:sequence>
97
+ </xs:complexType>
98
+ <xs:simpleType name="CapacityManagementActionEnum">
99
+ <xs:annotation>
100
+ <xs:documentation>Types of capacity management actions.</xs:documentation>
101
+ </xs:annotation>
102
+ <xs:restriction base="xs:string">
103
+ <xs:enumeration value="additionalParkingBan">
104
+ <xs:annotation>
105
+ <xs:documentation>A temporary additional parking ban or restriction shall be implemented, for example to improve traffic flow on the route.</xs:documentation>
106
+ </xs:annotation>
107
+ </xs:enumeration>
108
+ <xs:enumeration value="alteredSignalPhasing">
109
+ <xs:annotation>
110
+ <xs:documentation>Traffic signal phases are altered (i.e. different sequence or timing to the normal signal phases).</xs:documentation>
111
+ </xs:annotation>
112
+ </xs:enumeration>
113
+ <xs:enumeration value="alternatedSignalisedTraffic">
114
+ <xs:annotation>
115
+ <xs:documentation>Alternated signalised traffic</xs:documentation>
116
+ </xs:annotation>
117
+ </xs:enumeration>
118
+ <xs:enumeration value="closedEntry">
119
+ <xs:annotation>
120
+ <xs:documentation>Closed entry</xs:documentation>
121
+ </xs:annotation>
122
+ </xs:enumeration>
123
+ <xs:enumeration value="closedExit">
124
+ <xs:annotation>
125
+ <xs:documentation>Closed exit</xs:documentation>
126
+ </xs:annotation>
127
+ </xs:enumeration>
128
+ <xs:enumeration value="closedLanes">
129
+ <xs:annotation>
130
+ <xs:documentation>Closed lanes</xs:documentation>
131
+ </xs:annotation>
132
+ </xs:enumeration>
133
+ <xs:enumeration value="modifiedCycleLength">
134
+ <xs:annotation>
135
+ <xs:documentation>The cycle time of specific traffic signals is modified.</xs:documentation>
136
+ </xs:annotation>
137
+ </xs:enumeration>
138
+ <xs:enumeration value="modifiedGreenPeriod">
139
+ <xs:annotation>
140
+ <xs:documentation>Green period of traffic signals is modified (extended or reduced).</xs:documentation>
141
+ </xs:annotation>
142
+ </xs:enumeration>
143
+ <xs:enumeration value="oneDirectionTraffic">
144
+ <xs:annotation>
145
+ <xs:documentation>One direction traffic</xs:documentation>
146
+ </xs:annotation>
147
+ </xs:enumeration>
148
+ <xs:enumeration value="oneDirectionTrafficReversed">
149
+ <xs:annotation>
150
+ <xs:documentation>One direction traffic reversed</xs:documentation>
151
+ </xs:annotation>
152
+ </xs:enumeration>
153
+ <xs:enumeration value="openedExtraLane">
154
+ <xs:annotation>
155
+ <xs:documentation>Indicates that one or more extra lanes are opened.</xs:documentation>
156
+ </xs:annotation>
157
+ </xs:enumeration>
158
+ <xs:enumeration value="reducingLocalAccess">
159
+ <xs:annotation>
160
+ <xs:documentation>Local access is restricted (e.g. because of an event).</xs:documentation>
161
+ </xs:annotation>
162
+ </xs:enumeration>
163
+ <xs:enumeration value="synchronizedTrafficSignals">
164
+ <xs:annotation>
165
+ <xs:documentation>Linked timing of a sequence of traffic signals on a specific route to improve passage through the traffic signals as a group, e.g. a green wave.</xs:documentation>
166
+ </xs:annotation>
167
+ </xs:enumeration>
168
+ <xs:enumeration value="other">
169
+ <xs:annotation>
170
+ <xs:documentation>Some other traffic management in operation.</xs:documentation>
171
+ </xs:annotation>
172
+ </xs:enumeration>
173
+ <xs:enumeration value="_extended" />
174
+ </xs:restriction>
175
+ </xs:simpleType>
176
+ <xs:complexType name="CapacityManagementMeasure">
177
+ <xs:annotation>
178
+ <xs:documentation>A traffic management measure, possibly with concrete actions, which leads to an intended change (increase or decrease) of capacity for the specific route.</xs:documentation>
179
+ </xs:annotation>
180
+ <xs:sequence>
181
+ <xs:element name="measure" type="rer:_CapacityManagementMeasureEnum" minOccurs="1" maxOccurs="1">
182
+ <xs:annotation>
183
+ <xs:documentation>The type of the capacity management measure</xs:documentation>
184
+ </xs:annotation>
185
+ </xs:element>
186
+ <xs:element name="action" type="rer:_CapacityManagementActionEnum" minOccurs="0" maxOccurs="unbounded">
187
+ <xs:annotation>
188
+ <xs:documentation>Actions that belong to the capacity management measure</xs:documentation>
189
+ </xs:annotation>
190
+ </xs:element>
191
+ <xs:element name="description" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
192
+ <xs:annotation>
193
+ <xs:documentation>A description of the capacity management measure and its actions</xs:documentation>
194
+ </xs:annotation>
195
+ </xs:element>
196
+ <xs:element name="defaultGreenTimeAdjustment" type="com:Seconds" minOccurs="0" maxOccurs="1">
197
+ <xs:annotation>
198
+ <xs:documentation>Additional or reduced traffic signal green time as standard value for all traffic signals on the specified route. Each traffic signal can overwrite this value.</xs:documentation>
199
+ </xs:annotation>
200
+ </xs:element>
201
+ <xs:element name="defaultCycleLength" type="com:Seconds" minOccurs="0" maxOccurs="1">
202
+ <xs:annotation>
203
+ <xs:documentation>The default cycle time to complete one full sequence of the operation of traffic signals along a specified route.</xs:documentation>
204
+ </xs:annotation>
205
+ </xs:element>
206
+ <xs:element name="recommendedSpeed" type="com:KilometresPerHour" minOccurs="0" maxOccurs="1">
207
+ <xs:annotation>
208
+ <xs:documentation>Advice for the optimal vehicle speed, for example in case of a green wave.</xs:documentation>
209
+ </xs:annotation>
210
+ </xs:element>
211
+ <xs:element name="affectedLocation" type="loc:LocationReference" minOccurs="0" maxOccurs="unbounded">
212
+ <xs:annotation>
213
+ <xs:documentation>If the affected location for the capacity measure is not already sufficiently specified in the enclosing objects, this property can be used to define it.</xs:documentation>
214
+ </xs:annotation>
215
+ </xs:element>
216
+ <xs:element name="trafficSignal" type="rer:TrafficSignal" minOccurs="0" maxOccurs="unbounded">
217
+ <xs:annotation>
218
+ <xs:documentation>Traffic signal as part of a group of traffic signals that the management applies to.</xs:documentation>
219
+ </xs:annotation>
220
+ </xs:element>
221
+ <xs:element name="_capacityManagementMeasureExtension" type="com:_ExtensionType" minOccurs="0" />
222
+ </xs:sequence>
223
+ </xs:complexType>
224
+ <xs:simpleType name="CapacityManagementMeasureEnum">
225
+ <xs:annotation>
226
+ <xs:documentation>Types of capacity management measures.</xs:documentation>
227
+ </xs:annotation>
228
+ <xs:restriction base="xs:string">
229
+ <xs:enumeration value="accessMeasures">
230
+ <xs:annotation>
231
+ <xs:documentation>A temporary additional parking ban or restriction shall be implemented, for example to improve traffic flow on the route.</xs:documentation>
232
+ </xs:annotation>
233
+ </xs:enumeration>
234
+ <xs:enumeration value="capacityIncrease">
235
+ <xs:annotation>
236
+ <xs:documentation>Enhanced capacity</xs:documentation>
237
+ </xs:annotation>
238
+ </xs:enumeration>
239
+ <xs:enumeration value="capacityReduction">
240
+ <xs:annotation>
241
+ <xs:documentation>Reduced capacity</xs:documentation>
242
+ </xs:annotation>
243
+ </xs:enumeration>
244
+ <xs:enumeration value="inflowReduction">
245
+ <xs:annotation>
246
+ <xs:documentation>Reduce the inflow</xs:documentation>
247
+ </xs:annotation>
248
+ </xs:enumeration>
249
+ <xs:enumeration value="outflowIncrease">
250
+ <xs:annotation>
251
+ <xs:documentation>Increase the outflow</xs:documentation>
252
+ </xs:annotation>
253
+ </xs:enumeration>
254
+ <xs:enumeration value="parkingMeasures">
255
+ <xs:annotation>
256
+ <xs:documentation>A temporary additional parking ban or restriction shall be implemented, for example to improve traffic flow on the route.</xs:documentation>
257
+ </xs:annotation>
258
+ </xs:enumeration>
259
+ <xs:enumeration value="signalMeasures">
260
+ <xs:annotation>
261
+ <xs:documentation>A temporary additional parking ban or restriction shall be implemented, for example to improve traffic flow on the route.</xs:documentation>
262
+ </xs:annotation>
263
+ </xs:enumeration>
264
+ <xs:enumeration value="other">
265
+ <xs:annotation>
266
+ <xs:documentation>Some other traffic management in operation.</xs:documentation>
267
+ </xs:annotation>
268
+ </xs:enumeration>
269
+ <xs:enumeration value="_extended" />
270
+ </xs:restriction>
271
+ </xs:simpleType>
272
+ <xs:complexType name="Condition" abstract="true">
273
+ <xs:annotation>
274
+ <xs:documentation>Abstract class that specifies a condition for applicabilities or exemptions of a traffic regulation.</xs:documentation>
275
+ </xs:annotation>
276
+ <xs:sequence>
277
+ <xs:element name="negate" type="com:Boolean" minOccurs="0" maxOccurs="1">
278
+ <xs:annotation>
279
+ <xs:documentation>If set to true means that the entire condition shall be negated.</xs:documentation>
280
+ </xs:annotation>
281
+ </xs:element>
282
+ <xs:element name="legalBasis" type="tro:LegalBasis" minOccurs="0" />
283
+ <xs:element name="_conditionExtension" type="com:_ExtensionType" minOccurs="0" />
284
+ </xs:sequence>
285
+ </xs:complexType>
286
+ <xs:simpleType name="ConditionOperator">
287
+ <xs:annotation>
288
+ <xs:documentation>The logical operator to be used in a test of conditions.</xs:documentation>
289
+ </xs:annotation>
290
+ <xs:restriction base="xs:string">
291
+ <xs:enumeration value="or">
292
+ <xs:annotation>
293
+ <xs:documentation>The OR logical operator – a logical operation to determine if any.</xs:documentation>
294
+ </xs:annotation>
295
+ </xs:enumeration>
296
+ <xs:enumeration value="xor">
297
+ <xs:annotation>
298
+ <xs:documentation>The XOR logical operator - a logical operation that outputs true only.</xs:documentation>
299
+ </xs:annotation>
300
+ </xs:enumeration>
301
+ <xs:enumeration value="and">
302
+ <xs:annotation>
303
+ <xs:documentation>The AND logical operator – a logical operation to determine if all.</xs:documentation>
304
+ </xs:annotation>
305
+ </xs:enumeration>
306
+ <xs:enumeration value="_extended" />
307
+ </xs:restriction>
308
+ </xs:simpleType>
309
+ <xs:complexType name="ConditionSet">
310
+ <xs:annotation>
311
+ <xs:documentation>Groups a number of conditions into a condition set.</xs:documentation>
312
+ </xs:annotation>
313
+ <xs:complexContent>
314
+ <xs:extension base="rer:Condition">
315
+ <xs:sequence>
316
+ <xs:element name="operator" type="rer:_ConditionOperator" minOccurs="1" maxOccurs="1">
317
+ <xs:annotation>
318
+ <xs:documentation>Specifies the operator to be applied between the conditions in the set.</xs:documentation>
319
+ </xs:annotation>
320
+ </xs:element>
321
+ <xs:element name="conditions" type="rer:Condition" maxOccurs="unbounded">
322
+ <xs:annotation>
323
+ <xs:documentation>Specifies the conditions that are present in the set</xs:documentation>
324
+ </xs:annotation>
325
+ </xs:element>
326
+ <xs:element name="_conditionSetExtension" type="com:_ExtensionType" minOccurs="0" />
327
+ </xs:sequence>
328
+ </xs:extension>
329
+ </xs:complexContent>
330
+ </xs:complexType>
331
+ <xs:complexType name="DetailedAllocation">
332
+ <xs:annotation>
333
+ <xs:documentation>Allocation using the full Condition model of namespace TrafficRegulations </xs:documentation>
334
+ </xs:annotation>
335
+ <xs:complexContent>
336
+ <xs:extension base="rer:RouteAllocation">
337
+ <xs:sequence>
338
+ <xs:element name="condition" type="tro:Condition" />
339
+ <xs:element name="_detailedAllocationExtension" type="com:_ExtensionType" minOccurs="0" />
340
+ </xs:sequence>
341
+ </xs:extension>
342
+ </xs:complexContent>
343
+ </xs:complexType>
344
+ <xs:simpleType name="FacilityTypeEnum">
345
+ <xs:annotation>
346
+ <xs:documentation>A collection of different facilities a route might lead to.</xs:documentation>
347
+ </xs:annotation>
348
+ <xs:restriction base="xs:string">
349
+ <xs:enumeration value="carPark">
350
+ <xs:annotation>
351
+ <xs:documentation>A car park</xs:documentation>
352
+ </xs:annotation>
353
+ </xs:enumeration>
354
+ <xs:enumeration value="parking">
355
+ <xs:annotation>
356
+ <xs:documentation>An area for parking</xs:documentation>
357
+ </xs:annotation>
358
+ </xs:enumeration>
359
+ <xs:enumeration value="publicTransport">
360
+ <xs:annotation>
361
+ <xs:documentation>A public transport station or hub</xs:documentation>
362
+ </xs:annotation>
363
+ </xs:enumeration>
364
+ <xs:enumeration value="parkAndDrive">
365
+ <xs:annotation>
366
+ <xs:documentation>Parking for users that share their cars</xs:documentation>
367
+ </xs:annotation>
368
+ </xs:enumeration>
369
+ <xs:enumeration value="parkAndRide">
370
+ <xs:annotation>
371
+ <xs:documentation>Parking for public transport users.</xs:documentation>
372
+ </xs:annotation>
373
+ </xs:enumeration>
374
+ <xs:enumeration value="parkAndCycle">
375
+ <xs:annotation>
376
+ <xs:documentation>A parking site for people who continue their journey by bike.</xs:documentation>
377
+ </xs:annotation>
378
+ </xs:enumeration>
379
+ <xs:enumeration value="parkAndWalk">
380
+ <xs:annotation>
381
+ <xs:documentation>A parking site for people who continue to walk.</xs:documentation>
382
+ </xs:annotation>
383
+ </xs:enumeration>
384
+ <xs:enumeration value="kissAndRide">
385
+ <xs:annotation>
386
+ <xs:documentation>Parking site with possibility for very short parking to drop off (or drop on) passengers for public transport.</xs:documentation>
387
+ </xs:annotation>
388
+ </xs:enumeration>
389
+ <xs:enumeration value="liftshare">
390
+ <xs:annotation>
391
+ <xs:documentation>A parking site for people who are sharing their cars.</xs:documentation>
392
+ </xs:annotation>
393
+ </xs:enumeration>
394
+ <xs:enumeration value="carSharing">
395
+ <xs:annotation>
396
+ <xs:documentation>A parking site for people who are sharing cars organised by a car sharing company..</xs:documentation>
397
+ </xs:annotation>
398
+ </xs:enumeration>
399
+ <xs:enumeration value="restArea">
400
+ <xs:annotation>
401
+ <xs:documentation>The parking site is associated with a rest area, i.e. people can relax some time outside their car there. Note that the presence of some bench, picnic place or toilet is already sufficient; there is no need for a restaurant or a building.</xs:documentation>
402
+ </xs:annotation>
403
+ </xs:enumeration>
404
+ <xs:enumeration value="serviceArea">
405
+ <xs:annotation>
406
+ <xs:documentation>The parking site is associated with a service area.</xs:documentation>
407
+ </xs:annotation>
408
+ </xs:enumeration>
409
+ <xs:enumeration value="eventParking">
410
+ <xs:annotation>
411
+ <xs:documentation>Parking is associated with an event. Use 'eventParkingType' to specify the event.</xs:documentation>
412
+ </xs:annotation>
413
+ </xs:enumeration>
414
+ <xs:enumeration value="dropOff">
415
+ <xs:annotation>
416
+ <xs:documentation>The parking site or space(s) are designed for drop off only.</xs:documentation>
417
+ </xs:annotation>
418
+ </xs:enumeration>
419
+ <xs:enumeration value="overnightParking">
420
+ <xs:annotation>
421
+ <xs:documentation>The parking site or space(s) are designed for overnight parking. Note that the absence of this scenario does not automatically mean a prohibition of overnight parking. See also PermitsAndProhibitions.</xs:documentation>
422
+ </xs:annotation>
423
+ </xs:enumeration>
424
+ <xs:enumeration value="pointOfInterest">
425
+ <xs:annotation>
426
+ <xs:documentation>A specific point of interest.</xs:documentation>
427
+ </xs:annotation>
428
+ </xs:enumeration>
429
+ <xs:enumeration value="other">
430
+ <xs:annotation>
431
+ <xs:documentation>Some other usage scenario.</xs:documentation>
432
+ </xs:annotation>
433
+ </xs:enumeration>
434
+ <xs:enumeration value="_extended" />
435
+ </xs:restriction>
436
+ </xs:simpleType>
437
+ <xs:complexType name="OccupantCondition">
438
+ <xs:annotation>
439
+ <xs:documentation>Conditions for the occupants of a vehicle.</xs:documentation>
440
+ </xs:annotation>
441
+ <xs:complexContent>
442
+ <xs:extension base="rer:Condition">
443
+ <xs:sequence>
444
+ <xs:element name="disabledWithPermit" type="com:Boolean" minOccurs="0" maxOccurs="1">
445
+ <xs:annotation>
446
+ <xs:documentation>Occupant is disabled with permit.</xs:documentation>
447
+ </xs:annotation>
448
+ </xs:element>
449
+ <xs:element name="numberOfOccupants" type="com:NonNegativeInteger" minOccurs="0" maxOccurs="1">
450
+ <xs:annotation>
451
+ <xs:documentation>Total number of occupants including the driver.</xs:documentation>
452
+ </xs:annotation>
453
+ </xs:element>
454
+ <xs:element name="_occupantConditionExtension" type="com:_ExtensionType" minOccurs="0" />
455
+ </xs:sequence>
456
+ </xs:extension>
457
+ </xs:complexContent>
458
+ </xs:complexType>
459
+ <xs:simpleType name="PriorityIndex">
460
+ <xs:annotation>
461
+ <xs:documentation>A priority index for routes with 0 = no priority; up to 10 = highest priority.</xs:documentation>
462
+ </xs:annotation>
463
+ <xs:restriction base="com:NonNegativeInteger">
464
+ <xs:minInclusive value="0" />
465
+ <xs:maxInclusive value="10" />
466
+ </xs:restriction>
467
+ </xs:simpleType>
468
+ <xs:complexType name="PtSchedule">
469
+ <xs:annotation>
470
+ <xs:documentation>A rough schedule for one or more public transport lines from this stop</xs:documentation>
471
+ </xs:annotation>
472
+ <xs:sequence>
473
+ <xs:element name="lastUpdated" type="com:DateTime" minOccurs="1" maxOccurs="1">
474
+ <xs:annotation>
475
+ <xs:documentation>The timestamp of the latest update of this information.</xs:documentation>
476
+ </xs:annotation>
477
+ </xs:element>
478
+ <xs:element name="line" type="com:String" minOccurs="0" maxOccurs="unbounded">
479
+ <xs:annotation>
480
+ <xs:documentation>Line or multiple lines for which this schedule is valid</xs:documentation>
481
+ </xs:annotation>
482
+ </xs:element>
483
+ <xs:element name="nextDepartures" type="com:Time" minOccurs="0" maxOccurs="unbounded">
484
+ <xs:annotation>
485
+ <xs:documentation>The next departures for this line / these lines</xs:documentation>
486
+ </xs:annotation>
487
+ </xs:element>
488
+ <xs:element name="destination" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
489
+ <xs:annotation>
490
+ <xs:documentation>A destination that can be reached from this stop</xs:documentation>
491
+ </xs:annotation>
492
+ </xs:element>
493
+ <xs:element name="interval" type="com:Seconds" minOccurs="0" maxOccurs="1">
494
+ <xs:annotation>
495
+ <xs:documentation>The interval for reaching the destination from this stop</xs:documentation>
496
+ </xs:annotation>
497
+ </xs:element>
498
+ <xs:element name="travelTimeToDestination" type="com:Seconds" minOccurs="0" maxOccurs="1">
499
+ <xs:annotation>
500
+ <xs:documentation>The travel time to reach the destination from this stop</xs:documentation>
501
+ </xs:annotation>
502
+ </xs:element>
503
+ <xs:element name="ptType" type="rer:_PublicTransportTypeEnum" minOccurs="0" maxOccurs="unbounded">
504
+ <xs:annotation>
505
+ <xs:documentation>The type of public transport</xs:documentation>
506
+ </xs:annotation>
507
+ </xs:element>
508
+ <xs:element name="ptVehicleType" type="rer:_PublicTransportVehicleType" minOccurs="0" maxOccurs="1">
509
+ <xs:annotation>
510
+ <xs:documentation>The type of public transport vehicle.</xs:documentation>
511
+ </xs:annotation>
512
+ </xs:element>
513
+ <xs:element name="ptVehicleName" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
514
+ <xs:annotation>
515
+ <xs:documentation>A name of the specific vehicle type, for example "Railjet".</xs:documentation>
516
+ </xs:annotation>
517
+ </xs:element>
518
+ <xs:element name="ptOperator" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
519
+ <xs:annotation>
520
+ <xs:documentation>Information about the operator of this public transport.</xs:documentation>
521
+ </xs:annotation>
522
+ </xs:element>
523
+ <xs:element name="validity" type="com:Validity" minOccurs="0" />
524
+ <xs:element name="_ptScheduleExtension" type="com:_ExtensionType" minOccurs="0" />
525
+ </xs:sequence>
526
+ <xs:attribute name="id" type="xs:string" use="required" />
527
+ <xs:attribute name="version" type="xs:string" use="required" />
528
+ </xs:complexType>
529
+ <xs:simpleType name="PublicTransportTypeEnum">
530
+ <xs:annotation>
531
+ <xs:documentation>Special measures in the context of public transport.</xs:documentation>
532
+ </xs:annotation>
533
+ <xs:restriction base="xs:string">
534
+ <xs:enumeration value="freePublicTransport">
535
+ <xs:annotation>
536
+ <xs:documentation>Use of public transport is free at all.</xs:documentation>
537
+ </xs:annotation>
538
+ </xs:enumeration>
539
+ <xs:enumeration value="nonFreePublicTransport">
540
+ <xs:annotation>
541
+ <xs:documentation>For the use of this public transport a fee must be paid / a ticket must be purchased</xs:documentation>
542
+ </xs:annotation>
543
+ </xs:enumeration>
544
+ <xs:enumeration value="onDemandTraffic">
545
+ <xs:annotation>
546
+ <xs:documentation>This service is running only on demand</xs:documentation>
547
+ </xs:annotation>
548
+ </xs:enumeration>
549
+ <xs:enumeration value="railReplacementService">
550
+ <xs:annotation>
551
+ <xs:documentation>There is a replacement service for rail traffic in place, usually served by buses.</xs:documentation>
552
+ </xs:annotation>
553
+ </xs:enumeration>
554
+ <xs:enumeration value="shuttleService">
555
+ <xs:annotation>
556
+ <xs:documentation>Shuttle services are in place, usually to reach a specific destination or event.</xs:documentation>
557
+ </xs:annotation>
558
+ </xs:enumeration>
559
+ <xs:enumeration value="_extended" />
560
+ </xs:restriction>
561
+ </xs:simpleType>
562
+ <xs:simpleType name="PublicTransportVehicleType">
563
+ <xs:annotation>
564
+ <xs:documentation>Types of public transport vehicles</xs:documentation>
565
+ </xs:annotation>
566
+ <xs:restriction base="xs:string">
567
+ <xs:enumeration value="bus">
568
+ <xs:annotation>
569
+ <xs:documentation>A bus</xs:documentation>
570
+ </xs:annotation>
571
+ </xs:enumeration>
572
+ <xs:enumeration value="coach">
573
+ <xs:annotation>
574
+ <xs:documentation>A coach</xs:documentation>
575
+ </xs:annotation>
576
+ </xs:enumeration>
577
+ <xs:enumeration value="miniBus">
578
+ <xs:annotation>
579
+ <xs:documentation>A small bus</xs:documentation>
580
+ </xs:annotation>
581
+ </xs:enumeration>
582
+ <xs:enumeration value="subway">
583
+ <xs:annotation>
584
+ <xs:documentation>A subway</xs:documentation>
585
+ </xs:annotation>
586
+ </xs:enumeration>
587
+ <xs:enumeration value="taxi">
588
+ <xs:annotation>
589
+ <xs:documentation>A taxi</xs:documentation>
590
+ </xs:annotation>
591
+ </xs:enumeration>
592
+ <xs:enumeration value="train">
593
+ <xs:annotation>
594
+ <xs:documentation>A train</xs:documentation>
595
+ </xs:annotation>
596
+ </xs:enumeration>
597
+ <xs:enumeration value="tram">
598
+ <xs:annotation>
599
+ <xs:documentation>A tram</xs:documentation>
600
+ </xs:annotation>
601
+ </xs:enumeration>
602
+ <xs:enumeration value="_extended" />
603
+ </xs:restriction>
604
+ </xs:simpleType>
605
+ <xs:simpleType name="ReroutingAdviceTypeEnum">
606
+ <xs:annotation>
607
+ <xs:documentation>Advices related to rerouting.</xs:documentation>
608
+ </xs:annotation>
609
+ <xs:restriction base="xs:string">
610
+ <xs:enumeration value="doNotFollowDiversionSigns">
611
+ <xs:annotation>
612
+ <xs:documentation>Do not follow diversion signs.</xs:documentation>
613
+ </xs:annotation>
614
+ </xs:enumeration>
615
+ <xs:enumeration value="doNotUseEntry">
616
+ <xs:annotation>
617
+ <xs:documentation>Rerouted traffic is not to use the specified entry onto the identified road to commence the alternative route.</xs:documentation>
618
+ </xs:annotation>
619
+ </xs:enumeration>
620
+ <xs:enumeration value="doNotUseExit">
621
+ <xs:annotation>
622
+ <xs:documentation>Rerouted traffic is not to use the specified exit from the identified road to commence the alternative route.</xs:documentation>
623
+ </xs:annotation>
624
+ </xs:enumeration>
625
+ <xs:enumeration value="doNotUseIntersectionOrJunction">
626
+ <xs:annotation>
627
+ <xs:documentation>Rerouted traffic is not to use the specified intersection or junction.</xs:documentation>
628
+ </xs:annotation>
629
+ </xs:enumeration>
630
+ <xs:enumeration value="followDiversionSigns">
631
+ <xs:annotation>
632
+ <xs:documentation>Rerouted traffic is to follow the diversion signs.</xs:documentation>
633
+ </xs:annotation>
634
+ </xs:enumeration>
635
+ <xs:enumeration value="followLocalDiversion">
636
+ <xs:annotation>
637
+ <xs:documentation>Rerouted traffic is to follow local diversion.</xs:documentation>
638
+ </xs:annotation>
639
+ </xs:enumeration>
640
+ <xs:enumeration value="followSpecialMarkers">
641
+ <xs:annotation>
642
+ <xs:documentation>Rerouted traffic is to follow the special diversion markers.</xs:documentation>
643
+ </xs:annotation>
644
+ </xs:enumeration>
645
+ <xs:enumeration value="useEntry">
646
+ <xs:annotation>
647
+ <xs:documentation>Rerouted traffic is to use the specified entry onto the identified road to commence the alternative route.</xs:documentation>
648
+ </xs:annotation>
649
+ </xs:enumeration>
650
+ <xs:enumeration value="useExit">
651
+ <xs:annotation>
652
+ <xs:documentation>Rerouted traffic is to use the specified exit from the identified road to commence the alternative route.</xs:documentation>
653
+ </xs:annotation>
654
+ </xs:enumeration>
655
+ <xs:enumeration value="useIntersectionOrJunction">
656
+ <xs:annotation>
657
+ <xs:documentation>Rerouted traffic is to use the specified intersection or junction to commence the alternative route.</xs:documentation>
658
+ </xs:annotation>
659
+ </xs:enumeration>
660
+ <xs:enumeration value="_extended" />
661
+ </xs:restriction>
662
+ </xs:simpleType>
663
+ <xs:complexType name="ReroutingManagementEnhanced">
664
+ <xs:annotation>
665
+ <xs:documentation>Description of one or more alternative routes (and additional measures) which are differentiated from the original route that may be congested, blocked or closed.</xs:documentation>
666
+ </xs:annotation>
667
+ <xs:sequence>
668
+ <xs:element name="name" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
669
+ <xs:annotation>
670
+ <xs:documentation>A given name for the specific route management.</xs:documentation>
671
+ </xs:annotation>
672
+ </xs:element>
673
+ <xs:element name="type" type="rer:_ReroutingTypeEnum" minOccurs="0" maxOccurs="1">
674
+ <xs:annotation>
675
+ <xs:documentation>The type of rerouting.</xs:documentation>
676
+ </xs:annotation>
677
+ </xs:element>
678
+ <xs:element name="bindingTrafficRegulation" type="com:Boolean" minOccurs="0" maxOccurs="1">
679
+ <xs:annotation>
680
+ <xs:documentation>Indicates that the rerouting information is a binding traffic regulation (i.e. shall be followed).</xs:documentation>
681
+ </xs:annotation>
682
+ </xs:element>
683
+ <xs:element name="preventiveMeasure" type="com:Boolean" minOccurs="0" maxOccurs="1">
684
+ <xs:annotation>
685
+ <xs:documentation>Indicates an action that is taken in advance (e.g. before an incident or traffic disruption occurs).</xs:documentation>
686
+ </xs:annotation>
687
+ </xs:element>
688
+ <xs:element name="routingOrigin" type="loc:Location" minOccurs="0" maxOccurs="unbounded">
689
+ <xs:annotation>
690
+ <xs:documentation>A location serving as a geo-filter for routing itineraries that have their starting point within this location and for which this rerouting management should become applicable.</xs:documentation>
691
+ </xs:annotation>
692
+ </xs:element>
693
+ <xs:element name="routingThrough" type="loc:Location" minOccurs="0" maxOccurs="unbounded">
694
+ <xs:annotation>
695
+ <xs:documentation>A location serving as a geo-filter for routing itineraries that touch or pass through this location and for which this rerouting management should become applicable.</xs:documentation>
696
+ </xs:annotation>
697
+ </xs:element>
698
+ <xs:element name="routingDestination" type="loc:Location" minOccurs="0" maxOccurs="unbounded">
699
+ <xs:annotation>
700
+ <xs:documentation>A location serving as a geo-filter for routing itineraries that have their end point within this location and for which this rerouting management should become applicable.</xs:documentation>
701
+ </xs:annotation>
702
+ </xs:element>
703
+ <xs:element name="originalRoute" type="rer:RouteDescription" minOccurs="0">
704
+ <xs:annotation>
705
+ <xs:documentation>The original route, for which alternative routes are specified, which may be congested, blocked or closed.</xs:documentation>
706
+ </xs:annotation>
707
+ </xs:element>
708
+ <xs:element name="alternativeRoute" type="rer:RouteDescription" minOccurs="0" maxOccurs="unbounded">
709
+ <xs:annotation>
710
+ <xs:documentation>An alternative route on the transport network that provides a functionally equivalent but distinct route from the original route.</xs:documentation>
711
+ </xs:annotation>
712
+ </xs:element>
713
+ </xs:sequence>
714
+ </xs:complexType>
715
+ <xs:simpleType name="ReroutingTypeEnum">
716
+ <xs:annotation>
717
+ <xs:documentation>Types of rerouting management.</xs:documentation>
718
+ </xs:annotation>
719
+ <xs:restriction base="xs:string">
720
+ <xs:enumeration value="alternative">
721
+ <xs:annotation>
722
+ <xs:documentation>A general alternative rerouting.</xs:documentation>
723
+ </xs:annotation>
724
+ </xs:enumeration>
725
+ <xs:enumeration value="kpiForNavigationServices">
726
+ <xs:annotation>
727
+ <xs:documentation>A rerouting for navigation services to match defined key performance indicators, for example reduce of traffic.</xs:documentation>
728
+ </xs:annotation>
729
+ </xs:enumeration>
730
+ <xs:enumeration value="parkAndRide">
731
+ <xs:annotation>
732
+ <xs:documentation>A rerouting in combination with park &amp; ride.</xs:documentation>
733
+ </xs:annotation>
734
+ </xs:enumeration>
735
+ <xs:enumeration value="parkingGuidance">
736
+ <xs:annotation>
737
+ <xs:documentation>A parking guidance rerouting.</xs:documentation>
738
+ </xs:annotation>
739
+ </xs:enumeration>
740
+ <xs:enumeration value="strategyConform">
741
+ <xs:annotation>
742
+ <xs:documentation>A strategy conform rerouting.</xs:documentation>
743
+ </xs:annotation>
744
+ </xs:enumeration>
745
+ <xs:enumeration value="urbanCompatible">
746
+ <xs:annotation>
747
+ <xs:documentation>An urban compatible rerouting.</xs:documentation>
748
+ </xs:annotation>
749
+ </xs:enumeration>
750
+ <xs:enumeration value="_extended" />
751
+ </xs:restriction>
752
+ </xs:simpleType>
753
+ <xs:complexType name="RouteAllocation">
754
+ <xs:annotation>
755
+ <xs:documentation>Supports the allocation of traffic by proportion for a specific route against other alternative routes that perform the same functional purpose. This may also include the original route.</xs:documentation>
756
+ </xs:annotation>
757
+ <xs:sequence>
758
+ <xs:element name="routeProportion" type="com:Percentage" minOccurs="0" maxOccurs="1">
759
+ <xs:annotation>
760
+ <xs:documentation>The weight of this specific route against other alternative routes (and possibly the original route) that have identical specific applied characteristics in their route allocation. Those sets of weights should always sum up to 100%.</xs:documentation>
761
+ </xs:annotation>
762
+ </xs:element>
763
+ <xs:element name="reroutingAdvice" type="rer:_ReroutingAdviceTypeEnum" minOccurs="0" maxOccurs="unbounded">
764
+ <xs:annotation>
765
+ <xs:documentation>Type of rerouting advice instigated by operator.</xs:documentation>
766
+ </xs:annotation>
767
+ </xs:element>
768
+ <xs:element name="complianceOptionOverride" type="sit:_ComplianceOptionEnum" minOccurs="0" maxOccurs="1">
769
+ <xs:annotation>
770
+ <xs:documentation>Override the compliance option for the specific route to make it mandatory or advisory.</xs:documentation>
771
+ </xs:annotation>
772
+ </xs:element>
773
+ <xs:element name="routeEffectivlyClosedForAllocation" type="com:Boolean" minOccurs="0" maxOccurs="1">
774
+ <xs:annotation>
775
+ <xs:documentation>For the specification given in this particular allocation set, the route is closed.</xs:documentation>
776
+ </xs:annotation>
777
+ </xs:element>
778
+ <xs:element name="_routeAllocationExtension" type="com:_ExtensionType" minOccurs="0" />
779
+ </xs:sequence>
780
+ </xs:complexType>
781
+ <xs:complexType name="RouteDescription">
782
+ <xs:annotation>
783
+ <xs:documentation>Description of a route (original/alternatives), the location of which is defined by an Itinerary.</xs:documentation>
784
+ </xs:annotation>
785
+ <xs:sequence>
786
+ <xs:element name="nameOfRoute" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
787
+ <xs:annotation>
788
+ <xs:documentation>Human oriented name or identifier for the route for better usability.</xs:documentation>
789
+ </xs:annotation>
790
+ </xs:element>
791
+ <xs:element name="routeClosed" type="com:Boolean" minOccurs="0" maxOccurs="1">
792
+ <xs:annotation>
793
+ <xs:documentation>Whether the route is closed for all kind of traffic</xs:documentation>
794
+ </xs:annotation>
795
+ </xs:element>
796
+ <xs:element name="isPublicTransportRoute" type="com:Boolean" minOccurs="0" maxOccurs="1">
797
+ <xs:annotation>
798
+ <xs:documentation>Indication, if the route itself is a public transport route. A schedule may be offered.</xs:documentation>
799
+ </xs:annotation>
800
+ </xs:element>
801
+ <xs:element name="troReference" type="rer:_TrafficRegulationOrderVersionedReference" minOccurs="0" maxOccurs="unbounded">
802
+ <xs:annotation>
803
+ <xs:documentation>A reference to a coresponding traffic regulation order</xs:documentation>
804
+ </xs:annotation>
805
+ </xs:element>
806
+ <xs:element name="priorityIndex" type="rer:PriorityIndex" minOccurs="0" maxOccurs="1">
807
+ <xs:annotation>
808
+ <xs:documentation>A priority index for this route. 0 = no priority; up to 10 = highest priority.</xs:documentation>
809
+ </xs:annotation>
810
+ </xs:element>
811
+ <xs:element name="capacityAvailable" type="com:Boolean" minOccurs="0" maxOccurs="1">
812
+ <xs:annotation>
813
+ <xs:documentation>Indicates that capacities are still available on this route (or not).</xs:documentation>
814
+ </xs:annotation>
815
+ </xs:element>
816
+ <xs:element name="signedRerouting" type="com:Boolean" minOccurs="0" maxOccurs="1">
817
+ <xs:annotation>
818
+ <xs:documentation>Indication of whether the rerouting is signed with road traffic signs.</xs:documentation>
819
+ </xs:annotation>
820
+ </xs:element>
821
+ <xs:element name="entry" type="com:String" minOccurs="0" maxOccurs="1">
822
+ <xs:annotation>
823
+ <xs:documentation>The specified entry on to a road, not forming part of the original route, at which the alternative route commences.</xs:documentation>
824
+ </xs:annotation>
825
+ </xs:element>
826
+ <xs:element name="exit" type="com:String" minOccurs="0" maxOccurs="1">
827
+ <xs:annotation>
828
+ <xs:documentation>The specified exit from the normal route/road at which this specific alternative route commences.</xs:documentation>
829
+ </xs:annotation>
830
+ </xs:element>
831
+ <xs:element name="roadOrJunctionNumber" type="com:String" minOccurs="0" maxOccurs="1">
832
+ <xs:annotation>
833
+ <xs:documentation>The intersecting road or the junction at which this specific alternative route commences.</xs:documentation>
834
+ </xs:annotation>
835
+ </xs:element>
836
+ <xs:element name="trafficConstriction" type="sit:_TrafficConstrictionTypeEnum" minOccurs="0" maxOccurs="1">
837
+ <xs:annotation>
838
+ <xs:documentation>Traffic constriction for this route.</xs:documentation>
839
+ </xs:annotation>
840
+ </xs:element>
841
+ <xs:element name="routeLength" type="com:MetresAsNonNegativeInteger" minOccurs="0" maxOccurs="1">
842
+ <xs:annotation>
843
+ <xs:documentation>The length of the route.</xs:documentation>
844
+ </xs:annotation>
845
+ </xs:element>
846
+ <xs:element name="itinerary" type="loc:Itinerary" minOccurs="0">
847
+ <xs:annotation>
848
+ <xs:documentation>Group of one or more physically separate locations arranged as an ordered set that defines a route (SOURCE: EN16157-2)</xs:documentation>
849
+ </xs:annotation>
850
+ </xs:element>
851
+ <xs:element name="routeAllocation" type="rer:RouteAllocation" minOccurs="0" maxOccurs="unbounded" />
852
+ <xs:element name="specificDestinationFacility" type="rer:SpecificDestinationFacility" minOccurs="0" />
853
+ <xs:element name="ptRouteSchedule" type="rer:PtSchedule" minOccurs="0" maxOccurs="unbounded">
854
+ <xs:annotation>
855
+ <xs:documentation>Public transport route schedule for the associated RouteDescription</xs:documentation>
856
+ </xs:annotation>
857
+ </xs:element>
858
+ <xs:element name="capacityManagementMeasure" type="rer:CapacityManagementMeasure" minOccurs="0" maxOccurs="unbounded" />
859
+ <xs:element name="supplementaryPositionalDescription" type="loc:SupplementaryPositionalDescription" minOccurs="0" />
860
+ <xs:element name="abnormalTraffic" type="sit:AbnormalTraffic" minOccurs="0" />
861
+ <xs:element name="routeDelays" type="sit:Delays" minOccurs="0">
862
+ <xs:annotation>
863
+ <xs:documentation>Details of the delays on this specific route. It is recommended to only use one of the optional attributes to avoid confusion.</xs:documentation>
864
+ </xs:annotation>
865
+ </xs:element>
866
+ <xs:element name="trafficStatus" type="roa:TrafficStatusValue" minOccurs="0" />
867
+ <xs:element name="travelTimeData" type="roa:TravelTimeData" minOccurs="0" maxOccurs="unbounded" />
868
+ <xs:element name="_routeDescriptionExtension" type="com:_ExtensionType" minOccurs="0" />
869
+ </xs:sequence>
870
+ </xs:complexType>
871
+ <xs:complexType name="SpecificDestinationFacility">
872
+ <xs:annotation>
873
+ <xs:documentation>A specifric facility as a destination for the routing/rerouting.</xs:documentation>
874
+ </xs:annotation>
875
+ <xs:complexContent>
876
+ <xs:extension base="fac:Facility">
877
+ <xs:sequence>
878
+ <xs:element name="type" type="rer:_FacilityTypeEnum" minOccurs="1" maxOccurs="1">
879
+ <xs:annotation>
880
+ <xs:documentation>The type of this specific destination facility.</xs:documentation>
881
+ </xs:annotation>
882
+ </xs:element>
883
+ <xs:element name="otherSpecificDestinationFacility" type="com:MultilingualString" minOccurs="0" maxOccurs="1">
884
+ <xs:annotation>
885
+ <xs:documentation>A specific destination facility for this route using a free text.</xs:documentation>
886
+ </xs:annotation>
887
+ </xs:element>
888
+ <xs:element name="freeParking" type="com:Boolean" minOccurs="0" maxOccurs="1">
889
+ <xs:annotation>
890
+ <xs:documentation>Indication whether parking is for free or not at this facility.</xs:documentation>
891
+ </xs:annotation>
892
+ </xs:element>
893
+ <xs:element name="ptSchedule" type="rer:PtSchedule" minOccurs="0" maxOccurs="unbounded" />
894
+ <xs:element name="_specificDestinationFacilityExtension" type="com:_ExtensionType" minOccurs="0" />
895
+ </xs:sequence>
896
+ </xs:extension>
897
+ </xs:complexContent>
898
+ </xs:complexType>
899
+ <xs:complexType name="TrafficSignal">
900
+ <xs:annotation>
901
+ <xs:documentation>Road equipment for controlling traffic with a set of automatically operated lights of different colours.</xs:documentation>
902
+ </xs:annotation>
903
+ <xs:sequence>
904
+ <xs:element name="externalId" type="com:String" minOccurs="0" maxOccurs="1">
905
+ <xs:annotation>
906
+ <xs:documentation>An external identifier to identify the traffic signal.</xs:documentation>
907
+ </xs:annotation>
908
+ </xs:element>
909
+ <xs:element name="greenTimeAdjustmentOverride" type="com:Seconds" minOccurs="0" maxOccurs="1">
910
+ <xs:annotation>
911
+ <xs:documentation>Additional or reduced green time for this traffic signal. Overwrites the default value.</xs:documentation>
912
+ </xs:annotation>
913
+ </xs:element>
914
+ <xs:element name="cycleLengthOverride" type="com:Seconds" minOccurs="0" maxOccurs="1">
915
+ <xs:annotation>
916
+ <xs:documentation>The cycle time for this traffic signal. Overwrites the default value.</xs:documentation>
917
+ </xs:annotation>
918
+ </xs:element>
919
+ <xs:element name="signalGroup" type="com:Reference" minOccurs="0" maxOccurs="1">
920
+ <xs:annotation>
921
+ <xs:documentation>Corresponding signal group object described in more detail externally,</xs:documentation>
922
+ </xs:annotation>
923
+ </xs:element>
924
+ <xs:element name="notionalMidPoint" type="loc:PointLocation" minOccurs="0">
925
+ <xs:annotation>
926
+ <xs:documentation>Abstracted location representing a singular reference location for all traffic signals at a single intersection (usually its midpoint or helpwise the horizontal midpoint of the corresponding stop line).</xs:documentation>
927
+ </xs:annotation>
928
+ </xs:element>
929
+ <xs:element name="_trafficSignalExtension" type="com:_ExtensionType" minOccurs="0" />
930
+ </xs:sequence>
931
+ <xs:attribute name="index" type="com:Integer" use="required">
932
+ <xs:annotation>
933
+ <xs:documentation>An index to assign a fixed order for multiple elements of this type.</xs:documentation>
934
+ </xs:annotation>
935
+ </xs:attribute>
936
+ </xs:complexType>
937
+ <xs:complexType name="TrafficTypeCondition">
938
+ <xs:annotation>
939
+ <xs:documentation>Conditions for traffic types</xs:documentation>
940
+ </xs:annotation>
941
+ <xs:complexContent>
942
+ <xs:extension base="rer:Condition">
943
+ <xs:sequence>
944
+ <xs:element name="trafficType" type="sit:_TrafficTypeEnum" minOccurs="0" maxOccurs="unbounded">
945
+ <xs:annotation>
946
+ <xs:documentation>Exclduing certain types of traffic.</xs:documentation>
947
+ </xs:annotation>
948
+ </xs:element>
949
+ <xs:element name="_trafficTypeConditionExtension" type="com:_ExtensionType" minOccurs="0" />
950
+ </xs:sequence>
951
+ </xs:extension>
952
+ </xs:complexContent>
953
+ </xs:complexType>
954
+ <xs:complexType name="UserCondition">
955
+ <xs:annotation>
956
+ <xs:documentation>Conditions depending on specific users</xs:documentation>
957
+ </xs:annotation>
958
+ <xs:complexContent>
959
+ <xs:extension base="rer:Condition">
960
+ <xs:sequence>
961
+ <xs:element name="users" type="fac:_UserTypeEnum" minOccurs="0" maxOccurs="unbounded">
962
+ <xs:annotation>
963
+ <xs:documentation>A restriction for certain users.</xs:documentation>
964
+ </xs:annotation>
965
+ </xs:element>
966
+ <xs:element name="_userConditionExtension" type="com:_ExtensionType" minOccurs="0" />
967
+ </xs:sequence>
968
+ </xs:extension>
969
+ </xs:complexContent>
970
+ </xs:complexType>
971
+ <xs:complexType name="ValidityCondition">
972
+ <xs:annotation>
973
+ <xs:documentation>Conditions for time validity of a traffic regulation.</xs:documentation>
974
+ </xs:annotation>
975
+ <xs:complexContent>
976
+ <xs:extension base="rer:Condition">
977
+ <xs:sequence>
978
+ <xs:element name="validity" type="com:Validity" />
979
+ <xs:element name="_validityConditionExtension" type="com:_ExtensionType" minOccurs="0" />
980
+ </xs:sequence>
981
+ </xs:extension>
982
+ </xs:complexContent>
983
+ </xs:complexType>
984
+ <xs:complexType name="VehicleCondition">
985
+ <xs:annotation>
986
+ <xs:documentation>Conditions for a vehicle.</xs:documentation>
987
+ </xs:annotation>
988
+ <xs:complexContent>
989
+ <xs:extension base="rer:Condition">
990
+ <xs:sequence>
991
+ <xs:element name="vehicleCharacteristics" type="com:VehicleCharacteristics" />
992
+ <xs:element name="_vehicleConditionExtension" type="com:_ExtensionType" minOccurs="0" />
993
+ </xs:sequence>
994
+ </xs:extension>
995
+ </xs:complexContent>
996
+ </xs:complexType>
997
+ </xs:schema>