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,702 @@
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_datedVehicleJourney">
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
+ <Contributor>Werner Kohl MDV</Contributor>
10
+ <Coverage>Europe</Coverage>
11
+ <Creator>Drafted for version 1.0 CEN TC278 WG3 SG7 Editor Nicholas Knowles, Kizoom. mailto:schemer@siri.org.uk</Creator>
12
+ <Date>
13
+ <Created>2003-02-10</Created>
14
+ </Date>
15
+ <Date>
16
+ <Modified>2004-10-31</Modified>
17
+ </Date>
18
+ <Date>
19
+ <Modified>2005-02-14</Modified>
20
+ </Date>
21
+ <Date>
22
+ <Modified>2005-02-20</Modified>
23
+ </Date>
24
+ <Date>
25
+ <Modified>2005-05-11</Modified>
26
+ </Date>
27
+ <Date><Modified>2007-04-17</Modified>
28
+ Name Space changes
29
+ </Date>
30
+ <Date><Modified>2008-03-26</Modified>
31
+ Add wrapper tag for Line DIRECTION to help binding to Axis
32
+ </Date>
33
+ <Date><Modified>2008-11-17</Modified>
34
+ Revise to support substitution groups
35
+ </Date>
36
+ <Date><Modified>2011-04-18</Modified>
37
+ - siri_productionTimetable_service.xsd Type on request ValidiyPeriod start and end should be datetime not time ..
38
+ - Change to ClosedTimestampRange instead of ClosedTimeRange.
39
+ Fix Subscription request to be an element and have extensions .
40
+ </Date>
41
+ <Date><Modified>2011-01-19</Modified>
42
+ SIRI 1.3 Drop use of As Flat Groups for DatedCalls.
43
+ </Date>
44
+ <Date><Modified>2012-03-23</Modified>
45
+ Factor out fropm ProductionTimetable package
46
+ +SIRI v2.0 Add ServiceJourneyInterchange (i.e. Monitored Connection)
47
+ [VDV] Add additional times to TargetedServiceInterchange MinimumTransferTime, MaximimTransferTime, StandardTransferTime, MaximumAUtomaticWaitTime, StandardWaitTime.
48
+ [VDV] Add Public and Contact Details to JourneyInfo
49
+ [VDV] Add AimedLatestPassengerAccessTime to TargetedCall
50
+
51
+ </Date>
52
+ <Date><Modified>2013-02-11</Modified>
53
+ SIRI v2.0 Modified ServiceJourneyInterchange SIRI:PT
54
+ </Date>
55
+ <Description>
56
+ <p>SIRI is a European CEN standard for the exchange of Public Transport real-time information.</p>
57
+ <p>This sub-schema describes the Production Timetable Service.</p>
58
+ </Description>
59
+ <Format>
60
+ <MediaType>text/xml</MediaType>
61
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
62
+ <Description>XML schema, W3C Recommendation 2001</Description>
63
+ </Format>
64
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri_model/}siri_datedVehicleJourney.xsd</Identifier>
65
+ <Language>[ISO 639-2/B] ENG</Language>
66
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
67
+ <Relation>
68
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_model/siri_journey.xsd</Requires>
69
+ </Relation>
70
+ <Rights><!--Unclassified-->
71
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
72
+ </Rights>
73
+ <Source>
74
+ <ul>
75
+ <li>Derived from the VDV, RTIG XML and Trident standards.</li>
76
+ </ul>
77
+ </Source>
78
+ <Status>Version 2.1</Status>
79
+ <Subject>
80
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
81
+ Air transport, Airports,
82
+ Ports and maritime transport, Ferries (marine),
83
+ Public transport, Bus services, Coach services, Bus stops and stations,
84
+ Rail transport, Railway stations and track, Train services, Underground trains,
85
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
86
+ Rail transport, Roads and road transport
87
+ </Category>
88
+ <Project>CEN TC278 WG3 SG7</Project>
89
+ </Subject>
90
+ <Title>SIRI_PT XML schema. Service Interface for Real-time Information. Production Timetable Service.</Title>
91
+ <Type>Standard</Type>
92
+ </Metadata>
93
+ </xsd:appinfo>
94
+ <xsd:documentation>SIRI-Model Dated Vehicle Joruney.</xsd:documentation>
95
+ </xsd:annotation>
96
+ <!-- ======================================================================= -->
97
+ <xsd:include schemaLocation="siri_journey.xsd"/>
98
+ <!-- ======================================================================= -->
99
+ <xsd:element name="DatedVehicleJourney" type="DatedVehicleJourneyStructure">
100
+ <xsd:annotation>
101
+ <xsd:documentation>A planned VEHICLE JOURNEY taking place on a particular date.</xsd:documentation>
102
+ </xsd:annotation>
103
+ </xsd:element>
104
+ <xsd:complexType name="DatedVehicleJourneyStructure">
105
+ <xsd:annotation>
106
+ <xsd:documentation>Type for Planned VEHICLE JOURNEY (Production Timetable Service).</xsd:documentation>
107
+ </xsd:annotation>
108
+ <xsd:sequence>
109
+ <xsd:element name="DatedVehicleJourneyCode" type="DatedVehicleJourneyCodeType" minOccurs="0">
110
+ <xsd:annotation>
111
+ <xsd:documentation>Identifier for a VEHICLE JOURNEY.</xsd:documentation>
112
+ </xsd:annotation>
113
+ </xsd:element>
114
+ <xsd:group ref="TimetableAlterationGroup" minOccurs="0"/>
115
+ <xsd:group ref="JourneyPatternInfoGroup"/>
116
+ <xsd:group ref="JourneyEndNamesGroup"/>
117
+ <xsd:group ref="ServiceInfoGroup"/>
118
+ <xsd:group ref="JourneyInfoGroup"/>
119
+ <xsd:group ref="DatedServiceInfoGroup"/>
120
+ <xsd:group ref="TimetableRealtimeInfoGroup"/>
121
+ <xsd:group ref="DatedTrainOperationalInfoGroup"/>
122
+ <xsd:element name="DatedCalls">
123
+ <xsd:annotation>
124
+ <xsd:documentation>Complete sequence of stops along the route path, in calling order.</xsd:documentation>
125
+ </xsd:annotation>
126
+ <xsd:complexType>
127
+ <xsd:sequence>
128
+ <xsd:element ref="DatedCall" minOccurs="2" maxOccurs="unbounded"/>
129
+ </xsd:sequence>
130
+ </xsd:complexType>
131
+ </xsd:element>
132
+ <xsd:element name="JourneyRelations" type="JourneyRelationsStructure" minOccurs="0">
133
+ <xsd:annotation>
134
+ <xsd:documentation>Relations of the journey with other journeys, e.g., in case a joining/splitting takes place or the journey substitutes for another one etc.</xsd:documentation>
135
+ </xsd:annotation>
136
+ </xsd:element>
137
+ <xsd:element ref="Extensions" minOccurs="0"/>
138
+ </xsd:sequence>
139
+ </xsd:complexType>
140
+ <xsd:complexType name="RemovedDatedVehicleJourneyStructure">
141
+ <xsd:annotation>
142
+ <xsd:documentation>Type for previously planned VEHICLE JOURNEY that is removed from the data producer when using incremental updates. +SIRI v2.1</xsd:documentation>
143
+ </xsd:annotation>
144
+ <xsd:sequence>
145
+ <xsd:element name="FramedVehicleJourneyRef" type="FramedVehicleJourneyRefStructure">
146
+ <xsd:annotation>
147
+ <xsd:documentation>A reference to the DATED VEHICLE JOURNEY from a previous PT delivery that is removed by the data producer.</xsd:documentation>
148
+ </xsd:annotation>
149
+ </xsd:element>
150
+ <xsd:element name="DatedVehicleJourneyIndirectRef" type="DatedVehicleJourneyIndirectRefStructure" minOccurs="0">
151
+ <xsd:annotation>
152
+ <xsd:documentation>Optionally identify the VEHICLE JOURNEY indirectly by origin and destination and the scheduled times at these stops.</xsd:documentation>
153
+ </xsd:annotation>
154
+ </xsd:element>
155
+ <xsd:element name="TrainNumbers" minOccurs="0">
156
+ <xsd:annotation>
157
+ <xsd:documentation>TRAIN NUMBERs for journey.</xsd:documentation>
158
+ </xsd:annotation>
159
+ <xsd:complexType>
160
+ <xsd:sequence>
161
+ <xsd:element name="TrainNumberRef" type="TrainNumberRefStructure" maxOccurs="unbounded">
162
+ <xsd:annotation>
163
+ <xsd:documentation>TRAIN NUMBER assigned to VEHICLE JOURNEY.</xsd:documentation>
164
+ </xsd:annotation>
165
+ </xsd:element>
166
+ </xsd:sequence>
167
+ </xsd:complexType>
168
+ </xsd:element>
169
+ <xsd:element ref="ReasonForRemoval"/>
170
+ </xsd:sequence>
171
+ </xsd:complexType>
172
+ <xsd:group name="DatedServiceInfoGroup">
173
+ <xsd:annotation>
174
+ <xsd:documentation>General info elements that apply to all journeys of timetable version unless overriden.</xsd:documentation>
175
+ </xsd:annotation>
176
+ <xsd:sequence>
177
+ <xsd:element name="OriginDisplay" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
178
+ <xsd:annotation>
179
+ <xsd:documentation>Description of the origin stop (vehicle signage) to show on vehicle, Can be overwritten for a journey, and then also section by section by the entry in an Individual Call. (+SIRI 2.0)</xsd:documentation>
180
+ </xsd:annotation>
181
+ </xsd:element>
182
+ <xsd:element name="DestinationDisplay" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
183
+ <xsd:annotation>
184
+ <xsd:documentation>Description of the destination stop (vehicle signage) to show on vehicle, Can be overwritten for a journey, and then also section by section by the entry in an Individual Call. (Unbounded since SIRI 2.0)</xsd:documentation>
185
+ </xsd:annotation>
186
+ </xsd:element>
187
+ <xsd:element name="LineNote" type="NaturalLanguagePlaceNameStructure" minOccurs="0" maxOccurs="unbounded">
188
+ <xsd:annotation>
189
+ <xsd:documentation>Additional Text associated with LINE. (Unbounded since SIRI 2.0)</xsd:documentation>
190
+ </xsd:annotation>
191
+ </xsd:element>
192
+ <xsd:element name="FirstOrLastJourney" type="FirstOrLastJourneyEnumeration" default="unspecified" minOccurs="0">
193
+ <xsd:annotation>
194
+ <xsd:documentation>Whether journey is first or last jouurney of day. +SIRI v2.0</xsd:documentation>
195
+ </xsd:annotation>
196
+ </xsd:element>
197
+ </xsd:sequence>
198
+ </xsd:group>
199
+ <xsd:group name="TimetableAlterationGroup">
200
+ <xsd:annotation>
201
+ <xsd:documentation>If the journey is an alteration to a timetable, indicates the original journey, and the nature of the difference.</xsd:documentation>
202
+ </xsd:annotation>
203
+ <xsd:sequence>
204
+ <xsd:choice minOccurs="0">
205
+ <xsd:annotation>
206
+ <xsd:documentation>Use of simple reference is deprecated </xsd:documentation>
207
+ </xsd:annotation>
208
+ <xsd:element name="FramedVehicleJourneyRef" type="FramedVehicleJourneyRefStructure">
209
+ <xsd:annotation>
210
+ <xsd:documentation>Refecence to a VEHICLE JOURNEY framed by the day. SIRI 2.0 </xsd:documentation>
211
+ </xsd:annotation>
212
+ </xsd:element>
213
+ <xsd:element ref="VehicleJourneyRef"/>
214
+ </xsd:choice>
215
+ <xsd:choice>
216
+ <xsd:element name="ExtraJourney" type="xsd:boolean" default="false" minOccurs="0">
217
+ <xsd:annotation>
218
+ <xsd:documentation>Whether this journey is an addition to the plan. Can only be used when both participants recognise the same schedule version. If omitted, defaults to false: the journey is not an addition.</xsd:documentation>
219
+ </xsd:annotation>
220
+ </xsd:element>
221
+ <xsd:element name="Cancellation" type="xsd:boolean" default="false" minOccurs="0">
222
+ <xsd:annotation>
223
+ <xsd:documentation>Whether this journey is a cancellation of a journey in the plan. Can only be used when both participants recognise the same schedule version. If omitted, defaults to 'false': the journey is not cancelled.</xsd:documentation>
224
+ </xsd:annotation>
225
+ </xsd:element>
226
+ </xsd:choice>
227
+ </xsd:sequence>
228
+ </xsd:group>
229
+ <xsd:group name="TimetableRealtimeInfoGroup">
230
+ <xsd:annotation>
231
+ <xsd:documentation>Additional descriptive properties of service.</xsd:documentation>
232
+ </xsd:annotation>
233
+ <xsd:sequence>
234
+ <xsd:element name="HeadwayService" type="xsd:boolean" minOccurs="0">
235
+ <xsd:annotation>
236
+ <xsd:documentation>Whether this is a Headway Service, that is, one shown as operating at a prescribed interval rather than to a fixed timetable.</xsd:documentation>
237
+ </xsd:annotation>
238
+ </xsd:element>
239
+ <xsd:element name="Monitored" type="xsd:boolean" default="true" minOccurs="0">
240
+ <xsd:annotation>
241
+ <xsd:documentation>Whether VEHICLE JOURNEYs of LINE are normally monitored. Provides a default value for the Monitored element on individual journeys of the timetable.</xsd:documentation>
242
+ </xsd:annotation>
243
+ </xsd:element>
244
+ </xsd:sequence>
245
+ </xsd:group>
246
+ <!-- ======================================================================= -->
247
+ <xsd:complexType name="AbstractServiceJourneyInterchangeStructure" abstract="true">
248
+ <xsd:annotation>
249
+ <xsd:documentation>A planned SERVICE JOURNEY INTERCHANGE between two journeys. +SIRI v2.0</xsd:documentation>
250
+ </xsd:annotation>
251
+ <xsd:sequence>
252
+ <xsd:choice>
253
+ <xsd:element ref="InterchangeCode" minOccurs="0"/>
254
+ <xsd:element ref="InterchangeRef" minOccurs="0"/>
255
+ </xsd:choice>
256
+ <xsd:element ref="ConnectionLinkRef" minOccurs="0"/>
257
+ <xsd:choice>
258
+ <xsd:element ref="ExtraInterchange" minOccurs="0"/>
259
+ <xsd:element name="Cancellation" type="InterchangeCancellation" default="false" minOccurs="0"/>
260
+ </xsd:choice>
261
+ <xsd:element ref="ReasonForRemoval" minOccurs="0"/>
262
+ <xsd:element ref="FeederRef" minOccurs="0"/>
263
+ <xsd:element ref="FeederArrivalStopRef" minOccurs="0"/>
264
+ <xsd:element ref="FeederVisitNumber" minOccurs="0"/>
265
+ <xsd:element ref="FeederStopOrder" minOccurs="0"/>
266
+ <xsd:element ref="AimedArrivalTimeOfFeeder" minOccurs="0"/>
267
+ <xsd:element ref="DistributorRef" minOccurs="0"/>
268
+ <xsd:element ref="DistributorDepartureStopRef" minOccurs="0"/>
269
+ <xsd:element ref="DistributorVisitNumber" minOccurs="0"/>
270
+ <xsd:element ref="DistributorStopOrder" minOccurs="0"/>
271
+ <xsd:element ref="AimedDepartureTimeOfDistributor" minOccurs="0"/>
272
+ <xsd:group ref="InterchangePropertyGroup"/>
273
+ <xsd:group ref="InterchangeTimesGroup"/>
274
+ <xsd:element ref="Extensions" minOccurs="0"/>
275
+ </xsd:sequence>
276
+ </xsd:complexType>
277
+ <!-- ======================================================================= -->
278
+ <xsd:complexType name="FromServiceJourneyInterchangeStructure">
279
+ <xsd:annotation>
280
+ <xsd:documentation>A planned SERVICE JOURNEY INTERCHANGE from a journey. +SIRI v2.0</xsd:documentation>
281
+ </xsd:annotation>
282
+ <xsd:complexContent>
283
+ <xsd:restriction base="AbstractServiceJourneyInterchangeStructure">
284
+ <xsd:sequence>
285
+ <xsd:element ref="InterchangeCode" minOccurs="0"/>
286
+ <xsd:element ref="ConnectionLinkRef" minOccurs="0"/>
287
+ <xsd:element ref="FeederRef"/>
288
+ <xsd:element ref="FeederArrivalStopRef"/>
289
+ <xsd:element ref="FeederVisitNumber" minOccurs="0"/>
290
+ <xsd:element ref="FeederStopOrder" minOccurs="0"/>
291
+ <xsd:element ref="AimedArrivalTimeOfFeeder" minOccurs="0"/>
292
+ <xsd:element ref="DistributorRef" minOccurs="0" maxOccurs="0"/>
293
+ <xsd:element ref="DistributorDepartureStopRef" minOccurs="0" maxOccurs="0"/>
294
+ <xsd:element ref="DistributorVisitNumber" minOccurs="0" maxOccurs="0"/>
295
+ <xsd:element ref="DistributorStopOrder" minOccurs="0"/>
296
+ <xsd:element ref="AimedDepartureTimeOfDistributor" minOccurs="0"/>
297
+ <xsd:group ref="InterchangePropertyGroup"/>
298
+ <xsd:group ref="InterchangeTimesGroup"/>
299
+ <xsd:element ref="Extensions" minOccurs="0"/>
300
+ </xsd:sequence>
301
+ </xsd:restriction>
302
+ </xsd:complexContent>
303
+ </xsd:complexType>
304
+ <!-- ======================================================================= -->
305
+ <xsd:complexType name="ToServiceJourneyInterchangeStructure">
306
+ <xsd:annotation>
307
+ <xsd:documentation>A planned SERVICE JOURNEY INTERCHANGE to a journey. +SIRI v2.0</xsd:documentation>
308
+ </xsd:annotation>
309
+ <xsd:complexContent>
310
+ <xsd:restriction base="AbstractServiceJourneyInterchangeStructure">
311
+ <xsd:sequence>
312
+ <xsd:element ref="InterchangeCode" minOccurs="0"/>
313
+ <xsd:element ref="ConnectionLinkRef" minOccurs="0"/>
314
+ <xsd:element ref="FeederRef" minOccurs="0" maxOccurs="0"/>
315
+ <xsd:element ref="FeederArrivalStopRef" minOccurs="0" maxOccurs="0"/>
316
+ <xsd:element ref="FeederVisitNumber" minOccurs="0" maxOccurs="0"/>
317
+ <xsd:element ref="FeederStopOrder" minOccurs="0"/>
318
+ <xsd:element ref="AimedArrivalTimeOfFeeder" minOccurs="0"/>
319
+ <xsd:element ref="DistributorRef"/>
320
+ <xsd:element ref="DistributorDepartureStopRef"/>
321
+ <xsd:element ref="DistributorVisitNumber" minOccurs="0"/>
322
+ <xsd:element ref="DistributorStopOrder" minOccurs="0"/>
323
+ <xsd:element ref="AimedDepartureTimeOfDistributor" minOccurs="0"/>
324
+ <xsd:group ref="InterchangePropertyGroup"/>
325
+ <xsd:group ref="InterchangeTimesGroup"/>
326
+ <xsd:element ref="Extensions" minOccurs="0"/>
327
+ </xsd:sequence>
328
+ </xsd:restriction>
329
+ </xsd:complexContent>
330
+ </xsd:complexType>
331
+ <!-- ======================================================================= -->
332
+ <xsd:complexType name="ServiceJourneyInterchangeStructure">
333
+ <xsd:annotation>
334
+ <xsd:documentation>A planned SERVICE JOURNEY INTERCHANGE between two journeys. +SIRI v2.0</xsd:documentation>
335
+ </xsd:annotation>
336
+ <xsd:complexContent>
337
+ <xsd:restriction base="AbstractServiceJourneyInterchangeStructure">
338
+ <xsd:sequence>
339
+ <xsd:element ref="InterchangeCode" minOccurs="0"/>
340
+ <xsd:element ref="ConnectionLinkRef" minOccurs="0"/>
341
+ <xsd:choice>
342
+ <xsd:element ref="ExtraInterchange" minOccurs="0"/>
343
+ <xsd:element name="Cancellation" type="InterchangeCancellation" default="false" minOccurs="0"/>
344
+ </xsd:choice>
345
+ <xsd:element ref="FeederRef"/>
346
+ <xsd:element ref="FeederArrivalStopRef"/>
347
+ <xsd:element ref="FeederVisitNumber" minOccurs="0"/>
348
+ <xsd:element ref="FeederStopOrder" minOccurs="0"/>
349
+ <xsd:element ref="AimedArrivalTimeOfFeeder" minOccurs="0"/>
350
+ <xsd:element ref="DistributorRef"/>
351
+ <xsd:element ref="DistributorDepartureStopRef"/>
352
+ <xsd:element ref="DistributorVisitNumber" minOccurs="0"/>
353
+ <xsd:element ref="DistributorStopOrder" minOccurs="0"/>
354
+ <xsd:element ref="AimedDepartureTimeOfDistributor" minOccurs="0"/>
355
+ <xsd:group ref="InterchangePropertyGroup"/>
356
+ <xsd:group ref="InterchangeTimesGroup"/>
357
+ <xsd:element ref="Extensions" minOccurs="0"/>
358
+ </xsd:sequence>
359
+ </xsd:restriction>
360
+ </xsd:complexContent>
361
+ </xsd:complexType>
362
+ <!-- ======================================================================= -->
363
+ <xsd:complexType name="RemovedServiceJourneyInterchangeStructure">
364
+ <xsd:annotation>
365
+ <xsd:documentation>Type for a previously planned SERVICE JOURNEY INTERCHANGE that a data producer wants to silently remove from the plan (because it is erroneous data). Careful: Removal is different from Cancellation. +SIRI v2.1</xsd:documentation>
366
+ </xsd:annotation>
367
+ <xsd:complexContent>
368
+ <xsd:restriction base="AbstractServiceJourneyInterchangeStructure">
369
+ <xsd:sequence>
370
+ <xsd:element ref="InterchangeRef"/>
371
+ <xsd:element ref="ConnectionLinkRef" minOccurs="0"/>
372
+ <xsd:element ref="ReasonForRemoval"/>
373
+ <xsd:element ref="FeederRef"/>
374
+ <xsd:element ref="FeederArrivalStopRef"/>
375
+ <xsd:element ref="FeederVisitNumber" minOccurs="0"/>
376
+ <xsd:element ref="FeederStopOrder" minOccurs="0"/>
377
+ <xsd:element ref="AimedArrivalTimeOfFeeder" minOccurs="0"/>
378
+ <xsd:element ref="DistributorRef"/>
379
+ <xsd:element ref="DistributorDepartureStopRef"/>
380
+ <xsd:element ref="DistributorVisitNumber" minOccurs="0"/>
381
+ <xsd:element ref="DistributorStopOrder" minOccurs="0"/>
382
+ <xsd:element ref="AimedDepartureTimeOfDistributor" minOccurs="0"/>
383
+ <xsd:element ref="Extensions" minOccurs="0"/>
384
+ </xsd:sequence>
385
+ </xsd:restriction>
386
+ </xsd:complexContent>
387
+ </xsd:complexType>
388
+ <!-- ======================================================================= -->
389
+ <xsd:group name="InterchangeTimesGroup">
390
+ <xsd:annotation>
391
+ <xsd:documentation>Time Elements for SERVICE JOURNEY INTERCHANGE.</xsd:documentation>
392
+ </xsd:annotation>
393
+ <xsd:sequence>
394
+ <xsd:group ref="InterchangeWaitTimeGroup">
395
+ <xsd:annotation>
396
+ <xsd:documentation>Elements for INTERCHANGE WAIT TIME.</xsd:documentation>
397
+ </xsd:annotation>
398
+ </xsd:group>
399
+ <xsd:group ref="InterchangeTransferDurationGroup"/>
400
+ </xsd:sequence>
401
+ </xsd:group>
402
+ <xsd:group name="InterchangeTransferDurationGroup">
403
+ <xsd:annotation>
404
+ <xsd:documentation>Elements for INTERCHANGE TRANSFER duration.</xsd:documentation>
405
+ </xsd:annotation>
406
+ <xsd:sequence>
407
+ <xsd:element name="StandardTransferTime" type="xsd:duration" minOccurs="0">
408
+ <xsd:annotation>
409
+ <xsd:documentation>Standard transfer duration for INTERCHANGE. SIRI v2,0</xsd:documentation>
410
+ </xsd:annotation>
411
+ </xsd:element>
412
+ <xsd:element name="MinimumTransferTime" type="xsd:duration" minOccurs="0">
413
+ <xsd:annotation>
414
+ <xsd:documentation>Minimum transfer duration for INTERCHANGE. SIRI v2,0</xsd:documentation>
415
+ </xsd:annotation>
416
+ </xsd:element>
417
+ <xsd:element name="MaximumTransferTime" type="xsd:duration" minOccurs="0">
418
+ <xsd:annotation>
419
+ <xsd:documentation>Maximum transfer duration for INTERCHANGE. SIRI v2,0</xsd:documentation>
420
+ </xsd:annotation>
421
+ </xsd:element>
422
+ </xsd:sequence>
423
+ </xsd:group>
424
+ <xsd:group name="InterchangeWaitTimeGroup">
425
+ <xsd:annotation>
426
+ <xsd:documentation>Elements for INTERCHANGE WAIT TIME.</xsd:documentation>
427
+ </xsd:annotation>
428
+ <xsd:sequence>
429
+ <xsd:element name="StandardWaitTime" type="xsd:duration" minOccurs="0">
430
+ <xsd:annotation>
431
+ <xsd:documentation>Standard wait time for INTERCHANGE. SIRI v2,0</xsd:documentation>
432
+ </xsd:annotation>
433
+ </xsd:element>
434
+ <xsd:element name="MaximumWaitTime" type="xsd:duration" minOccurs="0">
435
+ <xsd:annotation>
436
+ <xsd:documentation>Maximum time that Distributor will wait for Feeder for INTERCHANGE. SIRI v1.0</xsd:documentation>
437
+ </xsd:annotation>
438
+ </xsd:element>
439
+ <xsd:element name="MaximumAutomaticWaitTime" type="xsd:duration" minOccurs="0">
440
+ <xsd:annotation>
441
+ <xsd:documentation>Maximum automatic wait time that Distributor will wait for Feeder for INTERCHANGE. +SIRI v2.0</xsd:documentation>
442
+ </xsd:annotation>
443
+ </xsd:element>
444
+ </xsd:sequence>
445
+ </xsd:group>
446
+ <!-- ==== CALL =========================================-->
447
+ <xsd:element name="DatedCall" type="DatedCallStructure">
448
+ <xsd:annotation>
449
+ <xsd:documentation>Complete sequence of stops along the route path, in calling order.</xsd:documentation>
450
+ </xsd:annotation>
451
+ </xsd:element>
452
+ <xsd:complexType name="DatedCallStructure">
453
+ <xsd:annotation>
454
+ <xsd:documentation>Type for Planned VEHICLE JOURNEY Stop (Production Timetable Service).</xsd:documentation>
455
+ </xsd:annotation>
456
+ <xsd:sequence>
457
+ <xsd:group ref="StopPointInSequenceGroup"/>
458
+ <xsd:choice minOccurs="0">
459
+ <xsd:element name="ExtraCall" type="xsd:boolean" default="false" minOccurs="0">
460
+ <xsd:annotation>
461
+ <xsd:documentation>Whether this DATED CALL is an addition to the plan. Can only be used when both participants recognise the same schedule version. If omitted, defaults to false: the journey is not an addition.</xsd:documentation>
462
+ </xsd:annotation>
463
+ </xsd:element>
464
+ <xsd:element name="Cancellation" type="xsd:boolean" default="false" minOccurs="0">
465
+ <xsd:annotation>
466
+ <xsd:documentation>Whether this DATED CALL is a cancellation of a previously announced call (or planned according to the long-term timetable). Can only be used when both participants recognise the same schedule version. If omitted, defaults to 'false': the journey is not cancelled.</xsd:documentation>
467
+ </xsd:annotation>
468
+ </xsd:element>
469
+ </xsd:choice>
470
+ <xsd:group ref="CallPropertyGroup"/>
471
+ <xsd:element name="CallNote" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
472
+ <xsd:annotation>
473
+ <xsd:documentation>Text annotation that applies to this call.</xsd:documentation>
474
+ </xsd:annotation>
475
+ </xsd:element>
476
+ <!-- The FacilityChangeElement has been removed here in Siri 1.1, but it is still available at the same place through the AimedCallGroup->DisruptionGroup
477
+ (DisruptionGroup has been added to AimedCallGroup)
478
+ <xsd:element ref="FacilityChangeElement" minOccurs="0"/>
479
+ -->
480
+ <xsd:group ref="AimedCallGroup"/>
481
+ <xsd:element name="TargetedInterchange" type="TargetedInterchangeStructure" minOccurs="0" maxOccurs="unbounded">
482
+ <xsd:annotation>
483
+ <xsd:documentation>Information on any planned distributor connections (deprecated from SIRI V2.0 ... see 2 next attributes)</xsd:documentation>
484
+ </xsd:annotation>
485
+ </xsd:element>
486
+ <xsd:element name="FromServiceJourneyInterchange" type="FromServiceJourneyInterchangeStructure" minOccurs="0" maxOccurs="unbounded">
487
+ <xsd:annotation>
488
+ <xsd:documentation>Information on any planned feeder connections. SIRI 2.0</xsd:documentation>
489
+ </xsd:annotation>
490
+ </xsd:element>
491
+ <xsd:element name="ToServiceJourneyInterchange" type="ToServiceJourneyInterchangeStructure" minOccurs="0" maxOccurs="unbounded">
492
+ <xsd:annotation>
493
+ <xsd:documentation>Information on any planned distributor connections. SIRI 2.0</xsd:documentation>
494
+ </xsd:annotation>
495
+ </xsd:element>
496
+ <xsd:element ref="Extensions" minOccurs="0"/>
497
+ </xsd:sequence>
498
+ </xsd:complexType>
499
+ <!-- ==== INTERCHANGE =========================================-->
500
+ <xsd:complexType name="TargetedInterchangeStructure">
501
+ <xsd:annotation>
502
+ <xsd:documentation>Planned Connection between two VEHICLE JOURNEYs.</xsd:documentation>
503
+ </xsd:annotation>
504
+ <xsd:sequence>
505
+ <xsd:sequence>
506
+ <xsd:element ref="InterchangeCode" minOccurs="0"/>
507
+ <xsd:element name="DistributorVehicleJourneyRef" type="DatedVehicleJourneyRefStructure">
508
+ <xsd:annotation>
509
+ <xsd:documentation>Reference to a (dated) distributor VEHICLE JOURNEY.</xsd:documentation>
510
+ </xsd:annotation>
511
+ </xsd:element>
512
+ <xsd:choice>
513
+ <xsd:element name="DistributorConnectionLinkRef" type="ConnectionLinkRefStructure">
514
+ <xsd:annotation>
515
+ <xsd:documentation>Reference to a physical CONNECTION LINK over which the SERVICE JOURNEY INTERCHANGE takes place.</xsd:documentation>
516
+ </xsd:annotation>
517
+ </xsd:element>
518
+ <xsd:element name="DistributorConnectionLink" type="ContextualisedConnectionLinkStructure">
519
+ <xsd:annotation>
520
+ <xsd:documentation>Link to Interchange stop from which the distributor journey departs. If omitted: the distributor journey stop is the same as the feeder journey stop, i.e. that of theh dated call.</xsd:documentation>
521
+ </xsd:annotation>
522
+ </xsd:element>
523
+ </xsd:choice>
524
+ </xsd:sequence>
525
+ <xsd:element ref="DistributorVisitNumber" minOccurs="0"/>
526
+ <xsd:element name="DistributorOrder" type="xsd:positiveInteger" minOccurs="0">
527
+ <xsd:annotation>
528
+ <xsd:documentation>For implementations for which Order is not used for VisitNumber, (i.e. if VisitNumberIsOrder is false) then Order can be used to associate the Order as well if useful for translation.</xsd:documentation>
529
+ </xsd:annotation>
530
+ </xsd:element>
531
+ <xsd:group ref="InterchangePropertyGroup"/>
532
+ <xsd:group ref="InterchangeTimesGroup"/>
533
+ </xsd:sequence>
534
+ </xsd:complexType>
535
+ <xsd:complexType name="ContextualisedConnectionLinkStructure">
536
+ <xsd:annotation>
537
+ <xsd:documentation>Connection between two stops within a connection area. Used within the context of one or other end.</xsd:documentation>
538
+ </xsd:annotation>
539
+ <xsd:sequence>
540
+ <xsd:element name="ConnectionLinkCode" type="ConnectionLinkCodeType" minOccurs="0">
541
+ <xsd:annotation>
542
+ <xsd:documentation>Identifier of CONNECTION LINk.</xsd:documentation>
543
+ </xsd:annotation>
544
+ </xsd:element>
545
+ <xsd:element ref="StopPointRef" minOccurs="0"/>
546
+ <xsd:element ref="StopPointName" minOccurs="0"/>
547
+ <xsd:group ref="ConnectionDurationGroup"/>
548
+ </xsd:sequence>
549
+ </xsd:complexType>
550
+ <xsd:group name="ConnectionDurationGroup">
551
+ <xsd:annotation>
552
+ <xsd:documentation>Times for making SERVICE JOURNEY INTERCHANGE.</xsd:documentation>
553
+ </xsd:annotation>
554
+ <xsd:sequence>
555
+ <xsd:element name="DefaultDuration" type="PositiveDurationType" minOccurs="0">
556
+ <xsd:annotation>
557
+ <xsd:documentation>Default time (Duration) needeed to traverse SERVICE JOURNEY INTERCHANGE from feeder to distributor.</xsd:documentation>
558
+ </xsd:annotation>
559
+ </xsd:element>
560
+ <xsd:element name="FrequentTravellerDuration" type="PositiveDurationType" minOccurs="0">
561
+ <xsd:annotation>
562
+ <xsd:documentation>Time needeed by a traveller whis is familiar with SERVICE JOURNEY INTERCHANGE to traverse it. If absent, use DefaultDuration.</xsd:documentation>
563
+ </xsd:annotation>
564
+ </xsd:element>
565
+ <xsd:element name="OccasionalTravellerDuration" type="PositiveDurationType" minOccurs="0">
566
+ <xsd:annotation>
567
+ <xsd:documentation>Time needeed by a traveller whis is not familiar with SERVICE JOURNEY INTERCHANGE to traverse it. If absent, use DefaultDuration and a standard weighting.</xsd:documentation>
568
+ </xsd:annotation>
569
+ </xsd:element>
570
+ <xsd:element name="ImpairedAccessDuration" type="PositiveDurationType" minOccurs="0">
571
+ <xsd:annotation>
572
+ <xsd:documentation>Time needeed by a traveller wos is mobility impaired to traverse SERVICE JOURNEY INTERCHANGE. If absent, use DefaultDuration and a standard impaired travel speed.</xsd:documentation>
573
+ </xsd:annotation>
574
+ </xsd:element>
575
+ </xsd:sequence>
576
+ </xsd:group>
577
+ <xsd:group name="InterchangePropertyGroup">
578
+ <xsd:annotation>
579
+ <xsd:documentation>Properties of SERVICE JOURNEY INTERCHANGE.</xsd:documentation>
580
+ </xsd:annotation>
581
+ <xsd:sequence>
582
+ <xsd:element name="StaySeated" type="xsd:boolean" default="false" minOccurs="0">
583
+ <xsd:annotation>
584
+ <xsd:documentation>Whether the passenger can remain in VEHICLE (i.e. BLOCKlinking). Default is 'false': the passenger must change vehicles for this connection.</xsd:documentation>
585
+ </xsd:annotation>
586
+ </xsd:element>
587
+ <xsd:element name="Guaranteed" type="xsd:boolean" default="false" minOccurs="0">
588
+ <xsd:annotation>
589
+ <xsd:documentation>Whether the SERVICE JOURNEY INTERCHANGE is guaranteed. Default is 'false'; SERVICE JOURNEY INTERCHANGE is not guaranteed.</xsd:documentation>
590
+ </xsd:annotation>
591
+ </xsd:element>
592
+ <xsd:element name="Advertised" type="xsd:boolean" default="false" minOccurs="0">
593
+ <xsd:annotation>
594
+ <xsd:documentation>Whether the SERVICE JOURNEY INTERCHANGE is advertised as a connection. Default is 'false'.</xsd:documentation>
595
+ </xsd:annotation>
596
+ </xsd:element>
597
+ </xsd:sequence>
598
+ </xsd:group>
599
+ <xsd:simpleType name="InterchangeManagementEnumeration">
600
+ <xsd:annotation>
601
+ <xsd:documentation>Nature of Interchange management.</xsd:documentation>
602
+ </xsd:annotation>
603
+ <xsd:restriction base="xsd:NMTOKEN">
604
+ <xsd:enumeration value="Planned">
605
+ <xsd:annotation>
606
+ <xsd:documentation>Interchange is considered a possible connection between journeys.</xsd:documentation>
607
+ </xsd:annotation>
608
+ </xsd:enumeration>
609
+ <xsd:enumeration value="Advertised">
610
+ <xsd:annotation>
611
+ <xsd:documentation>Interchange is advertised to public as a possible connection between journeys.</xsd:documentation>
612
+ </xsd:annotation>
613
+ </xsd:enumeration>
614
+ <xsd:enumeration value="Controlled">
615
+ <xsd:annotation>
616
+ <xsd:documentation>Interchange is actively managed as a possible connection between journeys and passengers are informed of real-time alterations.</xsd:documentation>
617
+ </xsd:annotation>
618
+ </xsd:enumeration>
619
+ <xsd:enumeration value="Guaranteed">
620
+ <xsd:annotation>
621
+ <xsd:documentation>Interchange is actively managed as a possible connection between journeys and distributor may be delayed in order to make a transfer possible.</xsd:documentation>
622
+ </xsd:annotation>
623
+ </xsd:enumeration>
624
+ </xsd:restriction>
625
+ </xsd:simpleType>
626
+ <!-- =====individual elements that are referenced in various groups================================================================== -->
627
+ <xsd:element name="InterchangeCode" type="InterchangeCodeType">
628
+ <xsd:annotation>
629
+ <xsd:documentation>Identifier of SERVICE JOURNEY INTERCHANGE. +SIRI v2.0</xsd:documentation>
630
+ </xsd:annotation>
631
+ </xsd:element>
632
+ <xsd:element name="ExtraInterchange" type="xsd:boolean" default="false">
633
+ <xsd:annotation>
634
+ <xsd:documentation>Whether this interchange is an addition to the plan. Can only be used when both participants recognise the same schedule version. If omitted, defaults to 'false': the interchange is not an addition. +SIRI v2.1</xsd:documentation>
635
+ </xsd:annotation>
636
+ </xsd:element>
637
+ <xsd:simpleType name="InterchangeCancellation">
638
+ <xsd:annotation>
639
+ <xsd:documentation>Whether this interchange is a cancellation of a previously announced interchange (or planned according to the long-term timetable.
640
+ Can only be used when both participants recognise the same schedule version. If omitted, defaults to 'false': the interchange is not cancelled. +SIRI v2.1</xsd:documentation>
641
+ </xsd:annotation>
642
+ <xsd:restriction base="xsd:boolean"/>
643
+ </xsd:simpleType>
644
+ <xsd:element name="ReasonForRemoval" type="NaturalLanguageStringStructure">
645
+ <xsd:annotation>
646
+ <xsd:documentation>The data producer must provide a reason, e.g. type of error and description, in case he wants to silently remove (instead of cancel) a journey or an interchange from the plan. +SIRI v2.1</xsd:documentation>
647
+ </xsd:annotation>
648
+ </xsd:element>
649
+ <xsd:element name="FeederRef" type="ConnectingJourneyRefStructure">
650
+ <xsd:annotation>
651
+ <xsd:documentation>Reference to a feeder VEHICLE JOURNEY. +SIRI v2.0</xsd:documentation>
652
+ </xsd:annotation>
653
+ </xsd:element>
654
+ <xsd:element name="FeederArrivalStopRef" type="StopPointRefStructure">
655
+ <xsd:annotation>
656
+ <xsd:documentation>SCHEDULED STOP POINT at which feeder journey arrives. +SIRI v2.0</xsd:documentation>
657
+ </xsd:annotation>
658
+ </xsd:element>
659
+ <xsd:element name="FeederVisitNumber" type="VisitNumberType">
660
+ <xsd:annotation>
661
+ <xsd:documentation>Sequence of visit to Feeder stop within Feeder JOURNEY PATTERN.</xsd:documentation>
662
+ </xsd:annotation>
663
+ </xsd:element>
664
+ <xsd:element name="FeederStopOrder" type="xsd:positiveInteger">
665
+ <xsd:annotation>
666
+ <xsd:documentation>For implementations in which the overall order is not defined by VISIT NUMBER, i.e. in case VisitNumberIsOrder is set to false, ORDER can be used to associate the stop order instead.
667
+ ORDER is also used together with VISIT NUMBER in scenarios where an extra CALL is inserted as a result of despatching alterations. Because such an extra CALL may have the same VisitNumber as another (cancelled) CALL, the STOP ORDER is needed. +SIRI v2.1</xsd:documentation>
668
+ </xsd:annotation>
669
+ </xsd:element>
670
+ <xsd:element name="AimedArrivalTimeOfFeeder" type="xsd:dateTime">
671
+ <xsd:annotation>
672
+ <xsd:documentation>Planned time at which feeder VEHICLE is scheduled to arrive. SIRI v2.1</xsd:documentation>
673
+ </xsd:annotation>
674
+ </xsd:element>
675
+ <xsd:element name="DistributorRef" type="ConnectingJourneyRefStructure">
676
+ <xsd:annotation>
677
+ <xsd:documentation>Reference to a feeder VEHICLE JOURNEY. +SIRI v2.0</xsd:documentation>
678
+ </xsd:annotation>
679
+ </xsd:element>
680
+ <xsd:element name="DistributorDepartureStopRef" type="StopPointRefStructure">
681
+ <xsd:annotation>
682
+ <xsd:documentation>SCHEDULED STOP POINT at which distributor journet departs. +SIRI v2.0</xsd:documentation>
683
+ </xsd:annotation>
684
+ </xsd:element>
685
+ <xsd:element name="DistributorVisitNumber" type="VisitNumberType">
686
+ <xsd:annotation>
687
+ <xsd:documentation>Sequence of visit to Distributor stop within Distributor JOURNEY PATTERN.</xsd:documentation>
688
+ </xsd:annotation>
689
+ </xsd:element>
690
+ <xsd:element name="DistributorStopOrder" type="xsd:positiveInteger">
691
+ <xsd:annotation>
692
+ <xsd:documentation>For implementations in which the overall order is not defined by VISIT NUMBER, i.e. in case VisitNumberIsOrder is set to false, ORDER can be used to associate the stop order instead.
693
+ ORDER is also used together with VISIT NUMBER in scenarios where an extra CALL is inserted as a result of despatching alterations. Because such an extra CALL may have the same VisitNumber as another (cancelled) CALL, the STOP ORDER is needed. +SIRI v2.1</xsd:documentation>
694
+ </xsd:annotation>
695
+ </xsd:element>
696
+ <xsd:element name="AimedDepartureTimeOfDistributor" type="xsd:dateTime">
697
+ <xsd:annotation>
698
+ <xsd:documentation>Planned time at which distributor VEHICLE is scheduled to depart. SIRI v2.1</xsd:documentation>
699
+ </xsd:annotation>
700
+ </xsd:element>
701
+ <!-- ======================================================================= -->
702
+ </xsd:schema>