siri-xsd 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/Gemfile +4 -0
  4. data/Gemfile.lock +47 -0
  5. data/README.md +23 -0
  6. data/bitbucket-pipelines.yml +18 -0
  7. data/exe/siri-xsd-validate +42 -0
  8. data/lib/siri/xsd/validator.rb +62 -0
  9. data/lib/siri/xsd/version.rb +5 -0
  10. data/lib/siri/xsd.rb +10 -0
  11. data/siri-xsd.gemspec +35 -0
  12. data/vendor/xsd/acsb/acsb_accessibility.xsd +138 -0
  13. data/vendor/xsd/acsb/acsb_all.xsd +11 -0
  14. data/vendor/xsd/acsb/acsb_limitations.xsd +141 -0
  15. data/vendor/xsd/acsb/acsb_passengerMobility.xsd +212 -0
  16. data/vendor/xsd/datex2/DATEXIISchema.xsd +3713 -0
  17. data/vendor/xsd/datex2/DATEXIISchemaWithDefinitions.xsd +11538 -0
  18. data/vendor/xsd/gml/basicTypes.xsd +267 -0
  19. data/vendor/xsd/gml/geometryBasic0d1d-extract.xsd +271 -0
  20. data/vendor/xsd/gml/gmlBase-extract.xsd +168 -0
  21. data/vendor/xsd/gml/gmlBasic2d-extract.xsd +120 -0
  22. data/vendor/xsd/gml/gml_extract_all_objects.xsd +12 -0
  23. data/vendor/xsd/ifopt/ifopt_administration.xsd +254 -0
  24. data/vendor/xsd/ifopt/ifopt_allStopPlace.xsd +33 -0
  25. data/vendor/xsd/ifopt/ifopt_checkpoint.xsd +222 -0
  26. data/vendor/xsd/ifopt/ifopt_countries.xsd +1320 -0
  27. data/vendor/xsd/ifopt/ifopt_equipment.xsd +207 -0
  28. data/vendor/xsd/ifopt/ifopt_location.xsd +281 -0
  29. data/vendor/xsd/ifopt/ifopt_modes.xsd +84 -0
  30. data/vendor/xsd/ifopt/ifopt_modification.xsd +173 -0
  31. data/vendor/xsd/ifopt/ifopt_path.xsd +164 -0
  32. data/vendor/xsd/ifopt/ifopt_stop.xsd +403 -0
  33. data/vendor/xsd/ifopt/ifopt_time.xsd +131 -0
  34. data/vendor/xsd/ifopt/ifopt_types.xsd +96 -0
  35. data/vendor/xsd/siri/siri_all_framework.xsd +12 -0
  36. data/vendor/xsd/siri/siri_base.xsd +315 -0
  37. data/vendor/xsd/siri/siri_common_services.xsd +900 -0
  38. data/vendor/xsd/siri/siri_request_errorConditions.xsd +590 -0
  39. data/vendor/xsd/siri/siri_request_support.xsd +210 -0
  40. data/vendor/xsd/siri/siri_requests.xsd +1072 -0
  41. data/vendor/xsd/siri.xsd +531 -0
  42. data/vendor/xsd/siriSg.xsd +149 -0
  43. data/vendor/xsd/siri_all_functionalServices.xsd +95 -0
  44. data/vendor/xsd/siri_connectionMonitoring_service.xsd +731 -0
  45. data/vendor/xsd/siri_connectionTimetable_service.xsd +485 -0
  46. data/vendor/xsd/siri_discovery.xsd +898 -0
  47. data/vendor/xsd/siri_estimatedTimetable_service.xsd +490 -0
  48. data/vendor/xsd/siri_facilityMonitoring_service.xsd +493 -0
  49. data/vendor/xsd/siri_generalMessage_service.xsd +483 -0
  50. data/vendor/xsd/siri_model/siri_all.xsd +13 -0
  51. data/vendor/xsd/siri_model/siri_all_journeyModel.xsd +21 -0
  52. data/vendor/xsd/siri_model/siri_all_model.xsd +13 -0
  53. data/vendor/xsd/siri_model/siri_all_situation.xsd +17 -0
  54. data/vendor/xsd/siri_model/siri_datedVehicleJourney.xsd +702 -0
  55. data/vendor/xsd/siri_model/siri_estimatedVehicleJourney.xsd +472 -0
  56. data/vendor/xsd/siri_model/siri_facilities.xsd +517 -0
  57. data/vendor/xsd/siri_model/siri_facility.xsd +760 -0
  58. data/vendor/xsd/siri_model/siri_feature_support.xsd +145 -0
  59. data/vendor/xsd/siri_model/siri_interchangeJourney.xsd +88 -0
  60. data/vendor/xsd/siri_model/siri_journey.xsd +1903 -0
  61. data/vendor/xsd/siri_model/siri_journey_support.xsd +1022 -0
  62. data/vendor/xsd/siri_model/siri_modelPermissions.xsd +338 -0
  63. data/vendor/xsd/siri_model/siri_modes.xsd +686 -0
  64. data/vendor/xsd/siri_model/siri_monitoredVehicleJourney.xsd +638 -0
  65. data/vendor/xsd/siri_model/siri_operator_support.xsd +87 -0
  66. data/vendor/xsd/siri_model/siri_reference.xsd +844 -0
  67. data/vendor/xsd/siri_model/siri_situation.xsd +1545 -0
  68. data/vendor/xsd/siri_model/siri_situationActions.xsd +755 -0
  69. data/vendor/xsd/siri_model/siri_situationAffects.xsd +1533 -0
  70. data/vendor/xsd/siri_model/siri_situationClassifiers.xsd +430 -0
  71. data/vendor/xsd/siri_model/siri_situationIdentity.xsd +247 -0
  72. data/vendor/xsd/siri_model/siri_situationReasons.xsd +1370 -0
  73. data/vendor/xsd/siri_model/siri_situationServiceTypes.xsd +639 -0
  74. data/vendor/xsd/siri_model/siri_targetedVehicleJourney.xsd +136 -0
  75. data/vendor/xsd/siri_model/siri_time.xsd +356 -0
  76. data/vendor/xsd/siri_model_discovery/siri_connectionLink.xsd +115 -0
  77. data/vendor/xsd/siri_model_discovery/siri_feature.xsd +158 -0
  78. data/vendor/xsd/siri_model_discovery/siri_infoChannel.xsd +99 -0
  79. data/vendor/xsd/siri_model_discovery/siri_line.xsd +241 -0
  80. data/vendor/xsd/siri_model_discovery/siri_stopPoint.xsd +158 -0
  81. data/vendor/xsd/siri_productionTimetable_service.xsd +514 -0
  82. data/vendor/xsd/siri_situationExchange_service.xsd +785 -0
  83. data/vendor/xsd/siri_stopMonitoring_service.xsd +1052 -0
  84. data/vendor/xsd/siri_stopTimetable_service.xsd +463 -0
  85. data/vendor/xsd/siri_utility/siri_all_utility.xsd +14 -0
  86. data/vendor/xsd/siri_utility/siri_location.xsd +270 -0
  87. data/vendor/xsd/siri_utility/siri_participant.xsd +79 -0
  88. data/vendor/xsd/siri_utility/siri_permissions.xsd +135 -0
  89. data/vendor/xsd/siri_utility/siri_types.xsd +166 -0
  90. data/vendor/xsd/siri_utility/siri_utility.xsd +301 -0
  91. data/vendor/xsd/siri_vehicleMonitoring_service.xsd +702 -0
  92. data/vendor/xsd/siri_wsConsumer-Document.wsdl +177 -0
  93. data/vendor/xsd/siri_wsConsumer-WSDL2.wsdl +96 -0
  94. data/vendor/xsd/siri_wsConsumer.wsdl +200 -0
  95. data/vendor/xsd/siri_wsProducer-Document.wsdl +558 -0
  96. data/vendor/xsd/siri_wsProducer-WSDL2.wsdl +229 -0
  97. data/vendor/xsd/siri_wsProducer.wsdl +629 -0
  98. data/vendor/xsd/soap.xsd +118 -0
  99. data/vendor/xsd/wsdl_model/siri-wsdl.xsd +8 -0
  100. data/vendor/xsd/wsdl_model/siri_wsConsumer-Framework.xsd +98 -0
  101. data/vendor/xsd/wsdl_model/siri_wsConsumer-Services.xsd +155 -0
  102. data/vendor/xsd/wsdl_model/siri_wsProducer-DiscoveryCapability.xsd +123 -0
  103. data/vendor/xsd/wsdl_model/siri_wsProducer-Framework.xsd +138 -0
  104. data/vendor/xsd/wsdl_model/siri_wsProducer-Services.xsd +263 -0
  105. data/vendor/xsd/xml/2008/09/xsd.xsl +997 -0
  106. data/vendor/xsd/xml/2009/01/XMLSchema.xsd +286 -0
  107. metadata +222 -0
@@ -0,0 +1,844 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema xmlns="http://www.siri.org.uk/siri" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.siri.org.uk/siri" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1" id="siri_reference">
3
+ <xsd:annotation>
4
+ <xsd:appinfo>
5
+ <Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
6
+ <Aggregation>main schema</Aggregation>
7
+ <Audience>e-service developers</Audience>
8
+ <Contributor>CEN TC278 WG3 SG7 Team</Contributor>
9
+ <Coverage>Europe</Coverage>
10
+ <Creator>Drafted for version 1.0 CEN TC278 WG3 SG7 Editor Nicholas Knowles, Kizoom. mailto:schemer@siri.org.uk</Creator>
11
+ <Date>
12
+ <Created>2004-09-29</Created>
13
+ </Date>
14
+ <Date>
15
+ <Modified>2004-10-01</Modified>
16
+ </Date>
17
+ <Date>
18
+ <Modified>2005-02-14</Modified>
19
+ </Date>
20
+ <Date>
21
+ <Modified>2005-02-20</Modified>
22
+ </Date>
23
+ <Date>
24
+ <Modified>2005-03-20</Modified>
25
+ </Date>
26
+ <Date>
27
+ <Modified>2005-05-11</Modified>
28
+ </Date>
29
+ <Date>
30
+ <Modified>2007-03-29</Modified>
31
+ </Date>
32
+ <Date>
33
+ <Modified>2012-03-22</Modified>
34
+ <!-- SIRI 2.0
35
+ Refactor Monitoring code
36
+ Add QUAY Ref
37
+ -->
38
+ </Date>
39
+ <Date>
40
+ <Modified>2012-06-22</Modified>
41
+ <!-- SIRI 2.0
42
+ Add Group of Lines to JourneyPatternInfoGroup
43
+ [CH] Set explicit default value for VehicleAtStop to be false
44
+ [DE] Add Driver Ref
45
+ -->
46
+ </Date>
47
+ <Date>
48
+ <Modified>2013-02-11</Modified>
49
+ <!-- Correction: PlaceName unbounded to allow multiple languages -->
50
+ </Date>
51
+ <Date>
52
+ <Modified>2018-11-08</Modified>
53
+ <!-- [vdv] "PublishedLineName" inside "PublishedLineGroup" changed to "unbounded" to allow multiple definitions for different languages due to the xml:lang-Attribute
54
+ [vdv] "DestinationName" inside "PublishedLineGroup" changed to "unbounded" to allow multiple definitions for different languages due to the xml:lang-Attribute
55
+ -->
56
+ </Date>
57
+ <Date>
58
+ <Modified>2020-01-29</Modified>
59
+ <!-- SIRI 2.1
60
+ Extra values for OccupancyEnumeration
61
+ -->
62
+ </Date>
63
+ <Description>
64
+ <p>SIRI is a European CEN standard for the exchange of real-time information.</p>
65
+ <p>This package defines common basic domain model identifier elements that are used in one or more SIRI fucntional service.</p>
66
+ </Description>
67
+ <Format>
68
+ <MediaType>text/xml</MediaType>
69
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
70
+ <Description>XML schema, W3C Recommendation 2001</Description>
71
+ </Format>
72
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri/utility/}siri_reference.xsd</Identifier>
73
+ <Language>[ISO 639-2/B] ENG</Language>
74
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
75
+ <Relation>
76
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_utility/siri_types.xsd</Requires>
77
+ </Relation>
78
+ <Rights><!--Unclassified-->
79
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
80
+ </Rights>
81
+ <Source>
82
+ <ul>
83
+ <li>Derived from the VDV, RTIG CML and Trident standards.</li>
84
+ </ul>
85
+ </Source>
86
+ <Status>Version 2.1</Status>
87
+ <Subject>
88
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
89
+ Air transport, Airports,
90
+ Ports and maritime transport, Ferries (marine),
91
+ Public transport, Bus services, Coach services, Bus stops and stations,
92
+ Rail transport, Railway stations and track, Train services, Underground trains,
93
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
94
+ Rail transport, Roads and road transport
95
+ </Category>
96
+ <Project>CEN TC278 WG3 SG7</Project>
97
+ </Subject>
98
+ <Title>SIRI XML schema. Service Interface for Real-time Information relating to Public Transport Operations. Common DomainModel elements.</Title>
99
+ <Type>Standard</Type>
100
+ </Metadata>
101
+ </xsd:appinfo>
102
+ </xsd:annotation>
103
+ <!-- ======================================================================= -->
104
+ <xsd:include schemaLocation="../siri_utility/siri_types.xsd"/>
105
+ <xsd:include schemaLocation="../siri_utility/siri_utility.xsd"/>
106
+ <xsd:include schemaLocation="siri_operator_support.xsd"/>
107
+ <xsd:include schemaLocation="siri_time.xsd"/>
108
+ <xsd:include schemaLocation="siri_situationIdentity.xsd"/>
109
+ <!-- ========= VERSION =========================================== -->
110
+ <xsd:element name="VersionRef" type="VersionCodeType">
111
+ <xsd:annotation>
112
+ <xsd:documentation>Version Identifier.</xsd:documentation>
113
+ </xsd:annotation>
114
+ </xsd:element>
115
+ <xsd:simpleType name="VersionCodeType">
116
+ <xsd:annotation>
117
+ <xsd:documentation>Type for identifier of a Version.</xsd:documentation>
118
+ </xsd:annotation>
119
+ <xsd:restriction base="xsd:NMTOKEN"/>
120
+ </xsd:simpleType>
121
+ <xsd:complexType name="VersionRefStructure">
122
+ <xsd:annotation>
123
+ <xsd:documentation>Type for reference Timetable Version.</xsd:documentation>
124
+ </xsd:annotation>
125
+ <xsd:simpleContent>
126
+ <xsd:extension base="VersionCodeType"/>
127
+ </xsd:simpleContent>
128
+ </xsd:complexType>
129
+ <!-- ===== SCHEDULED STOP POINT ==================================================== -->
130
+ <xsd:simpleType name="StopPointCodeType">
131
+ <xsd:annotation>
132
+ <xsd:documentation>Type for identifier of a SCHEDULED STOP POINT.</xsd:documentation>
133
+ </xsd:annotation>
134
+ <xsd:restriction base="xsd:NMTOKEN"/>
135
+ </xsd:simpleType>
136
+ <xsd:complexType name="StopPointRefStructure">
137
+ <xsd:annotation>
138
+ <xsd:documentation>Reference to a SCHEDULED STOP POINT.</xsd:documentation>
139
+ </xsd:annotation>
140
+ <xsd:simpleContent>
141
+ <xsd:extension base="StopPointCodeType"/>
142
+ </xsd:simpleContent>
143
+ </xsd:complexType>
144
+ <xsd:element name="VisitNumber" type="VisitNumberType">
145
+ <xsd:annotation>
146
+ <xsd:documentation>Sequence of visit to SCHEDULED STOP POINT.within VEHICLE JOURNEY. Increases monotonically, but not necessarily sequentially.</xsd:documentation>
147
+ </xsd:annotation>
148
+ </xsd:element>
149
+ <xsd:element name="Order" type="xsd:positiveInteger">
150
+ <xsd:annotation>
151
+ <xsd:documentation>For implementations for which the overall Order is not used for VisitNumber, (i.e. if VisitNumberIsOrder is false) then can be used to associate the stop Order as well if useful.</xsd:documentation>
152
+ </xsd:annotation>
153
+ </xsd:element>
154
+ <xsd:group name="StopPointGroup">
155
+ <xsd:annotation>
156
+ <xsd:documentation>Elements for a SCHEDULED STOP POINT.</xsd:documentation>
157
+ </xsd:annotation>
158
+ <xsd:sequence>
159
+ <xsd:element name="StopPointRef" type="StopPointRefStructure">
160
+ <xsd:annotation>
161
+ <xsd:documentation>Reference to a SCHEDULED STOP POINT.</xsd:documentation>
162
+ <xsd:documentation>Reference to a STOP POINT.</xsd:documentation>
163
+ </xsd:annotation>
164
+ </xsd:element>
165
+ <xsd:element name="StopPointName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
166
+ <xsd:annotation>
167
+ <xsd:documentation>Name of SCHEDULED STOP POINT. (Unbounded since SIRI 2.0)</xsd:documentation>
168
+ </xsd:annotation>
169
+ </xsd:element>
170
+ </xsd:sequence>
171
+ </xsd:group>
172
+ <xsd:element name="StopPointRef" type="StopPointRefStructure">
173
+ <xsd:annotation>
174
+ <xsd:documentation>Reference to a SCHEDULED STOP POINT.</xsd:documentation>
175
+ <xsd:documentation>Reference to a STOP POINT.</xsd:documentation>
176
+ </xsd:annotation>
177
+ </xsd:element>
178
+ <xsd:element name="StopPointName" type="NaturalLanguageStringStructure">
179
+ <xsd:annotation>
180
+ <xsd:documentation>Name of SCHEDULED STOP POINT.</xsd:documentation>
181
+ </xsd:annotation>
182
+ </xsd:element>
183
+ <xsd:group name="StopPointInSequenceGroup">
184
+ <xsd:annotation>
185
+ <xsd:documentation>Elements identifying an ordered visit to a SCHEDULED STOP POINT within a SERVICE PATTERN.</xsd:documentation>
186
+ </xsd:annotation>
187
+ <xsd:sequence>
188
+ <xsd:element ref="StopPointRef"/>
189
+ <xsd:element ref="VisitNumber" minOccurs="0"/>
190
+ <xsd:element ref="Order" minOccurs="0"/>
191
+ <xsd:element ref="StopPointName" minOccurs="0" maxOccurs="unbounded">
192
+ <xsd:annotation>
193
+ <xsd:documentation>Name of SCHEDULED STOP POINT. (Unbounded since SIRI 2.0)</xsd:documentation>
194
+ </xsd:annotation>
195
+ </xsd:element>
196
+ </xsd:sequence>
197
+ </xsd:group>
198
+ <xsd:group name="ContextualisedStopPointInSequenceGroup">
199
+ <xsd:annotation>
200
+ <xsd:documentation>Elements identifying Ordered visit to a stop within calling sequence of a SERVICE PATTERN.</xsd:documentation>
201
+ </xsd:annotation>
202
+ <xsd:sequence>
203
+ <xsd:element ref="StopPointRef" minOccurs="0"/>
204
+ <xsd:element ref="VisitNumber" minOccurs="0"/>
205
+ <xsd:element ref="Order" minOccurs="0"/>
206
+ <xsd:element ref="StopPointName" minOccurs="0" maxOccurs="unbounded">
207
+ <xsd:annotation>
208
+ <xsd:documentation>Name of SCHEDULED STOP POINT. (Unbounded since SIRI 2.0)</xsd:documentation>
209
+ </xsd:annotation>
210
+ </xsd:element>
211
+ </xsd:sequence>
212
+ </xsd:group>
213
+ <xsd:simpleType name="VisitNumberType">
214
+ <xsd:annotation>
215
+ <xsd:documentation>Type for Stop Visit.</xsd:documentation>
216
+ </xsd:annotation>
217
+ <xsd:restriction base="xsd:positiveInteger"/>
218
+ </xsd:simpleType>
219
+ <xsd:simpleType name="ClearDownCodeType">
220
+ <xsd:annotation>
221
+ <xsd:documentation>Identifier of a Stop for Direct Cleardown. Suitable for radio transmission over a constrained bandwidth channel. This may be a separate code from the full stop identifier.</xsd:documentation>
222
+ </xsd:annotation>
223
+ <xsd:restriction base="xsd:NMTOKEN"/>
224
+ </xsd:simpleType>
225
+ <xsd:complexType name="ClearDownRefStructure">
226
+ <xsd:annotation>
227
+ <xsd:documentation>Reference Cleardown identifier of a stop.</xsd:documentation>
228
+ </xsd:annotation>
229
+ <xsd:simpleContent>
230
+ <xsd:extension base="ClearDownCodeType"/>
231
+ </xsd:simpleContent>
232
+ </xsd:complexType>
233
+ <!-- ===== STOP AREA ==================================================== -->
234
+ <xsd:simpleType name="StopAreaCodeType">
235
+ <xsd:annotation>
236
+ <xsd:documentation>Type for identifier of a STOP AREA.</xsd:documentation>
237
+ </xsd:annotation>
238
+ <xsd:restriction base="xsd:NMTOKEN"/>
239
+ </xsd:simpleType>
240
+ <xsd:complexType name="StopAreaRefStructure">
241
+ <xsd:annotation>
242
+ <xsd:documentation>Reference to a STOP AREA.</xsd:documentation>
243
+ </xsd:annotation>
244
+ <xsd:simpleContent>
245
+ <xsd:extension base="StopAreaCodeType"/>
246
+ </xsd:simpleContent>
247
+ </xsd:complexType>
248
+ <!--==== QUAY =================================================================== -->
249
+ <xsd:simpleType name="QuayCodeType">
250
+ <xsd:annotation>
251
+ <xsd:documentation>Type for identifier of a QUAY (Platform, Bay, etc).</xsd:documentation>
252
+ </xsd:annotation>
253
+ <xsd:restriction base="xsd:NMTOKEN"/>
254
+ </xsd:simpleType>
255
+ <xsd:complexType name="QuayRefStructure">
256
+ <xsd:annotation>
257
+ <xsd:documentation>Type for reference to a QUAY.</xsd:documentation>
258
+ </xsd:annotation>
259
+ <xsd:simpleContent>
260
+ <xsd:extension base="QuayCodeType"/>
261
+ </xsd:simpleContent>
262
+ </xsd:complexType>
263
+ <!--==== BOARDING POSITION =================================================================== -->
264
+ <xsd:simpleType name="BoardingPositionCodeType">
265
+ <xsd:annotation>
266
+ <xsd:documentation>Type for identifier of a BOARDING POSITION (location on a QUAY where passengers can actually board/alight).</xsd:documentation>
267
+ </xsd:annotation>
268
+ <xsd:restriction base="xsd:NMTOKEN"/>
269
+ </xsd:simpleType>
270
+ <xsd:complexType name="BoardingPositionRefStructure">
271
+ <xsd:annotation>
272
+ <xsd:documentation>Type for reference to a BOARDING POSITION.</xsd:documentation>
273
+ </xsd:annotation>
274
+ <xsd:simpleContent>
275
+ <xsd:extension base="BoardingPositionCodeType"/>
276
+ </xsd:simpleContent>
277
+ </xsd:complexType>
278
+ <!--==== FLEXIBLE AREA =================================================================== -->
279
+ <xsd:simpleType name="FlexibleAreaCodeType">
280
+ <xsd:annotation>
281
+ <xsd:documentation>Type for identifier of a FLEXIBLE AREA (area that encompasses the stop location of a flexible service).</xsd:documentation>
282
+ </xsd:annotation>
283
+ <xsd:restriction base="xsd:NMTOKEN"/>
284
+ </xsd:simpleType>
285
+ <xsd:complexType name="FlexibleAreaRefStructure">
286
+ <xsd:annotation>
287
+ <xsd:documentation>Type for reference to a FLEXIBLE AREA.</xsd:documentation>
288
+ </xsd:annotation>
289
+ <xsd:simpleContent>
290
+ <xsd:extension base="FlexibleAreaCodeType"/>
291
+ </xsd:simpleContent>
292
+ </xsd:complexType>
293
+ <!-- ==== MonitopringPoint (LOGICAL DISPLAY) ==================================================== -->
294
+ <xsd:simpleType name="MonitoringCode">
295
+ <xsd:annotation>
296
+ <xsd:documentation>Identifier of a monitoring point. May correspond to a SCHEDULED STOP POINT or represent a group of Stops other Timing Points (i.e. LOGICAL DISPLAY)</xsd:documentation>
297
+ </xsd:annotation>
298
+ <xsd:restriction base="xsd:NMTOKEN"/>
299
+ </xsd:simpleType>
300
+ <xsd:complexType name="MonitoringRefStructure">
301
+ <xsd:annotation>
302
+ <xsd:documentation>Type for reference to a monitoring point (LOGICAL DISPLAY).</xsd:documentation>
303
+ </xsd:annotation>
304
+ <xsd:simpleContent>
305
+ <xsd:extension base="MonitoringCode"/>
306
+ </xsd:simpleContent>
307
+ </xsd:complexType>
308
+ <!-- ====Stop Properties====================================================== -->
309
+ <xsd:element name="TimingPoint" type="xsd:boolean" default="true">
310
+ <xsd:annotation>
311
+ <xsd:documentation>Whether the stop is a TIMING POINT. Times for stops that are not timing points are sometimes interpolated crudely from the timing points, and may represent a lower level of accuracy. Default is 'true'.</xsd:documentation>
312
+ </xsd:annotation>
313
+ </xsd:element>
314
+ <xsd:element name="VehicleAtStop" type="xsd:boolean" default="false">
315
+ <xsd:annotation>
316
+ <xsd:documentation>Whether VEHICLE is currently at stop. Default is false (xml default added from SIRI 2.0) </xsd:documentation>
317
+ </xsd:annotation>
318
+ </xsd:element>
319
+ <!-- === CONNECTION link ====================================================== -->
320
+ <xsd:simpleType name="ConnectionLinkCodeType">
321
+ <xsd:annotation>
322
+ <xsd:documentation>Type for identifier of a CONNECTION link</xsd:documentation>
323
+ </xsd:annotation>
324
+ <xsd:restriction base="xsd:NMTOKEN"/>
325
+ </xsd:simpleType>
326
+ <xsd:element name="ConnectionLinkRef" type="ConnectionLinkRefStructure">
327
+ <xsd:annotation>
328
+ <xsd:documentation>Reference to a CONNECTION link</xsd:documentation>
329
+ </xsd:annotation>
330
+ </xsd:element>
331
+ <xsd:complexType name="ConnectionLinkRefStructure">
332
+ <xsd:annotation>
333
+ <xsd:documentation>Type for reference to a CONNECTION link</xsd:documentation>
334
+ </xsd:annotation>
335
+ <xsd:simpleContent>
336
+ <xsd:extension base="ConnectionLinkCodeType"/>
337
+ </xsd:simpleContent>
338
+ </xsd:complexType>
339
+ <!--==== Mode Enumerations =================================================================== -->
340
+ <xsd:simpleType name="VehicleModesEnumeration">
341
+ <xsd:annotation>
342
+ <xsd:documentation>MODEs of transport applicable to timetabled public transport.</xsd:documentation>
343
+ </xsd:annotation>
344
+ <xsd:restriction base="xsd:NMTOKEN">
345
+ <xsd:enumeration value="air"/>
346
+ <xsd:enumeration value="bus"/>
347
+ <xsd:enumeration value="coach"/>
348
+ <xsd:enumeration value="ferry"/>
349
+ <xsd:enumeration value="metro"/>
350
+ <xsd:enumeration value="rail"/>
351
+ <xsd:enumeration value="tram"/>
352
+ <xsd:enumeration value="underground"/>
353
+ </xsd:restriction>
354
+ </xsd:simpleType>
355
+ <xsd:simpleType name="ContinuousModesEnumeration">
356
+ <xsd:annotation>
357
+ <xsd:documentation>MODEs of transport applicable to private and non-timetabled transport.</xsd:documentation>
358
+ </xsd:annotation>
359
+ <xsd:restriction base="xsd:NMTOKEN">
360
+ <xsd:enumeration value="walk"/>
361
+ <xsd:enumeration value="car"/>
362
+ <xsd:enumeration value="taxi"/>
363
+ <xsd:enumeration value="cycle"/>
364
+ <xsd:enumeration value="drt"/>
365
+ <xsd:enumeration value="movingWalkway"/>
366
+ <xsd:enumeration value="through"/>
367
+ </xsd:restriction>
368
+ </xsd:simpleType>
369
+ <xsd:simpleType name="AllModesEnumeration">
370
+ <xsd:annotation>
371
+ <xsd:documentation>Union of VEHICLE and continuous MODEs.</xsd:documentation>
372
+ </xsd:annotation>
373
+ <xsd:restriction base="xsd:NMTOKEN">
374
+ <xsd:enumeration value="walk"/>
375
+ <xsd:enumeration value="car"/>
376
+ <xsd:enumeration value="taxi"/>
377
+ <xsd:enumeration value="cycle"/>
378
+ <xsd:enumeration value="drt"/>
379
+ <xsd:enumeration value="movingWalkway"/>
380
+ <xsd:enumeration value="through"/>
381
+ </xsd:restriction>
382
+ </xsd:simpleType>
383
+ <xsd:complexType name="ModesStructure">
384
+ <xsd:annotation>
385
+ <xsd:documentation>Type for Transport MODEs.</xsd:documentation>
386
+ </xsd:annotation>
387
+ <xsd:sequence>
388
+ <xsd:element name="Mode" type="AllModesEnumeration" maxOccurs="unbounded">
389
+ <xsd:annotation>
390
+ <xsd:documentation>A method of transportation such as bus, rail, etc.</xsd:documentation>
391
+ </xsd:annotation>
392
+ </xsd:element>
393
+ </xsd:sequence>
394
+ <xsd:attribute name="Exclude" type="xsd:boolean" use="optional" default="false">
395
+ <xsd:annotation>
396
+ <xsd:documentation>if true, listed modes to be excluded from list.</xsd:documentation>
397
+ </xsd:annotation>
398
+ </xsd:attribute>
399
+ </xsd:complexType>
400
+ <!-- =====JOURNEY PATTERN identfiers=============================================================== -->
401
+ <xsd:simpleType name="JourneyPatternCodeType">
402
+ <xsd:annotation>
403
+ <xsd:documentation>Type for identifier of a JOURNEY PATTERN.</xsd:documentation>
404
+ </xsd:annotation>
405
+ <xsd:restriction base="xsd:NMTOKEN"/>
406
+ </xsd:simpleType>
407
+ <xsd:complexType name="JourneyPatternRefStructure">
408
+ <xsd:annotation>
409
+ <xsd:documentation>Type for refrence to a JOURNEY PATTERN.</xsd:documentation>
410
+ </xsd:annotation>
411
+ <xsd:simpleContent>
412
+ <xsd:extension base="JourneyPatternCodeType"/>
413
+ </xsd:simpleContent>
414
+ </xsd:complexType>
415
+ <xsd:element name="JourneyPatternRef" type="JourneyPatternRefStructure">
416
+ <xsd:annotation>
417
+ <xsd:documentation>Reference to a JOURNEY PATTERN.</xsd:documentation>
418
+ </xsd:annotation>
419
+ </xsd:element>
420
+ <xsd:group name="JourneyPatternRefGroup">
421
+ <xsd:annotation>
422
+ <xsd:documentation>Elements describing the ROUTE and JOURNEY PATTERN Identfiers associated with a journey.</xsd:documentation>
423
+ </xsd:annotation>
424
+ <xsd:sequence/>
425
+ </xsd:group>
426
+ <!-- ==== LINE and DESTINATION elements======================================================== -->
427
+ <xsd:group name="JourneyPatternInfoGroup">
428
+ <xsd:annotation>
429
+ <xsd:documentation>Elements describing the LINE, ROUTE and DIRECTION of a VEHICLE JOURNEYwhich are derived from the JOURNEY PATTERN associated with the journey.
430
+ Values for these elements can be specified on an annual schedule and will be inherited, unless overriden, onto the production timetable and then onto the individul dated VEHICLE JOURNEYs of the timetable. Each monitored journey takes its values from the dated VEHICLE JOURNEY that it follows. The absence of a value on an entity at a given level indicates that the value should be inherited (i) from any recent preceding update message for the same entity, or if there is no previous override, (ii) from its immediate parent entity.</xsd:documentation>
431
+ </xsd:annotation>
432
+ <xsd:sequence>
433
+ <xsd:element name="JourneyPatternRef" type="JourneyPatternRefStructure" minOccurs="0">
434
+ <xsd:annotation>
435
+ <xsd:documentation>Identifier of JOURNEY PATTERN that journey follows.</xsd:documentation>
436
+ </xsd:annotation>
437
+ </xsd:element>
438
+ <xsd:element name="JourneyPatternName" type="NaturalLanguageStringStructure" minOccurs="0">
439
+ <xsd:annotation>
440
+ <xsd:documentation>Name of Joruney Pattern</xsd:documentation>
441
+ </xsd:annotation>
442
+ </xsd:element>
443
+ <xsd:element name="VehicleMode" type="VehicleModesEnumeration" minOccurs="0" maxOccurs="unbounded">
444
+ <xsd:annotation>
445
+ <xsd:documentation>A means of transportation such as bus, rail, etc.</xsd:documentation>
446
+ </xsd:annotation>
447
+ </xsd:element>
448
+ <xsd:element name="RouteRef" type="RouteRefStructure" minOccurs="0">
449
+ <xsd:annotation>
450
+ <xsd:documentation>Identifier of ROUTE that journey follows.</xsd:documentation>
451
+ </xsd:annotation>
452
+ </xsd:element>
453
+ <xsd:element ref="PublishedLineName" minOccurs="0" maxOccurs="unbounded">
454
+ <xsd:annotation>
455
+ <xsd:documentation>Name or Number by which the LINE is known to the public. (Unbounded since SIRI 2.0)</xsd:documentation>
456
+ </xsd:annotation>
457
+ </xsd:element>
458
+ <xsd:element name="GroupOfLinesRef" type="GroupOfLinesRefStructure" minOccurs="0">
459
+ <xsd:annotation>
460
+ <xsd:documentation>Reference to a GROUP OF LINEs to which journey belongs. SIRI 2.0</xsd:documentation>
461
+ </xsd:annotation>
462
+ </xsd:element>
463
+ <xsd:element name="DirectionName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
464
+ <xsd:annotation>
465
+ <xsd:documentation>Description of the DIRECTION. May correspond to a DESTINATION DISPLAY. (Unbounded since SIRI 2.0)</xsd:documentation>
466
+ </xsd:annotation>
467
+ </xsd:element>
468
+ <xsd:element name="ExternalLineRef" type="LineRefStructure" minOccurs="0">
469
+ <xsd:annotation>
470
+ <xsd:documentation>Alternative identifier of LINE that an external system may associate with journey.</xsd:documentation>
471
+ </xsd:annotation>
472
+ </xsd:element>
473
+ <xsd:choice>
474
+ <xsd:element name="BrandingRef" type="BrandingRefStructure" minOccurs="0">
475
+ <xsd:annotation>
476
+ <xsd:documentation>Reference to a BRANDING. +SIRI v2.1</xsd:documentation>
477
+ </xsd:annotation>
478
+ </xsd:element>
479
+ <xsd:element name="Branding" type="BrandingStructure" minOccurs="0">
480
+ <xsd:annotation>
481
+ <xsd:documentation>An arbitrary marketing classification. +SIRI v2.1</xsd:documentation>
482
+ </xsd:annotation>
483
+ </xsd:element>
484
+ </xsd:choice>
485
+ </xsd:sequence>
486
+ </xsd:group>
487
+ <xsd:group name="LineIdentityGroup">
488
+ <xsd:annotation>
489
+ <xsd:documentation>Elements for identifying a LINE and DIRECTION.</xsd:documentation>
490
+ </xsd:annotation>
491
+ <xsd:sequence>
492
+ <xsd:element name="LineRef" type="LineRefStructure">
493
+ <xsd:annotation>
494
+ <xsd:documentation>Reference to a LINE.</xsd:documentation>
495
+ </xsd:annotation>
496
+ </xsd:element>
497
+ <xsd:element name="DirectionRef" type="DirectionRefStructure">
498
+ <xsd:annotation>
499
+ <xsd:documentation>Reference to a LINE DIRECTION DIRECTION, typically outward or return.</xsd:documentation>
500
+ </xsd:annotation>
501
+ </xsd:element>
502
+ </xsd:sequence>
503
+ </xsd:group>
504
+ <xsd:complexType name="LineDirectionStructure">
505
+ <xsd:annotation>
506
+ <xsd:documentation>Type for LINEand DIRECTION.</xsd:documentation>
507
+ </xsd:annotation>
508
+ <xsd:group ref="LineDirectionGroup"/>
509
+ </xsd:complexType>
510
+ <xsd:group name="LineDirectionGroup">
511
+ <xsd:annotation>
512
+ <xsd:documentation>Elements for a LINE and DIRECTION.</xsd:documentation>
513
+ </xsd:annotation>
514
+ <xsd:sequence>
515
+ <xsd:element name="LineRef" type="LineRefStructure">
516
+ <xsd:annotation>
517
+ <xsd:documentation>Line Reference.</xsd:documentation>
518
+ </xsd:annotation>
519
+ </xsd:element>
520
+ <xsd:element name="DirectionRef" type="DirectionRefStructure" minOccurs="0">
521
+ <xsd:annotation>
522
+ <xsd:documentation>Direction Reference.</xsd:documentation>
523
+ </xsd:annotation>
524
+ </xsd:element>
525
+ </xsd:sequence>
526
+ </xsd:group>
527
+ <xsd:simpleType name="LineRefCodeType">
528
+ <xsd:annotation>
529
+ <xsd:documentation>Type for identifier of a LINE</xsd:documentation>
530
+ </xsd:annotation>
531
+ <xsd:restriction base="xsd:NMTOKEN"/>
532
+ </xsd:simpleType>
533
+ <xsd:element name="LineRef" type="LineRefStructure">
534
+ <xsd:annotation>
535
+ <xsd:documentation>Reference to a LINE.</xsd:documentation>
536
+ </xsd:annotation>
537
+ </xsd:element>
538
+ <xsd:complexType name="LineRefStructure">
539
+ <xsd:annotation>
540
+ <xsd:documentation>Type for reference to a LINE.</xsd:documentation>
541
+ </xsd:annotation>
542
+ <xsd:simpleContent>
543
+ <xsd:extension base="LineRefCodeType"/>
544
+ </xsd:simpleContent>
545
+ </xsd:complexType>
546
+ <xsd:group name="PublishedLineGroup">
547
+ <xsd:annotation>
548
+ <xsd:documentation>Elements describing the LINEand DESTINATION of a journey. Values for these elements can be specified on an annual schedule and will be inherited, unless overriden, onto the production timetable and then onto the individul dated VEHICLE JOURNEYs of the timetable. Each real-time journey takes its values from the dated VEHICLE JOURNEY that it follows. The absence of a value on an entity at a given level indicates that the value should be inherited (i) from any recent preceding update message for the same entity, or if there is no previous override, (ii) from its immediate parent entity.</xsd:documentation>
549
+ </xsd:annotation>
550
+ <xsd:sequence>
551
+ <xsd:element ref="PublishedLineName" minOccurs="0" maxOccurs="unbounded"/>
552
+ <xsd:element name="DestinationName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
553
+ <xsd:annotation>
554
+ <xsd:documentation>Description of the destination stop (vehicle signage), if different from the that in timetable - the DESTINATION DISPLAY. Can be overwritten section by section by the entry in an individual CALL.</xsd:documentation>
555
+ </xsd:annotation>
556
+ </xsd:element>
557
+ </xsd:sequence>
558
+ </xsd:group>
559
+ <xsd:element name="PublishedLineName" type="NaturalLanguageStringStructure">
560
+ <xsd:annotation>
561
+ <xsd:documentation>Name or Number by which the LINEis known to the public.</xsd:documentation>
562
+ </xsd:annotation>
563
+ </xsd:element>
564
+ <xsd:simpleType name="GroupOfLinesCodeType">
565
+ <xsd:annotation>
566
+ <xsd:documentation>Identifier of a GROUP OF LINEs</xsd:documentation>
567
+ </xsd:annotation>
568
+ <xsd:restriction base="xsd:NMTOKEN"/>
569
+ </xsd:simpleType>
570
+ <xsd:complexType name="GroupOfLinesRefStructure">
571
+ <xsd:annotation>
572
+ <xsd:documentation>Reference to a GROUP OF LINEs</xsd:documentation>
573
+ </xsd:annotation>
574
+ <xsd:simpleContent>
575
+ <xsd:extension base="GroupOfLinesCodeType"/>
576
+ </xsd:simpleContent>
577
+ </xsd:complexType>
578
+ <!-- ====Route related elements============================================================== -->
579
+ <xsd:simpleType name="RouteCodeType">
580
+ <xsd:annotation>
581
+ <xsd:documentation>Type for identifier of a Route.</xsd:documentation>
582
+ </xsd:annotation>
583
+ <xsd:restriction base="xsd:NMTOKEN"/>
584
+ </xsd:simpleType>
585
+ <xsd:element name="RouteName" type="NaturalLanguageStringStructure">
586
+ <xsd:annotation>
587
+ <xsd:documentation>Description of route by which it can be recogniozed.</xsd:documentation>
588
+ </xsd:annotation>
589
+ </xsd:element>
590
+ <xsd:complexType name="RouteRefStructure">
591
+ <xsd:annotation>
592
+ <xsd:documentation>Reference to a Route (Transmodel)</xsd:documentation>
593
+ </xsd:annotation>
594
+ <xsd:simpleContent>
595
+ <xsd:extension base="RouteCodeType"/>
596
+ </xsd:simpleContent>
597
+ </xsd:complexType>
598
+ <xsd:simpleType name="DirectionCodeType">
599
+ <xsd:annotation>
600
+ <xsd:documentation>Identifier of a DIRECTION.</xsd:documentation>
601
+ </xsd:annotation>
602
+ <xsd:restriction base="xsd:NMTOKEN"/>
603
+ </xsd:simpleType>
604
+ <xsd:complexType name="DirectionRefStructure">
605
+ <xsd:annotation>
606
+ <xsd:documentation>Reference to a DIRECTION.</xsd:documentation>
607
+ </xsd:annotation>
608
+ <xsd:simpleContent>
609
+ <xsd:extension base="DirectionCodeType"/>
610
+ </xsd:simpleContent>
611
+ </xsd:complexType>
612
+ <xsd:simpleType name="RouteLinkCodeType">
613
+ <xsd:annotation>
614
+ <xsd:documentation>Identifier of a ROUTE LINk.</xsd:documentation>
615
+ </xsd:annotation>
616
+ <xsd:restriction base="xsd:NMTOKEN"/>
617
+ </xsd:simpleType>
618
+ <xsd:complexType name="RouteLinkRefStructure">
619
+ <xsd:annotation>
620
+ <xsd:documentation>Reference to a ROUTE LINk.</xsd:documentation>
621
+ </xsd:annotation>
622
+ <xsd:simpleContent>
623
+ <xsd:extension base="RouteLinkCodeType"/>
624
+ </xsd:simpleContent>
625
+ </xsd:complexType>
626
+ <!-- ====Place Related elements============================================================== -->
627
+ <xsd:simpleType name="DestinationCodeType">
628
+ <xsd:annotation>
629
+ <xsd:documentation>Type for identifier of a DESTINATION.</xsd:documentation>
630
+ </xsd:annotation>
631
+ <xsd:restriction base="xsd:NMTOKEN"/>
632
+ </xsd:simpleType>
633
+ <xsd:complexType name="JourneyPlaceRefStructure">
634
+ <xsd:annotation>
635
+ <xsd:documentation>Reference to a PLACE visited by a VEHICLE JOURNEY.</xsd:documentation>
636
+ </xsd:annotation>
637
+ <xsd:simpleContent>
638
+ <xsd:extension base="xsd:NMTOKEN"/>
639
+ </xsd:simpleContent>
640
+ </xsd:complexType>
641
+ <xsd:complexType name="PlaceNameStructure">
642
+ <xsd:annotation>
643
+ <xsd:documentation>Names of VIA points, used to help identify the LINE, for example, Luton to Luton via Sutton. Currently 3 in VDV. Should only be included if the detail level was requested.</xsd:documentation>
644
+ </xsd:annotation>
645
+ <xsd:sequence>
646
+ <xsd:element name="PlaceRef" type="JourneyPlaceRefStructure" minOccurs="0">
647
+ <xsd:annotation>
648
+ <xsd:documentation>Reference to a TOPOGRAPHIC PLACE.</xsd:documentation>
649
+ </xsd:annotation>
650
+ </xsd:element>
651
+ <xsd:element name="PlaceName" type="NaturalLanguagePlaceNameStructure" minOccurs="0" maxOccurs="unbounded">
652
+ <xsd:annotation>
653
+ <xsd:documentation>Names of place used to help identify the LINE.</xsd:documentation>
654
+ </xsd:annotation>
655
+ </xsd:element>
656
+ <xsd:element name="PlaceShortName" type="NaturalLanguagePlaceNameStructure" minOccurs="0" maxOccurs="unbounded">
657
+ <xsd:annotation>
658
+ <xsd:documentation>Short name of TOPOGRAPHIC PLACE. Should only be included if the detail level was requested.</xsd:documentation>
659
+ </xsd:annotation>
660
+ </xsd:element>
661
+ </xsd:sequence>
662
+ </xsd:complexType>
663
+ <!-- ======================================================================= -->
664
+ <xsd:simpleType name="VehicleCodeType">
665
+ <xsd:annotation>
666
+ <xsd:documentation>Identifier of a VEHICLE.</xsd:documentation>
667
+ </xsd:annotation>
668
+ <xsd:restriction base="xsd:NMTOKEN"/>
669
+ </xsd:simpleType>
670
+ <xsd:complexType name="VehicleRefStructure">
671
+ <xsd:annotation>
672
+ <xsd:documentation>Reference to a VEHICLE.</xsd:documentation>
673
+ </xsd:annotation>
674
+ <xsd:simpleContent>
675
+ <xsd:extension base="VehicleCodeType"/>
676
+ </xsd:simpleContent>
677
+ </xsd:complexType>
678
+ <xsd:element name="VehicleRef" type="VehicleRefStructure">
679
+ <xsd:annotation>
680
+ <xsd:documentation>Reference to a VEHICLE.</xsd:documentation>
681
+ </xsd:annotation>
682
+ </xsd:element>
683
+ <xsd:simpleType name="OccupancyEnumeration">
684
+ <xsd:annotation>
685
+ <xsd:documentation>Passenger load status of a VEHICLE - GTFS-R / TPEG Pts045</xsd:documentation>
686
+ </xsd:annotation>
687
+ <xsd:restriction base="xsd:NMTOKEN">
688
+ <xsd:enumeration value="unknown">
689
+ <xsd:annotation>
690
+ <xsd:documentation>TPEG Pts45_0, unknown</xsd:documentation>
691
+ </xsd:annotation>
692
+ </xsd:enumeration>
693
+ <xsd:enumeration value="empty">
694
+ <xsd:annotation>
695
+ <xsd:documentation>GTFS-R "EMPTY"
696
+ The vehicle is considered empty by most measures, and has few or no passengers onboard, but is still accepting passengers.</xsd:documentation>
697
+ </xsd:annotation>
698
+ </xsd:enumeration>
699
+ <xsd:enumeration value="manySeatsAvailable">
700
+ <xsd:annotation>
701
+ <xsd:documentation>GTFS-R "MANY_SEATS_AVAILABLE" / TPEG Pts45_1, many seats available
702
+ The vehicle has a large percentage of seats available. What percentage of free seats out of the total seats available is to be considered large enough to fall into this category is determined at the discretion of the producer.</xsd:documentation>
703
+ </xsd:annotation>
704
+ </xsd:enumeration>
705
+ <xsd:enumeration value="fewSeatsAvailable">
706
+ <xsd:annotation>
707
+ <xsd:documentation>GTFS-R "FEW_SEATS_AVAILABLE" / TPEG Pts45_2, few seats available
708
+ The vehicle has a small percentage of seats available. What percentage of free seats out of the total seats available is to be considered small enough to fall into this category is determined at the discretion of the producer.</xsd:documentation>
709
+ </xsd:annotation>
710
+ </xsd:enumeration>
711
+ <xsd:enumeration value="standingRoomOnly">
712
+ <xsd:annotation>
713
+ <xsd:documentation>GTFS-R "STANDING_ROOM_ONLY" / TPEG Pts45_4, standing room only (and TPEG Pts45_3, no seats available)
714
+ The vehicle can currently accommodate only standing passengers.</xsd:documentation>
715
+ </xsd:annotation>
716
+ </xsd:enumeration>
717
+ <xsd:enumeration value="crushedStandingRoomOnly">
718
+ <xsd:annotation>
719
+ <xsd:documentation>GTFS-R "CRUSHED_STANDING_ROOM_ONLY"
720
+ The vehicle can currently accommodate only standing passengers and has limited space for them.</xsd:documentation>
721
+ </xsd:annotation>
722
+ </xsd:enumeration>
723
+ <xsd:enumeration value="full">
724
+ <xsd:annotation>
725
+ <xsd:documentation>GTFS-R "FULL" / TPEG Pts45_5, full</xsd:documentation>
726
+ </xsd:annotation>
727
+ </xsd:enumeration>
728
+ <xsd:enumeration value="notAcceptingPassengers">
729
+ <xsd:annotation>
730
+ <xsd:documentation>GTFS-R "NOT_ACCEPTING_PASSENGERS"
731
+ The vehicle cannot accept passengers.</xsd:documentation>
732
+ </xsd:annotation>
733
+ </xsd:enumeration>
734
+ <xsd:enumeration value="undefined">
735
+ <xsd:annotation>
736
+ <xsd:documentation>TPEG Pts45_255, undefined occupancy</xsd:documentation>
737
+ </xsd:annotation>
738
+ </xsd:enumeration>
739
+ <xsd:enumeration value="seatsAvailable">
740
+ <xsd:annotation>
741
+ <xsd:documentation>(SIRI 2.1) deprecated - use a more specific value</xsd:documentation>
742
+ </xsd:annotation>
743
+ </xsd:enumeration>
744
+ <xsd:enumeration value="standingAvailable">
745
+ <xsd:annotation>
746
+ <xsd:documentation>(SIRI 2.1) deprecated - use a more specific value</xsd:documentation>
747
+ </xsd:annotation>
748
+ </xsd:enumeration>
749
+ </xsd:restriction>
750
+ </xsd:simpleType>
751
+ <xsd:simpleType name="DriverCodeType">
752
+ <xsd:annotation>
753
+ <xsd:documentation>Identifier of a DRIVER</xsd:documentation>
754
+ </xsd:annotation>
755
+ <xsd:restriction base="xsd:NMTOKEN"/>
756
+ </xsd:simpleType>
757
+ <xsd:complexType name="DriverRefStructure">
758
+ <xsd:annotation>
759
+ <xsd:documentation>Reference to a DRIVER.</xsd:documentation>
760
+ </xsd:annotation>
761
+ <xsd:simpleContent>
762
+ <xsd:extension base="DriverCodeType"/>
763
+ </xsd:simpleContent>
764
+ </xsd:complexType>
765
+ <!-- ======================================================================= -->
766
+ <xsd:complexType name="NoteStructure">
767
+ <xsd:annotation>
768
+ <xsd:documentation>DataType for a NOTICe.</xsd:documentation>
769
+ </xsd:annotation>
770
+ <xsd:sequence>
771
+ <xsd:element ref="SituationRef" minOccurs="0"/>
772
+ <xsd:element ref="SituationSimpleRef" minOccurs="0"/>
773
+ <xsd:element ref="SituationFullRef" minOccurs="0"/>
774
+ <xsd:element name="Note" type="NaturalLanguageStringStructure" minOccurs="0">
775
+ <xsd:annotation>
776
+ <xsd:documentation>Text annotation that applies to an element.</xsd:documentation>
777
+ </xsd:annotation>
778
+ </xsd:element>
779
+ </xsd:sequence>
780
+ </xsd:complexType>
781
+ <!-- ======================================================================= -->
782
+ <xsd:simpleType name="InfoChannelCodeType">
783
+ <xsd:annotation>
784
+ <xsd:documentation>Type for identifier of an Info Channel.</xsd:documentation>
785
+ </xsd:annotation>
786
+ <xsd:restriction base="xsd:NMTOKEN"/>
787
+ </xsd:simpleType>
788
+ <xsd:complexType name="InfoChannelRefStructure">
789
+ <xsd:annotation>
790
+ <xsd:documentation>Type for reference to an Info Channel.</xsd:documentation>
791
+ </xsd:annotation>
792
+ <xsd:simpleContent>
793
+ <xsd:extension base="InfoChannelCodeType"/>
794
+ </xsd:simpleContent>
795
+ </xsd:complexType>
796
+ <!-- ======================================================================= -->
797
+ <xsd:simpleType name="BrandingCodeType">
798
+ <xsd:annotation>
799
+ <xsd:documentation>Type for identifier of a BRANDING. +SIRI v2.1</xsd:documentation>
800
+ </xsd:annotation>
801
+ <xsd:restriction base="xsd:NMTOKEN"/>
802
+ </xsd:simpleType>
803
+ <xsd:complexType name="BrandingRefStructure">
804
+ <xsd:annotation>
805
+ <xsd:documentation>Type for reference to a BRANDING. +SIRI v2.1</xsd:documentation>
806
+ </xsd:annotation>
807
+ <xsd:simpleContent>
808
+ <xsd:extension base="BrandingCodeType"/>
809
+ </xsd:simpleContent>
810
+ </xsd:complexType>
811
+ <xsd:complexType name="BrandingStructure">
812
+ <xsd:annotation>
813
+ <xsd:documentation>An arbitrary marketing classification. +SIRI v2.1</xsd:documentation>
814
+ </xsd:annotation>
815
+ <xsd:sequence>
816
+ <xsd:element name="BrandingCode" type="xsd:NMTOKEN">
817
+ <xsd:annotation>
818
+ <xsd:documentation>Identity of BRANDING.</xsd:documentation>
819
+ </xsd:annotation>
820
+ </xsd:element>
821
+ <xsd:group ref="TypeOfValueGroup" minOccurs="0"/>
822
+ </xsd:sequence>
823
+ </xsd:complexType>
824
+ <!-- ======================================================================= -->
825
+ <xsd:simpleType name="SiteCodeType">
826
+ <xsd:annotation>
827
+ <xsd:documentation>Identifier of a SITE</xsd:documentation>
828
+ </xsd:annotation>
829
+ <xsd:restriction base="xsd:NMTOKEN"/>
830
+ </xsd:simpleType>
831
+ <xsd:complexType name="SiteRefStructure">
832
+ <xsd:annotation>
833
+ <xsd:documentation>Reference to a SITE</xsd:documentation>
834
+ </xsd:annotation>
835
+ <xsd:simpleContent>
836
+ <xsd:extension base="SiteCodeType"/>
837
+ </xsd:simpleContent>
838
+ </xsd:complexType>
839
+ <xsd:element name="SiteRef" type="SiteRefStructure">
840
+ <xsd:annotation>
841
+ <xsd:documentation>Reference to a SITE</xsd:documentation>
842
+ </xsd:annotation>
843
+ </xsd:element>
844
+ </xsd:schema>