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,900 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema xmlns="http://www.siri.org.uk/siri" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:acsb="http://www.ifopt.org.uk/acsb" targetNamespace="http://www.siri.org.uk/siri" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1" id="siri_common_services">
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>First 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-11</Modified>
22
+ </Date>
23
+ <Date><Modified>2007-04-17</Modified>
24
+ - Name Space changes
25
+ </Date>
26
+ <Date><Modified>2008-10-09</Modified>
27
+ -- Add Subscriber ref to TermninateSubscription Request
28
+ </Date>
29
+ <Date><Modified>2008-11-17</Modified>
30
+ -- Revise for substitution groups and move down to siri subdirectory
31
+ </Date>
32
+ <Date><Modified>2012-03-23</Modified>
33
+ +SIRI v2.0
34
+ - Add DataReady to Check Status
35
+ - Add DistanceUnits and VelocityUnits to ServiceRequestContext
36
+ - [FR] Add Extensions tag to Terminate SubscriptionRequest
37
+ </Date>
38
+ <Date><Modified>2014-03-31</Modified>
39
+ +SIRI v2.0 Comments
40
+ - Add terminate subscription notification
41
+ </Date>
42
+ <Date><Modified>2014-06-23</Modified>
43
+ +SIRI v2.0 Comments
44
+ - Revise terminate subscription erroc condition to be consistent with other services
45
+ </Date>
46
+ <Description>
47
+ <p>SIRI is a European CEN standard for the exchange of real-time information.</p>
48
+ <p>This subschema describes common communication requests that are the same for all services. </p>
49
+ <p>It contains the following request</p>
50
+ <ul>
51
+ <li>GS: Terminate Subscription Resquest </li>
52
+ <li>GS: Terminate Subscription Response</li>
53
+ <li>GS: Subscription Response </li>
54
+ <li>GS: Data Ready Notification</li>
55
+ <li>GS: Data Ready Acknowledgement</li>
56
+ <li>GS: Data Supply Request</li>
57
+ <li>GS: Data Received Response </li>
58
+ <li>GS: Check Status Request</li>
59
+ <li>GS: Check Status Response</li>
60
+ <li>GS: Heartbeat Request</li>
61
+ </ul>
62
+ <p>Siri supports both direct requests and publish subscribe patterns of interaction</p>
63
+ </Description>
64
+ <Format>
65
+ <MediaType>text/xml</MediaType>
66
+ <Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
67
+ <Description>XML schema, W3C Recommendation 2001</Description>
68
+ </Format>
69
+ <Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri/}siri_common_services.xsd</Identifier>
70
+ <Language>[ISO 639-2/B] ENG</Language>
71
+ <Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
72
+ <Relation>
73
+ <Requires>http://www.siri.org.uk/schema/2.0/xsd/siri/siri_requests.xsd</Requires>
74
+ </Relation>
75
+ <Rights><!--Unclassified-->
76
+ <Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
77
+ </Rights>
78
+ <Source>
79
+ <ul>
80
+ <li>Derived from the VDV, RTIG XML and Trident standards.</li>
81
+ </ul>
82
+ </Source>
83
+ <Status>Version 2.1</Status>
84
+ <Subject>
85
+ <Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
86
+ Air transport, Airports,
87
+ Ports and maritime transport, Ferries (marine),
88
+ Public transport, Bus services, Coach services, Bus stops and stations,
89
+ Rail transport, Railway stations and track, Train services, Underground trains,
90
+ Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
91
+ Rail transport, Roads and road transport
92
+ </Category>
93
+ <Project>CEN TC278 WG3 SG7</Project>
94
+ </Subject>
95
+ <Title>SIRI XML schema. Service Interface for Real-time Information. Common Requests </Title>
96
+ <Type>Standard</Type>
97
+ </Metadata>
98
+ </xsd:appinfo>
99
+ <xsd:documentation>SIRI Framework - Common Requests.</xsd:documentation>
100
+ </xsd:annotation>
101
+ <!-- ======================================================================= -->
102
+ <!-- ======================================================================= -->
103
+ <xsd:include schemaLocation="siri_requests.xsd"/>
104
+ <!-- ======================================================================= -->
105
+ <xsd:group name="SiriCommonIndexGroup">
106
+ <xsd:annotation>
107
+ <xsd:documentation>Convenience artefact to pick out main elements of the common requests.</xsd:documentation>
108
+ </xsd:annotation>
109
+ <xsd:sequence>
110
+ <xsd:group ref="SubscriptionManagementGroup"/>
111
+ <xsd:group ref="DataSupplyGroup"/>
112
+ <xsd:group ref="StatusRequestGroup"/>
113
+ <xsd:group ref="StatusResponseGroup"/>
114
+ </xsd:sequence>
115
+ </xsd:group>
116
+ <xsd:group name="StatusRequestGroup">
117
+ <xsd:annotation>
118
+ <xsd:documentation>Requests about system status.</xsd:documentation>
119
+ </xsd:annotation>
120
+ <xsd:choice>
121
+ <xsd:element ref="CheckStatusRequest"/>
122
+ <xsd:element ref="HeartbeatNotification"/>
123
+ </xsd:choice>
124
+ </xsd:group>
125
+ <!--== Requests ===================================================================== -->
126
+ <xsd:complexType name="ContextualisedRequestStructure" abstract="true">
127
+ <xsd:annotation>
128
+ <xsd:documentation>Type for General SIRI Request.</xsd:documentation>
129
+ </xsd:annotation>
130
+ <xsd:sequence>
131
+ <xsd:element name="ServiceRequestContext" type="ServiceRequestContextStructure" minOccurs="0">
132
+ <xsd:annotation>
133
+ <xsd:documentation>General request properties - typically configured rather than repeated on request.</xsd:documentation>
134
+ </xsd:annotation>
135
+ </xsd:element>
136
+ <xsd:element ref="RequestTimestamp"/>
137
+ <xsd:group ref="AuthenticatedRequestGroup"/>
138
+ <xsd:group ref="RequestorEndpointGroup"/>
139
+ <xsd:group ref="DelegatorEndpointGroup"/>
140
+ </xsd:sequence>
141
+ </xsd:complexType>
142
+ <xsd:group name="ServiceEndpointAddressGroup">
143
+ <xsd:annotation>
144
+ <xsd:documentation>Address elements for SIRI messages to the Producer server.</xsd:documentation>
145
+ </xsd:annotation>
146
+ <xsd:sequence>
147
+ <xsd:element name="CheckStatusAddress" type="EndpointAddress" minOccurs="0">
148
+ <xsd:annotation>
149
+ <xsd:documentation>Address to which CheckStatus requests are to be sent.</xsd:documentation>
150
+ </xsd:annotation>
151
+ </xsd:element>
152
+ <xsd:element name="SubscribeAddress" type="EndpointAddress" minOccurs="0">
153
+ <xsd:annotation>
154
+ <xsd:documentation>Address to which subscription requests are to be sent.</xsd:documentation>
155
+ </xsd:annotation>
156
+ </xsd:element>
157
+ <xsd:element name="ManageSubscriptionAddress" type="EndpointAddress" minOccurs="0">
158
+ <xsd:annotation>
159
+ <xsd:documentation>Address to which subscription requests are to be sent. If absent, same as SubscribeAddress.</xsd:documentation>
160
+ </xsd:annotation>
161
+ </xsd:element>
162
+ <xsd:element name="GetDataAddress" type="EndpointAddress" minOccurs="0">
163
+ <xsd:annotation>
164
+ <xsd:documentation>Address to which requests are to return data.</xsd:documentation>
165
+ </xsd:annotation>
166
+ </xsd:element>
167
+ </xsd:sequence>
168
+ </xsd:group>
169
+ <xsd:group name="ClientEndpointAddressGroup">
170
+ <xsd:annotation>
171
+ <xsd:documentation>Address elements for SIRI messages to the Subscriber/Consumer client.</xsd:documentation>
172
+ </xsd:annotation>
173
+ <xsd:sequence>
174
+ <xsd:element name="StatusResponseAddress" type="EndpointAddress" minOccurs="0">
175
+ <xsd:annotation>
176
+ <xsd:documentation>Address to which CheckStatus responses and heartbeats are to be sent. If absent, same as SubscriberAddress.</xsd:documentation>
177
+ </xsd:annotation>
178
+ </xsd:element>
179
+ <xsd:element name="SubscriberAddress" type="EndpointAddress" minOccurs="0">
180
+ <xsd:annotation>
181
+ <xsd:documentation>Address to which subscription responses are to be sent.</xsd:documentation>
182
+ </xsd:annotation>
183
+ </xsd:element>
184
+ <xsd:element name="NotifyAddress" type="EndpointAddress" minOccurs="0">
185
+ <xsd:annotation>
186
+ <xsd:documentation>Address to which notifcations requests are to be sent. If absent, same as SubscriberAddress.</xsd:documentation>
187
+ </xsd:annotation>
188
+ </xsd:element>
189
+ <xsd:element name="ConsumerAddress" type="EndpointAddress" minOccurs="0">
190
+ <xsd:annotation>
191
+ <xsd:documentation>Address to which data is to be sent. If absent, same as NotifyAddress.</xsd:documentation>
192
+ </xsd:annotation>
193
+ </xsd:element>
194
+ </xsd:sequence>
195
+ </xsd:group>
196
+ <xsd:complexType name="ServiceRequestContextStructure">
197
+ <xsd:annotation>
198
+ <xsd:documentation>Configurable context for requests. Intended Primarily as a documentation mechanism.</xsd:documentation>
199
+ </xsd:annotation>
200
+ <xsd:sequence>
201
+ <xsd:group ref="ServiceEndpointAddressGroup"/>
202
+ <xsd:group ref="ClientEndpointAddressGroup"/>
203
+ <xsd:group ref="ReferenceContextGroup"/>
204
+ <xsd:group ref="TemporalContextGroup"/>
205
+ <xsd:group ref="DeliveryContextGroup"/>
206
+ <xsd:group ref="ResourceContextGroup"/>
207
+ <xsd:group ref="PredictionMethodGroup"/>
208
+ </xsd:sequence>
209
+ </xsd:complexType>
210
+ <xsd:group name="DeliveryContextGroup">
211
+ <xsd:annotation>
212
+ <xsd:documentation>Delivery options.</xsd:documentation>
213
+ </xsd:annotation>
214
+ <xsd:sequence>
215
+ <xsd:element name="DeliveryMethod" type="DeliveryMethodEnumeration" default="direct" minOccurs="0">
216
+ <xsd:annotation>
217
+ <xsd:documentation>Whether Delivery is fetched or retrieved.</xsd:documentation>
218
+ </xsd:annotation>
219
+ </xsd:element>
220
+ <xsd:element name="MultipartDespatch" type="xsd:boolean" minOccurs="0">
221
+ <xsd:annotation>
222
+ <xsd:documentation>Whether multi-part delivery is allowed, i.e. the breaking up of updates into more than one delivery messages with a MoreData flag,</xsd:documentation>
223
+ </xsd:annotation>
224
+ </xsd:element>
225
+ <xsd:element name="ConfirmDelivery" type="xsd:boolean" default="false" minOccurs="0">
226
+ <xsd:annotation>
227
+ <xsd:documentation>Whether Consumers should issue an acknowledgement on successful receipt of a delivery. Default is ' false'.</xsd:documentation>
228
+ </xsd:annotation>
229
+ </xsd:element>
230
+ </xsd:sequence>
231
+ </xsd:group>
232
+ <xsd:simpleType name="DeliveryMethodEnumeration">
233
+ <xsd:annotation>
234
+ <xsd:documentation>Delivery Method: Fetched or Direct Delivery.</xsd:documentation>
235
+ </xsd:annotation>
236
+ <xsd:restriction base="xsd:NMTOKEN">
237
+ <xsd:enumeration value="direct"/>
238
+ <xsd:enumeration value="fetched"/>
239
+ </xsd:restriction>
240
+ </xsd:simpleType>
241
+ <xsd:group name="PredictionMethodGroup">
242
+ <xsd:annotation>
243
+ <xsd:documentation> Prediction options.</xsd:documentation>
244
+ </xsd:annotation>
245
+ <xsd:sequence>
246
+ <xsd:element name="AllowedPredictors" type="PredictorsEnumeration" default="anyone" minOccurs="0">
247
+ <xsd:annotation>
248
+ <xsd:documentation>Who may make a prediction.</xsd:documentation>
249
+ </xsd:annotation>
250
+ </xsd:element>
251
+ <xsd:element name="PredictionFunction" type="xsd:string" minOccurs="0">
252
+ <xsd:annotation>
253
+ <xsd:documentation>Name of prediction method used.</xsd:documentation>
254
+ </xsd:annotation>
255
+ </xsd:element>
256
+ </xsd:sequence>
257
+ </xsd:group>
258
+ <xsd:simpleType name="PredictorsEnumeration">
259
+ <xsd:annotation>
260
+ <xsd:documentation>Allowed values for predictors.</xsd:documentation>
261
+ </xsd:annotation>
262
+ <xsd:restriction base="xsd:NMTOKEN">
263
+ <xsd:enumeration value="avmsOnly"/>
264
+ <xsd:enumeration value="anyone"/>
265
+ </xsd:restriction>
266
+ </xsd:simpleType>
267
+ <xsd:group name="TemporalContextGroup">
268
+ <xsd:annotation>
269
+ <xsd:documentation>Timing related elements in Request Context:</xsd:documentation>
270
+ </xsd:annotation>
271
+ <xsd:sequence>
272
+ <xsd:element name="DataHorizon" type="PositiveDurationType" minOccurs="0">
273
+ <xsd:annotation>
274
+ <xsd:documentation>Maximum data horizon for requests.</xsd:documentation>
275
+ </xsd:annotation>
276
+ </xsd:element>
277
+ <xsd:element name="RequestTimeout" type="PositiveDurationType" minOccurs="0">
278
+ <xsd:annotation>
279
+ <xsd:documentation>Timeout for requests. [Should this be separate for each type?]</xsd:documentation>
280
+ </xsd:annotation>
281
+ </xsd:element>
282
+ </xsd:sequence>
283
+ </xsd:group>
284
+ <xsd:complexType name="DataNameSpacesStructure">
285
+ <xsd:annotation>
286
+ <xsd:documentation>Name spaces.</xsd:documentation>
287
+ </xsd:annotation>
288
+ <xsd:sequence>
289
+ <xsd:element name="StopPointNameSpace" type="xsd:anyURI" minOccurs="0">
290
+ <xsd:annotation>
291
+ <xsd:documentation>Name space for STOP POINTs.</xsd:documentation>
292
+ </xsd:annotation>
293
+ </xsd:element>
294
+ <xsd:element name="LineNameSpace" type="xsd:anyURI" minOccurs="0">
295
+ <xsd:annotation>
296
+ <xsd:documentation>Name space for LINE names and DIRECTIONss.</xsd:documentation>
297
+ </xsd:annotation>
298
+ </xsd:element>
299
+ <xsd:element name="ProductCategoryNameSpace" type="xsd:anyURI" minOccurs="0">
300
+ <xsd:annotation>
301
+ <xsd:documentation>Name space for Product Categories.</xsd:documentation>
302
+ </xsd:annotation>
303
+ </xsd:element>
304
+ <xsd:element name="ServiceFeatureNameSpace" type="xsd:anyURI" minOccurs="0">
305
+ <xsd:annotation>
306
+ <xsd:documentation>Name space for service features.</xsd:documentation>
307
+ </xsd:annotation>
308
+ </xsd:element>
309
+ <xsd:element name="VehicleFeatureNameSpace" type="xsd:anyURI" minOccurs="0">
310
+ <xsd:annotation>
311
+ <xsd:documentation>Name space for VEHICLE features.</xsd:documentation>
312
+ </xsd:annotation>
313
+ </xsd:element>
314
+ </xsd:sequence>
315
+ </xsd:complexType>
316
+ <xsd:group name="ReferenceContextGroup">
317
+ <xsd:annotation>
318
+ <xsd:documentation>Namespace related elements in Request Context.</xsd:documentation>
319
+ </xsd:annotation>
320
+ <xsd:sequence>
321
+ <xsd:element name="DataNameSpaces" type="DataNameSpacesStructure" minOccurs="0">
322
+ <xsd:annotation>
323
+ <xsd:documentation>Default names pace used to scope data identifiers.</xsd:documentation>
324
+ </xsd:annotation>
325
+ </xsd:element>
326
+ <xsd:element name="Language" type="xsd:language" default="en" minOccurs="0" maxOccurs="unbounded">
327
+ <xsd:annotation>
328
+ <xsd:documentation>Preferred languages in which to return text values.</xsd:documentation>
329
+ </xsd:annotation>
330
+ </xsd:element>
331
+ <xsd:choice minOccurs="0">
332
+ <xsd:annotation>
333
+ <xsd:documentation>Default geospatial Coordinates used by service.</xsd:documentation>
334
+ </xsd:annotation>
335
+ <xsd:element name="WgsDecimalDegrees" type="EmptyType">
336
+ <xsd:annotation>
337
+ <xsd:documentation>Geospatial coordinates are given as Wgs 84 Latiude and longitude, decimial degrees of arc.</xsd:documentation>
338
+ </xsd:annotation>
339
+ </xsd:element>
340
+ <xsd:element name="GmlCoordinateFormat" type="SrsNameType">
341
+ <xsd:annotation>
342
+ <xsd:documentation>Name of GML Coordinate format used for Geospatial points in responses.</xsd:documentation>
343
+ </xsd:annotation>
344
+ </xsd:element>
345
+ </xsd:choice>
346
+ <xsd:element name="DistanceUnits" type="xsd:normalizedString" minOccurs="0">
347
+ <xsd:annotation>
348
+ <xsd:documentation>Units for Distance Type. Default is metres. +SIRI v2.0</xsd:documentation>
349
+ </xsd:annotation>
350
+ </xsd:element>
351
+ <xsd:element name="VelocityUnits" type="xsd:normalizedString" minOccurs="0">
352
+ <xsd:annotation>
353
+ <xsd:documentation>Units for Distance Type. Default is metres per second. +SIRI v2.0</xsd:documentation>
354
+ </xsd:annotation>
355
+ </xsd:element>
356
+ </xsd:sequence>
357
+ </xsd:group>
358
+ <xsd:group name="ResourceContextGroup">
359
+ <xsd:annotation>
360
+ <xsd:documentation>Resources related elements in Request Context.</xsd:documentation>
361
+ </xsd:annotation>
362
+ <xsd:sequence>
363
+ <xsd:element name="MaximimumNumberOfSubscriptions" type="xsd:positiveInteger" minOccurs="0">
364
+ <xsd:annotation>
365
+ <xsd:documentation>Maximum Number of subscriptions that can be sustained by the subscriber. If absent no limit.</xsd:documentation>
366
+ </xsd:annotation>
367
+ </xsd:element>
368
+ </xsd:sequence>
369
+ </xsd:group>
370
+ <!-- ======================================================================= -->
371
+ <!--===SUBSCRIPTION MANAGEMENT ==================================================================== -->
372
+ <xsd:group name="SubscriptionManagementGroup">
373
+ <xsd:annotation>
374
+ <xsd:documentation>groups the subscription request.</xsd:documentation>
375
+ </xsd:annotation>
376
+ <xsd:sequence>
377
+ <xsd:element ref="SubscriptionResponse"/>
378
+ <xsd:element ref="TerminateSubscriptionRequest"/>
379
+ <xsd:element ref="TerminateSubscriptionResponse"/>
380
+ </xsd:sequence>
381
+ </xsd:group>
382
+ <!-- === GS: Terminate Subscription Resquest=================================================== -->
383
+ <xsd:element name="TerminateSubscriptionRequest" type="TerminateSubscriptionRequestStructure" substitutionGroup="AuthenticatedRequest">
384
+ <xsd:annotation>
385
+ <xsd:documentation>Request from Subscriber to Subscription Manager to terminate a subscription. Answered with a TerminateSubscriptionResponse.</xsd:documentation>
386
+ </xsd:annotation>
387
+ </xsd:element>
388
+ <xsd:complexType name="TerminateSubscriptionRequestStructure">
389
+ <xsd:annotation>
390
+ <xsd:documentation>Type for request to terminate a subscription or subscriptions.</xsd:documentation>
391
+ </xsd:annotation>
392
+ <xsd:complexContent>
393
+ <xsd:extension base="AuthenticatedRequestStructure">
394
+ <xsd:sequence>
395
+ <xsd:group ref="RequestorEndpointGroup"/>
396
+ <xsd:group ref="DelegatorEndpointGroup">
397
+ <xsd:annotation>
398
+ <xsd:documentation>If request has been proxied by an intermediate aggregating system , tracking information relating to the original requestor. This allows the aggregation to be stateless. +SIRI 2.0</xsd:documentation>
399
+ </xsd:annotation>
400
+ </xsd:group>
401
+ <xsd:group ref="TerminateSubscriptionTopicGroup"/>
402
+ <xsd:element ref="Extensions" minOccurs="0"/>
403
+ </xsd:sequence>
404
+ </xsd:extension>
405
+ </xsd:complexContent>
406
+ </xsd:complexType>
407
+ <xsd:group name="TerminateSubscriptionTopicGroup">
408
+ <xsd:annotation>
409
+ <xsd:documentation>Parameters that specify the content to be processed.</xsd:documentation>
410
+ </xsd:annotation>
411
+ <xsd:sequence>
412
+ <xsd:element name="SubscriberRef" type="ParticipantRefStructure" minOccurs="0">
413
+ <xsd:annotation>
414
+ <xsd:documentation>Participant identifier of Subscriber. Subscription ref will be unique within this.</xsd:documentation>
415
+ </xsd:annotation>
416
+ </xsd:element>
417
+ <xsd:choice>
418
+ <xsd:element name="All" type="EmptyType">
419
+ <xsd:annotation>
420
+ <xsd:documentation>Terminate all subscriptions for the requestor.</xsd:documentation>
421
+ </xsd:annotation>
422
+ </xsd:element>
423
+ <xsd:element name="SubscriptionRef" type="SubscriptionQualifierStructure" maxOccurs="unbounded">
424
+ <xsd:annotation>
425
+ <xsd:documentation>Terminate the subscription identfiied by the reference.</xsd:documentation>
426
+ </xsd:annotation>
427
+ </xsd:element>
428
+ </xsd:choice>
429
+ </xsd:sequence>
430
+ </xsd:group>
431
+ <xsd:group name="TerminationStatusGroup">
432
+ <xsd:annotation>
433
+ <xsd:documentation>Status Info.</xsd:documentation>
434
+ </xsd:annotation>
435
+ <xsd:sequence>
436
+ <xsd:element name="TerminationResponseStatus" type="TerminationResponseStatusStructure" minOccurs="0" maxOccurs="unbounded">
437
+ <xsd:annotation>
438
+ <xsd:documentation>Status of each subscription termnination response.</xsd:documentation>
439
+ </xsd:annotation>
440
+ </xsd:element>
441
+ </xsd:sequence>
442
+ </xsd:group>
443
+ <!-- === GS: Terminate Subscription Response======================================================== -->
444
+ <xsd:element name="TerminateSubscriptionResponse" type="TerminateSubscriptionResponseStructure" substitutionGroup="AbstractResponse">
445
+ <xsd:annotation>
446
+ <xsd:documentation>Request from Subscriber to Subscription Manager to terminate a subscription. Answered with a TerminateSubscriptionResponse.</xsd:documentation>
447
+ </xsd:annotation>
448
+ </xsd:element>
449
+ <xsd:complexType name="TerminateSubscriptionResponseStructure">
450
+ <xsd:annotation>
451
+ <xsd:documentation>Type for Response to a request to terminate a subscription or subscriptions.</xsd:documentation>
452
+ </xsd:annotation>
453
+ <xsd:complexContent>
454
+ <xsd:extension base="ResponseEndpointStructure">
455
+ <xsd:sequence>
456
+ <xsd:group ref="TerminationStatusGroup"/>
457
+ </xsd:sequence>
458
+ </xsd:extension>
459
+ </xsd:complexContent>
460
+ </xsd:complexType>
461
+ <xsd:complexType name="TerminationResponseStatusStructure">
462
+ <xsd:annotation>
463
+ <xsd:documentation>Type for Status of termination response.</xsd:documentation>
464
+ </xsd:annotation>
465
+ <xsd:sequence>
466
+ <xsd:element ref="ResponseTimestamp" minOccurs="0"/>
467
+ <xsd:group ref="ContextualisedResponseEndpointGroup"/>
468
+ <xsd:group ref="SubscriptionIdentifierResourcePropertyGroup" minOccurs="0"/>
469
+ <xsd:element ref="Status" minOccurs="0"/>
470
+ <xsd:element name="ErrorCondition" minOccurs="0">
471
+ <xsd:annotation>
472
+ <xsd:documentation>Description of any error or warning condition.</xsd:documentation>
473
+ </xsd:annotation>
474
+ <xsd:complexType>
475
+ <xsd:sequence>
476
+ <xsd:choice>
477
+ <xsd:element ref="CapabilityNotSupportedError"/>
478
+ <xsd:element ref="UnknownSubscriberError"/>
479
+ <xsd:element ref="UnknownSubscriptionError"/>
480
+ <xsd:element ref="OtherError"/>
481
+ </xsd:choice>
482
+ <xsd:element name="Description" type="ErrorDescriptionStructure" minOccurs="0">
483
+ <xsd:annotation>
484
+ <xsd:documentation>Text description of error.</xsd:documentation>
485
+ </xsd:annotation>
486
+ </xsd:element>
487
+ </xsd:sequence>
488
+ </xsd:complexType>
489
+ </xsd:element>
490
+ </xsd:sequence>
491
+ </xsd:complexType>
492
+ <!-- === GS: Terminate Subscription Notification ======================================================== -->
493
+ <xsd:element name="SubscriptionTerminatedNotification" type="SubscriptionTerminatedNotificationStructure" substitutionGroup="AbstractResponse">
494
+ <xsd:annotation>
495
+ <xsd:documentation>Notification from Subscriber to Subscription Manager to terminate a subscription.</xsd:documentation>
496
+ </xsd:annotation>
497
+ </xsd:element>
498
+ <xsd:complexType name="SubscriptionTerminatedNotificationStructure">
499
+ <xsd:annotation>
500
+ <xsd:documentation>Type for Notification to terminate a subscription or subscriptions.</xsd:documentation>
501
+ </xsd:annotation>
502
+ <xsd:complexContent>
503
+ <xsd:extension base="ProducerResponseStructure">
504
+ <xsd:sequence>
505
+ <xsd:group ref="SubscriptionIdentifierResourcePropertyGroup" maxOccurs="unbounded"/>
506
+ <xsd:element name="ErrrorCondition" type="ErrorConditionStructure" minOccurs="0">
507
+ <xsd:annotation>
508
+ <xsd:documentation>Text description providing additional information about the reason for the subscription termination.</xsd:documentation>
509
+ </xsd:annotation>
510
+ </xsd:element>
511
+ <xsd:element ref="Extensions" minOccurs="0"/>
512
+ </xsd:sequence>
513
+ </xsd:extension>
514
+ </xsd:complexContent>
515
+ </xsd:complexType>
516
+ <!-- ===Responses==================================================================== -->
517
+ <xsd:group name="StatusResponseGroup">
518
+ <xsd:annotation>
519
+ <xsd:documentation>Responses that infrom about the service status.</xsd:documentation>
520
+ </xsd:annotation>
521
+ <xsd:choice>
522
+ <xsd:element ref="CheckStatusResponse"/>
523
+ </xsd:choice>
524
+ </xsd:group>
525
+ <xsd:complexType name="StatusResponseStructure">
526
+ <xsd:annotation>
527
+ <xsd:documentation>Type for Response Status.</xsd:documentation>
528
+ </xsd:annotation>
529
+ <xsd:complexContent>
530
+ <xsd:extension base="ResponseStructure">
531
+ <xsd:sequence>
532
+ <xsd:group ref="ContextualisedResponseEndpointGroup"/>
533
+ <xsd:group ref="SubscriptionIdentifierResourcePropertyGroup" minOccurs="0"/>
534
+ <xsd:element ref="Status" minOccurs="0"/>
535
+ <xsd:element name="ErrorCondition" type="ServiceDeliveryErrorConditionStructure" minOccurs="0">
536
+ <xsd:annotation>
537
+ <xsd:documentation>Description of any error or warning condition.</xsd:documentation>
538
+ </xsd:annotation>
539
+ </xsd:element>
540
+ <xsd:group ref="SuccessInfoGroup"/>
541
+ </xsd:sequence>
542
+ </xsd:extension>
543
+ </xsd:complexContent>
544
+ </xsd:complexType>
545
+ <xsd:element name="ResponseStatus" type="StatusResponseStructure">
546
+ <xsd:annotation>
547
+ <xsd:documentation>Contains infromation about the processing of a an individual service subscription - either success info or an error condition. (VDV Acknowledgement).</xsd:documentation>
548
+ </xsd:annotation>
549
+ </xsd:element>
550
+ <!-- === GS: Subscription Response======================================================== -->
551
+ <xsd:element name="SubscriptionResponse" type="SubscriptionResponseStructure" substitutionGroup="AbstractResponse">
552
+ <xsd:annotation>
553
+ <xsd:documentation>Response from Producer to Consumer to inform whether subscriptions have been created. Answers a previous SubscriptionRequest.</xsd:documentation>
554
+ </xsd:annotation>
555
+ </xsd:element>
556
+ <xsd:complexType name="SubscriptionResponseStructure">
557
+ <xsd:annotation>
558
+ <xsd:documentation>Type for Subscription Response.</xsd:documentation>
559
+ </xsd:annotation>
560
+ <xsd:complexContent>
561
+ <xsd:extension base="ResponseEndpointStructure">
562
+ <xsd:sequence>
563
+ <xsd:group ref="SubscriptionResponsePayloadGroup"/>
564
+ </xsd:sequence>
565
+ </xsd:extension>
566
+ </xsd:complexContent>
567
+ </xsd:complexType>
568
+ <xsd:group name="SubscriptionResponsePayloadGroup">
569
+ <xsd:annotation>
570
+ <xsd:documentation>Subscription Response content.</xsd:documentation>
571
+ </xsd:annotation>
572
+ <xsd:sequence>
573
+ <xsd:element ref="ResponseStatus" maxOccurs="unbounded"/>
574
+ <xsd:element name="SubscriptionManagerAddress" type="EndpointAddress" minOccurs="0">
575
+ <xsd:annotation>
576
+ <xsd:documentation>Endpoint address of subscription manager if different from that of the Producer or known default.</xsd:documentation>
577
+ </xsd:annotation>
578
+ </xsd:element>
579
+ <xsd:element name="ServiceStartedTime" type="xsd:dateTime" minOccurs="0">
580
+ <xsd:annotation>
581
+ <xsd:documentation>Time at which service providing the subscription was last started. Can be used to detect restarts. If absent, unknown.</xsd:documentation>
582
+ </xsd:annotation>
583
+ </xsd:element>
584
+ <xsd:element ref="Extensions" minOccurs="0"/>
585
+ </xsd:sequence>
586
+ </xsd:group>
587
+ <!-- ===DATA DELIVERY ============================================================== -->
588
+ <xsd:group name="DeliveryRequestGroup">
589
+ <xsd:annotation>
590
+ <xsd:documentation>General requests for fetched data delivery.</xsd:documentation>
591
+ </xsd:annotation>
592
+ <xsd:choice>
593
+ <xsd:element ref="DataReadyNotification"/>
594
+ <xsd:element ref="DataSupplyRequest"/>
595
+ </xsd:choice>
596
+ </xsd:group>
597
+ <!-- === GS: Data Ready Notification======================================================== -->
598
+ <xsd:element name="DataReadyNotification" type="DataReadyRequestStructure" substitutionGroup="ProducerRequest">
599
+ <xsd:annotation>
600
+ <xsd:documentation>Request from Producer to Consumer to notify that data update is ready to fetch. Answered with a DataReadyResponse.</xsd:documentation>
601
+ </xsd:annotation>
602
+ </xsd:element>
603
+ <xsd:group name="DataSupplyGroup">
604
+ <xsd:annotation>
605
+ <xsd:documentation>Groups the data supply messages.</xsd:documentation>
606
+ </xsd:annotation>
607
+ <xsd:sequence>
608
+ <xsd:element ref="DataReadyNotification"/>
609
+ <xsd:element ref="DataSupplyRequest"/>
610
+ <xsd:element ref="DataReceivedAcknowledgement"/>
611
+ </xsd:sequence>
612
+ </xsd:group>
613
+ <xsd:complexType name="DataReadyRequestStructure">
614
+ <xsd:annotation>
615
+ <xsd:documentation>Type for Request from Producer to Consumer to notify that data update is ready to fetch. Answered with a DataReadyResponse.</xsd:documentation>
616
+ </xsd:annotation>
617
+ <xsd:complexContent>
618
+ <xsd:extension base="AbstractNotificationStructure"/>
619
+ </xsd:complexContent>
620
+ </xsd:complexType>
621
+ <!-- === GS: Data Ready Acknowledgement======================================================= -->
622
+ <xsd:element name="DataReadyAcknowledgement" type="DataReadyResponseStructure" substitutionGroup="AbstractResponse">
623
+ <xsd:annotation>
624
+ <xsd:documentation>Response from Consumer to Producer to acknowledge to Producer that a DataReadyRequest has been received.</xsd:documentation>
625
+ </xsd:annotation>
626
+ </xsd:element>
627
+ <xsd:complexType name="DataReadyResponseStructure">
628
+ <xsd:annotation>
629
+ <xsd:documentation>Type for Data ready Acknowledgement Response.</xsd:documentation>
630
+ </xsd:annotation>
631
+ <xsd:complexContent>
632
+ <xsd:extension base="ConsumerResponseEndpointStructure">
633
+ <xsd:sequence>
634
+ <xsd:element ref="Status" minOccurs="0"/>
635
+ <xsd:element name="ErrorCondition" minOccurs="0">
636
+ <xsd:annotation>
637
+ <xsd:documentation>Description of any error or warning condition as to why Consumer cannot fetch data.</xsd:documentation>
638
+ </xsd:annotation>
639
+ <xsd:complexType>
640
+ <xsd:sequence>
641
+ <xsd:choice>
642
+ <xsd:element ref="UnknownSubscriptionError"/>
643
+ <xsd:element ref="OtherError"/>
644
+ </xsd:choice>
645
+ <xsd:sequence>
646
+ <xsd:element name="Description" type="ErrorDescriptionStructure" minOccurs="0">
647
+ <xsd:annotation>
648
+ <xsd:documentation>Text description of error.</xsd:documentation>
649
+ </xsd:annotation>
650
+ </xsd:element>
651
+ </xsd:sequence>
652
+ </xsd:sequence>
653
+ </xsd:complexType>
654
+ </xsd:element>
655
+ </xsd:sequence>
656
+ </xsd:extension>
657
+ </xsd:complexContent>
658
+ </xsd:complexType>
659
+ <!-- ======================================================================= -->
660
+ <!-- ====GS: Data Supply Request ======================================================= -->
661
+ <xsd:element name="DataSupplyRequest" type="DataSupplyRequestStructure" substitutionGroup="AbstractRequest">
662
+ <xsd:annotation>
663
+ <xsd:documentation>Request from Consumer to Producer to fetch update previously notified by a Data ready message. Answered with a Service Delivery.</xsd:documentation>
664
+ </xsd:annotation>
665
+ </xsd:element>
666
+ <xsd:complexType name="DataSupplyRequestStructure">
667
+ <xsd:annotation>
668
+ <xsd:documentation>Type for Data supply Request.</xsd:documentation>
669
+ </xsd:annotation>
670
+ <xsd:complexContent>
671
+ <xsd:extension base="ConsumerRequestEndpointStructure">
672
+ <xsd:sequence>
673
+ <xsd:group ref="DataSupplyTopicGroup"/>
674
+ </xsd:sequence>
675
+ </xsd:extension>
676
+ </xsd:complexContent>
677
+ </xsd:complexType>
678
+ <xsd:group name="DataSupplyTopicGroup">
679
+ <xsd:annotation>
680
+ <xsd:documentation>Specifies content to be included in data supply.</xsd:documentation>
681
+ </xsd:annotation>
682
+ <xsd:sequence>
683
+ <xsd:element name="NotificationRef" type="MessageRefStructure" minOccurs="0">
684
+ <xsd:annotation>
685
+ <xsd:documentation>Reference to a specific notification message for which data is to be fetched. Can be used to distinguish between notfcatiosn for the same service and subscriber but for different filters.If none specified,</xsd:documentation>
686
+ </xsd:annotation>
687
+ </xsd:element>
688
+ <xsd:element name="AllData" type="xsd:boolean" default="false" minOccurs="0">
689
+ <xsd:annotation>
690
+ <xsd:documentation>Whether to return all data, or just new updates since the last delivery. Default false, i.e. just updates.</xsd:documentation>
691
+ </xsd:annotation>
692
+ </xsd:element>
693
+ </xsd:sequence>
694
+ </xsd:group>
695
+ <!-- ====GS: Data Received Response ======================================================= -->
696
+ <xsd:element name="DataReceivedAcknowledgement" type="DataReceivedResponseStructure" substitutionGroup="AbstractResponse">
697
+ <xsd:annotation>
698
+ <xsd:documentation>Response from Consumer to Producer to acknowledge that data hase been received. Used as optioanl extra step if reliable delivery is needed. Answers a ServiceDelivery.</xsd:documentation>
699
+ </xsd:annotation>
700
+ </xsd:element>
701
+ <xsd:group name="DataReceivedPayloadGroup">
702
+ <xsd:annotation>
703
+ <xsd:documentation>Data received Acknowledgement content.</xsd:documentation>
704
+ </xsd:annotation>
705
+ <xsd:sequence>
706
+ <xsd:element ref="Status" minOccurs="0"/>
707
+ <xsd:element name="ErrorCondition" minOccurs="0">
708
+ <xsd:annotation>
709
+ <xsd:documentation>Description of any error or warning condition.</xsd:documentation>
710
+ </xsd:annotation>
711
+ <xsd:complexType>
712
+ <xsd:sequence>
713
+ <xsd:choice>
714
+ <xsd:element ref="UnknownSubscriptionError"/>
715
+ <xsd:element ref="OtherError"/>
716
+ </xsd:choice>
717
+ <xsd:sequence>
718
+ <xsd:element name="Description" type="ErrorDescriptionStructure" minOccurs="0">
719
+ <xsd:annotation>
720
+ <xsd:documentation>Text description of error.</xsd:documentation>
721
+ </xsd:annotation>
722
+ </xsd:element>
723
+ </xsd:sequence>
724
+ </xsd:sequence>
725
+ </xsd:complexType>
726
+ </xsd:element>
727
+ </xsd:sequence>
728
+ </xsd:group>
729
+ <xsd:complexType name="DataReceivedResponseStructure">
730
+ <xsd:annotation>
731
+ <xsd:documentation>Type for Data received Acknowledgement Response.</xsd:documentation>
732
+ </xsd:annotation>
733
+ <xsd:complexContent>
734
+ <xsd:extension base="ConsumerResponseEndpointStructure">
735
+ <xsd:sequence>
736
+ <xsd:group ref="DataReceivedPayloadGroup"/>
737
+ </xsd:sequence>
738
+ </xsd:extension>
739
+ </xsd:complexContent>
740
+ </xsd:complexType>
741
+ <xsd:group name="DeliveryEndpointGroup">
742
+ <xsd:annotation>
743
+ <xsd:documentation>Elements identifying data Consumer, i.e. requestor, if synchronous delivery or subscriber if asynchronous.</xsd:documentation>
744
+ </xsd:annotation>
745
+ <xsd:sequence>
746
+ <xsd:element ref="RequestorRef" minOccurs="0"/>
747
+ <xsd:element name="MessageRef" type="MessageRefStructure" minOccurs="0">
748
+ <xsd:annotation>
749
+ <xsd:documentation>Reference to an arbitrary unique reference associated with the request which gave rise to this response.</xsd:documentation>
750
+ </xsd:annotation>
751
+ </xsd:element>
752
+ </xsd:sequence>
753
+ </xsd:group>
754
+ <!-- ==== GS: Check Status Request =================================================== -->
755
+ <xsd:element name="CheckStatusRequest" type="CheckStatusRequestStructure" substitutionGroup="AbstractTrackedRequest">
756
+ <xsd:annotation>
757
+ <xsd:documentation>Request from Consumer to Producer to check whether services is working. Answers a CheckStatusRequest.</xsd:documentation>
758
+ </xsd:annotation>
759
+ </xsd:element>
760
+ <xsd:complexType name="CheckStatusRequestStructure">
761
+ <xsd:annotation>
762
+ <xsd:documentation>Type for check status request.</xsd:documentation>
763
+ </xsd:annotation>
764
+ <xsd:complexContent>
765
+ <xsd:extension base="RequestStructure">
766
+ <xsd:sequence>
767
+ <xsd:element ref="Extensions" minOccurs="0"/>
768
+ </xsd:sequence>
769
+ <xsd:attribute name="version" type="VersionString" default="2.1">
770
+ <xsd:annotation>
771
+ <xsd:documentation>Version number of request.
772
+ </xsd:documentation>
773
+ </xsd:annotation>
774
+ </xsd:attribute>
775
+ </xsd:extension>
776
+ </xsd:complexContent>
777
+ </xsd:complexType>
778
+ <xsd:group name="CheckStatusPayloadGroup">
779
+ <xsd:annotation>
780
+ <xsd:documentation>Data received AcknowledgementService Status Check Request content.</xsd:documentation>
781
+ </xsd:annotation>
782
+ <xsd:sequence>
783
+ <xsd:element ref="Status" minOccurs="0"/>
784
+ <xsd:element name="DataReady" type="xsd:boolean" minOccurs="0">
785
+ <xsd:annotation>
786
+ <xsd:documentation>Whether data delivery is ready to be fetched SIRI v 2.0</xsd:documentation>
787
+ </xsd:annotation>
788
+ </xsd:element>
789
+ <xsd:element name="ErrorCondition" minOccurs="0">
790
+ <xsd:annotation>
791
+ <xsd:documentation>Description of any error or warning condition that applies to the status check.</xsd:documentation>
792
+ </xsd:annotation>
793
+ <xsd:complexType>
794
+ <xsd:sequence>
795
+ <xsd:choice>
796
+ <xsd:element ref="ServiceNotAvailableError"/>
797
+ <xsd:element ref="OtherError"/>
798
+ </xsd:choice>
799
+ <xsd:element name="Description" type="ErrorDescriptionStructure" minOccurs="0">
800
+ <xsd:annotation>
801
+ <xsd:documentation>Text description of error.</xsd:documentation>
802
+ </xsd:annotation>
803
+ </xsd:element>
804
+ </xsd:sequence>
805
+ </xsd:complexType>
806
+ </xsd:element>
807
+ <xsd:group ref="SuccessInfoGroup"/>
808
+ <xsd:element name="ServiceStartedTime" type="xsd:dateTime" minOccurs="0">
809
+ <xsd:annotation>
810
+ <xsd:documentation>Time at which current instantiation of service started.</xsd:documentation>
811
+ </xsd:annotation>
812
+ </xsd:element>
813
+ </xsd:sequence>
814
+ </xsd:group>
815
+ <!-- =====GS: Check Status Request ============================================= -->
816
+ <xsd:element name="CheckStatusResponse" type="CheckStatusResponseStructure" substitutionGroup="AbstractResponse">
817
+ <xsd:annotation>
818
+ <xsd:documentation>Response from Producer to Consumer to inform whether services is working. Answers a CheckStatusRequest.</xsd:documentation>
819
+ </xsd:annotation>
820
+ </xsd:element>
821
+ <xsd:complexType name="CheckStatusResponseStructure">
822
+ <xsd:annotation>
823
+ <xsd:documentation>Type for Service Status Check Response.</xsd:documentation>
824
+ </xsd:annotation>
825
+ <xsd:complexContent>
826
+ <xsd:extension base="ResponseStructure">
827
+ <xsd:sequence>
828
+ <xsd:group ref="ProducerResponseEndpointGroup"/>
829
+ <xsd:group ref="DelegatorEndpointGroup"/>
830
+ <xsd:group ref="CheckStatusPayloadGroup"/>
831
+ <xsd:element ref="Extensions" minOccurs="0"/>
832
+ </xsd:sequence>
833
+ </xsd:extension>
834
+ </xsd:complexContent>
835
+ </xsd:complexType>
836
+ <!-- ==== GS: Heartbeat Response ================================================ -->
837
+ <xsd:element name="HeartbeatNotification" type="HeartbeatNotificationStructure" substitutionGroup="ProducerRequest">
838
+ <xsd:annotation>
839
+ <xsd:documentation>Notification from Producer to Consumer to indicate that the service is running normally.</xsd:documentation>
840
+ </xsd:annotation>
841
+ </xsd:element>
842
+ <xsd:complexType name="HeartbeatNotificationStructure">
843
+ <xsd:annotation>
844
+ <xsd:documentation>Type for Service Heartbeat Notification.</xsd:documentation>
845
+ </xsd:annotation>
846
+ <xsd:complexContent>
847
+ <xsd:extension base="ProducerRequestEndpointStructure">
848
+ <xsd:sequence>
849
+ <xsd:group ref="CheckStatusPayloadGroup"/>
850
+ <xsd:element ref="Extensions" minOccurs="0"/>
851
+ </xsd:sequence>
852
+ </xsd:extension>
853
+ </xsd:complexContent>
854
+ </xsd:complexType>
855
+ <!-- ======================================================================= -->
856
+ <!-- ===WSDL=============================================================== -->
857
+ <xsd:complexType name="SubscriptionResponseBodyStructure">
858
+ <xsd:annotation>
859
+ <xsd:documentation>Type for Body of Subscription Response. Used in WSDL.</xsd:documentation>
860
+ </xsd:annotation>
861
+ <xsd:sequence>
862
+ <xsd:element ref="ResponseStatus" maxOccurs="unbounded"/>
863
+ <xsd:element name="SubscriptionManagerAddress" type="EndpointAddress" minOccurs="0">
864
+ <xsd:annotation>
865
+ <xsd:documentation>Endpoint address of subscription manager if different from that of the Producer or known default.</xsd:documentation>
866
+ </xsd:annotation>
867
+ </xsd:element>
868
+ <xsd:element name="ServiceStartedTime" type="xsd:dateTime" minOccurs="0">
869
+ <xsd:annotation>
870
+ <xsd:documentation>Time at which service providing the subscription was last started. Can be used to detect restarts. If absent, unknown.</xsd:documentation>
871
+ </xsd:annotation>
872
+ </xsd:element>
873
+ </xsd:sequence>
874
+ </xsd:complexType>
875
+ <xsd:complexType name="TerminateSubscriptionRequestBodyStructure">
876
+ <xsd:annotation>
877
+ <xsd:documentation>Type for Body of Terminate Subscription Request content. Used in WSDL. </xsd:documentation>
878
+ </xsd:annotation>
879
+ <xsd:sequence>
880
+ <xsd:group ref="TerminateSubscriptionTopicGroup"/>
881
+ </xsd:sequence>
882
+ </xsd:complexType>
883
+ <xsd:complexType name="DataSupplyRequestBodyStructure">
884
+ <xsd:annotation>
885
+ <xsd:documentation>Type for Body of Data Supply Request. Used in WSDL.</xsd:documentation>
886
+ </xsd:annotation>
887
+ <xsd:sequence>
888
+ <xsd:group ref="DataSupplyTopicGroup"/>
889
+ </xsd:sequence>
890
+ </xsd:complexType>
891
+ <xsd:complexType name="CheckStatusResponseBodyStructure">
892
+ <xsd:annotation>
893
+ <xsd:documentation>Type for Body of Service Status Check Response. Used in WSDL.</xsd:documentation>
894
+ <xsd:documentation>Same as CheckStatusResponseStructure, but without extension to be consistent with the other operation definition.</xsd:documentation>
895
+ </xsd:annotation>
896
+ <xsd:sequence>
897
+ <xsd:group ref="CheckStatusPayloadGroup"/>
898
+ </xsd:sequence>
899
+ </xsd:complexType>
900
+ </xsd:schema>