siri-xsd 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +47 -0
- data/README.md +23 -0
- data/bitbucket-pipelines.yml +18 -0
- data/exe/siri-xsd-validate +42 -0
- data/lib/siri/xsd/validator.rb +62 -0
- data/lib/siri/xsd/version.rb +5 -0
- data/lib/siri/xsd.rb +10 -0
- data/siri-xsd.gemspec +35 -0
- data/vendor/xsd/acsb/acsb_accessibility.xsd +138 -0
- data/vendor/xsd/acsb/acsb_all.xsd +11 -0
- data/vendor/xsd/acsb/acsb_limitations.xsd +141 -0
- data/vendor/xsd/acsb/acsb_passengerMobility.xsd +212 -0
- data/vendor/xsd/datex2/DATEXIISchema.xsd +3713 -0
- data/vendor/xsd/datex2/DATEXIISchemaWithDefinitions.xsd +11538 -0
- data/vendor/xsd/gml/basicTypes.xsd +267 -0
- data/vendor/xsd/gml/geometryBasic0d1d-extract.xsd +271 -0
- data/vendor/xsd/gml/gmlBase-extract.xsd +168 -0
- data/vendor/xsd/gml/gmlBasic2d-extract.xsd +120 -0
- data/vendor/xsd/gml/gml_extract_all_objects.xsd +12 -0
- data/vendor/xsd/ifopt/ifopt_administration.xsd +254 -0
- data/vendor/xsd/ifopt/ifopt_allStopPlace.xsd +33 -0
- data/vendor/xsd/ifopt/ifopt_checkpoint.xsd +222 -0
- data/vendor/xsd/ifopt/ifopt_countries.xsd +1320 -0
- data/vendor/xsd/ifopt/ifopt_equipment.xsd +207 -0
- data/vendor/xsd/ifopt/ifopt_location.xsd +281 -0
- data/vendor/xsd/ifopt/ifopt_modes.xsd +84 -0
- data/vendor/xsd/ifopt/ifopt_modification.xsd +173 -0
- data/vendor/xsd/ifopt/ifopt_path.xsd +164 -0
- data/vendor/xsd/ifopt/ifopt_stop.xsd +403 -0
- data/vendor/xsd/ifopt/ifopt_time.xsd +131 -0
- data/vendor/xsd/ifopt/ifopt_types.xsd +96 -0
- data/vendor/xsd/siri/siri_all_framework.xsd +12 -0
- data/vendor/xsd/siri/siri_base.xsd +315 -0
- data/vendor/xsd/siri/siri_common_services.xsd +900 -0
- data/vendor/xsd/siri/siri_request_errorConditions.xsd +590 -0
- data/vendor/xsd/siri/siri_request_support.xsd +210 -0
- data/vendor/xsd/siri/siri_requests.xsd +1072 -0
- data/vendor/xsd/siri.xsd +531 -0
- data/vendor/xsd/siriSg.xsd +149 -0
- data/vendor/xsd/siri_all_functionalServices.xsd +95 -0
- data/vendor/xsd/siri_connectionMonitoring_service.xsd +731 -0
- data/vendor/xsd/siri_connectionTimetable_service.xsd +485 -0
- data/vendor/xsd/siri_discovery.xsd +898 -0
- data/vendor/xsd/siri_estimatedTimetable_service.xsd +490 -0
- data/vendor/xsd/siri_facilityMonitoring_service.xsd +493 -0
- data/vendor/xsd/siri_generalMessage_service.xsd +483 -0
- data/vendor/xsd/siri_model/siri_all.xsd +13 -0
- data/vendor/xsd/siri_model/siri_all_journeyModel.xsd +21 -0
- data/vendor/xsd/siri_model/siri_all_model.xsd +13 -0
- data/vendor/xsd/siri_model/siri_all_situation.xsd +17 -0
- data/vendor/xsd/siri_model/siri_datedVehicleJourney.xsd +702 -0
- data/vendor/xsd/siri_model/siri_estimatedVehicleJourney.xsd +472 -0
- data/vendor/xsd/siri_model/siri_facilities.xsd +517 -0
- data/vendor/xsd/siri_model/siri_facility.xsd +760 -0
- data/vendor/xsd/siri_model/siri_feature_support.xsd +145 -0
- data/vendor/xsd/siri_model/siri_interchangeJourney.xsd +88 -0
- data/vendor/xsd/siri_model/siri_journey.xsd +1903 -0
- data/vendor/xsd/siri_model/siri_journey_support.xsd +1022 -0
- data/vendor/xsd/siri_model/siri_modelPermissions.xsd +338 -0
- data/vendor/xsd/siri_model/siri_modes.xsd +686 -0
- data/vendor/xsd/siri_model/siri_monitoredVehicleJourney.xsd +638 -0
- data/vendor/xsd/siri_model/siri_operator_support.xsd +87 -0
- data/vendor/xsd/siri_model/siri_reference.xsd +844 -0
- data/vendor/xsd/siri_model/siri_situation.xsd +1545 -0
- data/vendor/xsd/siri_model/siri_situationActions.xsd +755 -0
- data/vendor/xsd/siri_model/siri_situationAffects.xsd +1533 -0
- data/vendor/xsd/siri_model/siri_situationClassifiers.xsd +430 -0
- data/vendor/xsd/siri_model/siri_situationIdentity.xsd +247 -0
- data/vendor/xsd/siri_model/siri_situationReasons.xsd +1370 -0
- data/vendor/xsd/siri_model/siri_situationServiceTypes.xsd +639 -0
- data/vendor/xsd/siri_model/siri_targetedVehicleJourney.xsd +136 -0
- data/vendor/xsd/siri_model/siri_time.xsd +356 -0
- data/vendor/xsd/siri_model_discovery/siri_connectionLink.xsd +115 -0
- data/vendor/xsd/siri_model_discovery/siri_feature.xsd +158 -0
- data/vendor/xsd/siri_model_discovery/siri_infoChannel.xsd +99 -0
- data/vendor/xsd/siri_model_discovery/siri_line.xsd +241 -0
- data/vendor/xsd/siri_model_discovery/siri_stopPoint.xsd +158 -0
- data/vendor/xsd/siri_productionTimetable_service.xsd +514 -0
- data/vendor/xsd/siri_situationExchange_service.xsd +785 -0
- data/vendor/xsd/siri_stopMonitoring_service.xsd +1052 -0
- data/vendor/xsd/siri_stopTimetable_service.xsd +463 -0
- data/vendor/xsd/siri_utility/siri_all_utility.xsd +14 -0
- data/vendor/xsd/siri_utility/siri_location.xsd +270 -0
- data/vendor/xsd/siri_utility/siri_participant.xsd +79 -0
- data/vendor/xsd/siri_utility/siri_permissions.xsd +135 -0
- data/vendor/xsd/siri_utility/siri_types.xsd +166 -0
- data/vendor/xsd/siri_utility/siri_utility.xsd +301 -0
- data/vendor/xsd/siri_vehicleMonitoring_service.xsd +702 -0
- data/vendor/xsd/siri_wsConsumer-Document.wsdl +177 -0
- data/vendor/xsd/siri_wsConsumer-WSDL2.wsdl +96 -0
- data/vendor/xsd/siri_wsConsumer.wsdl +200 -0
- data/vendor/xsd/siri_wsProducer-Document.wsdl +558 -0
- data/vendor/xsd/siri_wsProducer-WSDL2.wsdl +229 -0
- data/vendor/xsd/siri_wsProducer.wsdl +629 -0
- data/vendor/xsd/soap.xsd +118 -0
- data/vendor/xsd/wsdl_model/siri-wsdl.xsd +8 -0
- data/vendor/xsd/wsdl_model/siri_wsConsumer-Framework.xsd +98 -0
- data/vendor/xsd/wsdl_model/siri_wsConsumer-Services.xsd +155 -0
- data/vendor/xsd/wsdl_model/siri_wsProducer-DiscoveryCapability.xsd +123 -0
- data/vendor/xsd/wsdl_model/siri_wsProducer-Framework.xsd +138 -0
- data/vendor/xsd/wsdl_model/siri_wsProducer-Services.xsd +263 -0
- data/vendor/xsd/xml/2008/09/xsd.xsl +997 -0
- data/vendor/xsd/xml/2009/01/XMLSchema.xsd +286 -0
- metadata +222 -0
@@ -0,0 +1,463 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.siri.org.uk/siri" targetNamespace="http://www.siri.org.uk/siri" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1" id="siri_stopTimetable_service">
|
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-05-11</Modified>
|
25
|
+
</Date>
|
26
|
+
<Date><Modified>2005-12-12</Modified>
|
27
|
+
2005 12 07 Correct Spelling of StopMonitorPermissionTag
|
28
|
+
</Date>
|
29
|
+
<Date><Modified>2007-04-17</Modified>
|
30
|
+
Name Space changes
|
31
|
+
</Date>
|
32
|
+
<Date><Modified>2007-03-26</Modified>
|
33
|
+
Drop separate flatten structure on response for stopVisit
|
34
|
+
</Date>
|
35
|
+
<Date><Modified>2008-11-17</Modified>
|
36
|
+
Revise to support substitution groups
|
37
|
+
</Date>
|
38
|
+
<Date><Modified>2012-03-23</Modified>
|
39
|
+
+SIRI v2.0
|
40
|
+
Improve modualirisatuioin
|
41
|
+
Factor out permissions to commomn files
|
42
|
+
factor out targeted journey,
|
43
|
+
create separate structure for StopTimetablePermissionStructure
|
44
|
+
create separate structure for StopTimetableCapabilityRequestPolicyStructure
|
45
|
+
</Date>
|
46
|
+
<Description>
|
47
|
+
<p>SIRI is a European CEN standard for the exchange of Public Transport real-time information.</p>
|
48
|
+
<p>This sub-schema describes the Stop Timetable Service.</p>
|
49
|
+
</Description>
|
50
|
+
<Format>
|
51
|
+
<MediaType>text/xml</MediaType>
|
52
|
+
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
|
53
|
+
<Description>XML schema, W3C Recommendation 2001</Description>
|
54
|
+
</Format>
|
55
|
+
<Identifier>{http://www.siri.org.uk/schema/2.0/xsd/}siri_stopTmetable_service.xsd</Identifier>
|
56
|
+
<Language>[ISO 639-2/B] ENG</Language>
|
57
|
+
<Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
|
58
|
+
<Relation>
|
59
|
+
<Requires>http://www.siri.org.uk/schema/2.0/xsd/siri/siri_requests.xsd</Requires>
|
60
|
+
<Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_model/siri_journey.xsd</Requires>
|
61
|
+
<Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_model/siri_modelPermissions.xsd</Requires>
|
62
|
+
</Relation>
|
63
|
+
<Rights><!--Unclassified-->
|
64
|
+
<Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
|
65
|
+
</Rights>
|
66
|
+
<Source>
|
67
|
+
<ul>
|
68
|
+
<li>Derived from the VDV, RTIG XML and Trident standards.</li>
|
69
|
+
</ul>
|
70
|
+
</Source>
|
71
|
+
<Status>Version 2.1</Status>
|
72
|
+
<Subject>
|
73
|
+
<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
|
74
|
+
Air transport, Airports,
|
75
|
+
Ports and maritime transport, Ferries (marine),
|
76
|
+
Public transport, Bus services, Coach services, Bus stops and stations,
|
77
|
+
Rail transport, Railway stations and track, Train services, Underground trains,
|
78
|
+
Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
|
79
|
+
Rail transport, Roads and road transport
|
80
|
+
</Category>
|
81
|
+
<Project>CEN TC278 WG3 SG7</Project>
|
82
|
+
</Subject>
|
83
|
+
<Title>SIRI XML schema. Service Interface for Real-time Information. Subschema for Stop Timetable Service.</Title>
|
84
|
+
<Type>Standard</Type>
|
85
|
+
</Metadata>
|
86
|
+
</xsd:appinfo>
|
87
|
+
<xsd:documentation>SIRI-ST Stop Timetable Service.</xsd:documentation>
|
88
|
+
</xsd:annotation>
|
89
|
+
<!-- ======================================================================= -->
|
90
|
+
<xsd:include schemaLocation="siri/siri_requests.xsd"/>
|
91
|
+
<xsd:include schemaLocation="siri_model/siri_targetedVehicleJourney.xsd"/>
|
92
|
+
<xsd:include schemaLocation="siri_model/siri_modelPermissions.xsd"/>
|
93
|
+
<xsd:group name="SiriStopTimetableIndexGroup">
|
94
|
+
<xsd:annotation>
|
95
|
+
<xsd:documentation>Convenience artifact to pick out main elements of the Stop Timetable Service.</xsd:documentation>
|
96
|
+
</xsd:annotation>
|
97
|
+
<xsd:sequence>
|
98
|
+
<xsd:element ref="StopTimetableRequest"/>
|
99
|
+
<xsd:element ref="StopTimetableSubscriptionRequest"/>
|
100
|
+
<xsd:element ref="StopTimetableDelivery"/>
|
101
|
+
<xsd:sequence>
|
102
|
+
<xsd:element ref="StopTimetableCapabilitiesRequest"/>
|
103
|
+
<xsd:element ref="StopTimetableCapabilitiesResponse"/>
|
104
|
+
</xsd:sequence>
|
105
|
+
</xsd:sequence>
|
106
|
+
</xsd:group>
|
107
|
+
<xsd:element name="StopTimetableRequest" type="StopTimetableRequestStructure" substitutionGroup="AbstractFunctionalServiceRequest">
|
108
|
+
<xsd:annotation>
|
109
|
+
<xsd:documentation>Request for information about Stop Visits, i.e. arrival and departure at a stop.</xsd:documentation>
|
110
|
+
</xsd:annotation>
|
111
|
+
</xsd:element>
|
112
|
+
<!-- ====REQUESTS ====================================================== -->
|
113
|
+
<!-- ==== FS: Stop Timetable Request ============================================ -->
|
114
|
+
<xsd:complexType name="StopTimetableRequestStructure">
|
115
|
+
<xsd:annotation>
|
116
|
+
<xsd:documentation>Type for Functional Service Request for Stop Timetables.</xsd:documentation>
|
117
|
+
</xsd:annotation>
|
118
|
+
<xsd:complexContent>
|
119
|
+
<xsd:extension base="AbstractFunctionalServiceRequestStructure">
|
120
|
+
<xsd:sequence>
|
121
|
+
<xsd:group ref="StopTimetableTopicGroup"/>
|
122
|
+
<xsd:group ref="StopTimetableRequestPolicyGroup"/>
|
123
|
+
<xsd:element ref="Extensions" minOccurs="0"/>
|
124
|
+
</xsd:sequence>
|
125
|
+
<xsd:attribute name="version" type="VersionString" default="2.1">
|
126
|
+
<xsd:annotation>
|
127
|
+
<xsd:documentation>Version number of request. Fixed
|
128
|
+
</xsd:documentation>
|
129
|
+
</xsd:annotation>
|
130
|
+
</xsd:attribute>
|
131
|
+
</xsd:extension>
|
132
|
+
</xsd:complexContent>
|
133
|
+
</xsd:complexType>
|
134
|
+
<xsd:group name="StopTimetableTopicGroup">
|
135
|
+
<xsd:annotation>
|
136
|
+
<xsd:documentation>Parameters that specify the content to be returned.</xsd:documentation>
|
137
|
+
</xsd:annotation>
|
138
|
+
<xsd:sequence>
|
139
|
+
<xsd:element name="DepartureWindow" type="ClosedTimestampRangeStructure" minOccurs="0">
|
140
|
+
<xsd:annotation>
|
141
|
+
<xsd:documentation>Earliest and latest departure time. If absent, default to the data horizon of the service.</xsd:documentation>
|
142
|
+
</xsd:annotation>
|
143
|
+
</xsd:element>
|
144
|
+
<xsd:element name="MonitoringRef" type="MonitoringRefStructure">
|
145
|
+
<xsd:annotation>
|
146
|
+
<xsd:documentation>The stop monitoring point about which data is requested. May be a STOP POINT, timing point or other display point.</xsd:documentation>
|
147
|
+
</xsd:annotation>
|
148
|
+
</xsd:element>
|
149
|
+
<xsd:element name="LineRef" type="LineRefStructure" minOccurs="0">
|
150
|
+
<xsd:annotation>
|
151
|
+
<xsd:documentation>Filter the results to include only data for journeys for the given LINE.</xsd:documentation>
|
152
|
+
</xsd:annotation>
|
153
|
+
</xsd:element>
|
154
|
+
<xsd:element name="DirectionRef" type="DirectionRefStructure" minOccurs="0">
|
155
|
+
<xsd:annotation>
|
156
|
+
<xsd:documentation>Filter the results to include only data for journeys running in a specific relative DIRECTION, for example, "inbound" or "outbound".</xsd:documentation>
|
157
|
+
</xsd:annotation>
|
158
|
+
</xsd:element>
|
159
|
+
</xsd:sequence>
|
160
|
+
</xsd:group>
|
161
|
+
<xsd:group name="StopTimetableRequestPolicyGroup">
|
162
|
+
<xsd:annotation>
|
163
|
+
<xsd:documentation>Parameters that affect the request processing. Mostly act to reduce the number of stops returned.</xsd:documentation>
|
164
|
+
</xsd:annotation>
|
165
|
+
<xsd:sequence>
|
166
|
+
<xsd:element name="Language" type="xsd:language" default="en" minOccurs="0" maxOccurs="unbounded">
|
167
|
+
<xsd:annotation>
|
168
|
+
<xsd:documentation>Preferred languages in which to return text values.</xsd:documentation>
|
169
|
+
</xsd:annotation>
|
170
|
+
</xsd:element>
|
171
|
+
<xsd:element ref="IncludeTranslations" minOccurs="0"/>
|
172
|
+
</xsd:sequence>
|
173
|
+
</xsd:group>
|
174
|
+
<!-- ==== FS: Stop Timetable Subscription Request ===================================== -->
|
175
|
+
<xsd:element name="StopTimetableSubscriptionRequest" type="StopTimetableSubscriptionStructure" substitutionGroup="AbstractFunctionalServiceSubscriptionRequest">
|
176
|
+
<xsd:annotation>
|
177
|
+
<xsd:documentation>Request for a subscription to Stop TimetablesService.</xsd:documentation>
|
178
|
+
</xsd:annotation>
|
179
|
+
</xsd:element>
|
180
|
+
<xsd:group name="StopTimetableSubscriptionPolicyGroup">
|
181
|
+
<xsd:annotation>
|
182
|
+
<xsd:documentation>Parameters that affect the subscription publishing and notification processing.</xsd:documentation>
|
183
|
+
</xsd:annotation>
|
184
|
+
<xsd:sequence>
|
185
|
+
<xsd:element name="IncrementalUpdates" type="xsd:boolean" default="false" minOccurs="0">
|
186
|
+
<xsd:annotation>
|
187
|
+
<xsd:documentation>Whether the producer should return the complete set of current data, or only provide updates to the last data returned, i.e. additions, modifications and deletions.
|
188
|
+
If false each subscription response will contain the full information as specified in this request.</xsd:documentation>
|
189
|
+
</xsd:annotation>
|
190
|
+
</xsd:element>
|
191
|
+
<xsd:element name="ChangeBeforeUpdates" type="PositiveDurationType" minOccurs="0">
|
192
|
+
<xsd:annotation>
|
193
|
+
<xsd:documentation>The amount of change to the arrival or departure time that can happen before an update is sent (i.e. if ChangeBeforeUpdate is set to 2 minutes, the subscriber will not be told that a bus is 30 seconds delayed - an update will only be sent when the bus is at least 2 minutes delayed). Default is zero - all changes will be sent regardless.</xsd:documentation>
|
194
|
+
</xsd:annotation>
|
195
|
+
</xsd:element>
|
196
|
+
</xsd:sequence>
|
197
|
+
</xsd:group>
|
198
|
+
<xsd:complexType name="StopTimetableSubscriptionStructure">
|
199
|
+
<xsd:annotation>
|
200
|
+
<xsd:documentation>Subscription Request for Stop Timetables.</xsd:documentation>
|
201
|
+
</xsd:annotation>
|
202
|
+
<xsd:complexContent>
|
203
|
+
<xsd:extension base="AbstractSubscriptionStructure">
|
204
|
+
<xsd:sequence>
|
205
|
+
<xsd:element ref="StopTimetableRequest"/>
|
206
|
+
<xsd:group ref="StopTimetableSubscriptionPolicyGroup"/>
|
207
|
+
<xsd:element ref="Extensions" minOccurs="0"/>
|
208
|
+
</xsd:sequence>
|
209
|
+
</xsd:extension>
|
210
|
+
</xsd:complexContent>
|
211
|
+
</xsd:complexType>
|
212
|
+
<!-- ====RESPONSES=========================================================== -->
|
213
|
+
<!-- ==== FS: Stop Timetable Delivery ============================================ -->
|
214
|
+
<xsd:element name="StopTimetableDelivery" type="StopTimetableDeliveryStructure" substitutionGroup="AbstractFunctionalServiceDelivery">
|
215
|
+
<xsd:annotation>
|
216
|
+
<xsd:documentation>Delivery for Stop Timetable Service.</xsd:documentation>
|
217
|
+
</xsd:annotation>
|
218
|
+
</xsd:element>
|
219
|
+
<xsd:complexType name="StopTimetableDeliveryStructure">
|
220
|
+
<xsd:annotation>
|
221
|
+
<xsd:documentation>Data type Delivery for Stop Timetable Service.</xsd:documentation>
|
222
|
+
</xsd:annotation>
|
223
|
+
<xsd:complexContent>
|
224
|
+
<xsd:extension base="AbstractServiceDeliveryStructure">
|
225
|
+
<xsd:sequence>
|
226
|
+
<xsd:group ref="StopTimetablePayloadGroup"/>
|
227
|
+
<xsd:element ref="Extensions" minOccurs="0"/>
|
228
|
+
</xsd:sequence>
|
229
|
+
<xsd:attribute name="version" type="VersionString" default="2.1">
|
230
|
+
<xsd:annotation>
|
231
|
+
<xsd:documentation>Version number of response. Fixed
|
232
|
+
</xsd:documentation>
|
233
|
+
</xsd:annotation>
|
234
|
+
</xsd:attribute>
|
235
|
+
</xsd:extension>
|
236
|
+
</xsd:complexContent>
|
237
|
+
</xsd:complexType>
|
238
|
+
<xsd:group name="StopTimetablePayloadGroup">
|
239
|
+
<xsd:annotation>
|
240
|
+
<xsd:documentation>Payload part of Stop Timetable delivery.</xsd:documentation>
|
241
|
+
</xsd:annotation>
|
242
|
+
<xsd:sequence>
|
243
|
+
<xsd:element name="TimetabledStopVisit" type="TimetabledStopVisitStructure" minOccurs="0" maxOccurs="unbounded">
|
244
|
+
<xsd:annotation>
|
245
|
+
<xsd:documentation>A visit to a stop by a VEHICLE as an arrival and /or departure, as timetabled in the production timetable.</xsd:documentation>
|
246
|
+
</xsd:annotation>
|
247
|
+
</xsd:element>
|
248
|
+
<xsd:element name="TimetabledStopVisitCancellation" type="TimetabledStopVisitCancellationStructure" minOccurs="0" maxOccurs="unbounded">
|
249
|
+
<xsd:annotation>
|
250
|
+
<xsd:documentation>A cancellation of a previously issued TimetabledStopVisit.</xsd:documentation>
|
251
|
+
</xsd:annotation>
|
252
|
+
</xsd:element>
|
253
|
+
</xsd:sequence>
|
254
|
+
</xsd:group>
|
255
|
+
<!-- ===== Stop Visit ================================================ -->
|
256
|
+
<xsd:complexType name="TimetabledStopVisitStructure">
|
257
|
+
<xsd:annotation>
|
258
|
+
<xsd:documentation>Type for Timetabled Visit of a VEHICLE to a stop. May provide information about the arrival, the departure or both.</xsd:documentation>
|
259
|
+
</xsd:annotation>
|
260
|
+
<xsd:complexContent>
|
261
|
+
<xsd:extension base="AbstractIdentifiedItemStructure">
|
262
|
+
<xsd:sequence>
|
263
|
+
<xsd:element name="MonitoringRef" type="MonitoringRefStructure">
|
264
|
+
<xsd:annotation>
|
265
|
+
<xsd:documentation>Reference to a stop monitoring point / LOGICAL DISPLAY to which Stop Visit applies.</xsd:documentation>
|
266
|
+
</xsd:annotation>
|
267
|
+
</xsd:element>
|
268
|
+
<xsd:element ref="TargetedVehicleJourney"/>
|
269
|
+
<xsd:element ref="Extensions" minOccurs="0"/>
|
270
|
+
</xsd:sequence>
|
271
|
+
</xsd:extension>
|
272
|
+
</xsd:complexContent>
|
273
|
+
</xsd:complexType>
|
274
|
+
<xsd:complexType name="TimetabledStopVisitCancellationStructure">
|
275
|
+
<xsd:annotation>
|
276
|
+
<xsd:documentation>Type for Cancellation of Timetabled Visit of a VEHICLE to a stop. May provide information about the arrival, the departure or both.</xsd:documentation>
|
277
|
+
</xsd:annotation>
|
278
|
+
<xsd:complexContent>
|
279
|
+
<xsd:extension base="AbstractReferencingItemStructure">
|
280
|
+
<xsd:sequence>
|
281
|
+
<xsd:element name="MonitoringRef" type="MonitoringRefStructure">
|
282
|
+
<xsd:annotation>
|
283
|
+
<xsd:documentation>Reference to a stop monitoring point to which Stop Visit applies.</xsd:documentation>
|
284
|
+
</xsd:annotation>
|
285
|
+
</xsd:element>
|
286
|
+
<xsd:element ref="VisitNumber" minOccurs="0"/>
|
287
|
+
<xsd:group ref="JourneyIdentityGroup"/>
|
288
|
+
<xsd:group ref="JourneyPatternInfoGroup"/>
|
289
|
+
<xsd:element name="Reason" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
|
290
|
+
<xsd:annotation>
|
291
|
+
<xsd:documentation>Reason for cancellation. (Unbounded since SIRI 2.0)</xsd:documentation>
|
292
|
+
</xsd:annotation>
|
293
|
+
</xsd:element>
|
294
|
+
<xsd:element ref="Extensions" minOccurs="0"/>
|
295
|
+
</xsd:sequence>
|
296
|
+
</xsd:extension>
|
297
|
+
</xsd:complexContent>
|
298
|
+
</xsd:complexType>
|
299
|
+
<!-- ======================================================================= -->
|
300
|
+
<!-- ==== WSDL=========================================-->
|
301
|
+
<xsd:complexType name="StopTimetableDeliveriesStructure">
|
302
|
+
<xsd:annotation>
|
303
|
+
<xsd:documentation>Type for stop timetable deliveries. Used in WSDL.</xsd:documentation>
|
304
|
+
</xsd:annotation>
|
305
|
+
<xsd:sequence>
|
306
|
+
<xsd:element ref="StopTimetableDelivery"/>
|
307
|
+
</xsd:sequence>
|
308
|
+
</xsd:complexType>
|
309
|
+
<!-- ====Capability Request=================================================================== -->
|
310
|
+
<!-- ======================================================================= -->
|
311
|
+
<!-- ====CS: Capability Request =================================================================== -->
|
312
|
+
<xsd:element name="StopTimetableCapabilitiesRequest" type="ServiceCapabilitiesRequestStructure" substitutionGroup="AbstractFunctionalServiceCapabilitiesRequest">
|
313
|
+
<xsd:annotation>
|
314
|
+
<xsd:documentation>Request for information about Stop Timetable Service Capabilities Answered with a StopTimetableCapabilitiesResponse.</xsd:documentation>
|
315
|
+
</xsd:annotation>
|
316
|
+
</xsd:element>
|
317
|
+
<!-- ====CS: Capability Response =================================================================== -->
|
318
|
+
<xsd:element name="StopTimetableCapabilitiesResponse" type="StopTimetableCapabilitiesResponseStructure" substitutionGroup="AbstractFunctionalServiceCapabilitiesResponse">
|
319
|
+
<xsd:annotation>
|
320
|
+
<xsd:documentation>Delivery for Stop Timetable Service. Answers a StopTimetableCapabilitiesRequest.</xsd:documentation>
|
321
|
+
</xsd:annotation>
|
322
|
+
</xsd:element>
|
323
|
+
<xsd:complexType name="StopTimetableCapabilitiesResponseStructure">
|
324
|
+
<xsd:annotation>
|
325
|
+
<xsd:documentation>Type for Delivery for Stop Timetable Service.</xsd:documentation>
|
326
|
+
</xsd:annotation>
|
327
|
+
<xsd:complexContent>
|
328
|
+
<xsd:extension base="AbstractServiceCapabilitiesResponseStructure">
|
329
|
+
<xsd:sequence>
|
330
|
+
<xsd:element ref="StopTimetableServiceCapabilities" minOccurs="0"/>
|
331
|
+
<xsd:element ref="StopTimetablePermissions" minOccurs="0"/>
|
332
|
+
<xsd:element ref="Extensions" minOccurs="0"/>
|
333
|
+
</xsd:sequence>
|
334
|
+
<xsd:attribute name="version" type="VersionString" default="2.1">
|
335
|
+
<xsd:annotation>
|
336
|
+
<xsd:documentation>Version number of response. Fixed
|
337
|
+
</xsd:documentation>
|
338
|
+
</xsd:annotation>
|
339
|
+
</xsd:attribute>
|
340
|
+
</xsd:extension>
|
341
|
+
</xsd:complexContent>
|
342
|
+
</xsd:complexType>
|
343
|
+
<xsd:element name="StopTimetableServiceCapabilities" type="StopTimetableServiceCapabilitiesStructure">
|
344
|
+
<xsd:annotation>
|
345
|
+
<xsd:documentation> Capabilities of Stop Timetable Service.</xsd:documentation>
|
346
|
+
</xsd:annotation>
|
347
|
+
</xsd:element>
|
348
|
+
<xsd:complexType name="StopTimetableServiceCapabilitiesStructure">
|
349
|
+
<xsd:annotation>
|
350
|
+
<xsd:documentation>Type for Capabilities of Stop Timetable Service.</xsd:documentation>
|
351
|
+
</xsd:annotation>
|
352
|
+
<xsd:complexContent>
|
353
|
+
<xsd:extension base="AbstractCapabilitiesStructure">
|
354
|
+
<xsd:sequence>
|
355
|
+
<xsd:element name="TopicFiltering" minOccurs="0">
|
356
|
+
<xsd:annotation>
|
357
|
+
<xsd:documentation>Available Filtering Capabilities.</xsd:documentation>
|
358
|
+
</xsd:annotation>
|
359
|
+
<xsd:complexType>
|
360
|
+
<xsd:sequence>
|
361
|
+
<xsd:element ref="FilterByMonitoringRef"/>
|
362
|
+
<xsd:element ref="FilterByLineRef"/>
|
363
|
+
<xsd:element ref="FilterByDirectionRef" minOccurs="0"/>
|
364
|
+
</xsd:sequence>
|
365
|
+
</xsd:complexType>
|
366
|
+
</xsd:element>
|
367
|
+
<xsd:element name="RequestPolicy" type="StopTimetableCapabilityRequestPolicyStructure" minOccurs="0">
|
368
|
+
<xsd:annotation>
|
369
|
+
<xsd:documentation>Available request policy options.</xsd:documentation>
|
370
|
+
</xsd:annotation>
|
371
|
+
</xsd:element>
|
372
|
+
<xsd:element name="AccessControl" minOccurs="0">
|
373
|
+
<xsd:annotation>
|
374
|
+
<xsd:documentation>Access control that can be used.</xsd:documentation>
|
375
|
+
</xsd:annotation>
|
376
|
+
<xsd:complexType>
|
377
|
+
<xsd:complexContent>
|
378
|
+
<xsd:extension base="CapabilityAccessControlStructure">
|
379
|
+
<xsd:sequence>
|
380
|
+
<xsd:element ref="CheckOperatorRef" minOccurs="0"/>
|
381
|
+
<xsd:element ref="CheckLineRef" minOccurs="0"/>
|
382
|
+
<xsd:element ref="CheckMonitoringRef" minOccurs="0"/>
|
383
|
+
</xsd:sequence>
|
384
|
+
</xsd:extension>
|
385
|
+
</xsd:complexContent>
|
386
|
+
</xsd:complexType>
|
387
|
+
</xsd:element>
|
388
|
+
<xsd:element ref="Extensions" minOccurs="0"/>
|
389
|
+
</xsd:sequence>
|
390
|
+
</xsd:extension>
|
391
|
+
</xsd:complexContent>
|
392
|
+
</xsd:complexType>
|
393
|
+
<xsd:complexType name="StopTimetableCapabilityRequestPolicyStructure">
|
394
|
+
<xsd:annotation>
|
395
|
+
<xsd:documentation>Type for Monitoring Service Capability Request Policy.</xsd:documentation>
|
396
|
+
</xsd:annotation>
|
397
|
+
<xsd:complexContent>
|
398
|
+
<xsd:extension base="CapabilityRequestPolicyStructure">
|
399
|
+
<xsd:sequence>
|
400
|
+
<xsd:element name="UseReferences" type="xsd:boolean" default="true" minOccurs="0">
|
401
|
+
<xsd:annotation>
|
402
|
+
<xsd:documentation>Whether results can return references for stops. Default is 'true'.</xsd:documentation>
|
403
|
+
</xsd:annotation>
|
404
|
+
</xsd:element>
|
405
|
+
<xsd:element name="UseNames" type="xsd:boolean" default="false" minOccurs="0">
|
406
|
+
<xsd:annotation>
|
407
|
+
<xsd:documentation>Whether results can return names for stop.</xsd:documentation>
|
408
|
+
</xsd:annotation>
|
409
|
+
</xsd:element>
|
410
|
+
</xsd:sequence>
|
411
|
+
</xsd:extension>
|
412
|
+
</xsd:complexContent>
|
413
|
+
</xsd:complexType>
|
414
|
+
<xsd:element name="StopTimetablePermissions">
|
415
|
+
<xsd:annotation>
|
416
|
+
<xsd:documentation>Participant's permissions to use the service.</xsd:documentation>
|
417
|
+
</xsd:annotation>
|
418
|
+
<xsd:complexType>
|
419
|
+
<xsd:complexContent>
|
420
|
+
<xsd:extension base="PermissionsStructure">
|
421
|
+
<xsd:sequence>
|
422
|
+
<xsd:element name="StopTimetablePermission" type="StopTimetableServicePermissionStructure" minOccurs="0" maxOccurs="unbounded">
|
423
|
+
<xsd:annotation>
|
424
|
+
<xsd:documentation>Permission for a single participant or all participants to use an aspect of the service.</xsd:documentation>
|
425
|
+
</xsd:annotation>
|
426
|
+
</xsd:element>
|
427
|
+
</xsd:sequence>
|
428
|
+
</xsd:extension>
|
429
|
+
</xsd:complexContent>
|
430
|
+
</xsd:complexType>
|
431
|
+
</xsd:element>
|
432
|
+
<!-- ======================================================================= -->
|
433
|
+
<!-- ====permissions=================================================================== -->
|
434
|
+
<xsd:complexType name="StopTimetableServicePermissionStructure">
|
435
|
+
<xsd:annotation>
|
436
|
+
<xsd:documentation>Type for Monitoring Service Permission.</xsd:documentation>
|
437
|
+
</xsd:annotation>
|
438
|
+
<xsd:complexContent>
|
439
|
+
<xsd:extension base="AbstractPermissionStructure">
|
440
|
+
<xsd:sequence>
|
441
|
+
<xsd:element ref="OperatorPermissions"/>
|
442
|
+
<xsd:element ref="LinePermissions"/>
|
443
|
+
<xsd:element name="StopMonitorPermissions">
|
444
|
+
<xsd:annotation>
|
445
|
+
<xsd:documentation>The monitoring points that the participant may access.</xsd:documentation>
|
446
|
+
</xsd:annotation>
|
447
|
+
<xsd:complexType>
|
448
|
+
<xsd:choice>
|
449
|
+
<xsd:element ref="AllowAll"/>
|
450
|
+
<xsd:element name="StopMonitorPermission" type="StopMonitorPermissionStructure" maxOccurs="unbounded">
|
451
|
+
<xsd:annotation>
|
452
|
+
<xsd:documentation>Participant's permission for this Monitoring Point (LOGICAL DISPLAY)</xsd:documentation>
|
453
|
+
</xsd:annotation>
|
454
|
+
</xsd:element>
|
455
|
+
</xsd:choice>
|
456
|
+
</xsd:complexType>
|
457
|
+
</xsd:element>
|
458
|
+
<xsd:element ref="Extensions" minOccurs="0"/>
|
459
|
+
</xsd:sequence>
|
460
|
+
</xsd:extension>
|
461
|
+
</xsd:complexContent>
|
462
|
+
</xsd:complexType>
|
463
|
+
</xsd:schema>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- SIRI Model - All SIRI Utility packages
|
3
|
+
Copyright CEN 2004-2021
|
4
|
+
|
5
|
+
-->
|
6
|
+
<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_all">
|
7
|
+
<!-- ======================================================================= -->
|
8
|
+
<xsd:include schemaLocation="../siri_utility/siri_participant.xsd"/>
|
9
|
+
<xsd:include schemaLocation="../siri_utility/siri_types.xsd"/>
|
10
|
+
<xsd:include schemaLocation="../siri_utility/siri_utility.xsd"/>
|
11
|
+
<xsd:include schemaLocation="../siri_utility/siri_location.xsd"/>
|
12
|
+
<xsd:include schemaLocation="../siri_utility/siri_permissions.xsd"/>
|
13
|
+
<!-- ================= =============================================== -->
|
14
|
+
</xsd:schema>
|