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,207 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xsd:schema xmlns="http://www.ifopt.org.uk/ifopt" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ifopt.org.uk/ifopt" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.3" id="ifopt_equipment">
|
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 SG6 Editor Nicholas Knowles, Kizoom. mailto:schemer@ifopt.org.uk</Creator>
|
10
|
+
<Date>
|
11
|
+
<Created>2006-08-12</Created>
|
12
|
+
</Date>
|
13
|
+
<Date>
|
14
|
+
<Modified>2006-09-22</Modified>
|
15
|
+
</Date>
|
16
|
+
<Date>
|
17
|
+
<Modified>2007-03-29</Modified>
|
18
|
+
</Date>
|
19
|
+
<Description>
|
20
|
+
<p>Fixed Objects in Public Transport. This subschema defines equipment base types.</p>
|
21
|
+
</Description>
|
22
|
+
<Format>
|
23
|
+
<MediaType>text/xml</MediaType>
|
24
|
+
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
|
25
|
+
<Description>XML schema, W3C Recommendation 2001</Description>
|
26
|
+
</Format>
|
27
|
+
<Identifier>{http://www.siri.org.uk/schema/2.0/ifopt}ifopt_equipment.xsd</Identifier>
|
28
|
+
<Language>[ISO 639-2/B] ENG</Language>
|
29
|
+
<Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD</Publisher>
|
30
|
+
<Rights><!--Unclassified-->
|
31
|
+
<Copyright>CEN, Crown Copyright 2006-2021</Copyright>
|
32
|
+
</Rights>
|
33
|
+
<Source>
|
34
|
+
<ul>
|
35
|
+
<li>Derived from the TransModel standards.</li>
|
36
|
+
</ul>
|
37
|
+
</Source>
|
38
|
+
<Status>Version 2.1</Status>
|
39
|
+
<Subject>
|
40
|
+
<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
|
41
|
+
Air transport, Airports,
|
42
|
+
Ports and maritime transport, Ferries (marine),
|
43
|
+
Public transport, Bus services, Coach services, Bus stops and stations,
|
44
|
+
Rail transport, Railway stations and track, Train services, Underground trains,
|
45
|
+
Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
|
46
|
+
Rail transport, Roads and road transport
|
47
|
+
</Category>
|
48
|
+
<Project>CEN TC278 WG3 SG6</Project>
|
49
|
+
</Subject>
|
50
|
+
<Title>IFOPT Fixed Objects in Public Transport - Equipment Base Types. </Title>
|
51
|
+
<Type>Standard</Type>
|
52
|
+
</Metadata>
|
53
|
+
</xsd:appinfo>
|
54
|
+
<xsd:documentation>Equipment types for IFOPT Fixed Objects in Public Transport.</xsd:documentation>
|
55
|
+
</xsd:annotation>
|
56
|
+
<xsd:include schemaLocation="ifopt_time.xsd"/>
|
57
|
+
<xsd:include schemaLocation="ifopt_administration.xsd"/>
|
58
|
+
<xsd:import namespace="http://www.siri.org.uk/siri" schemaLocation="../siri_utility/siri_types.xsd"/>
|
59
|
+
<xsd:import namespace="http://www.siri.org.uk/siri" schemaLocation="../siri_model/siri_feature_support.xsd"/>
|
60
|
+
<!-- ======================================================================= -->
|
61
|
+
<xsd:simpleType name="EquipmentIdType">
|
62
|
+
<xsd:annotation>
|
63
|
+
<xsd:documentation>Type for identifier of EQUIPMENT.</xsd:documentation>
|
64
|
+
</xsd:annotation>
|
65
|
+
<xsd:restriction base="xsd:NMTOKEN"/>
|
66
|
+
</xsd:simpleType>
|
67
|
+
<xsd:complexType name="EquipmentRefStructure">
|
68
|
+
<xsd:annotation>
|
69
|
+
<xsd:documentation>Type for reference to a EQUIPMENT.</xsd:documentation>
|
70
|
+
</xsd:annotation>
|
71
|
+
<xsd:simpleContent>
|
72
|
+
<xsd:extension base="EquipmentIdType"/>
|
73
|
+
</xsd:simpleContent>
|
74
|
+
</xsd:complexType>
|
75
|
+
<!-- ======================================================================= -->
|
76
|
+
<xsd:simpleType name="EquipmentTypeCodeType">
|
77
|
+
<xsd:annotation>
|
78
|
+
<xsd:documentation>Type for a identifier of EQUIPMENT.</xsd:documentation>
|
79
|
+
</xsd:annotation>
|
80
|
+
<xsd:restriction base="xsd:NMTOKEN"/>
|
81
|
+
</xsd:simpleType>
|
82
|
+
<xsd:complexType name="EquipmentTypeRefStructure">
|
83
|
+
<xsd:annotation>
|
84
|
+
<xsd:documentation>Type for TYPE OF EQUIPMENT.</xsd:documentation>
|
85
|
+
</xsd:annotation>
|
86
|
+
<xsd:simpleContent>
|
87
|
+
<xsd:extension base="EquipmentTypeCodeType"/>
|
88
|
+
</xsd:simpleContent>
|
89
|
+
</xsd:complexType>
|
90
|
+
<!-- ======================================================================= -->
|
91
|
+
<xsd:simpleType name="EquipmentStatusEnumeration">
|
92
|
+
<xsd:annotation>
|
93
|
+
<xsd:documentation>Availabilityload status of a EQUIPMENT.</xsd:documentation>
|
94
|
+
</xsd:annotation>
|
95
|
+
<xsd:restriction base="xsd:NMTOKEN">
|
96
|
+
<xsd:enumeration value="unknown"/>
|
97
|
+
<xsd:enumeration value="available"/>
|
98
|
+
<xsd:enumeration value="notAvailable"/>
|
99
|
+
</xsd:restriction>
|
100
|
+
</xsd:simpleType>
|
101
|
+
<!-- ======================================================================= -->
|
102
|
+
<xsd:group name="AbstractEquipmentGroup">
|
103
|
+
<xsd:annotation>
|
104
|
+
<xsd:documentation>Coomon Elements for EQUIPMENt.</xsd:documentation>
|
105
|
+
</xsd:annotation>
|
106
|
+
<xsd:sequence>
|
107
|
+
<xsd:element name="EquipmentId" type="EquipmentIdType">
|
108
|
+
<xsd:annotation>
|
109
|
+
<xsd:documentation>Identifer of EQUIPMENT.</xsd:documentation>
|
110
|
+
</xsd:annotation>
|
111
|
+
</xsd:element>
|
112
|
+
<xsd:element name="EquipmentName" type="siri:NaturalLanguageStringStructure" minOccurs="0">
|
113
|
+
<xsd:annotation>
|
114
|
+
<xsd:documentation>Name of EQUIPMENT.</xsd:documentation>
|
115
|
+
</xsd:annotation>
|
116
|
+
</xsd:element>
|
117
|
+
<xsd:element name="TypeOfEquipment" type="EquipmentTypeRefStructure" minOccurs="0">
|
118
|
+
<xsd:annotation>
|
119
|
+
<xsd:documentation>Type for reference to TYPE OF EQUIPMENT.</xsd:documentation>
|
120
|
+
</xsd:annotation>
|
121
|
+
</xsd:element>
|
122
|
+
</xsd:sequence>
|
123
|
+
</xsd:group>
|
124
|
+
<xsd:complexType name="AbstractEquipmentStructure" abstract="true">
|
125
|
+
<xsd:annotation>
|
126
|
+
<xsd:documentation>Type for abstract EQUIPMENT.</xsd:documentation>
|
127
|
+
</xsd:annotation>
|
128
|
+
<xsd:complexContent>
|
129
|
+
<xsd:extension base="DataManagedObjectStructure">
|
130
|
+
<xsd:sequence>
|
131
|
+
<xsd:group ref="AbstractEquipmentGroup"/>
|
132
|
+
</xsd:sequence>
|
133
|
+
</xsd:extension>
|
134
|
+
</xsd:complexContent>
|
135
|
+
</xsd:complexType>
|
136
|
+
<xsd:complexType name="InstalledEquipmentStructure" abstract="true">
|
137
|
+
<xsd:annotation>
|
138
|
+
<xsd:documentation>Type for INSTALLED EQUIPMENT.</xsd:documentation>
|
139
|
+
</xsd:annotation>
|
140
|
+
<xsd:complexContent>
|
141
|
+
<xsd:extension base="AbstractEquipmentStructure"/>
|
142
|
+
</xsd:complexContent>
|
143
|
+
</xsd:complexType>
|
144
|
+
<!-- ======================================================================= -->
|
145
|
+
<xsd:complexType name="PlaceEquipmentStructure" abstract="false">
|
146
|
+
<xsd:annotation>
|
147
|
+
<xsd:documentation>Type for SITE EQUIPMENT.</xsd:documentation>
|
148
|
+
</xsd:annotation>
|
149
|
+
<xsd:complexContent>
|
150
|
+
<xsd:extension base="InstalledEquipmentStructure">
|
151
|
+
<xsd:sequence>
|
152
|
+
<xsd:element ref="Extensions" minOccurs="0"/>
|
153
|
+
</xsd:sequence>
|
154
|
+
</xsd:extension>
|
155
|
+
</xsd:complexContent>
|
156
|
+
</xsd:complexType>
|
157
|
+
<xsd:element name="OtherPlaceEquipment" type="PlaceEquipmentStructure">
|
158
|
+
<xsd:annotation>
|
159
|
+
<xsd:documentation>EQUIPMENT. that may be in a fixed within a SITe.</xsd:documentation>
|
160
|
+
</xsd:annotation>
|
161
|
+
</xsd:element>
|
162
|
+
<!-- ======================================================================= -->
|
163
|
+
<xsd:element name="LocalService" type="LocalServiceStructure">
|
164
|
+
<xsd:annotation>
|
165
|
+
<xsd:documentation> LOCAL SERVICe.</xsd:documentation>
|
166
|
+
</xsd:annotation>
|
167
|
+
</xsd:element>
|
168
|
+
<xsd:group name="LocalServiceGroup">
|
169
|
+
<xsd:annotation>
|
170
|
+
<xsd:documentation>Element for LOCAL SERVICe.</xsd:documentation>
|
171
|
+
</xsd:annotation>
|
172
|
+
<xsd:sequence>
|
173
|
+
<xsd:element name="ValidityConditions" type="ValidityConditionsStructure" minOccurs="0">
|
174
|
+
<xsd:annotation>
|
175
|
+
<xsd:documentation>Conditison governing availability of serevice.</xsd:documentation>
|
176
|
+
</xsd:annotation>
|
177
|
+
</xsd:element>
|
178
|
+
<xsd:element name="FeatureRefs" minOccurs="0">
|
179
|
+
<xsd:annotation>
|
180
|
+
<xsd:documentation>Classification of features.</xsd:documentation>
|
181
|
+
</xsd:annotation>
|
182
|
+
<xsd:complexType>
|
183
|
+
<xsd:sequence>
|
184
|
+
<xsd:element name="FeatureRef" type="siri:ServiceFeatureRefStructure" minOccurs="0" maxOccurs="unbounded">
|
185
|
+
<xsd:annotation>
|
186
|
+
<xsd:documentation>Features of LOCAL SERVICe.</xsd:documentation>
|
187
|
+
</xsd:annotation>
|
188
|
+
</xsd:element>
|
189
|
+
</xsd:sequence>
|
190
|
+
</xsd:complexType>
|
191
|
+
</xsd:element>
|
192
|
+
</xsd:sequence>
|
193
|
+
</xsd:group>
|
194
|
+
<xsd:complexType name="LocalServiceStructure" abstract="false">
|
195
|
+
<xsd:annotation>
|
196
|
+
<xsd:documentation>Type for LOCAL SERVICE.</xsd:documentation>
|
197
|
+
</xsd:annotation>
|
198
|
+
<xsd:complexContent>
|
199
|
+
<xsd:extension base="InstalledEquipmentStructure">
|
200
|
+
<xsd:sequence>
|
201
|
+
<xsd:group ref="LocalServiceGroup"/>
|
202
|
+
<xsd:element ref="Extensions" minOccurs="0"/>
|
203
|
+
</xsd:sequence>
|
204
|
+
</xsd:extension>
|
205
|
+
</xsd:complexContent>
|
206
|
+
</xsd:complexType>
|
207
|
+
</xsd:schema>
|
@@ -0,0 +1,281 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xsd:schema xmlns="http://www.ifopt.org.uk/ifopt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:siri="http://www.siri.org.uk/siri" targetNamespace="http://www.ifopt.org.uk/ifopt" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.3" id="ifopt_location">
|
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 SG6 Editor Nicholas Knowles, Kizoom. mailto:schemer@ifopt.org.uk</Creator>
|
10
|
+
<Date>
|
11
|
+
<Created>2006-08-12</Created>
|
12
|
+
</Date>
|
13
|
+
<Date>
|
14
|
+
<Modified>2006-09-22</Modified>
|
15
|
+
</Date>
|
16
|
+
<Date><Modified>2007-03-22</Modified>
|
17
|
+
<!--2007 03 23 Revise projections -->
|
18
|
+
</Date>
|
19
|
+
<Date>
|
20
|
+
<Modified>2007-06-12</Modified>
|
21
|
+
</Date>
|
22
|
+
<Date><Modified>2011-04-19</Modified>
|
23
|
+
<!--Correct siri: namespace-->
|
24
|
+
</Date>
|
25
|
+
<Description>
|
26
|
+
<p>Fixed Objects in Public Transport. This subschema defines common location types.</p>
|
27
|
+
</Description>
|
28
|
+
<Format>
|
29
|
+
<MediaType>text/xml</MediaType>
|
30
|
+
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
|
31
|
+
<Description>XML schema, W3C Recommendation 2001</Description>
|
32
|
+
</Format>
|
33
|
+
<Identifier>{http://www.siri.org.uk/schema/2.0/ifopt}ifopt_location.xsd</Identifier>
|
34
|
+
<Language>[ISO 639-2/B] ENG</Language>
|
35
|
+
<Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD</Publisher>
|
36
|
+
<Rights><!--Unclassified-->
|
37
|
+
<Copyright>CEN, Crown Copyright 2006-2021</Copyright>
|
38
|
+
</Rights>
|
39
|
+
<Source>
|
40
|
+
<ul>
|
41
|
+
<li>Derived from the SIRI standards.</li>
|
42
|
+
</ul>
|
43
|
+
</Source>
|
44
|
+
<Status>Version 2.1</Status>
|
45
|
+
<Subject>
|
46
|
+
<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
|
47
|
+
Air transport, Airports,
|
48
|
+
Ports and maritime transport, Ferries (marine),
|
49
|
+
Public transport, Bus services, Coach services, Bus stops and stations,
|
50
|
+
Rail transport, Railway stations and track, Train services, Underground trains,
|
51
|
+
Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
|
52
|
+
Rail transport, Roads and road transport
|
53
|
+
</Category>
|
54
|
+
<Project>CEN TC278 WG3 SG6</Project>
|
55
|
+
</Subject>
|
56
|
+
<Title>IFOPT Fixed Objects in Public Transport - location Types. </Title>
|
57
|
+
<Type>Standard</Type>
|
58
|
+
</Metadata>
|
59
|
+
</xsd:appinfo>
|
60
|
+
<xsd:documentation>location types for IFOPT Fixed Objects in Public Transport.</xsd:documentation>
|
61
|
+
</xsd:annotation>
|
62
|
+
<xsd:import namespace="http://www.siri.org.uk/siri" schemaLocation="../siri_utility/siri_location.xsd"/>
|
63
|
+
<!--======Point============================================================== ========-->
|
64
|
+
<xsd:complexType name="AbstractProjection">
|
65
|
+
<xsd:sequence>
|
66
|
+
<xsd:element name="Features" minOccurs="0">
|
67
|
+
<xsd:annotation>
|
68
|
+
<xsd:documentation>GIS Features that this element projects onto.</xsd:documentation>
|
69
|
+
</xsd:annotation>
|
70
|
+
<xsd:complexType>
|
71
|
+
<xsd:sequence>
|
72
|
+
<xsd:element name="GisFeatureRef" type="FeatureRefStructure" maxOccurs="unbounded">
|
73
|
+
<xsd:annotation>
|
74
|
+
<xsd:documentation>Identifier of FEATURE in a GIS data system.</xsd:documentation>
|
75
|
+
</xsd:annotation>
|
76
|
+
</xsd:element>
|
77
|
+
</xsd:sequence>
|
78
|
+
</xsd:complexType>
|
79
|
+
</xsd:element>
|
80
|
+
</xsd:sequence>
|
81
|
+
</xsd:complexType>
|
82
|
+
<xsd:complexType name="FeatureRefStructure">
|
83
|
+
<xsd:annotation>
|
84
|
+
<xsd:documentation>Type for reference to a FEATURE.</xsd:documentation>
|
85
|
+
</xsd:annotation>
|
86
|
+
<xsd:sequence>
|
87
|
+
<xsd:element name="FeatureIdRef" type="FeatureIdRefStructure">
|
88
|
+
<xsd:annotation>
|
89
|
+
<xsd:documentation>Unique identfiier of referenced element, eg TOId.</xsd:documentation>
|
90
|
+
</xsd:annotation>
|
91
|
+
</xsd:element>
|
92
|
+
<xsd:element name="FeatureType" type="xsd:NMTOKEN" minOccurs="0">
|
93
|
+
<xsd:annotation>
|
94
|
+
<xsd:documentation>Type for identifier of FEATURE.</xsd:documentation>
|
95
|
+
</xsd:annotation>
|
96
|
+
</xsd:element>
|
97
|
+
</xsd:sequence>
|
98
|
+
</xsd:complexType>
|
99
|
+
<xsd:simpleType name="FeatureIdType">
|
100
|
+
<xsd:annotation>
|
101
|
+
<xsd:documentation>Type for identifier of a GIS FEATURe.</xsd:documentation>
|
102
|
+
</xsd:annotation>
|
103
|
+
<xsd:restriction base="xsd:NMTOKEN"/>
|
104
|
+
</xsd:simpleType>
|
105
|
+
<xsd:complexType name="FeatureIdRefStructure">
|
106
|
+
<xsd:annotation>
|
107
|
+
<xsd:documentation>Type for reference to a GIS FEATURe.</xsd:documentation>
|
108
|
+
</xsd:annotation>
|
109
|
+
<xsd:simpleContent>
|
110
|
+
<xsd:extension base="FeatureIdType"/>
|
111
|
+
</xsd:simpleContent>
|
112
|
+
</xsd:complexType>
|
113
|
+
<!--======Link ============================================================-->
|
114
|
+
<xsd:element name="PointProjection" type="PointProjectionStructure">
|
115
|
+
<xsd:annotation>
|
116
|
+
<xsd:documentation>Points may be defined in tagged format or using GM coordinates element.</xsd:documentation>
|
117
|
+
</xsd:annotation>
|
118
|
+
</xsd:element>
|
119
|
+
<xsd:complexType name="PointProjectionStructure">
|
120
|
+
<xsd:annotation>
|
121
|
+
<xsd:documentation xml:lang="en">Type for geospatial Position of a point. May be expressed in concrete WGS 84 Coordinates or any GML compatible point coordinates format. </xsd:documentation>
|
122
|
+
</xsd:annotation>
|
123
|
+
<xsd:complexContent>
|
124
|
+
<xsd:extension base="AbstractProjection">
|
125
|
+
<xsd:sequence>
|
126
|
+
<xsd:group ref="Wgs84Group" minOccurs="0">
|
127
|
+
<xsd:annotation>
|
128
|
+
<xsd:documentation>WGS84 Corodinates.</xsd:documentation>
|
129
|
+
</xsd:annotation>
|
130
|
+
</xsd:group>
|
131
|
+
<xsd:element name="Coordinates" type="siri:CoordinatesStructure" minOccurs="0">
|
132
|
+
<xsd:annotation>
|
133
|
+
<xsd:documentation>Coordinates of points in a GML compatible format, as indicated by srsName attribute.</xsd:documentation>
|
134
|
+
</xsd:annotation>
|
135
|
+
</xsd:element>
|
136
|
+
<xsd:element name="Precision" type="siri:DistanceType" minOccurs="0">
|
137
|
+
<xsd:annotation>
|
138
|
+
<xsd:documentation>Precision for point measurement. In meters.</xsd:documentation>
|
139
|
+
</xsd:annotation>
|
140
|
+
</xsd:element>
|
141
|
+
</xsd:sequence>
|
142
|
+
<xsd:attribute name="id" type="xsd:NMTOKEN">
|
143
|
+
<xsd:annotation>
|
144
|
+
<xsd:documentation>Identifier of POINT.</xsd:documentation>
|
145
|
+
</xsd:annotation>
|
146
|
+
</xsd:attribute>
|
147
|
+
<xsd:attribute name="srsName" type="siri:SrsNameType">
|
148
|
+
<xsd:annotation>
|
149
|
+
<xsd:documentation>identifier of data reference system for geocodes, if point is specified as GML compatible Coordinates. A GML value. If not specified taken from system configuration.</xsd:documentation>
|
150
|
+
</xsd:annotation>
|
151
|
+
</xsd:attribute>
|
152
|
+
</xsd:extension>
|
153
|
+
</xsd:complexContent>
|
154
|
+
</xsd:complexType>
|
155
|
+
<xsd:group name="Wgs84Group">
|
156
|
+
<xsd:annotation>
|
157
|
+
<xsd:documentation>WGS84 Coordinates.</xsd:documentation>
|
158
|
+
</xsd:annotation>
|
159
|
+
<xsd:sequence>
|
160
|
+
<xsd:element name="Longitude" type="siri:LongitudeType">
|
161
|
+
<xsd:annotation>
|
162
|
+
<xsd:documentation>Longitude from Greenwich Meridian. -180° (East) to +180° (West).</xsd:documentation>
|
163
|
+
</xsd:annotation>
|
164
|
+
</xsd:element>
|
165
|
+
<xsd:element name="Latitude" type="siri:LatitudeType">
|
166
|
+
<xsd:annotation>
|
167
|
+
<xsd:documentation>Latitude from equator. -90° (South) to +90° (North).</xsd:documentation>
|
168
|
+
</xsd:annotation>
|
169
|
+
</xsd:element>
|
170
|
+
<xsd:element name="Altitude" type="siri:AltitudeType" minOccurs="0">
|
171
|
+
<xsd:annotation>
|
172
|
+
<xsd:documentation>Altitude.</xsd:documentation>
|
173
|
+
</xsd:annotation>
|
174
|
+
</xsd:element>
|
175
|
+
</xsd:sequence>
|
176
|
+
</xsd:group>
|
177
|
+
<xsd:group name="GmlGroup">
|
178
|
+
<xsd:annotation>
|
179
|
+
<xsd:documentation>GML compatible markup as series of values.</xsd:documentation>
|
180
|
+
</xsd:annotation>
|
181
|
+
<xsd:sequence>
|
182
|
+
<xsd:element name="SrsName" type="siri:SrsNameType" minOccurs="0"/>
|
183
|
+
</xsd:sequence>
|
184
|
+
</xsd:group>
|
185
|
+
<!--======Link ============================================================-->
|
186
|
+
<xsd:element name="LinkProjection" type="LinkProjectionStructure">
|
187
|
+
<xsd:annotation>
|
188
|
+
<xsd:documentation>Projection as a geospatial polyline.</xsd:documentation>
|
189
|
+
</xsd:annotation>
|
190
|
+
</xsd:element>
|
191
|
+
<xsd:complexType name="LinkProjectionStructure">
|
192
|
+
<xsd:annotation>
|
193
|
+
<xsd:documentation>Type for PROJECTION as a geospatial polyline.</xsd:documentation>
|
194
|
+
</xsd:annotation>
|
195
|
+
<xsd:complexContent>
|
196
|
+
<xsd:extension base="AbstractProjection">
|
197
|
+
<xsd:sequence>
|
198
|
+
<xsd:element name="Line" minOccurs="0">
|
199
|
+
<xsd:annotation>
|
200
|
+
<xsd:documentation>Ordered sequence of points. There must always be a start and end point.</xsd:documentation>
|
201
|
+
</xsd:annotation>
|
202
|
+
<xsd:complexType>
|
203
|
+
<xsd:sequence>
|
204
|
+
<xsd:element ref="PointProjection" minOccurs="2" maxOccurs="unbounded"/>
|
205
|
+
</xsd:sequence>
|
206
|
+
</xsd:complexType>
|
207
|
+
</xsd:element>
|
208
|
+
</xsd:sequence>
|
209
|
+
</xsd:extension>
|
210
|
+
</xsd:complexContent>
|
211
|
+
</xsd:complexType>
|
212
|
+
<!--======Zone ============================================================-->
|
213
|
+
<xsd:element name="ZoneProjection" type="ZoneProjectionStructure">
|
214
|
+
<xsd:annotation>
|
215
|
+
<xsd:documentation>PROJECTION onto a geospatial zone.</xsd:documentation>
|
216
|
+
</xsd:annotation>
|
217
|
+
</xsd:element>
|
218
|
+
<xsd:complexType name="ZoneProjectionStructure">
|
219
|
+
<xsd:annotation>
|
220
|
+
<xsd:documentation>Type for PROJECTION as a geospatial zone.</xsd:documentation>
|
221
|
+
</xsd:annotation>
|
222
|
+
<xsd:complexContent>
|
223
|
+
<xsd:extension base="AbstractProjection">
|
224
|
+
<xsd:sequence>
|
225
|
+
<xsd:element name="Boundary" maxOccurs="unbounded">
|
226
|
+
<xsd:annotation>
|
227
|
+
<xsd:documentation>Boundary line of Zone as an ordered set of points.</xsd:documentation>
|
228
|
+
</xsd:annotation>
|
229
|
+
<xsd:complexType>
|
230
|
+
<xsd:sequence>
|
231
|
+
<xsd:element ref="PointProjection" minOccurs="3" maxOccurs="unbounded"/>
|
232
|
+
</xsd:sequence>
|
233
|
+
</xsd:complexType>
|
234
|
+
</xsd:element>
|
235
|
+
</xsd:sequence>
|
236
|
+
</xsd:extension>
|
237
|
+
</xsd:complexContent>
|
238
|
+
</xsd:complexType>
|
239
|
+
<xsd:group name="PlaceProjectionGroup">
|
240
|
+
<xsd:annotation>
|
241
|
+
<xsd:documentation>Defines geospatial data elements for a zone such that it can be projected.</xsd:documentation>
|
242
|
+
</xsd:annotation>
|
243
|
+
<xsd:sequence>
|
244
|
+
<xsd:element ref="PointProjection" minOccurs="0"/>
|
245
|
+
<xsd:element ref="LinkProjection" minOccurs="0"/>
|
246
|
+
<xsd:element ref="ZoneProjection" minOccurs="0"/>
|
247
|
+
</xsd:sequence>
|
248
|
+
</xsd:group>
|
249
|
+
<!--======Distance ============================================================-->
|
250
|
+
<xsd:simpleType name="CompassBearing8Enumeration">
|
251
|
+
<xsd:annotation>
|
252
|
+
<xsd:documentation>8 point compass.</xsd:documentation>
|
253
|
+
</xsd:annotation>
|
254
|
+
<xsd:restriction base="xsd:string">
|
255
|
+
<xsd:enumeration value="SW"/>
|
256
|
+
<xsd:enumeration value="SE"/>
|
257
|
+
<xsd:enumeration value="NW"/>
|
258
|
+
<xsd:enumeration value="NE"/>
|
259
|
+
<xsd:enumeration value="W"/>
|
260
|
+
<xsd:enumeration value="E"/>
|
261
|
+
<xsd:enumeration value="S"/>
|
262
|
+
<xsd:enumeration value="N"/>
|
263
|
+
</xsd:restriction>
|
264
|
+
</xsd:simpleType>
|
265
|
+
<xsd:simpleType name="CompassBearing16Enumeration">
|
266
|
+
<xsd:annotation>
|
267
|
+
<xsd:documentation>16 point compass.</xsd:documentation>
|
268
|
+
</xsd:annotation>
|
269
|
+
<xsd:restriction base="xsd:string">
|
270
|
+
<xsd:enumeration value=""/>
|
271
|
+
<xsd:enumeration value="SW"/>
|
272
|
+
<xsd:enumeration value="SE"/>
|
273
|
+
<xsd:enumeration value="NW"/>
|
274
|
+
<xsd:enumeration value="NE"/>
|
275
|
+
<xsd:enumeration value="W"/>
|
276
|
+
<xsd:enumeration value="E"/>
|
277
|
+
<xsd:enumeration value="S"/>
|
278
|
+
<xsd:enumeration value="N"/>
|
279
|
+
</xsd:restriction>
|
280
|
+
</xsd:simpleType>
|
281
|
+
</xsd:schema>
|
@@ -0,0 +1,84 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xsd:schema xmlns="http://www.ifopt.org.uk/ifopt" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ifopt.org.uk/ifopt" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.2" id="ifopt_modes">
|
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 SG6 Editor Nicholas Knowles, Kizoom. mailto:schemer@ifopt.org.uk</Creator>
|
10
|
+
<Date>
|
11
|
+
<Created>2006-08-12</Created>
|
12
|
+
</Date>
|
13
|
+
<Date>
|
14
|
+
<Modified>2006-09-22</Modified>
|
15
|
+
</Date>
|
16
|
+
<Description>
|
17
|
+
<p>Fixed Objects in Public Transport. This subschema defines common mode types.</p>
|
18
|
+
</Description>
|
19
|
+
<Format>
|
20
|
+
<MediaType>text/xml</MediaType>
|
21
|
+
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
|
22
|
+
<Description>XML schema, W3C Recommendation 2001</Description>
|
23
|
+
</Format>
|
24
|
+
<Identifier>{http://www.siri.org.uk/schema/2.0/ifopt}ifopt_modes.xsd</Identifier>
|
25
|
+
<Language>[ISO 639-2/B] ENG</Language>
|
26
|
+
<Publisher>Kizoom, 109-123 Clifton Street, London EC4A 4LD</Publisher>
|
27
|
+
<Rights><!--Unclassified-->
|
28
|
+
<Copyright>CEN, Crown Copyright 2006-2021</Copyright>
|
29
|
+
</Rights>
|
30
|
+
<Source>
|
31
|
+
<ul>
|
32
|
+
<li>Derived from the SIRI standards.</li>
|
33
|
+
</ul>
|
34
|
+
</Source>
|
35
|
+
<Status>Version 2.1</Status>
|
36
|
+
<Subject>
|
37
|
+
<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
|
38
|
+
Air transport, Airports,
|
39
|
+
Ports and maritime transport, Ferries (marine),
|
40
|
+
Public transport, Bus services, Coach services, Bus stops and stations,
|
41
|
+
Rail transport, Railway stations and track, Train services, Underground trains,
|
42
|
+
Business and industry, Transport, Air transport, Ports and maritime transport, Public transport,
|
43
|
+
Rail transport, Roads and road transport
|
44
|
+
</Category>
|
45
|
+
<Project>CEN TC278 WG3 SG6</Project>
|
46
|
+
</Subject>
|
47
|
+
<Title>IFOPT Fixed Objects in Public Transport - mode Types. </Title>
|
48
|
+
<Type>Standard</Type>
|
49
|
+
</Metadata>
|
50
|
+
</xsd:appinfo>
|
51
|
+
<xsd:documentation>Mode types for IFOPT Fixed Objects in Public Transport.</xsd:documentation>
|
52
|
+
</xsd:annotation>
|
53
|
+
<xsd:import namespace="http://www.siri.org.uk/siri" schemaLocation="../siri_model/siri_modes.xsd"/>
|
54
|
+
<!--======Point=======================================================================================-->
|
55
|
+
<xsd:simpleType name="TypeOfStopPlaceEnumeration">
|
56
|
+
<xsd:annotation>
|
57
|
+
<xsd:documentation>Allowed categories of STOP PLACE.</xsd:documentation>
|
58
|
+
</xsd:annotation>
|
59
|
+
<xsd:restriction base="xsd:string">
|
60
|
+
<xsd:enumeration value="onstreetBus"/>
|
61
|
+
<xsd:enumeration value="onstreetTram"/>
|
62
|
+
<xsd:enumeration value="ferryStop"/>
|
63
|
+
<xsd:enumeration value="airport"/>
|
64
|
+
<xsd:enumeration value="railStation"/>
|
65
|
+
<xsd:enumeration value="metroStation"/>
|
66
|
+
<xsd:enumeration value="coachStation"/>
|
67
|
+
<xsd:enumeration value="ferryPort"/>
|
68
|
+
<xsd:enumeration value="harbourPort"/>
|
69
|
+
<xsd:enumeration value="other"/>
|
70
|
+
</xsd:restriction>
|
71
|
+
</xsd:simpleType>
|
72
|
+
<xsd:simpleType name="AccessModesEnumeration">
|
73
|
+
<xsd:annotation>
|
74
|
+
<xsd:documentation>Allowed categroies of access to STOP PLACE.</xsd:documentation>
|
75
|
+
</xsd:annotation>
|
76
|
+
<xsd:restriction base="xsd:string">
|
77
|
+
<xsd:enumeration value="foot"/>
|
78
|
+
<xsd:enumeration value="bicycle"/>
|
79
|
+
<xsd:enumeration value="car"/>
|
80
|
+
<xsd:enumeration value="taxi"/>
|
81
|
+
<xsd:enumeration value="shuttle"/>
|
82
|
+
</xsd:restriction>
|
83
|
+
</xsd:simpleType>
|
84
|
+
</xsd:schema>
|