-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOJP_JourneySupport.xsd
More file actions
643 lines (643 loc) · 27.9 KB
/
OJP_JourneySupport.xsd
File metadata and controls
643 lines (643 loc) · 27.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2016 rel. 2 sp1 (x64) (http://www.altova.com) by Christophe Duquesne (Aurige) -->
<xs:schema xmlns="http://www.vdv.de/ojp" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.siri.org.uk/siri" xmlns:siri="http://www.siri.org.uk/siri" targetNamespace="http://www.vdv.de/ojp" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- ===Dependencies ======================================= -->
<xs:import namespace="http://www.siri.org.uk/siri" schemaLocation="./siri_utility/siri_location-v2.0.xsd"/>
<!-- ===========================================================================================================-->
<xs:include schemaLocation="OJP_Common.xsd"/>
<xs:include schemaLocation="OJP_LocationSupport.xsd"/>
<xs:include schemaLocation="OJP_FareSupport.xsd"/>
<xs:include schemaLocation="OJP_SituationSupport.xsd"/>
<!-- ===========================================================================================================-->
<xs:complexType name="ServiceViaPointStructure">
<xs:annotation>
<xs:documentation>[a specialisation of VIA in TMv6] STOP PLACE or SCHEDULED STOP POINT as a VIA for a particular SERVICE PATTERN. Specialisation of a VIA.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="StopPointGroup"/>
<xs:element name="DisplayPriority" type="PriorityType" minOccurs="0">
<xs:annotation>
<xs:documentation>Priority of this via point to be displayed when space is limited.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TripViaStructure">
<xs:annotation>
<xs:documentation>VIA restrictions for a TRIP.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ViaPoint" type="PlaceRefStructure">
<xs:annotation>
<xs:documentation>Reference to specify the via location.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DwellTime" type="xs:duration" minOccurs="0">
<xs:annotation>
<xs:documentation>Duration the passenger wants to stay at the via location. Default is 0.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:group name="ScheduledJourneyGroup">
<xs:annotation>
<xs:documentation>Vehicle journey (not dated).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="JourneyRef"/>
<xs:group ref="ServiceGroup"/>
</xs:sequence>
</xs:group>
<xs:group name="ServiceGroup">
<xs:annotation>
<xs:documentation>Properties of a service (line and direction): attributes of Continuous Journey Structure or Dated Journey Structure.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="siri:LineDirectionGroup"/>
<xs:element name="Mode" type="ModeStructure">
<xs:annotation>
<xs:documentation>[a specialisation of MODE in TMv6] an extended range of VEHICLE MODEs, aggregating them with some SUBMODEs</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PublishedLineName" type="InternationalTextStructure">
<xs:annotation>
<xs:documentation>Line name or service description as known to the public, f.e. "512", "S8" or "Circle Line".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="OperatorRef" minOccurs="0"/>
<xs:element name="RouteDescription" type="InternationalTextStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Descriptive text for a route, f.e. "Airport via City Centre"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Via" type="ServiceViaPointStructure" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Via points of the service that may help identify the vehicle to the public.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Attribute" type="GeneralAttributeStructure" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Note or service attribute.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="ServiceOriginGroup">
<xs:annotation>
<xs:documentation>First serviced stop of a vehicle journey.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="OriginStopPointRef" type="siri:StopPointRefStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>First stop of the vehicle journey.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OriginText" type="InternationalTextStructure">
<xs:annotation>
<xs:documentation>Label for first stop.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="ServiceDestinationGroup">
<xs:annotation>
<xs:documentation>Last serviced stop of a vehicle journey.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DestinationStopPointRef" type="siri:StopPointRefStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Last stop of vehicle journey.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DestinationText" type="InternationalTextStructure">
<xs:annotation>
<xs:documentation>Label for last stop.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="RouteDescriptionGroup">
<xs:annotation>
<xs:documentation>Descriptive text for a route, f.e. "Airport via City Centre"</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="RouteDescriptionText" type="InternationalTextStructure"/>
</xs:sequence>
</xs:group>
<xs:group name="DatedJourneyGroup">
<xs:annotation>
<xs:documentation>Vehicle journey that runs at a specific date.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="OperatingDayRef"/>
<xs:element ref="siri:VehicleRef" minOccurs="0"/>
<xs:group ref="ScheduledJourneyGroup"/>
</xs:sequence>
</xs:group>
<xs:group name="PrivateServiceGroup">
<xs:annotation>
<xs:documentation>specific service operated by a Private Mode</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="JourneyRef" minOccurs="0"/>
<xs:element name="PrivateMode" type="PrivateModesEnumeration">
<xs:annotation>
<xs:documentation>[a category of MODE in TMv6] MODEs offered by private individuals </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OrganisationRef" type="siri:OperatorRefStructure" minOccurs="0"/>
<xs:element name="InfoURL" type="WebLinkStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Link to web page providing more details on service.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:complexType name="DatedJourneyStructure">
<xs:annotation>
<xs:documentation>[equivalent to DATED VEHICLE JOURNEY in TMv6] passenger carrying VEHICLE JOURNEY for one specified DAY TYPE for which the pattern of working is in principle defined by a SERVICE JOURNEY PATTERN. DatedJourney details of a service include its operating days. </xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:group ref="DatedJourneyGroup"/>
<xs:group ref="PrivateServiceGroup"/>
</xs:choice>
<xs:group ref="ServiceOriginGroup" minOccurs="0"/>
<xs:group ref="ServiceDestinationGroup"/>
<xs:group ref="ServiceStatusGroup"/>
<xs:element name="BookingArrangements" type="BookingArrangementsContainerStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Container with information on booking possibilities for this service.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="SituationFullRef" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TripLocationStructure">
<xs:annotation>
<xs:documentation>Location of a passenger currently travelling in a VEHICLE</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="OperatingDayRef"/>
<xs:element ref="JourneyRef"/>
<xs:group ref="siri:LineIdentityGroup"/>
</xs:sequence>
</xs:complexType>
<xs:annotation>
<xs:documentation>========================================= Times, Calls, Time context =================================================</xs:documentation>
</xs:annotation>
<xs:group name="TimeWindowGroup">
<xs:annotation>
<xs:documentation>The window of opportunity that the traveller has to perform this leg of the journey.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TimeWindowStart" type="xs:dateTime" minOccurs="0">
<xs:annotation>
<xs:documentation>Time at which window begins.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TimeWindowEnd" type="xs:dateTime" minOccurs="0">
<xs:annotation>
<xs:documentation>Time at which window ends.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="ServiceTimeGroup">
<xs:annotation>
<xs:documentation>Contains at least scheduled time, but can contain real time and estimated times</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TimetabledTime" type="xs:dateTime">
<xs:annotation>
<xs:documentation>time at point as it is published</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RecordedAtTime" type="xs:dateTime" minOccurs="0">
<xs:annotation>
<xs:documentation>time as it was recorded</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EstimatedTime" type="xs:dateTime" minOccurs="0">
<xs:annotation>
<xs:documentation>estimated time (for prognosis)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group ref="EstimatedTimeBandGroup" minOccurs="0"/>
</xs:sequence>
</xs:group>
<xs:group name="EstimatedTimeBandGroup">
<xs:annotation>
<xs:documentation>Range for estimated time.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="EstimatedTimeLow" type="xs:dateTime" minOccurs="0">
<xs:annotation>
<xs:documentation>Estimated lower limit for time.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EstimatedTimeHigh" type="xs:dateTime" minOccurs="0">
<xs:annotation>
<xs:documentation>Estimated upper limit for time.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:complexType name="CallAtStopStructure">
<xs:annotation>
<xs:documentation>[same as CALL in SIRI] the meeting of a VEHICLE JOURNEY with a specific SCHEDULED STOP POINT </xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="StopPointGroup"/>
<xs:element name="ServiceArrival" minOccurs="0">
<xs:annotation>
<xs:documentation>Arrival times of the service at this stop ( group of attributes of TIMETABLED PASSING TIME, ESTIMATED PASSING TIME, OBSERVED PASSING TIME).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:group ref="ServiceTimeGroup"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ServiceDeparture" minOccurs="0">
<xs:annotation>
<xs:documentation>Departure times of the service at this stop ( group of attributes of TIMETABLED PASSING TIME, ESTIMATED PASSING TIME, OBSERVED PASSING TIME).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:group ref="ServiceTimeGroup"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:group ref="StopCallStatusGroup"/>
<xs:element ref="SituationFullRef" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:group name="StopCallStatusGroup">
<xs:annotation>
<xs:documentation>Status properties for the vehicle call at this stop.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Order" type="xs:positiveInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>Sequence number of this stop in the service pattern of the journey.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RequestStop" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>The vehicle journey calls at this stop only on demand.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UnplannedStop" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>This stop has not been planned by the planning department.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NotServicedStop" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>The vehicle will not call at this stop despite earlier planning.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="ServiceStatusGroup">
<xs:annotation>
<xs:documentation>parameters which describe the current status of a DATED VEHICLE JOURNEY</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Unplanned" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether this trip is an additional one that has not been planned. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Cancelled" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether this trip is cancelled and will not be run. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Deviation" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether this trip deviates from the planned service pattern. Default is false.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Occupancy" type="siri:OccupancyEnumeration" minOccurs="0">
<xs:annotation>
<xs:documentation>[equivalent to OCCUPANCY in SIRI] passenger load status of a VEHICLE. If omitted, not known.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:complexType name="ContinuousServiceStructure">
<xs:annotation>
<xs:documentation>[a special form of SERVICE JOURNEY in TMv6] a vehicle movement on a continuous, non-timetabled service.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element name="ContinuousMode" type="ContinuousModesEnumeration">
<xs:annotation>
<xs:documentation>Continuous transport options.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IndividualMode" type="IndividualModesEnumeration">
<xs:annotation>
<xs:documentation>Individual transport options.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice>
<xs:group ref="DatedJourneyGroup" minOccurs="0"/>
<xs:element name="SharingService" type="SharingServiceStructure" minOccurs="0"/>
</xs:choice>
<xs:group ref="ServiceOriginGroup" minOccurs="0"/>
<xs:group ref="ServiceDestinationGroup" minOccurs="0"/>
<xs:element name="BookingArrangements" type="BookingArrangementsContainerStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Container with information on booking possibilities for this service.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="SituationFullRef" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="VehicleProgressEnumeration">
<xs:annotation>
<xs:documentation>Vehicle progress relative to timetable service pattern.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="Not yet operated"/>
<xs:enumeration value="Operation finished"/>
<xs:enumeration value="At stop"/>
<xs:enumeration value="Between stops"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="VehiclePositionStructure">
<xs:annotation>
<xs:documentation>Geographical and logical position of a vehicle.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="GeoPosition" type="siri:LocationStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Geographic position of vehicle.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Progress" type="VehicleProgressEnumeration" minOccurs="0">
<xs:annotation>
<xs:documentation>Logical progress of vehicle relative to service pattern.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Bearing" type="siri:AbsoluteBearingType" minOccurs="0">
<xs:annotation>
<xs:documentation>Bearing in compass degrees in which vehicle is heading.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProgressBetweenStops" type="siri:ProgressBetweenStopsStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Provides information about the progress of the vehicle along its current link, that is link from previous visited top to current position.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PlaceContextStructure">
<xs:annotation>
<xs:documentation>[a view of PLACE in TMv6] a PLACE and access to it by individual transport </xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element name="PlaceRef" type="PlaceRefStructure">
<xs:annotation>
<xs:documentation>Spatial location.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TripLocation" type="TripLocationStructure">
<xs:annotation>
<xs:documentation>Location within a (moving) vehicle.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0">
<xs:element name="DepArrTime" type="xs:dateTime" minOccurs="0">
<xs:annotation>
<xs:documentation>Time when departure/arrival from/to location is required.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TimeAllowance" type="xs:duration" minOccurs="0">
<xs:annotation>
<xs:documentation>Extra time needed before reaching/after leaving this location.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="IndividualTransportOptions" type="IndividualTransportOptionsStructure" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Options how to access/leave the location by individual transport.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AbstractResponseContextStructure">
<xs:annotation>
<xs:documentation>Abstract structure providing response contexts related to journeys.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Places" minOccurs="0">
<xs:annotation>
<xs:documentation>Container for location objects.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Location" type="PlaceStructure" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Situations" type="SituationsStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Container for SIRI SX situation objects.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:annotation>
<xs:documentation>=========================================== Filter Groups ===========================================================</xs:documentation>
</xs:annotation>
<xs:group name="NumberOfResultsGroup">
<xs:annotation>
<xs:documentation>parameter to control the number of TRIP results before/after a point in time. May NOT be used when departure time at origin AND arrival time at destination are set</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="NumberOfResultsBefore" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>The desired number of trip results before the given time (at origin or destination).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NumberOfResultsAfter" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>The desired number of trip results after the given time (at origin or destination).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="BaseTripPolicyGroup">
<xs:annotation>
<xs:documentation>Policies that control the trip search behaviour for both public and individual transport.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice minOccurs="0">
<xs:element name="NumberOfResults" type="xs:positiveInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>The number of trip results that the user wants to see at least.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group ref="NumberOfResultsGroup" minOccurs="0"/>
</xs:choice>
<xs:element name="IgnoreRealtimeData" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>The trip calculation should not use any realtime or incident data.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ImmediateTripStart" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the trip calculation should find a solution that starts immediately (f.e. because the user is already on the way) instead of finding the latest possible start opportunity.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="BaseTripMobilityFilterGroup">
<xs:annotation>
<xs:documentation>Base mobility options to be applied for both public and individual transport.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="NoSingleStep" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>The user is not able to climb one step.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NoStairs" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>The user is not able to walk up/down stairs.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NoEscalator" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>The user is not able to use an escalator.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NoElevator" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>The user is not able to use an elevator.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NoRamp" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>The user is not able to use an ramp.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="BaseTripContentFilterGroup">
<xs:annotation>
<xs:documentation>Parameters to control the level of detail of both public and individual transport journey results.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="IncludeTrackSections" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the result should include TrackSection elements to describe the geographic route of each journey leg.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncludeLegProjection" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the result should include the geographic projection (coordinates) of each journey leg.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncludeTurnDescription" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the result should include turn-by-turn instructions for each journey leg.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncludeAccessibility" type="xs:boolean" default="false" minOccurs="0">
<xs:annotation>
<xs:documentation>Whether the result should include accessibility information.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:annotation>
<xs:documentation>=========================================== Leg Attributes =============================================</xs:documentation>
</xs:annotation>
<xs:complexType name="LegAttributeStructure">
<xs:annotation>
<xs:documentation>Attributes that are not valid on the whole service, but only on section of a TRIP made on a single MODE without interchange between boarding and alighting (facilities available on a specified (part of a) Leg of a VEHICLE JOURNEY)</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="GeneralAttributeStructure">
<xs:sequence>
<xs:element name="FromStopSeqNumber" type="xs:positiveInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>The attribute is valid from the stop point with this sequence number within the leg. If missing it is valid from the beginning of the leg.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ToStopSeqNumber" type="xs:positiveInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>The attribute is valid to the stop point (inclusively) with this sequence number within the leg. If missing it is valid to the end of the leg.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:annotation>
<xs:documentation>=========================================== Leg Projection =============================================</xs:documentation>
</xs:annotation>
<xs:complexType name="LegTrackStructure">
<xs:annotation>
<xs:documentation>The LINK PROJECTION of a Leg onto the topography of the route being followed.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TrackSection" type="TrackSectionStructure" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>LINK PROJECTION on the infrastructure network of the TRIP LEG together with time information</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TrackSectionStructure">
<xs:annotation>
<xs:documentation>LINK PROJECTION on the infrastructure network of the TRIP LEG together with time information</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TrackStart" type="PlaceRefStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Start location of this track.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TrackEnd" type="PlaceRefStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>End location of this track.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LinkProjection" minOccurs="0">
<xs:annotation>
<xs:documentation>an oriented correspondence from one LINK of a source layer, onto an entity in a target layer: e.g. LINK SEQUENCE, COMPLEX FEATURE, within a defined TYPE OF PROJECTION</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Position" type="siri:LocationStructure" minOccurs="2" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RoadName" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Name of the road this track section is attached to.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Duration" type="xs:duration" minOccurs="0">
<xs:annotation>
<xs:documentation>Duration the passenger needs to travel through this track section.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Length" type="siri:DistanceType" minOccurs="0">
<xs:annotation>
<xs:documentation>Length of this track section.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Extension" type="xs:anyType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>