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,898 @@
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_discovery">
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>2005-02-14</Modified>
16
+ </Date>
17
+ <Date>
18
+ <Modified>2005-02-20</Modified>
19
+ </Date>
20
+ <Date>
21
+ <Modified>2005-05-04</Modified>
22
+ </Date>
23
+ <Date>
24
+ <Modified>2005-11-25</Modified>
25
+ </Date>
26
+ <Date>
27
+ <Modified>2007-04-17</Modified>
28
+ <!-- Name Space changes -->
29
+ </Date>
30
+ <Date>
31
+ <Modified>2008-11-13</Modified>
32
+ <!-- Fix cardinalities on delivery items eg LINEs, refs, facilities
33
+ MoveAbstractDiscoveryDelivery to siri_requests -->
34
+ </Date>
35
+ <Date>
36
+ <Modified>2008-11-17</Modified>
37
+ <!-- Revise to support substitution groups
38
+ Correct Type on VEHICLE features delivery structure -->
39
+ </Date>
40
+ <Date>
41
+ <Modified>2012-03-23</Modified>
42
+ <!-- +SIRI v2.0
43
+ Move Features to separate model separate model package
44
+ Move Annotated Facility to separate model package.
45
+ Add filtering to StopPoints request by box, place, line and OPERATOR and detail level
46
+ Add filtering to Lines request by box, place, and Operator
47
+ Add filtering to Facility request by box, place, and OPERATOR and detail level
48
+ Add filtering of Lang to all requests -->
49
+ </Date>
50
+ <Date>
51
+ <Modified>2012-05-17</Modified>
52
+ <!-- +SIRI v2.0
53
+ [MTA] Add filtering to StopPoints and Lines Discovery requests by point + radius
54
+ [MTA] Add filtering to Lines Discovery request by LineRef and Direction
55
+ [MTA] Add stops in pattern to Lines Discovery and LineDetailParameter
56
+ [MTA] Add url to annotated stop -->
57
+ </Date>
58
+ <Date>
59
+ <Modified>2013-03-28</Modified>
60
+ <!-- +SIRI v2.0
61
+ [FR] Addition of Connection Links Discovery -->
62
+ </Date>
63
+ <Description>
64
+ <p>SIRI is a European CEN technical standard for the exchange of real-time information.</p>
65
+ <p>This subschema describes discovery services used by different SIRI functional services
66
+ <ul><li>STOP POINTs Discovery</li><li>LINEs Discovery Discovery</li><li>Service Feature discovery</li><li>TYPE OF PRODUCT CATEGORY Discovery</li><li>Vehicle Feature Discovery</li><li>Info Channels for SIRI General Message Service</li></ul>
67
+ </p>
68
+ </Description>
69
+ <Format>
70
+ <MediaType>text/xml</MediaType>
71
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
72
+ <Description>XML schema, W3C Recommendation 2001</Description>
73
+ </Format>
74
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/}siri_discovery.xsd</Identifier>
75
+ <Language>[ISO 639-2/B] ENG</Language>
76
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
77
+ <Relation>
78
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri/siri_requests.xsd</Requires>
79
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_utility/siri_reference.xsd</Requires>
80
+ </Relation>
81
+ <Rights><!--Unclassified-->
82
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
83
+ </Rights>
84
+ <Source>
85
+ <ul>
86
+ <li>Discovery services Derived from the NaPTAN standard .</li>
87
+ </ul>
88
+ </Source>
89
+ <Status>Version 2.1</Status>
90
+ <Subject>
91
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
92
+ Air transport, Airports,
93
+ Ports and maritime transport, Ferries (marine),
94
+ Public transport, Bus services, Coach services, Bus stops and stations,
95
+ Rail transport, Railway stations and track, Train services, Underground trains,
96
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
97
+ Rail transport, Roads and road transport
98
+ </Category>
99
+ <Project>CEN TC278 WG3 SG7</Project>
100
+ </Subject>
101
+ <Title>SIRI_DS XML schema. Service Interface for Real-time Information. Discovery subschema. </Title>
102
+ <Type>Standard</Type>
103
+ </Metadata>
104
+ </xsd:appinfo>
105
+ <xsd:documentation>SIRI DIscovery Services for SCHEDULED STOP POINTs, LINEs,OPERATORs, FACILITies and feature TYPE OF VALUE codes.</xsd:documentation>
106
+ </xsd:annotation>
107
+ <!-- ======================================================================= -->
108
+ <xsd:include schemaLocation="siri/siri_requests.xsd"/>
109
+ <xsd:include schemaLocation="siri_model/siri_journey.xsd"/>
110
+ <xsd:include schemaLocation="siri_model_discovery/siri_line.xsd"/>
111
+ <xsd:include schemaLocation="siri_model_discovery/siri_feature.xsd"/>
112
+ <xsd:include schemaLocation="siri_model_discovery/siri_stopPoint.xsd"/>
113
+ <xsd:include schemaLocation="siri_model_discovery/siri_infoChannel.xsd"/>
114
+ <xsd:include schemaLocation="siri_model_discovery/siri_connectionLink.xsd"/>
115
+ <!-- ======================================================================= -->
116
+ <xsd:group name="SiriDiscoveryIndexGroup">
117
+ <xsd:annotation>
118
+ <xsd:documentation>Convenience artifact to pick out main elements of the Estimated Timetable Service.</xsd:documentation>
119
+ </xsd:annotation>
120
+ <xsd:sequence>
121
+ <xsd:group ref="SiriReferenceDiscoveryRequestGroup"/>
122
+ <xsd:group ref="SiriDiscoveryReferenceDeliveryGroup"/>
123
+ </xsd:sequence>
124
+ </xsd:group>
125
+ <xsd:group name="SiriReferenceDiscoveryRequestGroup">
126
+ <xsd:annotation>
127
+ <xsd:documentation>Requests for reference data for use in service requests.</xsd:documentation>
128
+ </xsd:annotation>
129
+ <xsd:choice>
130
+ <xsd:element ref="StopPointsRequest"/>
131
+ <xsd:element ref="LinesRequest"/>
132
+ <xsd:element ref="ServiceFeaturesRequest"/>
133
+ <xsd:element ref="ProductCategoriesRequest"/>
134
+ <xsd:element ref="VehicleFeaturesRequest"/>
135
+ <xsd:element ref="InfoChannelRequest"/>
136
+ <xsd:element ref="FacilityRequest"/>
137
+ <xsd:element ref="ConnectionLinksRequest"/>
138
+ </xsd:choice>
139
+ </xsd:group>
140
+ <!-- ======================================================================= -->
141
+ <!-- ====DISCOVERY SERVCIES =============================================== -->
142
+ <!-- ======================================================================= -->
143
+ <xsd:group name="SiriDiscoveryReferenceDeliveryGroup">
144
+ <xsd:annotation>
145
+ <xsd:documentation>Responses with reference data for use in service requests.</xsd:documentation>
146
+ </xsd:annotation>
147
+ <xsd:choice>
148
+ <xsd:element ref="StopPointsDelivery"/>
149
+ <xsd:element ref="LinesDelivery"/>
150
+ <xsd:element ref="ProductCategoriesDelivery"/>
151
+ <xsd:element ref="ServiceFeaturesDelivery"/>
152
+ <xsd:element ref="VehicleFeaturesDelivery"/>
153
+ <xsd:element ref="InfoChannelDelivery"/>
154
+ <xsd:element ref="FacilityDelivery"/>
155
+ <xsd:element ref="ConnectionLinksDelivery"/>
156
+ </xsd:choice>
157
+ </xsd:group>
158
+ <!-- ===== SCHEDUELED STOP POINT discovery=============================================== -->
159
+ <!-- ===== DS: STOP POINT Request =========================================== -->
160
+ <xsd:element name="StopPointsRequest" substitutionGroup="AbstractDiscoveryRequest">
161
+ <xsd:annotation>
162
+ <xsd:documentation>Requests a list of the STOP POINTs and places covered by a Producer.</xsd:documentation>
163
+ </xsd:annotation>
164
+ <xsd:complexType>
165
+ <xsd:complexContent>
166
+ <xsd:extension base="StopPointsDiscoveryRequestStructure"/>
167
+ </xsd:complexContent>
168
+ </xsd:complexType>
169
+ </xsd:element>
170
+ <xsd:complexType name="StopPointsDiscoveryRequestStructure">
171
+ <xsd:annotation>
172
+ <xsd:documentation>Requests for stop reference data for use in service requests.</xsd:documentation>
173
+ </xsd:annotation>
174
+ <xsd:complexContent>
175
+ <xsd:extension base="AbstractDiscoveryRequestStructure">
176
+ <xsd:sequence>
177
+ <xsd:group ref="StopPointsDiscoveryRequestTopicGroup">
178
+ <xsd:annotation>
179
+ <xsd:documentation>Parameters that specify the content to be returned. (+SIRI v2.0)</xsd:documentation>
180
+ </xsd:annotation>
181
+ </xsd:group>
182
+ <xsd:group ref="StopPointsDiscoveryRequestPolicyGroup">
183
+ <xsd:annotation>
184
+ <xsd:documentation>Parameters that affect the request processing. Mostly act to reduce the number of stops returned. (+SIRI v2.0)</xsd:documentation>
185
+ </xsd:annotation>
186
+ </xsd:group>
187
+ <xsd:element ref="Extensions" minOccurs="0"/>
188
+ </xsd:sequence>
189
+ <xsd:attribute name="version" type="VersionString" default="2.1">
190
+ <xsd:annotation>
191
+ <xsd:documentation>Version number of request. Fixed
192
+ </xsd:documentation>
193
+ </xsd:annotation>
194
+ </xsd:attribute>
195
+ </xsd:extension>
196
+ </xsd:complexContent>
197
+ </xsd:complexType>
198
+ <xsd:group name="StopPointsDiscoveryRequestTopicGroup">
199
+ <xsd:annotation>
200
+ <xsd:documentation>Parameters that specify the STOP POINTs to be returned. +SIRI v2.0</xsd:documentation>
201
+ </xsd:annotation>
202
+ <xsd:sequence>
203
+ <xsd:choice>
204
+ <xsd:element name="BoundingBox" type="BoundingBoxStructure" minOccurs="0">
205
+ <xsd:annotation>
206
+ <xsd:documentation>Rectangle containing stops be returned. (+SIRI v2.0)</xsd:documentation>
207
+ </xsd:annotation>
208
+ </xsd:element>
209
+ <xsd:element name="Circle" type="LocationStructure" minOccurs="0">
210
+ <xsd:annotation>
211
+ <xsd:documentation>Circle containing stops be returned. Point indicates centre, precision indicates radius (+SIRI v2.0)</xsd:documentation>
212
+ </xsd:annotation>
213
+ </xsd:element>
214
+ <xsd:element name="PlaceRef" type="xsd:normalizedString" minOccurs="0">
215
+ <xsd:annotation>
216
+ <xsd:documentation>Filter the results to include only stops associated with the PLACE . (+SIRI v2.0)</xsd:documentation>
217
+ </xsd:annotation>
218
+ </xsd:element>
219
+ </xsd:choice>
220
+ <xsd:element name="OperatorRef" type="OperatorRefStructure" minOccurs="0">
221
+ <xsd:annotation>
222
+ <xsd:documentation>Filter the results to include only stops run by the specified OPERATOR. (+SIRI v2.0)</xsd:documentation>
223
+ </xsd:annotation>
224
+ </xsd:element>
225
+ <xsd:element name="LineRef" type="LineRefStructure" minOccurs="0">
226
+ <xsd:annotation>
227
+ <xsd:documentation>Filter the results to include only stops for the given LINE. (+SIRI v2.0)</xsd:documentation>
228
+ </xsd:annotation>
229
+ </xsd:element>
230
+ </xsd:sequence>
231
+ </xsd:group>
232
+ <xsd:group name="StopPointsDiscoveryRequestPolicyGroup">
233
+ <xsd:annotation>
234
+ <xsd:documentation>Parameters that affect the request processing. Mostly act to reduce the number of stops returned. +SIRI v2.0</xsd:documentation>
235
+ </xsd:annotation>
236
+ <xsd:sequence>
237
+ <xsd:element name="Language" type="xsd:language" default="en" minOccurs="0" maxOccurs="unbounded">
238
+ <xsd:annotation>
239
+ <xsd:documentation>Preferred languages in which to return text values. +SIRI v2.0</xsd:documentation>
240
+ </xsd:annotation>
241
+ </xsd:element>
242
+ <xsd:element name="StopPointsDetailLevel" type="StopPointsDetailEnumeration" default="normal" minOccurs="0">
243
+ <xsd:annotation>
244
+ <xsd:documentation>Level of detail to include in response. Default is 'normal'. +SIRI v2.0</xsd:documentation>
245
+ </xsd:annotation>
246
+ </xsd:element>
247
+ </xsd:sequence>
248
+ </xsd:group>
249
+ <xsd:simpleType name="StopPointsDetailEnumeration">
250
+ <xsd:annotation>
251
+ <xsd:documentation>Detail Levels for Stop Points Discovery Request. +SIRI v2.0</xsd:documentation>
252
+ </xsd:annotation>
253
+ <xsd:restriction base="xsd:NMTOKEN">
254
+ <xsd:enumeration value="minimum">
255
+ <xsd:annotation>
256
+ <xsd:documentation>Return only the name and identifier of the stop.</xsd:documentation>
257
+ </xsd:annotation>
258
+ </xsd:enumeration>
259
+ <xsd:enumeration value="normal">
260
+ <xsd:annotation>
261
+ <xsd:documentation>Return name, dientifier and coordinates of the stop.</xsd:documentation>
262
+ </xsd:annotation>
263
+ </xsd:enumeration>
264
+ <xsd:enumeration value="full">
265
+ <xsd:annotation>
266
+ <xsd:documentation>Return all available data for each stop.</xsd:documentation>
267
+ </xsd:annotation>
268
+ </xsd:enumeration>
269
+ </xsd:restriction>
270
+ </xsd:simpleType>
271
+ <!-- ===== DS: STOP POINT Response =========================================== -->
272
+ <xsd:element name="StopPointsDelivery" type="StopPointsDeliveryStructure" substitutionGroup="AbstractDiscoveryDelivery">
273
+ <xsd:annotation>
274
+ <xsd:documentation>Returns basic details about the STOP POINTs/places covered by a service. Answers a StopPointsRequest.</xsd:documentation>
275
+ </xsd:annotation>
276
+ </xsd:element>
277
+ <xsd:complexType name="StopPointsDeliveryStructure">
278
+ <xsd:annotation>
279
+ <xsd:documentation>Response with STOP POINTs available to make requests.</xsd:documentation>
280
+ </xsd:annotation>
281
+ <xsd:complexContent>
282
+ <xsd:extension base="AbstractDiscoveryDeliveryStructure">
283
+ <xsd:sequence>
284
+ <xsd:element ref="AnnotatedStopPointRef" minOccurs="0" maxOccurs="unbounded"/>
285
+ <xsd:element ref="Extensions" minOccurs="0"/>
286
+ </xsd:sequence>
287
+ <xsd:attribute name="version" type="VersionString" default="2.1">
288
+ <xsd:annotation>
289
+ <xsd:documentation>Version number of response. Fixed
290
+ </xsd:documentation>
291
+ </xsd:annotation>
292
+ </xsd:attribute>
293
+ </xsd:extension>
294
+ </xsd:complexContent>
295
+ </xsd:complexType>
296
+ <!-- =======LINE discovery====================================== -->
297
+ <!-- ===== DS: LINEs Request =========================================== -->
298
+ <xsd:element name="LinesRequest" type="LinesDiscoveryRequestStructure" substitutionGroup="AbstractDiscoveryRequest">
299
+ <xsd:annotation>
300
+ <xsd:documentation>Requests a list of the LINEs covered by a Producer.</xsd:documentation>
301
+ </xsd:annotation>
302
+ </xsd:element>
303
+ <xsd:complexType name="LinesDiscoveryRequestStructure">
304
+ <xsd:annotation>
305
+ <xsd:documentation>Requests for LINE data for use in service requests.</xsd:documentation>
306
+ </xsd:annotation>
307
+ <xsd:complexContent>
308
+ <xsd:extension base="AbstractDiscoveryRequestStructure">
309
+ <xsd:sequence>
310
+ <xsd:group ref="LinesDiscoveryRequestTopicGroup"/>
311
+ <xsd:group ref="LinesDiscoveryRequestPolicyGroup"/>
312
+ <xsd:element ref="Extensions" minOccurs="0"/>
313
+ </xsd:sequence>
314
+ <xsd:attribute name="version" type="VersionString" default="2.1">
315
+ <xsd:annotation>
316
+ <xsd:documentation>Version number of request. Fixed
317
+ </xsd:documentation>
318
+ </xsd:annotation>
319
+ </xsd:attribute>
320
+ </xsd:extension>
321
+ </xsd:complexContent>
322
+ </xsd:complexType>
323
+ <xsd:group name="LinesDiscoveryRequestTopicGroup">
324
+ <xsd:annotation>
325
+ <xsd:documentation>Parameters that specify the LINEs to be returned. +SIRI v2.0</xsd:documentation>
326
+ </xsd:annotation>
327
+ <xsd:sequence>
328
+ <xsd:choice minOccurs="0">
329
+ <xsd:choice>
330
+ <xsd:element name="BoundingBox" type="BoundingBoxStructure" minOccurs="1">
331
+ <xsd:annotation>
332
+ <xsd:documentation>Rectangle containing stops of lines be returned. (+SIRI v2.0)</xsd:documentation>
333
+ </xsd:annotation>
334
+ </xsd:element>
335
+ <xsd:element name="Circle" type="LocationStructure" minOccurs="1">
336
+ <xsd:annotation>
337
+ <xsd:documentation>Circle containing stops for lines be returned. Point indicates centre, precision indicates radius (+SIRI v2.0)</xsd:documentation>
338
+ </xsd:annotation>
339
+ </xsd:element>
340
+ <xsd:element name="PlaceRef" type="xsd:normalizedString" minOccurs="1">
341
+ <xsd:annotation>
342
+ <xsd:documentation>Filter the results to include only lines for stops assoicated with the place . (+SIRI v2.0)</xsd:documentation>
343
+ </xsd:annotation>
344
+ </xsd:element>
345
+ </xsd:choice>
346
+ <xsd:element name="LineDirectionRef" type="LineDirectionStructure">
347
+ <xsd:annotation>
348
+ <xsd:documentation>Reference to line for which details are to be returned (v2.0)</xsd:documentation>
349
+ </xsd:annotation>
350
+ </xsd:element>
351
+ </xsd:choice>
352
+ <xsd:element name="OperatorRef" type="OperatorRefStructure" minOccurs="0">
353
+ <xsd:annotation>
354
+ <xsd:documentation>Filter the results to include only Stop d run by the specified OPERATOR. (+SIRI v2.0)</xsd:documentation>
355
+ </xsd:annotation>
356
+ </xsd:element>
357
+ </xsd:sequence>
358
+ </xsd:group>
359
+ <xsd:group name="LinesDiscoveryRequestPolicyGroup">
360
+ <xsd:annotation>
361
+ <xsd:documentation>Parameters that affect the request processing. Mostly act to reduce the number of Linesreturned. +SIRI v2.0</xsd:documentation>
362
+ </xsd:annotation>
363
+ <xsd:sequence>
364
+ <xsd:element name="Language" type="xsd:language" default="en" minOccurs="0" maxOccurs="unbounded">
365
+ <xsd:annotation>
366
+ <xsd:documentation>Preferred languages in which to return text values. +SIRI v2.0</xsd:documentation>
367
+ </xsd:annotation>
368
+ </xsd:element>
369
+ <xsd:element name="LinesDetailLevel" type="LinesDetailEnumeration" default="normal" minOccurs="0">
370
+ <xsd:annotation>
371
+ <xsd:documentation>Level of detail to include in response. Default is 'normal'. +SIRI v2.0</xsd:documentation>
372
+ </xsd:annotation>
373
+ </xsd:element>
374
+ </xsd:sequence>
375
+ </xsd:group>
376
+ <xsd:simpleType name="LinesDetailEnumeration">
377
+ <xsd:annotation>
378
+ <xsd:documentation>Detail Levels for Lines Discovery Request. +SIRI v2.0</xsd:documentation>
379
+ </xsd:annotation>
380
+ <xsd:restriction base="xsd:NMTOKEN">
381
+ <xsd:enumeration value="minimum">
382
+ <xsd:annotation>
383
+ <xsd:documentation>Return only the name and identifier of the stop.</xsd:documentation>
384
+ </xsd:annotation>
385
+ </xsd:enumeration>
386
+ <xsd:enumeration value="normal">
387
+ <xsd:annotation>
388
+ <xsd:documentation>Return name, dientifier and coordinates of the stop.</xsd:documentation>
389
+ </xsd:annotation>
390
+ </xsd:enumeration>
391
+ <xsd:enumeration value="stops"/>
392
+ <xsd:enumeration value="full">
393
+ <xsd:annotation>
394
+ <xsd:documentation>Return all available data for each stop.</xsd:documentation>
395
+ </xsd:annotation>
396
+ </xsd:enumeration>
397
+ </xsd:restriction>
398
+ </xsd:simpleType>
399
+ <!-- ===== DS: Stop Points Response =========================================== -->
400
+ <xsd:element name="LinesDelivery" type="LinesDeliveryStructure" substitutionGroup="AbstractDiscoveryDelivery">
401
+ <xsd:annotation>
402
+ <xsd:documentation>Returns the LINEs covered by a web service. Answers a LINEsRequest.</xsd:documentation>
403
+ </xsd:annotation>
404
+ </xsd:element>
405
+ <xsd:complexType name="LinesDeliveryStructure">
406
+ <xsd:annotation>
407
+ <xsd:documentation>Response with LINEs available to make requests.</xsd:documentation>
408
+ </xsd:annotation>
409
+ <xsd:complexContent>
410
+ <xsd:extension base="AbstractDiscoveryDeliveryStructure">
411
+ <xsd:sequence>
412
+ <xsd:element ref="AnnotatedLineRef" minOccurs="0" maxOccurs="unbounded"/>
413
+ <xsd:element ref="Extensions" minOccurs="0"/>
414
+ </xsd:sequence>
415
+ <xsd:attribute name="version" type="VersionString" default="2.1">
416
+ <xsd:annotation>
417
+ <xsd:documentation>Version number of response. Fixed.</xsd:documentation>
418
+ </xsd:annotation>
419
+ </xsd:attribute>
420
+ </xsd:extension>
421
+ </xsd:complexContent>
422
+ </xsd:complexType>
423
+ <!-- ===== PRODUCT CATEGORY ============================================ -->
424
+ <!-- ===== DS: PRODUCT CATEGORY Request =========================================== -->
425
+ <xsd:element name="ProductCategoriesRequest" type="ProductCategoriesDiscoveryRequestStructure" substitutionGroup="AbstractDiscoveryRequest">
426
+ <xsd:annotation>
427
+ <xsd:documentation>Requests a list of the Product Categories covered by a Producer.</xsd:documentation>
428
+ </xsd:annotation>
429
+ </xsd:element>
430
+ <xsd:complexType name="ProductCategoriesDiscoveryRequestStructure">
431
+ <xsd:annotation>
432
+ <xsd:documentation>Requests for TYPE OF PRODUCT CATEGORY reference data for use in service requests.</xsd:documentation>
433
+ </xsd:annotation>
434
+ <xsd:complexContent>
435
+ <xsd:extension base="AbstractDiscoveryRequestStructure">
436
+ <xsd:sequence>
437
+ <xsd:group ref="ProductCategoriesRequestPolicyGroup"/>
438
+ <xsd:element ref="Extensions" minOccurs="0"/>
439
+ </xsd:sequence>
440
+ <xsd:attribute name="version" type="VersionString" default="2.1">
441
+ <xsd:annotation>
442
+ <xsd:documentation>Version number of request. Fixed
443
+ </xsd:documentation>
444
+ </xsd:annotation>
445
+ </xsd:attribute>
446
+ </xsd:extension>
447
+ </xsd:complexContent>
448
+ </xsd:complexType>
449
+ <xsd:group name="ProductCategoriesRequestPolicyGroup">
450
+ <xsd:annotation>
451
+ <xsd:documentation>Parameters that affect the request processing. Mostly act to reduce the number of Facilities returned. +SIRI v2.0</xsd:documentation>
452
+ </xsd:annotation>
453
+ <xsd:sequence>
454
+ <xsd:element name="Language" type="xsd:language" default="en" minOccurs="0" maxOccurs="unbounded">
455
+ <xsd:annotation>
456
+ <xsd:documentation>Preferred languages in which to return text values. +SIRI v2.0</xsd:documentation>
457
+ </xsd:annotation>
458
+ </xsd:element>
459
+ </xsd:sequence>
460
+ </xsd:group>
461
+ <!-- ===== DS: RODUCT CATEGORY Response =========================================== -->
462
+ <xsd:element name="ProductCategoriesDelivery" type="ProductCategoriesDeliveryStructure" substitutionGroup="AbstractDiscoveryDelivery">
463
+ <xsd:annotation>
464
+ <xsd:documentation>Returns the Product Categories covered by a service. Answers a ProductCategoriesRequest.</xsd:documentation>
465
+ </xsd:annotation>
466
+ </xsd:element>
467
+ <xsd:complexType name="ProductCategoriesDeliveryStructure">
468
+ <xsd:annotation>
469
+ <xsd:documentation>Type for Response with Product Categories available to make requests.</xsd:documentation>
470
+ </xsd:annotation>
471
+ <xsd:complexContent>
472
+ <xsd:extension base="AbstractDiscoveryDeliveryStructure">
473
+ <xsd:sequence>
474
+ <xsd:element ref="ProductCategory" minOccurs="0" maxOccurs="unbounded"/>
475
+ <xsd:element ref="Extensions" minOccurs="0"/>
476
+ </xsd:sequence>
477
+ <xsd:attribute name="version" type="VersionString" default="2.1">
478
+ <xsd:annotation>
479
+ <xsd:documentation>Version number of response. Fixed.</xsd:documentation>
480
+ </xsd:annotation>
481
+ </xsd:attribute>
482
+ </xsd:extension>
483
+ </xsd:complexContent>
484
+ </xsd:complexType>
485
+ <!-- ====== VEHICLE FEATURE Discovery========================================================= -->
486
+ <!-- ===== DS: VEHICLE FEATURE Request =========================================== -->
487
+ <xsd:element name="VehicleFeaturesRequest" type="VehicleFeaturesRequestStructure" substitutionGroup="AbstractDiscoveryRequest">
488
+ <xsd:annotation>
489
+ <xsd:documentation>Requests a list of the Vehicle Features covered by a Producer.</xsd:documentation>
490
+ </xsd:annotation>
491
+ </xsd:element>
492
+ <xsd:complexType name="VehicleFeaturesRequestStructure">
493
+ <xsd:annotation>
494
+ <xsd:documentation>Requests for VEHICLE feature data for use in service requests.</xsd:documentation>
495
+ </xsd:annotation>
496
+ <xsd:complexContent>
497
+ <xsd:extension base="AbstractDiscoveryRequestStructure">
498
+ <xsd:sequence>
499
+ <xsd:group ref="VehicleFeaturesRequestPolicyGroup"/>
500
+ <xsd:element ref="Extensions" minOccurs="0"/>
501
+ </xsd:sequence>
502
+ <xsd:attribute name="version" type="VersionString" default="2.1">
503
+ <xsd:annotation>
504
+ <xsd:documentation>Version number of request. Fixed
505
+ </xsd:documentation>
506
+ </xsd:annotation>
507
+ </xsd:attribute>
508
+ </xsd:extension>
509
+ </xsd:complexContent>
510
+ </xsd:complexType>
511
+ <xsd:group name="VehicleFeaturesRequestPolicyGroup">
512
+ <xsd:annotation>
513
+ <xsd:documentation>Parameters that affect the request processing. Mostly act to reduce the number of Facilities returned. +SIRI v2.0</xsd:documentation>
514
+ </xsd:annotation>
515
+ <xsd:sequence>
516
+ <xsd:element name="Language" type="xsd:language" default="en" minOccurs="0" maxOccurs="unbounded">
517
+ <xsd:annotation>
518
+ <xsd:documentation>Preferred languages in which to return text values. +SIRI v2.0</xsd:documentation>
519
+ </xsd:annotation>
520
+ </xsd:element>
521
+ </xsd:sequence>
522
+ </xsd:group>
523
+ <!-- ===== DS: VEHICLE FEATURE Response ========================================== -->
524
+ <xsd:element name="VehicleFeaturesDelivery" type="VehicleFeaturesDeliveryStructure" substitutionGroup="AbstractDiscoveryDelivery">
525
+ <xsd:annotation>
526
+ <xsd:documentation>Returns the Vehicle Features covered by a service. Answers a VehicleFeaturesRequest.</xsd:documentation>
527
+ </xsd:annotation>
528
+ </xsd:element>
529
+ <xsd:complexType name="VehicleFeaturesDeliveryStructure">
530
+ <xsd:annotation>
531
+ <xsd:documentation>Type for Response with Vehicle Features available to make requests.</xsd:documentation>
532
+ </xsd:annotation>
533
+ <xsd:complexContent>
534
+ <xsd:extension base="AbstractDiscoveryDeliveryStructure">
535
+ <xsd:sequence>
536
+ <xsd:element ref="VehicleFeature" minOccurs="0" maxOccurs="unbounded"/>
537
+ <xsd:element ref="Extensions" minOccurs="0"/>
538
+ </xsd:sequence>
539
+ <xsd:attribute name="version" type="VersionString" default="2.1">
540
+ <xsd:annotation>
541
+ <xsd:documentation>Version number of response. Fixed.</xsd:documentation>
542
+ </xsd:annotation>
543
+ </xsd:attribute>
544
+ </xsd:extension>
545
+ </xsd:complexContent>
546
+ </xsd:complexType>
547
+ <!-- ===== INFO CHANNEL ============================================== -->
548
+ <!-- ===== DS: INFO CHANNELRequest =========================================== -->
549
+ <xsd:element name="InfoChannelRequest" type="InfoChannelDiscoveryRequestStructure" substitutionGroup="AbstractDiscoveryRequest">
550
+ <xsd:annotation>
551
+ <xsd:documentation>Requests a list of the Info Channels covered by a Producer.</xsd:documentation>
552
+ </xsd:annotation>
553
+ </xsd:element>
554
+ <xsd:complexType name="InfoChannelDiscoveryRequestStructure">
555
+ <xsd:annotation>
556
+ <xsd:documentation>Requests for info channels for use in service requests.</xsd:documentation>
557
+ </xsd:annotation>
558
+ <xsd:complexContent>
559
+ <xsd:extension base="AbstractDiscoveryRequestStructure">
560
+ <xsd:sequence>
561
+ <xsd:element ref="Extensions" minOccurs="0"/>
562
+ </xsd:sequence>
563
+ <xsd:attribute name="version" type="VersionString" default="2.1">
564
+ <xsd:annotation>
565
+ <xsd:documentation>Version number of request. Fixed
566
+ </xsd:documentation>
567
+ </xsd:annotation>
568
+ </xsd:attribute>
569
+ </xsd:extension>
570
+ </xsd:complexContent>
571
+ </xsd:complexType>
572
+ <!-- ===== DS: INFO CHANNEL Response =========================================== -->
573
+ <xsd:element name="InfoChannelDelivery" type="InfoChannelDeliveryStructure" substitutionGroup="AbstractDiscoveryDelivery">
574
+ <xsd:annotation>
575
+ <xsd:documentation>Returns the Info Channels covered by a service. Answers a InfoChannelRequest.</xsd:documentation>
576
+ </xsd:annotation>
577
+ </xsd:element>
578
+ <xsd:complexType name="InfoChannelDeliveryStructure">
579
+ <xsd:annotation>
580
+ <xsd:documentation>Type for Response with Info channels categories available to make requests.</xsd:documentation>
581
+ </xsd:annotation>
582
+ <xsd:complexContent>
583
+ <xsd:extension base="AbstractDiscoveryDeliveryStructure">
584
+ <xsd:sequence>
585
+ <xsd:element ref="InfoChannel" minOccurs="0" maxOccurs="unbounded"/>
586
+ <xsd:element ref="Extensions" minOccurs="0"/>
587
+ </xsd:sequence>
588
+ <xsd:attribute name="version" type="VersionString" default="2.1">
589
+ <xsd:annotation>
590
+ <xsd:documentation>Version number of response. Fixed.</xsd:documentation>
591
+ </xsd:annotation>
592
+ </xsd:attribute>
593
+ </xsd:extension>
594
+ </xsd:complexContent>
595
+ </xsd:complexType>
596
+ <!-- ===== FACILITY Discovery=============================================== -->
597
+ <!-- ===== DS: FACILITY Request =========================================== -->
598
+ <xsd:element name="FacilityRequest" type="FacilityRequestStructure" substitutionGroup="AbstractDiscoveryRequest">
599
+ <xsd:annotation>
600
+ <xsd:documentation>Requests a list of the Facilities covered by a Producer.</xsd:documentation>
601
+ </xsd:annotation>
602
+ </xsd:element>
603
+ <xsd:complexType name="FacilityRequestStructure">
604
+ <xsd:annotation>
605
+ <xsd:documentation>Requests for info channels for use in service requests.</xsd:documentation>
606
+ </xsd:annotation>
607
+ <xsd:complexContent>
608
+ <xsd:extension base="AbstractDiscoveryRequestStructure">
609
+ <xsd:sequence>
610
+ <xsd:group ref="FacilityRequestTopicGroup"/>
611
+ <xsd:group ref="FacilityRequestPolicyGroup"/>
612
+ <xsd:element ref="Extensions" minOccurs="0"/>
613
+ </xsd:sequence>
614
+ <xsd:attribute name="version" type="VersionString" default="2.1">
615
+ <xsd:annotation>
616
+ <xsd:documentation>Version number of request. Fixed
617
+ </xsd:documentation>
618
+ </xsd:annotation>
619
+ </xsd:attribute>
620
+ </xsd:extension>
621
+ </xsd:complexContent>
622
+ </xsd:complexType>
623
+ <xsd:group name="FacilityRequestTopicGroup">
624
+ <xsd:annotation>
625
+ <xsd:documentation>Parameters that specify the Facilities to be returned. +SIRI v2.0</xsd:documentation>
626
+ </xsd:annotation>
627
+ <xsd:sequence>
628
+ <xsd:choice>
629
+ <xsd:element name="BoundingBox" type="BoundingBoxStructure" minOccurs="0">
630
+ <xsd:annotation>
631
+ <xsd:documentation>Rectangle containing Facilities be returned. (+SIRI v2.0)</xsd:documentation>
632
+ </xsd:annotation>
633
+ </xsd:element>
634
+ <xsd:element name="PlaceRef" type="xsd:normalizedString" minOccurs="0">
635
+ <xsd:annotation>
636
+ <xsd:documentation>Filter the results to include only Facilities associated with the TOPOGRAPHIC PLACE . (+SIRI v2.0)</xsd:documentation>
637
+ </xsd:annotation>
638
+ </xsd:element>
639
+ </xsd:choice>
640
+ <xsd:element name="OperatorRef" type="OperatorRefStructure" minOccurs="0">
641
+ <xsd:annotation>
642
+ <xsd:documentation>Filter the results to include only Facilities run by the specified OPERATOR. (+SIRI v2.0)</xsd:documentation>
643
+ </xsd:annotation>
644
+ </xsd:element>
645
+ <xsd:element name="LineRef" type="LineRefStructure" minOccurs="0">
646
+ <xsd:annotation>
647
+ <xsd:documentation>Filter the results to include only Facilities for the given LINE. (+SIRI v2.0)</xsd:documentation>
648
+ </xsd:annotation>
649
+ </xsd:element>
650
+ </xsd:sequence>
651
+ </xsd:group>
652
+ <xsd:group name="FacilityRequestPolicyGroup">
653
+ <xsd:annotation>
654
+ <xsd:documentation>Parameters that affect the request processing. Mostly act to reduce the number of Facilities returned. +SIRI v2.0</xsd:documentation>
655
+ </xsd:annotation>
656
+ <xsd:sequence>
657
+ <xsd:element name="Language" type="xsd:language" default="en" minOccurs="0" maxOccurs="unbounded">
658
+ <xsd:annotation>
659
+ <xsd:documentation>Preferred languages in which to return text values. +SIRI v2.0</xsd:documentation>
660
+ </xsd:annotation>
661
+ </xsd:element>
662
+ <xsd:element name="FacilityDetailLevel" type="FacilityDetailEnumeration" default="normal" minOccurs="0">
663
+ <xsd:annotation>
664
+ <xsd:documentation>Level of detail to include in response. Default is 'normal'. +SIRI v2.0</xsd:documentation>
665
+ </xsd:annotation>
666
+ </xsd:element>
667
+ </xsd:sequence>
668
+ </xsd:group>
669
+ <xsd:simpleType name="FacilityDetailEnumeration">
670
+ <xsd:annotation>
671
+ <xsd:documentation>Detail Levels for Facility Points Request. +SIRI v2.0</xsd:documentation>
672
+ </xsd:annotation>
673
+ <xsd:restriction base="xsd:NMTOKEN">
674
+ <xsd:enumeration value="minimum">
675
+ <xsd:annotation>
676
+ <xsd:documentation>Return only the name and identifier of the Facility.</xsd:documentation>
677
+ </xsd:annotation>
678
+ </xsd:enumeration>
679
+ <xsd:enumeration value="normal">
680
+ <xsd:annotation>
681
+ <xsd:documentation>Return name, identifier and coordinates of the Facility.</xsd:documentation>
682
+ </xsd:annotation>
683
+ </xsd:enumeration>
684
+ <xsd:enumeration value="full">
685
+ <xsd:annotation>
686
+ <xsd:documentation>Return all available data for each Facility.</xsd:documentation>
687
+ </xsd:annotation>
688
+ </xsd:enumeration>
689
+ </xsd:restriction>
690
+ </xsd:simpleType>
691
+ <!-- ===== DS: FACILITY Response =========================================== -->
692
+ <xsd:element name="FacilityDelivery" type="FacilityDeliveryStructure" substitutionGroup="AbstractDiscoveryDelivery">
693
+ <xsd:annotation>
694
+ <xsd:documentation>Returns the Facilities covered by a service. Answers a StopPointsRequest.</xsd:documentation>
695
+ </xsd:annotation>
696
+ </xsd:element>
697
+ <xsd:complexType name="FacilityDeliveryStructure">
698
+ <xsd:annotation>
699
+ <xsd:documentation>Response with Facilities available to make requests.</xsd:documentation>
700
+ </xsd:annotation>
701
+ <xsd:complexContent>
702
+ <xsd:extension base="AbstractDiscoveryDeliveryStructure">
703
+ <xsd:sequence>
704
+ <xsd:element name="AnnotatedFacility" type="AnnotatedFacilityStructure" minOccurs="0" maxOccurs="unbounded">
705
+ <xsd:annotation>
706
+ <xsd:documentation>Facility Definition.</xsd:documentation>
707
+ </xsd:annotation>
708
+ </xsd:element>
709
+ <xsd:element ref="Extensions" minOccurs="0"/>
710
+ </xsd:sequence>
711
+ <xsd:attribute name="version" type="VersionString" default="2.1">
712
+ <xsd:annotation>
713
+ <xsd:documentation>Version number of response. Fixed.</xsd:documentation>
714
+ </xsd:annotation>
715
+ </xsd:attribute>
716
+ </xsd:extension>
717
+ </xsd:complexContent>
718
+ </xsd:complexType>
719
+ <!-- ===== DS: SERVICE FEATURE =========================================== -->
720
+ <!-- = For backward compatibility with SIRI 1.0 (use FacilityRequest) ==================== -->
721
+ <!-- ===== DS: SERVICE FEATURE Response =========================================== -->
722
+ <xsd:element name="ServiceFeaturesRequest" substitutionGroup="AbstractDiscoveryRequest">
723
+ <xsd:annotation>
724
+ <xsd:documentation>Requests a list of the Service Features covered by a Producer.</xsd:documentation>
725
+ </xsd:annotation>
726
+ <xsd:complexType>
727
+ <xsd:complexContent>
728
+ <xsd:extension base="ServiceFeaturesDiscoveryRequestStructure"/>
729
+ </xsd:complexContent>
730
+ </xsd:complexType>
731
+ </xsd:element>
732
+ <xsd:complexType name="ServiceFeaturesDiscoveryRequestStructure">
733
+ <xsd:annotation>
734
+ <xsd:documentation>Type for equests for TYPE OF PRODUCT CATEGORY reference data for use in service requests.</xsd:documentation>
735
+ </xsd:annotation>
736
+ <xsd:complexContent>
737
+ <xsd:extension base="AbstractDiscoveryRequestStructure">
738
+ <xsd:sequence>
739
+ <xsd:element ref="Extensions" minOccurs="0"/>
740
+ </xsd:sequence>
741
+ <xsd:attribute name="version" type="VersionString" default="2.1">
742
+ <xsd:annotation>
743
+ <xsd:documentation>Version number of request. Fixed
744
+ </xsd:documentation>
745
+ </xsd:annotation>
746
+ </xsd:attribute>
747
+ </xsd:extension>
748
+ </xsd:complexContent>
749
+ </xsd:complexType>
750
+ <!-- ===== DS: SERVICE FEATURE Response =========================================== -->
751
+ <xsd:element name="ServiceFeaturesDelivery" type="ServiceFeaturesDeliveryStructure" substitutionGroup="AbstractDiscoveryDelivery">
752
+ <xsd:annotation>
753
+ <xsd:documentation>Returns the SERVICE FEATUREs covered by a service. Answers a ServiceFeaturesRequest.</xsd:documentation>
754
+ </xsd:annotation>
755
+ </xsd:element>
756
+ <xsd:complexType name="ServiceFeaturesDeliveryStructure">
757
+ <xsd:annotation>
758
+ <xsd:documentation>Type for Response with SERVICE FEATUREs available to make requests.</xsd:documentation>
759
+ </xsd:annotation>
760
+ <xsd:complexContent>
761
+ <xsd:extension base="AbstractDiscoveryDeliveryStructure">
762
+ <xsd:sequence>
763
+ <xsd:element ref="ServiceFeature" minOccurs="0" maxOccurs="unbounded"/>
764
+ </xsd:sequence>
765
+ <xsd:attribute name="version" type="VersionString" default="2.1">
766
+ <xsd:annotation>
767
+ <xsd:documentation>Version number of response. Fixed.</xsd:documentation>
768
+ </xsd:annotation>
769
+ </xsd:attribute>
770
+ </xsd:extension>
771
+ </xsd:complexContent>
772
+ </xsd:complexType>
773
+ <!-- =======CONNECTION LINKs discovery ====================================== -->
774
+ <!-- ===== DS: CONNECTION LINKs Request =========================================== -->
775
+ <xsd:element name="ConnectionLinksRequest" type="ConnectionLinksDiscoveryRequestStructure" substitutionGroup="AbstractDiscoveryRequest">
776
+ <xsd:annotation>
777
+ <xsd:documentation>Requests a list of the CONNECTION LINKs covered by a Producer. +SIRI v2.0</xsd:documentation>
778
+ </xsd:annotation>
779
+ </xsd:element>
780
+ <xsd:complexType name="ConnectionLinksDiscoveryRequestStructure">
781
+ <xsd:annotation>
782
+ <xsd:documentation>Requests for CONNECTION LINK data for use in service requests. +SIRI v2.0</xsd:documentation>
783
+ </xsd:annotation>
784
+ <xsd:complexContent>
785
+ <xsd:extension base="AbstractDiscoveryRequestStructure">
786
+ <xsd:sequence>
787
+ <xsd:group ref="ConnectionLinksDiscoveryRequestTopicGroup"/>
788
+ <xsd:group ref="ConnectionLinksDiscoveryRequestPolicyGroup"/>
789
+ <xsd:element ref="Extensions" minOccurs="0"/>
790
+ </xsd:sequence>
791
+ <xsd:attribute name="version" type="VersionString" use="required" fixed="2.1">
792
+ <xsd:annotation>
793
+ <xsd:documentation>Version number of request. Fixed </xsd:documentation>
794
+ </xsd:annotation>
795
+ </xsd:attribute>
796
+ </xsd:extension>
797
+ </xsd:complexContent>
798
+ </xsd:complexType>
799
+ <xsd:group name="ConnectionLinksDiscoveryRequestTopicGroup">
800
+ <xsd:annotation>
801
+ <xsd:documentation>Parameters that specify the CONNECTION LINKs to be returned. +SIRI v2.0</xsd:documentation>
802
+ </xsd:annotation>
803
+ <xsd:sequence>
804
+ <xsd:choice minOccurs="0">
805
+ <xsd:choice>
806
+ <xsd:element name="BoundingBox" type="BoundingBoxStructure" minOccurs="1">
807
+ <xsd:annotation>
808
+ <xsd:documentation>Rectangle containing stops of ConnectionLinks be returned.</xsd:documentation>
809
+ </xsd:annotation>
810
+ </xsd:element>
811
+ <xsd:element name="Circle" type="LocationStructure" minOccurs="1">
812
+ <xsd:annotation>
813
+ <xsd:documentation>Circle containing stops for ConnectionLinks be returned. Point indicates centre, precision indicates radius</xsd:documentation>
814
+ </xsd:annotation>
815
+ </xsd:element>
816
+ <xsd:element name="PlaceRef" type="xsd:normalizedString" minOccurs="1">
817
+ <xsd:annotation>
818
+ <xsd:documentation>Filter the results to include only ConnectionLinks for stops assoicated with the place .</xsd:documentation>
819
+ </xsd:annotation>
820
+ </xsd:element>
821
+ </xsd:choice>
822
+ </xsd:choice>
823
+ <xsd:element name="LineRef" type="LineRefStructure" minOccurs="0">
824
+ <xsd:annotation>
825
+ <xsd:documentation>Filter the results to include only ConnectionLinks for stops assoicated with the specified line.</xsd:documentation>
826
+ </xsd:annotation>
827
+ </xsd:element>
828
+ <xsd:element name="OperatorRef" type="OperatorRefStructure" minOccurs="0">
829
+ <xsd:annotation>
830
+ <xsd:documentation>Filter the results to include only Stop d run by the specified OPERATOR. </xsd:documentation>
831
+ </xsd:annotation>
832
+ </xsd:element>
833
+ </xsd:sequence>
834
+ </xsd:group>
835
+ <xsd:group name="ConnectionLinksDiscoveryRequestPolicyGroup">
836
+ <xsd:annotation>
837
+ <xsd:documentation>Parameters that affect the request processing. Mostly act to reduce the number of ConnectionLinks returned. +SIRI v2.0</xsd:documentation>
838
+ </xsd:annotation>
839
+ <xsd:sequence>
840
+ <xsd:element name="Language" type="xsd:language" default="en" minOccurs="0" maxOccurs="unbounded">
841
+ <xsd:annotation>
842
+ <xsd:documentation>Preferred languages in which to return text values. +SIRI v2.0</xsd:documentation>
843
+ </xsd:annotation>
844
+ </xsd:element>
845
+ <xsd:element name="ConnectionLinksDetailLevel" type="ConnectionLinksDetailEnumeration" default="normal" minOccurs="0">
846
+ <xsd:annotation>
847
+ <xsd:documentation>Level of detail to include in response. Default is 'normal'. +SIRI v2.0</xsd:documentation>
848
+ </xsd:annotation>
849
+ </xsd:element>
850
+ </xsd:sequence>
851
+ </xsd:group>
852
+ <xsd:simpleType name="ConnectionLinksDetailEnumeration">
853
+ <xsd:annotation>
854
+ <xsd:documentation>Detail Levels for CONNECTION LINKs Discovery Request. +SIRI v2.0</xsd:documentation>
855
+ </xsd:annotation>
856
+ <xsd:restriction base="xsd:NMTOKEN">
857
+ <xsd:enumeration value="minimum">
858
+ <xsd:annotation>
859
+ <xsd:documentation>Return only the name and identifier of the connection link.</xsd:documentation>
860
+ </xsd:annotation>
861
+ </xsd:enumeration>
862
+ <xsd:enumeration value="normal">
863
+ <xsd:annotation>
864
+ <xsd:documentation>Return name, identifier of the connection link and connected stops's identifiers.</xsd:documentation>
865
+ </xsd:annotation>
866
+ </xsd:enumeration>
867
+ <xsd:enumeration value="full">
868
+ <xsd:annotation>
869
+ <xsd:documentation>Return all available data for each connection link.</xsd:documentation>
870
+ </xsd:annotation>
871
+ </xsd:enumeration>
872
+ </xsd:restriction>
873
+ </xsd:simpleType>
874
+ <!-- ===== DS: CONNECTION LINKs Response =========================================== -->
875
+ <xsd:element name="ConnectionLinksDelivery" type="ConnectionLinksDeliveryStructure" substitutionGroup="AbstractDiscoveryDelivery">
876
+ <xsd:annotation>
877
+ <xsd:documentation>Returns the CONNECTION LINKs covered by a web service. Answers a LINEsRequest. +Siri v2.0</xsd:documentation>
878
+ </xsd:annotation>
879
+ </xsd:element>
880
+ <xsd:complexType name="ConnectionLinksDeliveryStructure">
881
+ <xsd:annotation>
882
+ <xsd:documentation>Response with CONNECTION LINKs available to make requests. +SIR v2.0</xsd:documentation>
883
+ </xsd:annotation>
884
+ <xsd:complexContent>
885
+ <xsd:extension base="AbstractDiscoveryDeliveryStructure">
886
+ <xsd:sequence>
887
+ <xsd:element ref="AnnotatedConnectionLinkRef" minOccurs="0" maxOccurs="unbounded"/>
888
+ <xsd:element ref="Extensions" minOccurs="0"/>
889
+ </xsd:sequence>
890
+ <xsd:attribute name="version" type="VersionString" use="required" fixed="2.1">
891
+ <xsd:annotation>
892
+ <xsd:documentation>Version number of response. Fixed.</xsd:documentation>
893
+ </xsd:annotation>
894
+ </xsd:attribute>
895
+ </xsd:extension>
896
+ </xsd:complexContent>
897
+ </xsd:complexType>
898
+ </xsd:schema>