siri-xsd 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +47 -0
- data/README.md +23 -0
- data/bitbucket-pipelines.yml +18 -0
- data/exe/siri-xsd-validate +42 -0
- data/lib/siri/xsd/validator.rb +62 -0
- data/lib/siri/xsd/version.rb +5 -0
- data/lib/siri/xsd.rb +10 -0
- data/siri-xsd.gemspec +35 -0
- data/vendor/xsd/acsb/acsb_accessibility.xsd +138 -0
- data/vendor/xsd/acsb/acsb_all.xsd +11 -0
- data/vendor/xsd/acsb/acsb_limitations.xsd +141 -0
- data/vendor/xsd/acsb/acsb_passengerMobility.xsd +212 -0
- data/vendor/xsd/datex2/DATEXIISchema.xsd +3713 -0
- data/vendor/xsd/datex2/DATEXIISchemaWithDefinitions.xsd +11538 -0
- data/vendor/xsd/gml/basicTypes.xsd +267 -0
- data/vendor/xsd/gml/geometryBasic0d1d-extract.xsd +271 -0
- data/vendor/xsd/gml/gmlBase-extract.xsd +168 -0
- data/vendor/xsd/gml/gmlBasic2d-extract.xsd +120 -0
- data/vendor/xsd/gml/gml_extract_all_objects.xsd +12 -0
- data/vendor/xsd/ifopt/ifopt_administration.xsd +254 -0
- data/vendor/xsd/ifopt/ifopt_allStopPlace.xsd +33 -0
- data/vendor/xsd/ifopt/ifopt_checkpoint.xsd +222 -0
- data/vendor/xsd/ifopt/ifopt_countries.xsd +1320 -0
- data/vendor/xsd/ifopt/ifopt_equipment.xsd +207 -0
- data/vendor/xsd/ifopt/ifopt_location.xsd +281 -0
- data/vendor/xsd/ifopt/ifopt_modes.xsd +84 -0
- data/vendor/xsd/ifopt/ifopt_modification.xsd +173 -0
- data/vendor/xsd/ifopt/ifopt_path.xsd +164 -0
- data/vendor/xsd/ifopt/ifopt_stop.xsd +403 -0
- data/vendor/xsd/ifopt/ifopt_time.xsd +131 -0
- data/vendor/xsd/ifopt/ifopt_types.xsd +96 -0
- data/vendor/xsd/siri/siri_all_framework.xsd +12 -0
- data/vendor/xsd/siri/siri_base.xsd +315 -0
- data/vendor/xsd/siri/siri_common_services.xsd +900 -0
- data/vendor/xsd/siri/siri_request_errorConditions.xsd +590 -0
- data/vendor/xsd/siri/siri_request_support.xsd +210 -0
- data/vendor/xsd/siri/siri_requests.xsd +1072 -0
- data/vendor/xsd/siri.xsd +531 -0
- data/vendor/xsd/siriSg.xsd +149 -0
- data/vendor/xsd/siri_all_functionalServices.xsd +95 -0
- data/vendor/xsd/siri_connectionMonitoring_service.xsd +731 -0
- data/vendor/xsd/siri_connectionTimetable_service.xsd +485 -0
- data/vendor/xsd/siri_discovery.xsd +898 -0
- data/vendor/xsd/siri_estimatedTimetable_service.xsd +490 -0
- data/vendor/xsd/siri_facilityMonitoring_service.xsd +493 -0
- data/vendor/xsd/siri_generalMessage_service.xsd +483 -0
- data/vendor/xsd/siri_model/siri_all.xsd +13 -0
- data/vendor/xsd/siri_model/siri_all_journeyModel.xsd +21 -0
- data/vendor/xsd/siri_model/siri_all_model.xsd +13 -0
- data/vendor/xsd/siri_model/siri_all_situation.xsd +17 -0
- data/vendor/xsd/siri_model/siri_datedVehicleJourney.xsd +702 -0
- data/vendor/xsd/siri_model/siri_estimatedVehicleJourney.xsd +472 -0
- data/vendor/xsd/siri_model/siri_facilities.xsd +517 -0
- data/vendor/xsd/siri_model/siri_facility.xsd +760 -0
- data/vendor/xsd/siri_model/siri_feature_support.xsd +145 -0
- data/vendor/xsd/siri_model/siri_interchangeJourney.xsd +88 -0
- data/vendor/xsd/siri_model/siri_journey.xsd +1903 -0
- data/vendor/xsd/siri_model/siri_journey_support.xsd +1022 -0
- data/vendor/xsd/siri_model/siri_modelPermissions.xsd +338 -0
- data/vendor/xsd/siri_model/siri_modes.xsd +686 -0
- data/vendor/xsd/siri_model/siri_monitoredVehicleJourney.xsd +638 -0
- data/vendor/xsd/siri_model/siri_operator_support.xsd +87 -0
- data/vendor/xsd/siri_model/siri_reference.xsd +844 -0
- data/vendor/xsd/siri_model/siri_situation.xsd +1545 -0
- data/vendor/xsd/siri_model/siri_situationActions.xsd +755 -0
- data/vendor/xsd/siri_model/siri_situationAffects.xsd +1533 -0
- data/vendor/xsd/siri_model/siri_situationClassifiers.xsd +430 -0
- data/vendor/xsd/siri_model/siri_situationIdentity.xsd +247 -0
- data/vendor/xsd/siri_model/siri_situationReasons.xsd +1370 -0
- data/vendor/xsd/siri_model/siri_situationServiceTypes.xsd +639 -0
- data/vendor/xsd/siri_model/siri_targetedVehicleJourney.xsd +136 -0
- data/vendor/xsd/siri_model/siri_time.xsd +356 -0
- data/vendor/xsd/siri_model_discovery/siri_connectionLink.xsd +115 -0
- data/vendor/xsd/siri_model_discovery/siri_feature.xsd +158 -0
- data/vendor/xsd/siri_model_discovery/siri_infoChannel.xsd +99 -0
- data/vendor/xsd/siri_model_discovery/siri_line.xsd +241 -0
- data/vendor/xsd/siri_model_discovery/siri_stopPoint.xsd +158 -0
- data/vendor/xsd/siri_productionTimetable_service.xsd +514 -0
- data/vendor/xsd/siri_situationExchange_service.xsd +785 -0
- data/vendor/xsd/siri_stopMonitoring_service.xsd +1052 -0
- data/vendor/xsd/siri_stopTimetable_service.xsd +463 -0
- data/vendor/xsd/siri_utility/siri_all_utility.xsd +14 -0
- data/vendor/xsd/siri_utility/siri_location.xsd +270 -0
- data/vendor/xsd/siri_utility/siri_participant.xsd +79 -0
- data/vendor/xsd/siri_utility/siri_permissions.xsd +135 -0
- data/vendor/xsd/siri_utility/siri_types.xsd +166 -0
- data/vendor/xsd/siri_utility/siri_utility.xsd +301 -0
- data/vendor/xsd/siri_vehicleMonitoring_service.xsd +702 -0
- data/vendor/xsd/siri_wsConsumer-Document.wsdl +177 -0
- data/vendor/xsd/siri_wsConsumer-WSDL2.wsdl +96 -0
- data/vendor/xsd/siri_wsConsumer.wsdl +200 -0
- data/vendor/xsd/siri_wsProducer-Document.wsdl +558 -0
- data/vendor/xsd/siri_wsProducer-WSDL2.wsdl +229 -0
- data/vendor/xsd/siri_wsProducer.wsdl +629 -0
- data/vendor/xsd/soap.xsd +118 -0
- data/vendor/xsd/wsdl_model/siri-wsdl.xsd +8 -0
- data/vendor/xsd/wsdl_model/siri_wsConsumer-Framework.xsd +98 -0
- data/vendor/xsd/wsdl_model/siri_wsConsumer-Services.xsd +155 -0
- data/vendor/xsd/wsdl_model/siri_wsProducer-DiscoveryCapability.xsd +123 -0
- data/vendor/xsd/wsdl_model/siri_wsProducer-Framework.xsd +138 -0
- data/vendor/xsd/wsdl_model/siri_wsProducer-Services.xsd +263 -0
- data/vendor/xsd/xml/2008/09/xsd.xsl +997 -0
- data/vendor/xsd/xml/2009/01/XMLSchema.xsd +286 -0
- metadata +222 -0
@@ -0,0 +1,136 @@
|
|
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_targetedVehicleJourney">
|
3
|
+
<xsd:annotation>
|
4
|
+
<xsd:appinfo>
|
5
|
+
<Metadata xmlns="http://www.govtalk.gov.uk/CM/gms-xs">
|
6
|
+
<Aggregation>main schema</Aggregation>
|
7
|
+
<Audience>e-service developers</Audience>
|
8
|
+
<Contributor>CEN TC278 WG3 SG7 Team</Contributor>
|
9
|
+
<Coverage>Europe</Coverage>
|
10
|
+
<Creator>Drafted for version 1.0 CEN TC278 WG3 SG7 Editor Nicholas Knowles, Kizoom. mailto:schemer@siri.org.uk</Creator>
|
11
|
+
<Date>
|
12
|
+
<Created>2004-09-29</Created>
|
13
|
+
</Date>
|
14
|
+
<Date>
|
15
|
+
<Modified>2004-10-01</Modified>
|
16
|
+
</Date>
|
17
|
+
<Date>
|
18
|
+
<Modified>2005-02-14</Modified>
|
19
|
+
</Date>
|
20
|
+
<Date>
|
21
|
+
<Modified>2005-02-20</Modified>
|
22
|
+
</Date>
|
23
|
+
<Date>
|
24
|
+
<Modified>2005-05-11</Modified>
|
25
|
+
</Date>
|
26
|
+
<Date>
|
27
|
+
<Modified>2005-12-12</Modified>
|
28
|
+
</Date>
|
29
|
+
<Date>
|
30
|
+
<Modified>2007-04-17</Modified>
|
31
|
+
<!-- Name Space changes -->
|
32
|
+
</Date>
|
33
|
+
<Date>
|
34
|
+
<Modified>2007-03-26</Modified>
|
35
|
+
<!-- Drop separate flatten structure on response for stopVisit -->
|
36
|
+
</Date>
|
37
|
+
<Date>
|
38
|
+
<Modified>2008-11-17</Modified>
|
39
|
+
<!-- Revise to support substitution groups -->
|
40
|
+
</Date>
|
41
|
+
<Date>
|
42
|
+
<Modified>2012-03-23</Modified>
|
43
|
+
<!-- +SIRI v2.0 -->
|
44
|
+
</Date>
|
45
|
+
<Description>
|
46
|
+
<p>SIRI is a European CEN standard for the exchange of Public Transport real-time information.</p>
|
47
|
+
<p>This sub-schema describes the TargetedVehicleJourney used in the Stop Timetable Service.</p>
|
48
|
+
</Description>
|
49
|
+
<Format>
|
50
|
+
<MediaType>text/xml</MediaType>
|
51
|
+
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
|
52
|
+
<Description>XML schema, W3C Recommendation 2001</Description>
|
53
|
+
</Format>
|
54
|
+
<Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri_model/}siri_targetedVehicleJourney.xsd</Identifier>
|
55
|
+
<Language>[ISO 639-2/B] ENG</Language>
|
56
|
+
<Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
|
57
|
+
<Relation>
|
58
|
+
<Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_model/siri_journey.xsd</Requires>
|
59
|
+
</Relation>
|
60
|
+
<Rights><!--Unclassified-->
|
61
|
+
<Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
|
62
|
+
</Rights>
|
63
|
+
<Source>
|
64
|
+
<ul>
|
65
|
+
<li>Derived from the VDV, RTIG XML and Trident standards.</li>
|
66
|
+
</ul>
|
67
|
+
</Source>
|
68
|
+
<Status>Version 2.1</Status>
|
69
|
+
<Subject>
|
70
|
+
<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
|
71
|
+
Air transport, Airports,
|
72
|
+
Ports and maritime transport, Ferries (marine),
|
73
|
+
Public transport, Bus services, Coach services, Bus stops and stations,
|
74
|
+
Rail transport, Railway stations and track, Train services, Underground trains,
|
75
|
+
Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
|
76
|
+
Rail transport, Roads and road transport
|
77
|
+
</Category>
|
78
|
+
<Project>CEN TC278 WG3 SG7</Project>
|
79
|
+
</Subject>
|
80
|
+
<Title>SIRI XML schema. Service Interface for Real-time Information. Subschema for Stop Timetable Service.</Title>
|
81
|
+
<Type>Standard</Type>
|
82
|
+
</Metadata>
|
83
|
+
</xsd:appinfo>
|
84
|
+
<xsd:documentation>SIRI-ST TargetedVehicleJourney for Stop Timetable Service.</xsd:documentation>
|
85
|
+
</xsd:annotation>
|
86
|
+
<!-- ======================================================================= -->
|
87
|
+
<xsd:include schemaLocation="siri_journey.xsd"/>
|
88
|
+
<!-- ====Targeted VEHICLE JOURNEY ==================================== -->
|
89
|
+
<xsd:element name="TargetedVehicleJourney" type="TargetedVehicleJourneyStructure">
|
90
|
+
<xsd:annotation>
|
91
|
+
<xsd:documentation>Timetabled VEHICLE JOURNEY.</xsd:documentation>
|
92
|
+
</xsd:annotation>
|
93
|
+
</xsd:element>
|
94
|
+
<xsd:complexType name="TargetedVehicleJourneyStructure">
|
95
|
+
<xsd:annotation>
|
96
|
+
<xsd:documentation>Type for a targeted VEHICLE JOURNEY.</xsd:documentation>
|
97
|
+
</xsd:annotation>
|
98
|
+
<xsd:sequence>
|
99
|
+
<xsd:group ref="JourneyIdentityGroup"/>
|
100
|
+
<xsd:group ref="JourneyPatternInfoGroup"/>
|
101
|
+
<xsd:group ref="VehicleJourneyInfoGroup"/>
|
102
|
+
<xsd:element ref="TargetedCall" minOccurs="0"/>
|
103
|
+
</xsd:sequence>
|
104
|
+
</xsd:complexType>
|
105
|
+
<!-- ====Targeted CALL ============================================= -->
|
106
|
+
<xsd:group name="TargetedCallGroup">
|
107
|
+
<xsd:annotation>
|
108
|
+
<xsd:documentation>Elements for a targeted call.</xsd:documentation>
|
109
|
+
</xsd:annotation>
|
110
|
+
<xsd:sequence>
|
111
|
+
<xsd:element name="StopPointRef" type="StopPointRefStructure" minOccurs="0">
|
112
|
+
<xsd:annotation>
|
113
|
+
<xsd:documentation>Reference to a SCHEDULED STOP POINT. Normally this will omitted as will be the same as the monitoring point.</xsd:documentation>
|
114
|
+
</xsd:annotation>
|
115
|
+
</xsd:element>
|
116
|
+
<xsd:element ref="VisitNumber"/>
|
117
|
+
<xsd:element ref="Order" minOccurs="0"/>
|
118
|
+
<xsd:element ref="TimingPoint" minOccurs="0"/>
|
119
|
+
<xsd:group ref="ServiceInfoGroup"/>
|
120
|
+
<xsd:group ref="AimedCallGroup"/>
|
121
|
+
</xsd:sequence>
|
122
|
+
</xsd:group>
|
123
|
+
<xsd:element name="TargetedCall" type="TargetedCallStructure">
|
124
|
+
<xsd:annotation>
|
125
|
+
<xsd:documentation>Information about the call at the stop.</xsd:documentation>
|
126
|
+
</xsd:annotation>
|
127
|
+
</xsd:element>
|
128
|
+
<xsd:complexType name="TargetedCallStructure">
|
129
|
+
<xsd:annotation>
|
130
|
+
<xsd:documentation>Type for a targeted call.</xsd:documentation>
|
131
|
+
</xsd:annotation>
|
132
|
+
<xsd:sequence>
|
133
|
+
<xsd:group ref="TargetedCallGroup"/>
|
134
|
+
</xsd:sequence>
|
135
|
+
</xsd:complexType>
|
136
|
+
</xsd:schema>
|
@@ -0,0 +1,356 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xsd:schema xmlns="http://www.siri.org.uk/siri" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.siri.org.uk/siri" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1" id="siri_time">
|
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
|
+
<Coverage>Europe</Coverage>
|
9
|
+
<Creator>Drafted for version 1.0 CEN TC278 WG3 SG7 Editor Nicholas Knowles, Kizoom. mailto:schemer@siri.org.uk</Creator>
|
10
|
+
<Date>
|
11
|
+
<Created>2005-10-03</Created>
|
12
|
+
</Date>
|
13
|
+
<Date>
|
14
|
+
<Modified>2005-10-04</Modified>
|
15
|
+
</Date>
|
16
|
+
<Date>
|
17
|
+
<Modified>2005-05-11</Modified>
|
18
|
+
</Date>
|
19
|
+
<Date>
|
20
|
+
<Modified>2007-03-29</Modified>
|
21
|
+
</Date>
|
22
|
+
<Date>
|
23
|
+
<Modified>2008-11-10</Modified>
|
24
|
+
<!-- refine day types -->
|
25
|
+
</Date>
|
26
|
+
<Date>
|
27
|
+
<Modified>2014-06-20</Modified>
|
28
|
+
<!-- [se] Add end time precision to halfopen time rangefor input a siri_time.xsd.
|
29
|
+
[se] Add end time status to halfopen time range output siri_time.xsd.
|
30
|
+
-->
|
31
|
+
</Date>
|
32
|
+
<Date>
|
33
|
+
<Modified>2020-01-24</Modified>
|
34
|
+
<!-- +SIRI v2.1
|
35
|
+
Removed numerical values in DayTypeEnumeration
|
36
|
+
-->
|
37
|
+
</Date>
|
38
|
+
<Description>
|
39
|
+
<p>SIRI is a European CEN standard for the exchange of real-time information.</p>
|
40
|
+
</Description>
|
41
|
+
<Format>
|
42
|
+
<MediaType>text/xml</MediaType>
|
43
|
+
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
|
44
|
+
<Description>XML schema, W3C Recommendation 2001</Description>
|
45
|
+
</Format>
|
46
|
+
<Identifier>{http://www.siri.org.uk/schema/2.0/xsd/siri_model/}siri_time.xsd</Identifier>
|
47
|
+
<Language>[ISO 639-2/B] ENG</Language>
|
48
|
+
<Publisher>CEN</Publisher>
|
49
|
+
<Rights><!--Unclassified-->
|
50
|
+
<Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
|
51
|
+
</Rights>
|
52
|
+
<Source>
|
53
|
+
<ul>
|
54
|
+
<li>Derived from the VDV, RTIG CML and Trident standards.</li>
|
55
|
+
</ul>
|
56
|
+
</Source>
|
57
|
+
<Status>Version 2.1</Status>
|
58
|
+
<Subject>
|
59
|
+
<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
|
60
|
+
Air transport, Airports,
|
61
|
+
Ports and maritime transport, Ferries (marine),
|
62
|
+
Public transport, Bus services, Coach services, Bus stops and stations,
|
63
|
+
Rail transport, Railway stations and track, Train services, Underground trains,
|
64
|
+
Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
|
65
|
+
Rail transport, Roads and road transport
|
66
|
+
</Category>
|
67
|
+
<Project>CEN TC278 WG3 SG7</Project>
|
68
|
+
</Subject>
|
69
|
+
<Title>SIRI XML schema. Service Interface for Real-time Information relating to Public Transport Operations. Subschema of time types.</Title>
|
70
|
+
<Type>Standard</Type>
|
71
|
+
</Metadata>
|
72
|
+
</xsd:appinfo>
|
73
|
+
</xsd:annotation>
|
74
|
+
<!-- ======================================================================= -->
|
75
|
+
<!-- =====Times================================================================== -->
|
76
|
+
<xsd:complexType name="ClosedTimestampRangeStructure">
|
77
|
+
<xsd:annotation>
|
78
|
+
<xsd:documentation>Type for a range of date and times. Both start and end time are required.</xsd:documentation>
|
79
|
+
</xsd:annotation>
|
80
|
+
<xsd:sequence>
|
81
|
+
<xsd:element name="StartTime" type="xsd:dateTime">
|
82
|
+
<xsd:annotation>
|
83
|
+
<xsd:documentation>The (inclusive) start date and time.</xsd:documentation>
|
84
|
+
</xsd:annotation>
|
85
|
+
</xsd:element>
|
86
|
+
<xsd:element name="EndTime" type="xsd:dateTime">
|
87
|
+
<xsd:annotation>
|
88
|
+
<xsd:documentation>The (inclusive) end date and time.</xsd:documentation>
|
89
|
+
</xsd:annotation>
|
90
|
+
</xsd:element>
|
91
|
+
</xsd:sequence>
|
92
|
+
</xsd:complexType>
|
93
|
+
<xsd:complexType name="ClosedTimeRangeStructure">
|
94
|
+
<xsd:annotation>
|
95
|
+
<xsd:documentation>Type for a range of times. Both start and end time are required.</xsd:documentation>
|
96
|
+
</xsd:annotation>
|
97
|
+
<xsd:sequence>
|
98
|
+
<xsd:element name="StartTime" type="xsd:time">
|
99
|
+
<xsd:annotation>
|
100
|
+
<xsd:documentation>The (inclusive) start time.</xsd:documentation>
|
101
|
+
</xsd:annotation>
|
102
|
+
</xsd:element>
|
103
|
+
<xsd:element name="EndTime" type="xsd:time">
|
104
|
+
<xsd:annotation>
|
105
|
+
<xsd:documentation>The (inclusive) end time.</xsd:documentation>
|
106
|
+
</xsd:annotation>
|
107
|
+
</xsd:element>
|
108
|
+
<xsd:element name="EndTimePrecision" type="EndTimePrecisionEnumeration" default="second" minOccurs="0">
|
109
|
+
<xsd:annotation>
|
110
|
+
<xsd:documentation>Precision with which to interpret the inclusive end time. Default is to the second.</xsd:documentation>
|
111
|
+
</xsd:annotation>
|
112
|
+
</xsd:element>
|
113
|
+
</xsd:sequence>
|
114
|
+
</xsd:complexType>
|
115
|
+
<xsd:complexType name="HalfOpenTimeRangeStructure">
|
116
|
+
<xsd:annotation>
|
117
|
+
<xsd:documentation>Type for a range of times. Start time must be specified, end time is optional.</xsd:documentation>
|
118
|
+
</xsd:annotation>
|
119
|
+
<xsd:sequence>
|
120
|
+
<xsd:element name="StartTime" type="xsd:time">
|
121
|
+
<xsd:annotation>
|
122
|
+
<xsd:documentation>The (inclusive) start time.</xsd:documentation>
|
123
|
+
</xsd:annotation>
|
124
|
+
</xsd:element>
|
125
|
+
<xsd:element name="EndTime" type="xsd:time" minOccurs="0">
|
126
|
+
<xsd:annotation>
|
127
|
+
<xsd:documentation>The (inclusive) end time. If omitted, the range end is open-ended, that is, it should be interpreted as "forever".</xsd:documentation>
|
128
|
+
</xsd:annotation>
|
129
|
+
</xsd:element>
|
130
|
+
</xsd:sequence>
|
131
|
+
</xsd:complexType>
|
132
|
+
<xsd:complexType name="HalfOpenTimestampInputRangeStructure">
|
133
|
+
<xsd:annotation>
|
134
|
+
<xsd:documentation>Type for a range of date times. Start time must be specified, end time is optional.</xsd:documentation>
|
135
|
+
</xsd:annotation>
|
136
|
+
<xsd:sequence>
|
137
|
+
<xsd:element name="StartTime" type="xsd:dateTime">
|
138
|
+
<xsd:annotation>
|
139
|
+
<xsd:documentation>The (inclusive) start time stamp.</xsd:documentation>
|
140
|
+
</xsd:annotation>
|
141
|
+
</xsd:element>
|
142
|
+
<xsd:element name="EndTime" type="xsd:dateTime" minOccurs="0">
|
143
|
+
<xsd:annotation>
|
144
|
+
<xsd:documentation>The (inclusive) end time stamp. </xsd:documentation>
|
145
|
+
</xsd:annotation>
|
146
|
+
</xsd:element>
|
147
|
+
<xsd:element name="EndTimePrecision" type="EndTimePrecisionEnumeration" default="second" minOccurs="0">
|
148
|
+
<xsd:annotation>
|
149
|
+
<xsd:documentation>Precision with which to interpret the inclusive end time. Default is to the second. (Siri 2.0++)</xsd:documentation>
|
150
|
+
</xsd:annotation>
|
151
|
+
</xsd:element>
|
152
|
+
</xsd:sequence>
|
153
|
+
</xsd:complexType>
|
154
|
+
<xsd:complexType name="HalfOpenTimestampOutputRangeStructure">
|
155
|
+
<xsd:annotation>
|
156
|
+
<xsd:documentation>Type for a range of date times. Start time must be specified, end time is optional.</xsd:documentation>
|
157
|
+
</xsd:annotation>
|
158
|
+
<xsd:sequence>
|
159
|
+
<xsd:element name="StartTime" type="xsd:dateTime">
|
160
|
+
<xsd:annotation>
|
161
|
+
<xsd:documentation>The (inclusive) start time stamp.</xsd:documentation>
|
162
|
+
</xsd:annotation>
|
163
|
+
</xsd:element>
|
164
|
+
<xsd:element name="EndTime" type="xsd:dateTime" minOccurs="0">
|
165
|
+
<xsd:annotation>
|
166
|
+
<xsd:documentation>The (inclusive) end time stamp. If omitted, the range end is open-ended, that is, it should be interpreted as defined by end time status. </xsd:documentation>
|
167
|
+
</xsd:annotation>
|
168
|
+
</xsd:element>
|
169
|
+
<xsd:element name="EndTimeStatus" type="EndTimeStatusEnumeration" default="undefined" minOccurs="0">
|
170
|
+
<xsd:annotation>
|
171
|
+
<xsd:documentation>If end time not provided, whethhr to interpret range as long, term, short term or unknown length of situation. Default is unknown. (Siri 2.0++)</xsd:documentation>
|
172
|
+
</xsd:annotation>
|
173
|
+
</xsd:element>
|
174
|
+
</xsd:sequence>
|
175
|
+
</xsd:complexType>
|
176
|
+
<xsd:simpleType name="EndTimePrecisionEnumeration">
|
177
|
+
<xsd:annotation>
|
178
|
+
<xsd:documentation>Allowed values for EndTime Precision</xsd:documentation>
|
179
|
+
</xsd:annotation>
|
180
|
+
<xsd:restriction base="xsd:string">
|
181
|
+
<xsd:enumeration value="day"/>
|
182
|
+
<xsd:enumeration value="hour"/>
|
183
|
+
<xsd:enumeration value="second"/>
|
184
|
+
<xsd:enumeration value="milliSecond"/>
|
185
|
+
</xsd:restriction>
|
186
|
+
</xsd:simpleType>
|
187
|
+
<xsd:simpleType name="EndTimeStatusEnumeration">
|
188
|
+
<xsd:annotation>
|
189
|
+
<xsd:documentation>Allowed values for EndTime Status.</xsd:documentation>
|
190
|
+
</xsd:annotation>
|
191
|
+
<xsd:restriction base="xsd:string">
|
192
|
+
<xsd:enumeration value="undefined"/>
|
193
|
+
<xsd:enumeration value="longTerm"/>
|
194
|
+
<xsd:enumeration value="shortTerm"/>
|
195
|
+
</xsd:restriction>
|
196
|
+
</xsd:simpleType>
|
197
|
+
<!-- ======================================================================= -->
|
198
|
+
<xsd:element name="DayType" type="DayTypeEnumeration" default="everyDay">
|
199
|
+
<xsd:annotation>
|
200
|
+
<xsd:documentation>Day on which a SITUATION may apply - TPEG Pti34 DayType</xsd:documentation>
|
201
|
+
</xsd:annotation>
|
202
|
+
</xsd:element>
|
203
|
+
<xsd:simpleType name="DayTypeEnumeration">
|
204
|
+
<xsd:annotation>
|
205
|
+
<xsd:documentation>Values for TPEG Pti34 - DayType</xsd:documentation>
|
206
|
+
</xsd:annotation>
|
207
|
+
<xsd:restriction base="xsd:NMTOKEN">
|
208
|
+
<xsd:enumeration value="unknown">
|
209
|
+
<xsd:annotation>
|
210
|
+
<xsd:documentation>TPEG Pti34_0, unknown</xsd:documentation>
|
211
|
+
</xsd:annotation>
|
212
|
+
</xsd:enumeration>
|
213
|
+
<xsd:enumeration value="monday">
|
214
|
+
<xsd:annotation>
|
215
|
+
<xsd:documentation>TPEG Pti34_1, Monday</xsd:documentation>
|
216
|
+
</xsd:annotation>
|
217
|
+
</xsd:enumeration>
|
218
|
+
<xsd:enumeration value="tuesday">
|
219
|
+
<xsd:annotation>
|
220
|
+
<xsd:documentation>TPEG Pti34_2, Tuesday</xsd:documentation>
|
221
|
+
</xsd:annotation>
|
222
|
+
</xsd:enumeration>
|
223
|
+
<xsd:enumeration value="wednesday">
|
224
|
+
<xsd:annotation>
|
225
|
+
<xsd:documentation>TPEG Pti34_3, Wednesday</xsd:documentation>
|
226
|
+
</xsd:annotation>
|
227
|
+
</xsd:enumeration>
|
228
|
+
<xsd:enumeration value="thursday">
|
229
|
+
<xsd:annotation>
|
230
|
+
<xsd:documentation>TPEG Pti34_4, Thursday</xsd:documentation>
|
231
|
+
</xsd:annotation>
|
232
|
+
</xsd:enumeration>
|
233
|
+
<xsd:enumeration value="friday">
|
234
|
+
<xsd:annotation>
|
235
|
+
<xsd:documentation>TPEG Pti34_5, Friday</xsd:documentation>
|
236
|
+
</xsd:annotation>
|
237
|
+
</xsd:enumeration>
|
238
|
+
<xsd:enumeration value="saturday">
|
239
|
+
<xsd:annotation>
|
240
|
+
<xsd:documentation>TPEG Pti34_6, Saturday</xsd:documentation>
|
241
|
+
</xsd:annotation>
|
242
|
+
</xsd:enumeration>
|
243
|
+
<xsd:enumeration value="sunday">
|
244
|
+
<xsd:annotation>
|
245
|
+
<xsd:documentation>TPEG Pti34_7, Sunday</xsd:documentation>
|
246
|
+
</xsd:annotation>
|
247
|
+
</xsd:enumeration>
|
248
|
+
<xsd:enumeration value="weekdays">
|
249
|
+
<xsd:annotation>
|
250
|
+
<xsd:documentation>TPEG Pti34_8, weekdays</xsd:documentation>
|
251
|
+
</xsd:annotation>
|
252
|
+
</xsd:enumeration>
|
253
|
+
<xsd:enumeration value="weekends">
|
254
|
+
<xsd:annotation>
|
255
|
+
<xsd:documentation>TPEG Pti34_9, weekends</xsd:documentation>
|
256
|
+
</xsd:annotation>
|
257
|
+
</xsd:enumeration>
|
258
|
+
<xsd:enumeration value="holiday">
|
259
|
+
<xsd:annotation>
|
260
|
+
<xsd:documentation>TPEG Pti34_10, holiday</xsd:documentation>
|
261
|
+
</xsd:annotation>
|
262
|
+
</xsd:enumeration>
|
263
|
+
<xsd:enumeration value="publicHoliday">
|
264
|
+
<xsd:annotation>
|
265
|
+
<xsd:documentation>TPEG Pti34_11, public holiday</xsd:documentation>
|
266
|
+
</xsd:annotation>
|
267
|
+
</xsd:enumeration>
|
268
|
+
<xsd:enumeration value="religiousHoliday">
|
269
|
+
<xsd:annotation>
|
270
|
+
<xsd:documentation>TPEG Pti34_12, religious holiday</xsd:documentation>
|
271
|
+
</xsd:annotation>
|
272
|
+
</xsd:enumeration>
|
273
|
+
<xsd:enumeration value="federalHoliday">
|
274
|
+
<xsd:annotation>
|
275
|
+
<xsd:documentation>TPEG Pti34_13, federal holiday</xsd:documentation>
|
276
|
+
</xsd:annotation>
|
277
|
+
</xsd:enumeration>
|
278
|
+
<xsd:enumeration value="regionalHoliday">
|
279
|
+
<xsd:annotation>
|
280
|
+
<xsd:documentation>TPEG Pti34_14, regional holiday</xsd:documentation>
|
281
|
+
</xsd:annotation>
|
282
|
+
</xsd:enumeration>
|
283
|
+
<xsd:enumeration value="nationalHoliday">
|
284
|
+
<xsd:annotation>
|
285
|
+
<xsd:documentation>TPEG Pti34_15, national holiday</xsd:documentation>
|
286
|
+
</xsd:annotation>
|
287
|
+
</xsd:enumeration>
|
288
|
+
<xsd:enumeration value="mondayToFriday">
|
289
|
+
<xsd:annotation>
|
290
|
+
<xsd:documentation>TPEG Pti34_16, Monday to Friday</xsd:documentation>
|
291
|
+
</xsd:annotation>
|
292
|
+
</xsd:enumeration>
|
293
|
+
<xsd:enumeration value="mondayToSaturday">
|
294
|
+
<xsd:annotation>
|
295
|
+
<xsd:documentation>TPEG Pti34_17, Monday to Saturday</xsd:documentation>
|
296
|
+
</xsd:annotation>
|
297
|
+
</xsd:enumeration>
|
298
|
+
<xsd:enumeration value="sundaysAndPublicHolidays">
|
299
|
+
<xsd:annotation>
|
300
|
+
<xsd:documentation>TPEG Pti34_18, Sundays and public holidays</xsd:documentation>
|
301
|
+
</xsd:annotation>
|
302
|
+
</xsd:enumeration>
|
303
|
+
<xsd:enumeration value="schoolDays">
|
304
|
+
<xsd:annotation>
|
305
|
+
<xsd:documentation>TPEG Pti34_19, school days</xsd:documentation>
|
306
|
+
</xsd:annotation>
|
307
|
+
</xsd:enumeration>
|
308
|
+
<xsd:enumeration value="everyDay">
|
309
|
+
<xsd:annotation>
|
310
|
+
<xsd:documentation>TPEG Pti34_20, every day</xsd:documentation>
|
311
|
+
</xsd:annotation>
|
312
|
+
</xsd:enumeration>
|
313
|
+
<xsd:enumeration value="undefinedDayType">
|
314
|
+
<xsd:annotation>
|
315
|
+
<xsd:documentation>TPEG Pti34_255, undefined day type</xsd:documentation>
|
316
|
+
</xsd:annotation>
|
317
|
+
</xsd:enumeration>
|
318
|
+
</xsd:restriction>
|
319
|
+
</xsd:simpleType>
|
320
|
+
<xsd:simpleType name="DaysOfWeekEnumerationx">
|
321
|
+
<xsd:annotation>
|
322
|
+
<xsd:documentation>Subset of TPEG Pti34 - DayType</xsd:documentation>
|
323
|
+
</xsd:annotation>
|
324
|
+
<xsd:restriction base="DayTypeEnumeration">
|
325
|
+
<xsd:enumeration value="unknown"/>
|
326
|
+
<xsd:enumeration value="monday"/>
|
327
|
+
<xsd:enumeration value="tuesday"/>
|
328
|
+
<xsd:enumeration value="wednesday"/>
|
329
|
+
<xsd:enumeration value="thursday"/>
|
330
|
+
<xsd:enumeration value="friday"/>
|
331
|
+
<xsd:enumeration value="saturday"/>
|
332
|
+
<xsd:enumeration value="sunday"/>
|
333
|
+
<xsd:enumeration value="mondayToFriday"/>
|
334
|
+
<xsd:enumeration value="mondayToSaturday"/>
|
335
|
+
<xsd:enumeration value="weekdays"/>
|
336
|
+
<xsd:enumeration value="weekends"/>
|
337
|
+
</xsd:restriction>
|
338
|
+
</xsd:simpleType>
|
339
|
+
<xsd:simpleType name="HolidayTypeEnumerationx">
|
340
|
+
<xsd:annotation>
|
341
|
+
<xsd:documentation>Subset of TPEG Pti34 - DayType</xsd:documentation>
|
342
|
+
</xsd:annotation>
|
343
|
+
<xsd:restriction base="DayTypeEnumeration">
|
344
|
+
<xsd:enumeration value="holiday"/>
|
345
|
+
<xsd:enumeration value="publicHoliday"/>
|
346
|
+
<xsd:enumeration value="religiousHoliday"/>
|
347
|
+
<xsd:enumeration value="federalHoliday"/>
|
348
|
+
<xsd:enumeration value="regionalHoliday"/>
|
349
|
+
<xsd:enumeration value="nationalHoliday"/>
|
350
|
+
<xsd:enumeration value="sundaysAndPublicHolidays"/>
|
351
|
+
<xsd:enumeration value="schoolDays"/>
|
352
|
+
<xsd:enumeration value="everyDay"/>
|
353
|
+
<xsd:enumeration value="undefinedDayType"/>
|
354
|
+
</xsd:restriction>
|
355
|
+
</xsd:simpleType>
|
356
|
+
</xsd:schema>
|
@@ -0,0 +1,115 @@
|
|
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_feature">
|
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>2013-03-07</Created>
|
13
|
+
</Date>
|
14
|
+
<Description>
|
15
|
+
<p>SIRI is a European CEN technical standard for the exchange of real-time information.</p>
|
16
|
+
<p>This subschema describes soem code value models used by different SIRI functional services
|
17
|
+
<ul><li>Service Feature discovery</li><li>TYPE OF PRODUCT CATEGORY Discovery</li></ul>
|
18
|
+
</p>
|
19
|
+
</Description>
|
20
|
+
<Format>
|
21
|
+
<MediaType>text/xml</MediaType>
|
22
|
+
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
|
23
|
+
<Description>XML schema, W3C Recommendation 2001</Description>
|
24
|
+
</Format>
|
25
|
+
<Identifier>{http://www.siri.org.uk/schema/2.0/xsd/}siri_discovery.xsd</Identifier>
|
26
|
+
<Language>[ISO 639-2/B] ENG</Language>
|
27
|
+
<Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD </Publisher>
|
28
|
+
<Relation>
|
29
|
+
<Requires>http://www.siri.org.uk/schema/2.0/xsd/siri/siri_requests.xsd</Requires>
|
30
|
+
<Requires>http://www.siri.org.uk/schema/2.0/xsd/siri_utility/siri_reference.xsd</Requires>
|
31
|
+
</Relation>
|
32
|
+
<Rights><!--Unclassified-->
|
33
|
+
<Copyright>CEN, VDV, RTIG 2004-2021</Copyright>
|
34
|
+
</Rights>
|
35
|
+
<Source>
|
36
|
+
<ul>
|
37
|
+
<li>Discovery services Derived from the NaPTAN standard .</li>
|
38
|
+
</ul>
|
39
|
+
</Source>
|
40
|
+
<Status>Version 2.1</Status>
|
41
|
+
<Subject>
|
42
|
+
<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
|
43
|
+
Air transport, Airports,
|
44
|
+
Ports and maritime transport, Ferries (marine),
|
45
|
+
Public transport, Bus services, Coach services, Bus stops and stations,
|
46
|
+
Rail transport, Railway stations and track, Train services, Underground trains,
|
47
|
+
Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
|
48
|
+
Rail transport, Roads and road transport
|
49
|
+
</Category>
|
50
|
+
<Project>CEN TC278 WG3 SG7</Project>
|
51
|
+
</Subject>
|
52
|
+
<Title>SIRI_DS XML schema. Service Interface for Real-time Information. Discovery subschema. </Title>
|
53
|
+
<Type>Standard</Type>
|
54
|
+
</Metadata>
|
55
|
+
</xsd:appinfo>
|
56
|
+
<xsd:documentation>SIRI subschema with view of SCHEDULED CONNECTION LINKS for use in Connection Link Discovery service</xsd:documentation>
|
57
|
+
</xsd:annotation>
|
58
|
+
<!-- ======================================================================= -->
|
59
|
+
<xsd:include schemaLocation="siri_feature.xsd"/>
|
60
|
+
<xsd:include schemaLocation="../siri_model/siri_reference.xsd"/>
|
61
|
+
<!-- === VIEW of SCHEDULED CONNECTION LINK ============================================== -->
|
62
|
+
<xsd:element name="AnnotatedConnectionLinkRef" type="AnnotatedConnectionLinkStructure">
|
63
|
+
<xsd:annotation>
|
64
|
+
<xsd:documentation>SCHEDULED CONNECTION LINK definition.</xsd:documentation>
|
65
|
+
</xsd:annotation>
|
66
|
+
</xsd:element>
|
67
|
+
<xsd:complexType name="AnnotatedConnectionLinkStructure">
|
68
|
+
<xsd:annotation>
|
69
|
+
<xsd:documentation>View of a SCHEDULED CONNECTION LINK description.</xsd:documentation>
|
70
|
+
</xsd:annotation>
|
71
|
+
<xsd:sequence>
|
72
|
+
<xsd:element name="ConnectionLinkRef" type="ConnectionLinkRefStructure">
|
73
|
+
<xsd:annotation>
|
74
|
+
<xsd:documentation>Identifer of the connection link. DetailLevel=minimum </xsd:documentation>
|
75
|
+
</xsd:annotation>
|
76
|
+
</xsd:element>
|
77
|
+
<xsd:element name="FeederStopPointRef" type="StopPointRefStructure" minOccurs="0">
|
78
|
+
<xsd:annotation>
|
79
|
+
<xsd:documentation>Identifer of the feeder's stop. DetailLevel=normal </xsd:documentation>
|
80
|
+
</xsd:annotation>
|
81
|
+
</xsd:element>
|
82
|
+
<xsd:element name="DistributorStopPointRef" type="StopPointRefStructure" minOccurs="0">
|
83
|
+
<xsd:annotation>
|
84
|
+
<xsd:documentation>Identifer of the distributor's stop. DetailLevel=normal </xsd:documentation>
|
85
|
+
</xsd:annotation>
|
86
|
+
</xsd:element>
|
87
|
+
<xsd:element name="Monitored" type="xsd:boolean" default="true" minOccurs="0">
|
88
|
+
<xsd:annotation>
|
89
|
+
<xsd:documentation>Whether real-time data is available for the connection link. Default is 'true'. DetailLevel=minimum </xsd:documentation>
|
90
|
+
</xsd:annotation>
|
91
|
+
</xsd:element>
|
92
|
+
<xsd:element name="ConnectionLinkName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
|
93
|
+
<xsd:annotation>
|
94
|
+
<xsd:documentation>Name of SCHEDULED CONNECTION LINK. DetailLevel=minimum </xsd:documentation>
|
95
|
+
</xsd:annotation>
|
96
|
+
</xsd:element>
|
97
|
+
<xsd:element name="FeederStopPointName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
|
98
|
+
<xsd:annotation>
|
99
|
+
<xsd:documentation>Name of the feeder's stop. DetailLevel=full </xsd:documentation>
|
100
|
+
</xsd:annotation>
|
101
|
+
</xsd:element>
|
102
|
+
<xsd:element name="DistributorStopPointName" type="NaturalLanguageStringStructure" minOccurs="0" maxOccurs="unbounded">
|
103
|
+
<xsd:annotation>
|
104
|
+
<xsd:documentation>Name of the distributor's stop. DetailLevel=full</xsd:documentation>
|
105
|
+
</xsd:annotation>
|
106
|
+
</xsd:element>
|
107
|
+
<xsd:element name="Url" type="xsd:anyURI" minOccurs="0">
|
108
|
+
<xsd:annotation>
|
109
|
+
<xsd:documentation>Web page associated with connection link. DetailLevel=full</xsd:documentation>
|
110
|
+
</xsd:annotation>
|
111
|
+
</xsd:element>
|
112
|
+
</xsd:sequence>
|
113
|
+
</xsd:complexType>
|
114
|
+
<!-- ======================================================================= -->
|
115
|
+
</xsd:schema>
|