Changeset 30731 in osm for applications/editors/josm/plugins/opendata/modules/fr.toulouse/resources
- Timestamp:
- 2014-10-18T15:31:53+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/opendata/modules/fr.toulouse/resources/neptune_toulouse
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/modules/fr.toulouse/resources/neptune_toulouse/acsb/acsb_passengerMobility-v0.3.xsd
r28018 r30731 2 2 <!-- edited with XMLSpy v2008 (http://www.altova.com) by Nicholas Knowles Knowles (Kizoom Ltd) --> 3 3 <xsd:schema 4 5 6 7 8 4 xmlns="http://www.ifopt.org.uk/acsb" 5 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 6 targetNamespace="http://www.ifopt.org.uk/acsb" 7 elementFormDefault="qualified" 8 attributeFormDefault="unqualified" version="0.3" id="passengerMobility"> 9 9 <xsd:annotation> 10 10 <xsd:appinfo> -
applications/editors/josm/plugins/opendata/modules/fr.toulouse/resources/neptune_toulouse/neptune.xsd
r28018 r30731 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!-- ========================================================================== 3 <!-- 4 <!-- CERTU 5 <!-- 6 <!-- projet chouette : Schema XSD 7 <!-- 8 <!-- neptune.xsd : Description XML du profil NEPTUNE 9 <!-- 10 <!-- Version : $Revision: 1.7 $ 11 <!-- 12 <!-- ========================================================================== 2 <!-- ========================================================================== --> 3 <!-- --> 4 <!-- CERTU --> 5 <!-- --> 6 <!-- projet chouette : Schema XSD --> 7 <!-- --> 8 <!-- neptune.xsd : Description XML du profil NEPTUNE --> 9 <!-- --> 10 <!-- Version : $Revision: 1.7 $ --> 11 <!-- --> 12 <!-- ========================================================================== --> 13 13 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 14 14 xmlns="http://www.trident.org/schema/trident" … … 19 19 elementFormDefault="qualified" version="1.00"> 20 20 21 22 21 <xsd:annotation> 22 <xsd:documentation xml:lang="en"> 23 23 TRIDENT exchange schema. 24 24 Request / Answer schema 25 25 Copyright (c) 2001 TRIDENT consortium, All Rights Reserved. 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 26 </xsd:documentation> 27 </xsd:annotation> 28 <!--.....Dépendance sur SIRI pour les équipements...--> 29 <xsd:import namespace="http://www.ifopt.org.uk/acsb" 30 schemaLocation="./acsb/acsb_passengerMobility-v0.3.xsd"/> 31 <xsd:import namespace="http://www.siri.org.uk/siri" 32 schemaLocation="./siri/siri_facilities-v1.2.xsd"/> 33 <!--.....Inclusion des éléments TRIDENT nécessaires...--> 34 35 <xsd:include schemaLocation="./trident/trident_Global_schema.xsd"/> 36 <xsd:include schemaLocation="./trident/trident_Location_schema.xsd"/> 37 <xsd:include schemaLocation="./trident/trident_PT_schema.xsd"/> 38 <!-- **************************************************************** --> 39 <xsd:complexType name="ITLType"> 40 <xsd:annotation> 41 <xsd:documentation>Interdiction de trafic local</xsd:documentation> 42 </xsd:annotation> 43 <xsd:sequence> 44 <xsd:element name="areaId" type="TridentIdType"/> 45 <xsd:element name="lineIdShortCut" type="TridentIdType" minOccurs="0"/> 46 <xsd:element name="name" type="xsd:string"/> 47 </xsd:sequence> 48 </xsd:complexType> 49 <xsd:complexType name="TimeSlotType"> 50 <xsd:annotation> 51 <xsd:documentation>Type pour les fréquences horaire</xsd:documentation> 52 </xsd:annotation> 53 <xsd:complexContent> 54 <xsd:extension base="trd:TridentObjectType"> 55 <xsd:sequence> 56 <xsd:element name="beginningSlotTime" type="xsd:time"/> 57 <xsd:element name="endSlotTime" type="xsd:time"/> 58 <xsd:element name="firstDepartureTimeInSlot" type="xsd:time"/> 59 <xsd:element name="lastDepartureTimeInSlot" type="xsd:time"/> 60 </xsd:sequence> 61 </xsd:extension> 62 </xsd:complexContent> 63 </xsd:complexType> 64 <xsd:complexType name="RouteExtension"> 65 <xsd:annotation> 66 <xsd:documentation>Extension d'itinéraire qui en précise le sens, aller ou retour</xsd:documentation> 67 </xsd:annotation> 68 <xsd:sequence> 69 <xsd:element name="wayBack" type="xsd:string"/> 70 </xsd:sequence> 71 </xsd:complexType> 72 <xsd:complexType name="StopAreaExtension"> 73 <xsd:annotation> 74 <xsd:documentation>Extension de zone d'arrêts qui précise notamment un code tarifaire et un identifiant fonctionnel</xsd:documentation> 75 </xsd:annotation> 76 <xsd:sequence> 77 <xsd:element name="areaType" type="ChouetteAreaType"/> 78 <xsd:element name="nearestTopicName" type="xsd:string" minOccurs="0"/> 79 <xsd:element name="fareCode" type="xsd:int" minOccurs="0"/> 80 <xsd:element name="registration" type="RegistrationType" minOccurs="0"/> 81 <xsd:element name="mobilityRestrictedSuitability" type="xsd:boolean" minOccurs="0"/> 82 <xsd:element name="accessibilitySuitabilityDetails" minOccurs="0"> 83 <xsd:complexType> 84 <xsd:sequence maxOccurs="unbounded"> 85 <xsd:group ref="ifopt:UserNeedGroup"/> 86 </xsd:sequence> 87 </xsd:complexType> 88 </xsd:element> 89 <xsd:element name="stairsAvailability" type="xsd:boolean" minOccurs="0"/> 90 <xsd:element name="liftAvailability" type="xsd:boolean" minOccurs="0"/> 91 </xsd:sequence> 92 </xsd:complexType> 93 <xsd:complexType name="ConnectionLinkExtensionType"> 94 <xsd:sequence> 95 <xsd:element name="accessibilitySuitabilityDetails" minOccurs="0"> 96 <xsd:complexType> 97 <xsd:sequence maxOccurs="unbounded"> 98 <xsd:group ref="ifopt:UserNeedGroup"/> 99 </xsd:sequence> 100 </xsd:complexType> 101 </xsd:element> 102 </xsd:sequence> 103 </xsd:complexType> 104 <xsd:complexType name="LineExtensionType"> 105 <xsd:annotation> 106 <xsd:documentation>Extension de ligne pour l'accessibilité aux PMR</xsd:documentation> 107 </xsd:annotation> 108 <xsd:sequence> 109 <xsd:element name="stableId" type="xsd:string" minOccurs="0"> 110 <xsd:annotation> 111 <xsd:documentation>Identifier of the line whose value will remain unchanged for the all line life time </xsd:documentation> 112 </xsd:annotation> 113 </xsd:element> 114 <xsd:element name="mobilityRestrictedSuitability" type="xsd:boolean" minOccurs="0"/> 115 <xsd:element name="accessibilitySuitabilityDetails" minOccurs="0"> 116 <xsd:complexType> 117 <xsd:sequence maxOccurs="unbounded"> 118 <xsd:group ref="ifopt:UserNeedGroup"/> 119 </xsd:sequence> 120 </xsd:complexType> 121 </xsd:element> 122 </xsd:sequence> 123 </xsd:complexType> 124 <xsd:complexType name="ChouetteFacilityType"> 125 <xsd:annotation> 126 <xsd:documentation>Description des equipement situés dans les zones d'arrêt ou les vehicules (via la ligne)</xsd:documentation> 127 </xsd:annotation> 128 <xsd:complexContent> 129 <xsd:extension base="trd:TridentObjectType"> 130 <xsd:sequence> 131 <xsd:element name="facilityLocation" minOccurs="0"> 132 <xsd:complexType> 133 <xsd:sequence> 134 <xsd:element name="longitude" type="trd:LongitudeType"/> 135 <xsd:element name="latitude" type="trd:LatitudeType"/> 136 <xsd:element name="longLatType" type="LongLatTypeType"/> 137 <xsd:element name="address" type="trd:AddressType" minOccurs="0"/> 138 <xsd:element name="projectedPoint" type="trd:ProjectedPointType" minOccurs="0"/> 139 <xsd:element name="containedIn" type="trd:TridentIdType"/> 140 <!-- REMARK : The IsContainedBy element refers to Area via Id --> 141 </xsd:sequence> 142 </xsd:complexType> 143 </xsd:element> 144 <xsd:choice> 145 <xsd:annotation> 146 <xsd:documentation>The facility has to be attached to a StopAres (Quay, BoardingPosition or Stop Place), a line (meaning vehicles operating this line), a connection link or a Stop Point on Route (stopPoint))</xsd:documentation> 147 </xsd:annotation> 148 <xsd:element name="stopAreaId" type="trd:TridentIdType"/> 149 <xsd:element name="lineId" type="trd:TridentIdType"/> 150 <xsd:element name="connectionLinkId" type="trd:TridentIdType"/> 151 <xsd:element name="stopPointId" type="trd:TridentIdType"/> 152 </xsd:choice> 153 <xsd:element name="facilityFeature" type="siri:AllFacilitiesFeatureStructure" maxOccurs="unbounded"> 154 <xsd:annotation> 155 <xsd:documentation>Description of the feauture of the facility. Several features may be associated to a single facility.</xsd:documentation> 156 </xsd:annotation> 157 </xsd:element> 158 <xsd:element name="name" type="xsd:string" minOccurs="0"> 159 <xsd:annotation> 160 <xsd:documentation>Name of the facility</xsd:documentation> 161 </xsd:annotation> 162 </xsd:element> 163 <xsd:element name="description" type="xsd:string" minOccurs="0"> 164 <xsd:annotation> 165 <xsd:documentation>Textual description of the facility</xsd:documentation> 166 </xsd:annotation> 167 </xsd:element> 168 <xsd:element name="freeAccess" type="xsd:boolean" minOccurs="0"> 169 <xsd:annotation> 170 <xsd:documentation>Is the access restricted or authorised to everybody</xsd:documentation> 171 </xsd:annotation> 172 </xsd:element> 173 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 174 </xsd:sequence> 175 </xsd:extension> 176 </xsd:complexContent> 177 </xsd:complexType> 178 <xsd:complexType name="ChouettePTNetworkType"> 179 <xsd:annotation> 180 <xsd:documentation>La strucutre d'échange d'une ligne de transport. 181 181 Cette strucuture contient la totalité des données qui décrivent la ligne.</xsd:documentation> 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 182 </xsd:annotation> 183 <xsd:sequence> 184 <xsd:element name="PTNetwork" type="trd:PTNetworkType"> 185 <xsd:annotation> 186 <xsd:documentation>Le réseau de la ligne</xsd:documentation> 187 </xsd:annotation> 188 </xsd:element> 189 <xsd:element name="GroupOfLine" type="GroupOfLineType" minOccurs="0"> 190 <xsd:annotation> 191 <xsd:documentation>Groupe de ligne auquel appartient la ligne décrite</xsd:documentation> 192 </xsd:annotation> 193 </xsd:element> 194 <xsd:element name="Company" type="trd:CompanyType" minOccurs="0" maxOccurs="unbounded"> 195 <xsd:annotation> 196 <xsd:documentation>La compagnie de transport qui assure l'exploitation de la ligne.</xsd:documentation> 197 </xsd:annotation> 198 </xsd:element> 199 <xsd:element name="ChouetteArea"> 200 <xsd:complexType> 201 <xsd:sequence> 202 <xsd:element name="StopArea" minOccurs="0" maxOccurs="unbounded"> 203 <xsd:annotation> 204 <xsd:documentation>La liste des zones dons le type figure sur l'extension</xsd:documentation> 205 </xsd:annotation> 206 <xsd:complexType> 207 <xsd:complexContent> 208 <xsd:extension base="StopAreaType"> 209 <xsd:sequence> 210 <xsd:element name="StopAreaExtension" type="StopAreaExtension" minOccurs="0"/> 211 </xsd:sequence> 212 </xsd:extension> 213 </xsd:complexContent> 214 </xsd:complexType> 215 </xsd:element> 216 <xsd:element name="AreaCentroid" minOccurs="0" maxOccurs="unbounded"> 217 <xsd:annotation> 218 <xsd:documentation>Liste de position géographiques</xsd:documentation> 219 </xsd:annotation> 220 <xsd:complexType> 221 <xsd:complexContent> 222 <xsd:extension base="PlaceType"/> 223 </xsd:complexContent> 224 </xsd:complexType> 225 </xsd:element> 226 </xsd:sequence> 227 </xsd:complexType> 228 </xsd:element> 229 <xsd:element name="ConnectionLink" minOccurs="0" maxOccurs="unbounded"> 230 <xsd:annotation> 231 <xsd:documentation>La liste de toutes les correspondances sur la ligne. 232 232 Les correspondances relient un arrêt de la ligne avec un autre arrêt de cette même ligne ou d'une autre ligne.</xsd:documentation> 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 233 </xsd:annotation> 234 <xsd:complexType> 235 <xsd:complexContent> 236 <xsd:extension base="ConnectionLinkType"> 237 <xsd:sequence> 238 <xsd:element name="ConnectionLinkExtension" type="ConnectionLinkExtensionType" minOccurs="0"/> 239 </xsd:sequence> 240 </xsd:extension> 241 </xsd:complexContent> 242 </xsd:complexType> 243 </xsd:element> 244 <xsd:element name="Timetable" type="TimetableType" minOccurs="0" maxOccurs="unbounded"> 245 <xsd:annotation> 246 <xsd:documentation>La liste des tableaux de marche.</xsd:documentation> 247 </xsd:annotation> 248 </xsd:element> 249 <xsd:element name="TimeSlot" type="TimeSlotType" minOccurs="0" maxOccurs="unbounded"/> 250 <xsd:element name="ChouetteLineDescription"> 251 <xsd:annotation> 252 <xsd:documentation>Structure qui regroupe les autres données de la ligne. 253 253 </xsd:documentation> 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 254 </xsd:annotation> 255 <xsd:complexType> 256 <xsd:sequence> 257 <xsd:element name="Line"> 258 <xsd:annotation> 259 <xsd:documentation>La ligne et ses références vers ses itinéraires et son réseau</xsd:documentation> 260 </xsd:annotation> 261 <xsd:complexType> 262 <xsd:complexContent> 263 <xsd:extension base="LineType"> 264 <xsd:sequence> 265 <xsd:element name="LineExtension" type="LineExtensionType" minOccurs="0"/> 266 </xsd:sequence> 267 </xsd:extension> 268 </xsd:complexContent> 269 </xsd:complexType> 270 </xsd:element> 271 <xsd:element name="ChouetteRoute" maxOccurs="unbounded"> 272 <xsd:annotation> 273 <xsd:documentation>La liste de tous les itinéraires de la ligne.</xsd:documentation> 274 </xsd:annotation> 275 <xsd:complexType> 276 <xsd:complexContent> 277 <xsd:extension base="RouteType"> 278 <xsd:sequence> 279 <xsd:element name="RouteExtension" type="RouteExtension" minOccurs="0"/> 280 </xsd:sequence> 281 </xsd:extension> 282 </xsd:complexContent> 283 </xsd:complexType> 284 </xsd:element> 285 <xsd:element name="StopPoint" minOccurs="2" maxOccurs="unbounded"> 286 <xsd:annotation> 287 <xsd:documentation>La liste de tous les arrêts parcourus par les tronçons des itinéraires de ligne. 288 288 289 289 </xsd:documentation> 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 290 </xsd:annotation> 291 <xsd:complexType> 292 <xsd:complexContent> 293 <xsd:extension base="StopPointType"/> 294 </xsd:complexContent> 295 </xsd:complexType> 296 </xsd:element> 297 <xsd:element name="ITL" type="ITLType" minOccurs="0" maxOccurs="unbounded"> 298 <xsd:annotation> 299 <xsd:documentation>Liste des interdictions de trafic local auxquelles doivent se conformer les voyageurs de la ligne</xsd:documentation> 300 </xsd:annotation> 301 </xsd:element> 302 <xsd:element name="PtLink" type="PTLinkType" maxOccurs="unbounded"> 303 <xsd:annotation> 304 <xsd:documentation>La liste de tous les tronçons des itinéraires de la ligne.</xsd:documentation> 305 </xsd:annotation> 306 </xsd:element> 307 <xsd:element name="JourneyPattern" type="JourneyPatternType" minOccurs="0" maxOccurs="unbounded"> 308 <xsd:annotation> 309 <xsd:documentation>La liste de toutes les missions des courses de la ligne.</xsd:documentation> 310 </xsd:annotation> 311 </xsd:element> 312 <xsd:element name="VehicleJourney" type="VehicleJourneyType" minOccurs="0" maxOccurs="unbounded"> 313 <xsd:annotation> 314 <xsd:documentation>La liste de toutes les courses de la ligne qui sont effectives pour au moins l'un des tableaux de marche de la ligne.</xsd:documentation> 315 </xsd:annotation> 316 </xsd:element> 317 </xsd:sequence> 318 </xsd:complexType> 319 </xsd:element> 320 <xsd:element name="Facility" type="ChouetteFacilityType" minOccurs="0" maxOccurs="unbounded"/> 321 <xsd:element name="AccessPoint" type="PTAccessPointType" minOccurs="0" maxOccurs="unbounded"/> 322 323 <xsd:element name="AccessLink" minOccurs="0" maxOccurs="unbounded"> 324 <xsd:annotation> 325 <xsd:documentation>La liste de toutes les correspondances sur la ligne. 326 326 Les correspondances relient un arrêt de la ligne avec un autre arrêt de cette même ligne ou d'une autre ligne.</xsd:documentation> 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 327 </xsd:annotation> 328 <xsd:complexType> 329 <xsd:complexContent> 330 <xsd:extension base="PTAccessLinkType"> 331 <xsd:sequence> 332 <xsd:element name="ConnectionLinkExtension" type="ConnectionLinkExtensionType" minOccurs="0"/> 333 </xsd:sequence> 334 </xsd:extension> 335 </xsd:complexContent> 336 </xsd:complexType> 337 </xsd:element> 338 </xsd:sequence> 339 </xsd:complexType> 340 <!-- Definition des instances --> 341 <xsd:element name="ChouettePTNetwork" type="ChouettePTNetworkType"> 342 <xsd:keyref name="fk_stoppoint_journey" refer="pk_stoppoint"> 343 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:JourneyPattern/trd:stopPointList"/> 344 <xsd:field xpath="."/> 345 </xsd:keyref> 346 <xsd:keyref name="fk_route_journey" refer="pk_route"> 347 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:JourneyPattern/trd:routeId"/> 348 <xsd:field xpath="."/> 349 </xsd:keyref> 350 <xsd:keyref name="fk_journey_vehicle" refer="pk_journey_pattern"> 351 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:VehicleJourney/trd:journeyPatternId"/> 352 <xsd:field xpath="."/> 353 </xsd:keyref> 354 <xsd:key name="pk_journey_pattern"> 355 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:JourneyPattern"/> 356 <xsd:field xpath="trd:objectId"/> 357 </xsd:key> 358 <xsd:keyref name="fk_vehicle_timetable" refer="pk_vehicle"> 359 <xsd:selector xpath=".//trd:Timetable/trd:vehicleJourneyId"/> 360 <xsd:field xpath="."/> 361 </xsd:keyref> 362 <xsd:keyref name="fk_vehicle_vehicleatstop" refer="pk_vehicle"> 363 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:VehicleJourney/trd:vehicleJourneyAtStop/trd:vehicleJourneyId"/> 364 <xsd:field xpath="."/> 365 </xsd:keyref> 366 <xsd:keyref name="fk_stoppoint_vehicleatstop" refer="pk_stoppoint"> 367 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:VehicleJourney/trd:vehicleJourneyAtStop/trd:stopPointId"/> 368 <xsd:field xpath="."/> 369 </xsd:keyref> 370 <xsd:keyref name="fk_route_vehicle" refer="pk_route"> 371 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:VehicleJourney/trd:routeId"/> 372 <xsd:field xpath="."/> 373 </xsd:keyref> 374 <xsd:keyref name="fk_stoppoint_ptlink" refer="pk_stoppoint"> 375 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:PtLink/trd:endOfLink|.//trd:ChouetteLineDescription/trd:PtLink/trd:startOfLink"/> 376 <xsd:field xpath="."/> 377 </xsd:keyref> 378 <xsd:key name="pk_vehicle"> 379 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:VehicleJourney"/> 380 <xsd:field xpath="trd:objectId"/> 381 </xsd:key> 382 <xsd:key name="pk_stoppoint"> 383 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:StopPoint"/> 384 <xsd:field xpath="trd:objectId"/> 385 </xsd:key> 386 <xsd:key name="pk_ptlink"> 387 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:PtLink"/> 388 <xsd:field xpath="trd:objectId"/> 389 </xsd:key> 390 <xsd:keyref name="fk_stoparea_centroid" refer="pk_stoparea"> 391 <xsd:selector xpath=".//trd:ChouetteArea/trd:AreaCentroid/trd:containedIn"/> 392 <xsd:field xpath="."/> 393 </xsd:keyref> 394 <xsd:keyref name="fk_stoparea_stoppoint" refer="pk_stoparea"> 395 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:StopPoint/trd:containedIn"/> 396 <xsd:field xpath="."/> 397 </xsd:keyref> 398 <xsd:key name="pk_stoparea"> 399 <xsd:selector xpath=".//trd:ChouetteArea/trd:StopArea"/> 400 <xsd:field xpath="trd:objectId"/> 401 </xsd:key> 402 <xsd:keyref name="fk_route_line" refer="pk_route"> 403 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:Line/trd:routeId"/> 404 <xsd:field xpath="."/> 405 </xsd:keyref> 406 <xsd:key name="pk_route"> 407 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:ChouetteRoute"/> 408 <xsd:field xpath="trd:objectId"/> 409 </xsd:key> 410 <xsd:keyref name="fk_line_ptnetwork" refer="pk_line"> 411 <xsd:selector xpath=".//trd:PTNetwork"/> 412 <xsd:field xpath="trd:lineId"/> 413 </xsd:keyref> 414 <xsd:key name="pk_line"> 415 <xsd:selector xpath=".//trd:ChouetteLineDescription/trd:Line"/> 416 <xsd:field xpath="trd:objectId"/> 417 </xsd:key> 418 <xsd:key name="pk_centroid"> 419 <xsd:selector xpath=".//trd:ChouetteArea/trd:AreaCentroid"/> 420 <xsd:field xpath="trd:objectId"/> 421 </xsd:key> 422 <xsd:keyref name="fk_centroid_stoparea" refer="pk_centroid"> 423 <xsd:selector xpath=".//trd:ChouetteArea/trd:StopArea/trd:centroidOfArea"/> 424 <xsd:field xpath="."/> 425 </xsd:keyref> 426 </xsd:element> 427 <xsd:simpleType name="ChouetteAreaType"> 428 <xsd:restriction base="xsd:string"> 429 <xsd:enumeration value="Quay"/> 430 <xsd:enumeration value="BoardingPosition"/> 431 <xsd:enumeration value="CommercialStopPoint"/> 432 <xsd:enumeration value="StopPlace"/> 433 <xsd:enumeration value="ITL"/> 434 </xsd:restriction> 435 </xsd:simpleType> 436 <xsd:complexType name="ChouetteRemoveLineType"> 437 <xsd:sequence> 438 <xsd:element name="Line" type="LineType"/> 439 </xsd:sequence> 440 </xsd:complexType> 441 <xsd:element name="ChouetteRemoveLine" type="ChouetteRemoveLineType"/> 442 442 </xsd:schema> -
applications/editors/josm/plugins/opendata/modules/fr.toulouse/resources/neptune_toulouse/trident/trident_Global_schema.xsd
r28018 r30731 3 3 <!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by Christophe Duquesne (Dryade) --> 4 4 <!-- File: trident_Global_schema.xsd --> 5 6 7 8 9 10 11 5 <xsd:schema 6 xmlns:trd="http://www.trident.org/schema/trident" 7 xmlns="http://www.trident.org/schema/trident" 8 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 9 targetNamespace="http://www.trident.org/schema/trident" 10 elementFormDefault="qualified" 11 version="2.0"> 12 12 <xsd:annotation> 13 13 <xsd:documentation xml:lang="en"> … … 25 25 <xsd:annotation> 26 26 <xsd:documentation> 27 28 29 27 Defines the way an TRIDENT ID has to be built: 28 {PeerID}:{Class name}:{Progressive integer} 29 For example: RATP:Event:12332 or ATAC:Line:9987 30 30 </xsd:documentation> 31 31 </xsd:annotation> … … 35 35 </xsd:simpleType> 36 36 <!-- REMARK : The following 2 types are not in the DM: they are technical 37 38 37 types used to ease construction_ it's just a list of 38 Trident Object Id --> 39 39 <xsd:simpleType name="TridentIdGeneralListType"> 40 40 <xsd:list itemType="TridentIdType"/> … … 61 61 </xsd:sequence> 62 62 <!-- REMARK: This object type is used for requests (to select 63 64 63 a specific Opbject from its Id), "minOccurs" has been set 64 to "0" for Version to be able to select the current Version 65 65 --> 66 66 </xsd:complexType> … … 90 90 <xsd:annotation> 91 91 <xsd:documentation> 92 92 Percentage: decimal between 0 and 100 93 93 </xsd:documentation> 94 94 </xsd:annotation> … … 104 104 <xsd:annotation> 105 105 <xsd:documentation> 106 106 Defines the list of the days of the week (in english!) 107 107 </xsd:documentation> 108 108 </xsd:annotation> … … 120 120 <xsd:annotation> 121 121 <xsd:documentation> 122 122 Enumeration containing all the possible units for measurement 123 123 </xsd:documentation> 124 124 </xsd:annotation> 125 125 <xsd:restriction base="xsd:string"> 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 126 <xsd:enumeration value="DegreesCelsius"/> 127 <xsd:enumeration value="Centimeter"/> 128 <xsd:enumeration value="Degree"/> 129 <xsd:enumeration value="Hour"/> 130 <xsd:enumeration value="Hectopascals"/> 131 <xsd:enumeration value="KilometersPerHour"/> 132 <xsd:enumeration value="Kilometer"/> 133 <xsd:enumeration value="CubicMeter"/> 134 <xsd:enumeration value="MillimetersPerHour"/> 135 <xsd:enumeration value="Millimeter"/> 136 <xsd:enumeration value="Meter"/> 137 <xsd:enumeration value="MetersPerSecond"/> 138 <xsd:enumeration value="Percentage"/> 139 <xsd:enumeration value="Second"/> 140 <xsd:enumeration value="Tonne"/> 141 <xsd:enumeration value="HrMinSec"/> 142 <xsd:enumeration value="PeriodOfTime"/> 143 </xsd:restriction> 144 </xsd:simpleType> 145 <!-- ============================================================== --> 146 <xsd:simpleType name="LocationTypeType"> 147 <xsd:annotation> 148 <xsd:documentation> 149 Enumeration containing all the possible location Type 150 </xsd:documentation> 151 </xsd:annotation> 152 <xsd:restriction base="xsd:string"> 153 <xsd:enumeration value="BusStopPoint"/> 154 <xsd:enumeration value="AriportStopPoint"/> 155 <xsd:enumeration value="TramStopPoint"/> 156 <xsd:enumeration value="MetroStopPoint"/> 157 <xsd:enumeration value="RailwayStopPoint"/> 158 <xsd:enumeration value="RoadJunction"/> 159 <xsd:enumeration value="Mixed"/> 160 <xsd:enumeration value="Address"/> 161 <xsd:enumeration value="IntermediateRoadPoint"/> 162 <xsd:enumeration value="StopArea"/> 163 <xsd:enumeration value="PointOfInterest"/> 164 </xsd:restriction> 165 </xsd:simpleType> 166 <xsd:simpleType name="LongLatTypeType"> 167 <xsd:annotation> 168 <xsd:documentation>Type of geodesic reference</xsd:documentation> 169 </xsd:annotation> 170 <xsd:restriction base="xsd:string"> 171 <xsd:enumeration value="WGS84"/> 172 <xsd:enumeration value="WGS92"/> 173 <xsd:enumeration value="Standard"/> 174 </xsd:restriction> 175 </xsd:simpleType> 176 <xsd:simpleType name="LocationReferencingMethodType"> 177 <xsd:annotation> 178 <xsd:documentation> 179 Enumeration containing all the possible location referencing 180 methods 181 </xsd:documentation> 182 </xsd:annotation> 183 <xsd:restriction base="xsd:string"> 184 <xsd:enumeration value="1"/> 185 <xsd:enumeration value="2"/> 186 <xsd:enumeration value="3"/> 187 <xsd:enumeration value="4"/> 188 <xsd:enumeration value="5"/> 189 <xsd:enumeration value="6"/> 190 <xsd:enumeration value="7"/> 191 <xsd:enumeration value="8"/> 192 <xsd:enumeration value="9"/> 193 <xsd:enumeration value="10"/> 194 <xsd:enumeration value="11"/> 195 </xsd:restriction> 196 </xsd:simpleType> 197 <xsd:simpleType name="WordOrderType"> 198 <xsd:annotation> 199 <xsd:documentation>Order of words in a ILOC descriptor</xsd:documentation> 200 </xsd:annotation> 201 <xsd:restriction base="xsd:string"> 202 <xsd:enumeration value="FromTheFirstToTheLastWord"/> 203 <xsd:enumeration value="FromTheLastToTheFirstWord"/> 204 </xsd:restriction> 205 </xsd:simpleType> 206 <xsd:simpleType name="POITypeType"> 207 <xsd:annotation> 208 <xsd:documentation>Different types for a point</xsd:documentation> 209 </xsd:annotation> 210 <xsd:restriction base="xsd:string"> 211 <xsd:enumeration value="AccommodationEatingAndDrinking"/> 212 <xsd:enumeration value="CommercialServices"/> 213 <xsd:enumeration value="Attraction"/> 214 <xsd:enumeration value="SportAndEntertainment"/> 215 <xsd:enumeration value="EducationAndHealth"/> 216 <xsd:enumeration value="PublicInfrastructure"/> 217 <xsd:enumeration value="ManufacturingAndProduction"/> 218 <xsd:enumeration value="Wholesale"/> 219 <xsd:enumeration value="Retail"/> 220 <xsd:enumeration value="Transport"/> 221 </xsd:restriction> 222 </xsd:simpleType> 223 <xsd:simpleType name="PtAccessPointTypeType"> 224 <xsd:annotation> 225 <xsd:documentation>Type of a PT acces</xsd:documentation> 226 </xsd:annotation> 227 <xsd:restriction base="xsd:string"> 228 <xsd:enumeration value="In"/> 229 <xsd:enumeration value="Out"/> 230 <xsd:enumeration value="InOut"/> 231 </xsd:restriction> 232 </xsd:simpleType> 233 <xsd:simpleType name="ConnectionLinkTypeType"> 234 <xsd:annotation> 235 <xsd:documentation>Type of connection</xsd:documentation> 236 </xsd:annotation> 237 <xsd:restriction base="xsd:string"> 238 <xsd:enumeration value="Underground"/> 239 <xsd:enumeration value="Mixed"/> 240 <xsd:enumeration value="Overground"/> 241 </xsd:restriction> 242 </xsd:simpleType> 243 <!-- ============================================================== --> 244 <xsd:simpleType name="TransportModeNameType"> 245 <xsd:annotation> 246 <xsd:documentation> 247 Enumeration containing all the possible transport modes 248 </xsd:documentation> 249 </xsd:annotation> 250 <xsd:restriction base="xsd:string"> 251 <xsd:enumeration value="Air"/> 252 <xsd:enumeration value="Train"/> 253 <xsd:enumeration value="LongDistanceTrain"/> 254 <xsd:enumeration value="LongDistanceTrain_2"/> 255 <xsd:enumeration value="LocalTrain"/> 256 <xsd:enumeration value="RapidTransit"/> 257 <xsd:enumeration value="Metro"/> 258 <xsd:enumeration value="Tramway"/> 259 <xsd:enumeration value="Coach"/> 260 <xsd:enumeration value="Bus"/> 261 <xsd:enumeration value="Ferry"/> 262 <xsd:enumeration value="Waterborne"/> 263 <xsd:enumeration value="PrivateVehicle"/> 264 <xsd:enumeration value="Walk"/> 265 <xsd:enumeration value="Trolleybus"/> 266 <xsd:enumeration value="Bicycle"/> 267 <xsd:enumeration value="Shuttle"/> 268 <xsd:enumeration value="Taxi"/> 269 <xsd:enumeration value="VAL"/> 270 <xsd:enumeration value="Other"/> 271 </xsd:restriction> 272 </xsd:simpleType> 273 <xsd:simpleType name="PTDirectionType"> 274 <xsd:annotation> 275 <xsd:documentation> 276 Enumeration containing all the possible directions on a PT Network 277 </xsd:documentation> 278 </xsd:annotation> 279 <xsd:restriction base="xsd:string"> 280 <xsd:enumeration value="North"/> 281 <xsd:enumeration value="NorthEast"/> 282 <xsd:enumeration value="East"/> 283 <xsd:enumeration value="SouthEast"/> 284 <xsd:enumeration value="South"/> 285 <xsd:enumeration value="SouthWest"/> 286 <xsd:enumeration value="West"/> 287 <xsd:enumeration value="NorthWest"/> 288 <xsd:enumeration value="ClockWise"/> 289 <xsd:enumeration value="CounterClockWise"/> 290 <xsd:enumeration value="A"/> 291 <xsd:enumeration value="R"/> 292 </xsd:restriction> 293 </xsd:simpleType> 294 <xsd:simpleType name="DayTypeType"> 295 <xsd:annotation> 296 <xsd:documentation> 297 Enumeration containing all defined Day Type 298 </xsd:documentation> 299 </xsd:annotation> 300 <xsd:restriction base="xsd:string"> 301 <xsd:enumeration value="WeekDay"/> 302 <xsd:enumeration value="WeekEnd"/> 303 <xsd:enumeration value="Monday"/> 304 <xsd:enumeration value="Tuesday"/> 305 <xsd:enumeration value="Wednesday"/> 306 <xsd:enumeration value="Thursday"/> 307 <xsd:enumeration value="Friday"/> 308 <xsd:enumeration value="Saturday"/> 309 <xsd:enumeration value="Sunday"/> 310 <xsd:enumeration value="SchoolHolliday"/> 311 <xsd:enumeration value="PublicHolliday"/> 312 <xsd:enumeration value="MarketDay"/> 313 </xsd:restriction> 314 </xsd:simpleType> 315 <xsd:simpleType name="BoardingAlightingPossibilityType"> 316 <xsd:annotation> 317 <xsd:documentation> 318 Enumeration containing all the ways to board or alight a bus 319 </xsd:documentation> 320 </xsd:annotation> 321 <xsd:restriction base="xsd:string"> 322 <xsd:enumeration value="BoardAndAlight"/> 323 <xsd:enumeration value="AlightOnly"/> 324 <xsd:enumeration value="BoardOnly"/> 325 <xsd:enumeration value="NeitherBoardOrAlight"/> 326 <xsd:enumeration value="BoardAndAlightOnRequest"/> 327 <xsd:enumeration value="AlightOnRequest"/> 328 <xsd:enumeration value="BoardOnRequest"/> 329 </xsd:restriction> 330 </xsd:simpleType> 331 <xsd:simpleType name="ServiceStatusValueType"> 332 <xsd:annotation> 333 <xsd:documentation> 334 Enumeration containing all the possible status of a PT service 335 </xsd:documentation> 336 </xsd:annotation> 337 <xsd:restriction base="xsd:string"> 338 <xsd:enumeration value="Normal"/> 339 <xsd:enumeration value="Delayed"/> 340 <xsd:enumeration value="Cancelled"/> 341 <xsd:enumeration value="Disrupted"/> 342 <xsd:enumeration value="ReducedService"/> 343 <xsd:enumeration value="IncreasedService"/> 344 <xsd:enumeration value="Rerouted"/> 345 <xsd:enumeration value="NotStopping"/> 346 <xsd:enumeration value="Early"/> 347 </xsd:restriction> 348 </xsd:simpleType> 349 <xsd:simpleType name="VehicleJourneyStatusValueType"> 350 <xsd:annotation> 351 <xsd:documentation> 352 Enumeration containing all the possible status of a PT service 353 353 on a vehicle 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 354 </xsd:documentation> 355 </xsd:annotation> 356 <xsd:restriction base="xsd:string"> 357 <xsd:enumeration value="Normal"/> 358 <xsd:enumeration value="Delayed"/> 359 <xsd:enumeration value="Cancelled"/> 360 <xsd:enumeration value="Rerouted"/> 361 <xsd:enumeration value="NotStopping"/> 362 <xsd:enumeration value="Early"/> 363 </xsd:restriction> 364 </xsd:simpleType> 365 <xsd:simpleType name="SourceTypeType"> 366 <xsd:annotation> 367 <xsd:documentation> 368 Enumeration containing all the possible type of information 369 369 source 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 370 </xsd:documentation> 371 </xsd:annotation> 372 <xsd:restriction base="xsd:string"> 373 <xsd:enumeration value="AutomobileClubPatrol"/> 374 <xsd:enumeration value="SpotterAircraft"/> 375 <xsd:enumeration value="BreakdownService"/> 376 <xsd:enumeration value="CameraObservation"/> 377 <xsd:enumeration value="EmergencyServicePatrol"/> 378 <xsd:enumeration value="FreightVehicleOperator"/> 379 <xsd:enumeration value="InfraredMonitoringStation"/> 380 <xsd:enumeration value="InductionLoopMonitoringStation"/> 381 <xsd:enumeration value="MicrowaveMonitoringStation"/> 382 <xsd:enumeration value="MobileTelephoneCaller"/> 383 <xsd:enumeration value="OtherInformation"/> 384 <xsd:enumeration value="OtherOfficialVehicle"/> 385 <xsd:enumeration value="PolicePatrol"/> 386 <xsd:enumeration value="PublicAndPrivateUtilities"/> 387 <xsd:enumeration value="RoadAuthorities"/> 388 <xsd:enumeration value="RegisteredMotoristObserver"/> 389 <xsd:enumeration value="RoadsideTelephoneCaller"/> 390 <xsd:enumeration value="TrafficMonitoringStation"/> 391 <xsd:enumeration value="TransitOperator"/> 392 <xsd:enumeration value="VideoProcessingMonitoringStation"/> 393 <xsd:enumeration value="VehicleProbeMeasurement"/> 394 <xsd:enumeration value="PublicTransport"/> 395 <xsd:enumeration value="PassengerTransportCoordinatingAuthority"/> 396 <xsd:enumeration value="TravelInformationServiceProvider"/> 397 <xsd:enumeration value="TravelAgency"/> 398 <xsd:enumeration value="IndividualSubjectOfTravelItinerary"/> 399 </xsd:restriction> 400 </xsd:simpleType> 401 <!-- ============================================================== --> 402 <xsd:simpleType name="QualityIndexType"> 403 <xsd:annotation> 404 <xsd:documentation> 405 Quality of a status/situation indications 406 </xsd:documentation> 407 </xsd:annotation> 408 <xsd:restriction base="xsd:string"> 409 <xsd:enumeration value="Certain"/> 410 <xsd:enumeration value="VeryReliable"/> 411 <xsd:enumeration value="Reliable"/> 412 <xsd:enumeration value="ProbablyReliable"/> 413 <xsd:enumeration value="Unconfirmed"/> 414 </xsd:restriction> 415 </xsd:simpleType> 416 <xsd:simpleType name="SeverityType"> 417 <xsd:annotation> 418 <xsd:documentation> 419 Severity of a status/situation 420 </xsd:documentation> 421 </xsd:annotation> 422 <xsd:restriction base="xsd:string"> 423 <xsd:enumeration value="ExtremelySevere"/> 424 <xsd:enumeration value="VerySevere"/> 425 <xsd:enumeration value="Severe"/> 426 <xsd:enumeration value="LowSeverity"/> 427 <xsd:enumeration value="LowestSeverity"/> 428 <xsd:enumeration value="NotProvided"/> 429 </xsd:restriction> 430 </xsd:simpleType> 431 <!-- ============================================================== --> 432 <xsd:complexType name="TimePeriodType"> 433 <xsd:annotation> 434 <xsd:documentation xml:lang="en"> 435 Time and duration information 436 </xsd:documentation> 437 </xsd:annotation> 438 <xsd:sequence> 439 <xsd:element name="DateTime" type="xsd:dateTime" minOccurs="0"/> 440 <xsd:element name="Duration" type="xsd:duration" minOccurs="0"/> 441 </xsd:sequence> 442 </xsd:complexType> 443 <xsd:complexType name="MeasurementTimeType"> 444 <xsd:annotation> 445 <xsd:documentation xml:lang="en"> 446 Informations on the time of a measurement 447 </xsd:documentation> 448 </xsd:annotation> 449 <xsd:sequence> 450 <xsd:element name="measurementTime" type="xsd:dateTime" minOccurs="0"/> 451 <xsd:element name="measurementPeriod" type="trd:TimePeriodType" minOccurs="0"/> 452 </xsd:sequence> 453 </xsd:complexType> 454 <xsd:complexType name="UnitisedQuantityType"> 455 <xsd:annotation> 456 <xsd:documentation xml:lang="en"> 457 457 Value with its type 458 458 for road trafic_ 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 459 </xsd:documentation> 460 </xsd:annotation> 461 <xsd:sequence> 462 <xsd:element name="value" type="xsd:decimal"/> 463 <xsd:element name="unit" type="trd:UnitType"/> 464 <xsd:element name="accuracy" type="trd:AccuracyType" minOccurs="0"/> 465 <xsd:element name="measurementTime" type="trd:MeasurementTimeType" minOccurs="0"/> 466 <xsd:element name="measurementLocation" type="trd:LocationType" minOccurs="0"/> 467 </xsd:sequence> 468 </xsd:complexType> 469 <xsd:complexType name="AccuracyType"> 470 <xsd:annotation> 471 <xsd:documentation xml:lang="en"> 472 Accuracy of a measure 473 </xsd:documentation> 474 </xsd:annotation> 475 <xsd:sequence> 476 <xsd:element name="standardDeviation" type="xsd:decimal" minOccurs="0"/> 477 <xsd:element name="accuracy" type="xsd:decimal" minOccurs="0"/> 478 <xsd:element name="dataClass" type="xsd:string" minOccurs="0"/> 479 <xsd:element name="accuracyRange" type="xsd:string" minOccurs="0"/> 480 <!-- REMARK : I didn't find the enumeration for the 2 481 following element in the DM_ I used 482 string type instead !!! --> 483 </xsd:sequence> 484 </xsd:complexType> 485 485 </xsd:schema> -
applications/editors/josm/plugins/opendata/modules/fr.toulouse/resources/neptune_toulouse/trident/trident_Location_schema.xsd
r28018 r30731 4 4 <!-- File: trident_Location_schema.xsd --> 5 5 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.trident.org/schema/trident" xmlns:trd="http://www.trident.org/schema/trident" targetNamespace="http://www.trident.org/schema/trident" elementFormDefault="qualified" version="2.0"> 6 7 8 6 <xsd:annotation> 7 <xsd:appinfo>trident.xsd v1.00 2002-10</xsd:appinfo> 8 <xsd:documentation xml:lang="en"> 9 9 TRIDENT exchange schema. 10 10 Location referencing Description 11 11 Copyright (c) 2001 TRIDENT consortium, All Rights Reserved. 12 13 14 15 16 12 </xsd:documentation> 13 </xsd:annotation> 14 <!-- included files (if any) --> 15 <xsd:include schemaLocation="trident_Global_schema.xsd"/> 16 <!-- ============================================================== 17 17 object declarations 18 18 ============================================================== --> 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 19 <!-- LOCATION ===================================================== --> 20 <xsd:complexType name="LogicalLocationType" abstract="true"> 21 <xsd:annotation> 22 <xsd:documentation xml:lang="en"> 23 General description of a logical location (point, area, link,network,line....) 24 This type is an abstract type 25 </xsd:documentation> 26 </xsd:annotation> 27 <xsd:complexContent> 28 <xsd:extension base="trd:TridentObjectType"/> 29 </xsd:complexContent> 30 </xsd:complexType> 31 <xsd:complexType name="LocationType" abstract="true"> 32 <xsd:annotation> 33 <xsd:documentation xml:lang="en"> 34 General description of a location (point, area, link) 35 This type is an abstract type 36 </xsd:documentation> 37 </xsd:annotation> 38 <xsd:complexContent> 39 <xsd:extension base="trd:LogicalLocationType"/> 40 </xsd:complexContent> 41 </xsd:complexType> 42 <!-- POINTS ===================================================== --> 43 <xsd:complexType name="AddressType"> 44 <xsd:annotation> 45 <xsd:documentation xml:lang="en"> 46 Full Description of an address 47 </xsd:documentation> 48 </xsd:annotation> 49 <xsd:sequence> 50 <xsd:element name="streetName" type="xsd:string" minOccurs="0"/> 51 <xsd:element name="countryCode" type="xsd:string" minOccurs="0"/> 52 <!-- REMARK : LanguageCode is a code from code list ISO 639-1988 --> 53 </xsd:sequence> 54 </xsd:complexType> 55 <xsd:complexType name="RoadAddressType"> 56 <xsd:annotation> 57 <xsd:documentation xml:lang="en"> 58 Full Description of an address 59 </xsd:documentation> 60 </xsd:annotation> 61 <xsd:complexContent> 62 <xsd:extension base="trd:AddressType"> 63 <xsd:sequence> 64 <xsd:element name="number" type="xsd:string" minOccurs="0"/> 65 <xsd:element name="name" type="xsd:string" minOccurs="0"/> 66 </xsd:sequence> 67 </xsd:extension> 68 </xsd:complexContent> 69 </xsd:complexType> 70 <xsd:complexType name="PostalAddressType"> 71 <xsd:annotation> 72 <xsd:documentation xml:lang="en"> 73 Full Description of an address 74 </xsd:documentation> 75 </xsd:annotation> 76 <xsd:complexContent> 77 <xsd:extension base="trd:AddressType"> 78 <xsd:sequence> 79 <xsd:element name="province" type="xsd:string" minOccurs="0"/> 80 <xsd:element name="region" type="xsd:string" minOccurs="0"/> 81 <xsd:element name="town" type="xsd:string" minOccurs="0"/> 82 <xsd:element name="roadNumber" type="xsd:string" minOccurs="0"/> 83 <xsd:element name="houseNumber" type="xsd:string" minOccurs="0"/> 84 <xsd:element name="postalCode" type="xsd:string"/> 85 </xsd:sequence> 86 </xsd:extension> 87 </xsd:complexContent> 88 </xsd:complexType> 89 <xsd:complexType name="PointOfInterestType"> 90 <xsd:annotation> 91 <xsd:documentation xml:lang="en"> 92 Description of a point of interest: this is provided if the point is at or near a major landmark or point of interest. 93 </xsd:documentation> 94 </xsd:annotation> 95 <xsd:sequence> 96 <xsd:element name="name" type="xsd:string" minOccurs="0"/> 97 <xsd:element name="type" type="trd:POITypeType" minOccurs="0"/> 98 </xsd:sequence> 99 </xsd:complexType> 100 <xsd:complexType name="WGS84PositionType"> 101 <xsd:annotation> 102 <xsd:documentation xml:lang="en"> 103 Position of a point in WGS 84 Coordinate. 104 </xsd:documentation> 105 </xsd:annotation> 106 <xsd:sequence> 107 <xsd:element name="Longitude" type="trd:LongitudeType"/> 108 <xsd:element name="Latitude" type="trd:LatitudeType"/> 109 </xsd:sequence> 110 </xsd:complexType> 111 <xsd:complexType name="ProjectedPointType"> 112 <xsd:annotation> 113 <xsd:documentation xml:lang="en"> 114 Position of a point in a projection system. 115 </xsd:documentation> 116 </xsd:annotation> 117 <xsd:sequence> 118 <xsd:element name="X" type="xsd:decimal"/> 119 <xsd:element name="Y" type="xsd:decimal"/> 120 <xsd:element name="projectionType" type="xsd:string" minOccurs="0"/> 121 </xsd:sequence> 122 </xsd:complexType> 123 <xsd:complexType name="ProprietaryIdentifierType"> 124 <xsd:sequence> 125 <xsd:element name="id" type="xsd:string"/> 126 </xsd:sequence> 127 </xsd:complexType> 128 <xsd:complexType name="PointType" abstract="true"> 129 <xsd:annotation> 130 <xsd:documentation xml:lang="en"> 131 General point used to build any kind of point 132 </xsd:documentation> 133 </xsd:annotation> 134 <xsd:complexContent> 135 <xsd:extension base="trd:LocationType"> 136 <xsd:sequence> 137 <xsd:element name="longitude" type="trd:LongitudeType"/> 138 <xsd:element name="latitude" type="trd:LatitudeType"/> 139 <xsd:element name="longLatType" type="LongLatTypeType"/> 140 <xsd:element name="address" type="trd:AddressType" minOccurs="0"/> 141 <xsd:element name="projectedPoint" type="trd:ProjectedPointType" minOccurs="0"/> 142 <xsd:element name="containedIn" type="trd:TridentIdType"/> 143 <!-- REMARK : The IsContainedBy element refers to Area via Id --> 144 </xsd:sequence> 145 </xsd:extension> 146 </xsd:complexContent> 147 </xsd:complexType> 148 <xsd:complexType name="PlaceType"> 149 <xsd:annotation> 150 <xsd:documentation xml:lang="en"> 151 StopPoint on a Route of a Line of a PT Network 152 </xsd:documentation> 153 </xsd:annotation> 154 <xsd:complexContent> 155 <xsd:extension base="trd:PointType"> 156 <xsd:sequence> 157 <xsd:element name="name" type="xsd:string"/> 158 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 159 </xsd:sequence> 160 </xsd:extension> 161 </xsd:complexContent> 162 </xsd:complexType> 163 <xsd:complexType name="RoadPointType"> 164 <xsd:annotation> 165 <xsd:documentation xml:lang="en"> 166 General point used to build any kind of point 167 </xsd:documentation> 168 </xsd:annotation> 169 <xsd:complexContent> 170 <xsd:extension base="trd:PointType"> 171 <xsd:sequence> 172 <xsd:element name="LanguageCode" type="xsd:string" minOccurs="0"/> 173 <xsd:element name="Name" type="xsd:string"/> 174 </xsd:sequence> 175 </xsd:extension> 176 </xsd:complexContent> 177 </xsd:complexType> 178 <xsd:complexType name="PTAccessPointType"> 179 <xsd:annotation> 180 <xsd:documentation xml:lang="en"> 181 The physical (spatial) possibility for a passenger 182 to access or leave the PT network. 183 </xsd:documentation> 184 </xsd:annotation> 185 <xsd:complexContent> 186 <xsd:extension base="trd:PointType"> 187 <xsd:sequence> 188 <xsd:element name="name" type="xsd:string" minOccurs="0"/> 189 <xsd:element name="type" minOccurs="0"> 190 <xsd:simpleType> 191 <xsd:restriction base="xsd:string"> 192 <xsd:enumeration value="In"/> 193 <xsd:enumeration value="Out"/> 194 <xsd:enumeration value="InOut"/> 195 </xsd:restriction> 196 </xsd:simpleType> 197 </xsd:element> 198 <xsd:element name="openingTime" type="xsd:time" minOccurs="0"/> 199 <xsd:element name="closingTime" type="xsd:time" minOccurs="0"/> 200 <xsd:element name="mobilityRestrictedSuitability" type="xsd:boolean" minOccurs="0"/> 201 <xsd:element name="stairsAvailability" type="xsd:boolean" minOccurs="0"/> 202 <xsd:element name="liftAvailability" type="xsd:boolean" minOccurs="0"/> 203 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 204 </xsd:sequence> 205 </xsd:extension> 206 </xsd:complexContent> 207 </xsd:complexType> 208 <xsd:complexType name="NonPTAccessLinkendType"> 209 <xsd:annotation> 210 <xsd:documentation xml:lang="en"> 211 211 An origin place not belonging to the PT network. 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 212 </xsd:documentation> 213 </xsd:annotation> 214 <xsd:complexContent> 215 <xsd:extension base="trd:PointType"> 216 <xsd:sequence/> 217 </xsd:extension> 218 </xsd:complexContent> 219 </xsd:complexType> 220 <xsd:complexType name="StopPointType"> 221 <xsd:annotation> 222 <xsd:documentation xml:lang="en"> 223 StopPoint on a Route of a Line of a PT Network 224 </xsd:documentation> 225 </xsd:annotation> 226 <xsd:complexContent> 227 <xsd:extension base="trd:PointType"> 228 <xsd:sequence> 229 <xsd:element name="name" type="xsd:string"/> 230 <xsd:element name="lineIdShortcut" type="trd:TridentIdType" minOccurs="0"/> 231 <xsd:element name="ptNetworkIdShortcut" type="trd:TridentIdType" minOccurs="0"/> 232 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 233 </xsd:sequence> 234 </xsd:extension> 235 </xsd:complexContent> 236 </xsd:complexType> 237 <xsd:complexType name="AirportStopPointType"> 238 <xsd:annotation> 239 <xsd:documentation xml:lang="en"> 240 An airport 241 </xsd:documentation> 242 </xsd:annotation> 243 <xsd:complexContent> 244 <xsd:extension base="trd:StopPointType"> 245 <xsd:sequence> 246 <xsd:element name="terminalIdentifier" type="xsd:string" minOccurs="0"/> 247 <xsd:element name="gateIdentifier" type="xsd:string" minOccurs="0"/> 248 </xsd:sequence> 249 </xsd:extension> 250 </xsd:complexContent> 251 </xsd:complexType> 252 <xsd:complexType name="BusStopPointType"> 253 <xsd:annotation> 254 <xsd:documentation xml:lang="en"> 255 An bus sopt point 256 </xsd:documentation> 257 </xsd:annotation> 258 <xsd:complexContent> 259 <xsd:extension base="trd:StopPointType"> 260 <xsd:sequence> 261 <xsd:element name="ptDirection" type="PTDirectionType" minOccurs="0"/> 262 <xsd:element name="streetName" type="xsd:string" minOccurs="0"/> 263 <xsd:element name="streetNumber" type="xsd:string" minOccurs="0"/> 264 <xsd:element name="platformIdentifier" type="xsd:string" minOccurs="0"/> 265 </xsd:sequence> 266 </xsd:extension> 267 </xsd:complexContent> 268 </xsd:complexType> 269 <xsd:complexType name="TramStopPointType"> 270 <xsd:annotation> 271 <xsd:documentation xml:lang="en"> 272 An TRAM stop point 273 </xsd:documentation> 274 </xsd:annotation> 275 <xsd:complexContent> 276 <xsd:extension base="trd:StopPointType"> 277 <xsd:sequence> 278 <xsd:element name="streetName" type="xsd:string" minOccurs="0"/> 279 <xsd:element name="streetNumber" type="xsd:string" minOccurs="0"/> 280 <xsd:element name="ptDirection" type="PTDirectionType" minOccurs="0"/> 281 <xsd:element name="platformIdentifier" type="xsd:string" minOccurs="0"/> 282 </xsd:sequence> 283 </xsd:extension> 284 </xsd:complexContent> 285 </xsd:complexType> 286 <xsd:complexType name="MetroStopPointType"> 287 <xsd:annotation> 288 <xsd:documentation xml:lang="en"> 289 An metro stop point 290 </xsd:documentation> 291 </xsd:annotation> 292 <xsd:complexContent> 293 <xsd:extension base="trd:StopPointType"> 294 <xsd:sequence> 295 <xsd:element name="lineName" type="xsd:string" minOccurs="0"/> 296 <xsd:element name="lineNumber" type="xsd:string" minOccurs="0"/> 297 <xsd:element name="platformIdentifier" type="xsd:string" minOccurs="0"/> 298 <xsd:element name="ptDirection" type="PTDirectionType" minOccurs="0"/> 299 </xsd:sequence> 300 </xsd:extension> 301 </xsd:complexContent> 302 </xsd:complexType> 303 <xsd:complexType name="RailwayStopPointType"> 304 <xsd:annotation> 305 <xsd:documentation xml:lang="en"> 306 An Railwaystop point 307 </xsd:documentation> 308 </xsd:annotation> 309 <xsd:complexContent> 310 <xsd:extension base="trd:StopPointType"> 311 <xsd:sequence> 312 <xsd:element name="stationInternalDivision" type="xsd:string" minOccurs="0"/> 313 <xsd:element name="platformIdentifier" type="xsd:string" minOccurs="0"/> 314 </xsd:sequence> 315 </xsd:extension> 316 </xsd:complexContent> 317 </xsd:complexType> 318 <!-- LINKS ===================================================== --> 319 <xsd:complexType name="GeneralLinkType"> 320 <xsd:annotation> 321 <xsd:documentation xml:lang="en"> 322 A General Link Between two Points (or object inheriting 323 323 from Point) 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 324 </xsd:documentation> 325 </xsd:annotation> 326 <xsd:complexContent> 327 <xsd:extension base="trd:LocationType"> 328 <xsd:sequence> 329 <xsd:element name="name" type="xsd:string" minOccurs="0"/> 330 <xsd:element name="startOfLink" type="trd:TridentIdType"/> 331 <xsd:element name="endOfLink" type="trd:TridentIdType"/> 332 <xsd:element name="linkDistance" type="xsd:decimal" minOccurs="0"/> 333 </xsd:sequence> 334 </xsd:extension> 335 </xsd:complexContent> 336 </xsd:complexType> 337 <xsd:complexType name="ConnectionLinkType"> 338 <xsd:annotation> 339 <xsd:documentation xml:lang="en"> 340 The path between two places covered by any "personal" mean of transport 341 </xsd:documentation> 342 </xsd:annotation> 343 <xsd:complexContent> 344 <xsd:extension base="trd:GeneralLinkType"> 345 <xsd:sequence> 346 <xsd:element name="linkType" type="trd:ConnectionLinkTypeType" minOccurs="0"/> 347 <xsd:element name="defaultDuration" type="xsd:duration" minOccurs="0"/> 348 <xsd:element name="frequentTravellerDuration" type="xsd:duration" minOccurs="0"/> 349 <xsd:element name="occasionalTravellerDuration" type="xsd:duration" minOccurs="0"/> 350 <xsd:element name="mobilityRestrictedTravellerDuration" type="xsd:duration" minOccurs="0"/> 351 <xsd:element name="mobilityRestrictedSuitability" type="xsd:boolean" minOccurs="0"/> 352 <xsd:element name="stairsAvailability" type="xsd:boolean" minOccurs="0"/> 353 <xsd:element name="liftAvailability" type="xsd:boolean" minOccurs="0"/> 354 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 355 </xsd:sequence> 356 </xsd:extension> 357 </xsd:complexContent> 358 </xsd:complexType> 359 <xsd:complexType name="PTAccessLinkType"> 360 <xsd:annotation> 361 <xsd:documentation xml:lang="en"> 362 Link between a StopPoint and an AccessPoint. 363 </xsd:documentation> 364 </xsd:annotation> 365 <xsd:complexContent> 366 <xsd:extension base="trd:ConnectionLinkType"> 367 <xsd:sequence> 368 <xsd:element name="Comment" type="xsd:string" minOccurs="0"/> 369 </xsd:sequence> 370 </xsd:extension> 371 </xsd:complexContent> 372 </xsd:complexType> 373 <xsd:complexType name="NonPTAccessLinkType"> 374 <xsd:annotation> 375 <xsd:documentation xml:lang="en"> 376 Link between a StopPoint and an AccessPoint. 377 </xsd:documentation> 378 </xsd:annotation> 379 <xsd:complexContent> 380 <xsd:extension base="trd:ConnectionLinkType"> 381 <xsd:sequence> 382 <xsd:element name="Comment" type="xsd:string" minOccurs="0"/> 383 </xsd:sequence> 384 </xsd:extension> 385 </xsd:complexContent> 386 </xsd:complexType> 387 <xsd:complexType name="PTLinkType"> 388 <xsd:annotation> 389 <xsd:documentation xml:lang="en"> 390 A Link between two StopPoints 391 </xsd:documentation> 392 </xsd:annotation> 393 <xsd:complexContent> 394 <xsd:extension base="trd:GeneralLinkType"> 395 <xsd:sequence> 396 <xsd:element name="Comment" type="xsd:string" minOccurs="0"/> 397 </xsd:sequence> 398 </xsd:extension> 399 </xsd:complexContent> 400 </xsd:complexType> 401 <xsd:complexType name="CarType"> 402 <xsd:annotation> 403 <xsd:documentation xml:lang="en"> 404 The path between two places covered on the road network by a private means of transport (car, truck, etc). 405 </xsd:documentation> 406 </xsd:annotation> 407 <xsd:complexContent> 408 <xsd:extension base="trd:GeneralLinkType"> 409 <xsd:sequence> 410 <xsd:element name="Comment" type="xsd:string" minOccurs="0"/> 411 </xsd:sequence> 412 </xsd:extension> 413 </xsd:complexContent> 414 </xsd:complexType> 415 <!-- AREA ===================================================== --> 416 <xsd:complexType name="AreaType"> 417 <xsd:annotation> 418 <xsd:documentation xml:lang="en"> 419 An area made up of a set of Points 420 </xsd:documentation> 421 </xsd:annotation> 422 <xsd:complexContent> 423 <xsd:extension base="trd:LocationType"> 424 <xsd:sequence> 425 <xsd:element name="name" type="xsd:string" minOccurs="0"/> 426 <xsd:element name="contains" type="trd:TridentIdType" maxOccurs="unbounded"/> 427 <xsd:element name="boundaryPoint" type="trd:TridentIdType" minOccurs="0" maxOccurs="unbounded"/> 428 <xsd:element name="centroidOfArea" type="trd:TridentIdType" minOccurs="0"/> 429 <!-- REMARK : The following element refers to Points via Id --> 430 </xsd:sequence> 431 </xsd:extension> 432 </xsd:complexContent> 433 </xsd:complexType> 434 <!-- ALLERT C TYPE DEFINITIONS ================================= --> 435 <!--Non utile pour amivif--> 436 436 </xsd:schema> -
applications/editors/josm/plugins/opendata/modules/fr.toulouse/resources/neptune_toulouse/trident/trident_PT_schema.xsd
r28018 r30731 4 4 <!-- File: trident_PT_schema.xsd --> 5 5 <xsd:schema 6 7 8 9 10 11 12 13 6 xmlns:trd="http://www.trident.org/schema/trident" 7 xmlns="http://www.trident.org/schema/trident" 8 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 9 targetNamespace="http://www.trident.org/schema/trident" 10 elementFormDefault="qualified" version="2.0"> 11 <xsd:annotation> 12 <xsd:appinfo>trident.xsd v1.00 2002-10</xsd:appinfo> 13 <xsd:documentation xml:lang="en"> 14 14 TRIDENT exchange schema. 15 15 PT Network Description 16 16 Copyright (c) 2001 TRIDENT consortium, All Rights Reserved. 17 18 19 20 21 17 </xsd:documentation> 18 </xsd:annotation> 19 <!-- included files (if any) --> 20 <xsd:include schemaLocation="trident_Global_schema.xsd"/> 21 <!-- ============================================================== 22 22 object declarations 23 23 ============================================================== --> 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 24 <xsd:simpleType name="PTConnectionLinkTypeType"> 25 <xsd:annotation> 26 <xsd:documentation xml:lang="en"> 27 Enumeration containing all the possible type of non PT access link 28 </xsd:documentation> 29 </xsd:annotation> 30 <xsd:restriction base="xsd:string"> 31 <xsd:enumeration value="Underground"/> 32 <xsd:enumeration value="Mixed"/> 33 <xsd:enumeration value="Overground"/> 34 </xsd:restriction> 35 </xsd:simpleType> 36 <!--PT NETWORK ===================================================== --> 37 <!-- Stop Point,PTLink, PTAccessLink and AccessPoint are defined in Location --> 38 <!-- PTLink is defined in Location --> 39 <xsd:complexType name="StopAreaType"> 40 <xsd:annotation> 41 <xsd:documentation xml:lang="en"> 42 A PT area made up of a set of PT Stop Points 43 </xsd:documentation> 44 </xsd:annotation> 45 <xsd:complexContent> 46 <xsd:extension base="trd:AreaType"> 47 <xsd:sequence> 48 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 49 </xsd:sequence> 50 </xsd:extension> 51 </xsd:complexContent> 52 </xsd:complexType> 53 <xsd:complexType name="RouteType"> 54 <xsd:annotation> 55 <xsd:documentation xml:lang="en"> 56 An ordered list of Stop Points on wich Journey 57 pattern are applied 58 </xsd:documentation> 59 </xsd:annotation> 60 <xsd:complexContent> 61 <xsd:extension base="trd:TridentObjectType"> 62 <xsd:sequence> 63 <xsd:element name="name" type="xsd:string" minOccurs="0"/> 64 <xsd:element name="publishedName" type="xsd:string" minOccurs="0"/> 65 <xsd:element name="number" type="xsd:string" minOccurs="0"/> 66 <xsd:element name="direction" type="trd:PTDirectionType" minOccurs="0"/> 67 <xsd:element name="ptLinkId" type="trd:TridentIdType" maxOccurs="unbounded"/> 68 <xsd:element name="journeyPatternId" type="trd:TridentIdType" maxOccurs="unbounded"/> 69 <xsd:element name="wayBackRouteId" type="trd:TridentIdType" minOccurs="0"/> 70 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 71 </xsd:sequence> 72 </xsd:extension> 73 </xsd:complexContent> 74 </xsd:complexType> 75 <xsd:complexType name="LineType"> 76 <xsd:annotation> 77 <xsd:documentation xml:lang="en"> 78 78 A line is a set of Route _. 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 79 </xsd:documentation> 80 </xsd:annotation> 81 <xsd:complexContent> 82 <xsd:extension base="trd:LogicalLocationType"> 83 <xsd:sequence> 84 <xsd:element name="name" type="xsd:string" minOccurs="0"/> 85 <xsd:element name="number" type="xsd:string" minOccurs="0"/> 86 <xsd:element name="publishedName" type="xsd:string" minOccurs="0"/> 87 <xsd:element name="transportModeName" type="trd:TransportModeNameType" minOccurs="0"/> 88 <xsd:element name="lineEnd" type="trd:TridentIdType" minOccurs="0" maxOccurs="unbounded"/> 89 <xsd:element name="routeId" type="trd:TridentIdType" maxOccurs="unbounded"/> 90 <xsd:element name="registration" type="trd:RegistrationType" minOccurs="0"/> 91 <xsd:element name="ptNetworkIdShortcut" type="trd:TridentIdType" minOccurs="0"/> 92 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 93 </xsd:sequence> 94 </xsd:extension> 95 </xsd:complexContent> 96 </xsd:complexType> 97 <xsd:complexType name="GroupOfLineType"> 98 <xsd:annotation> 99 <xsd:documentation xml:lang="en"> 100 100 A set of lines 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 101 </xsd:documentation> 102 </xsd:annotation> 103 <xsd:complexContent> 104 <xsd:extension base="trd:TridentObjectType"> 105 <xsd:sequence> 106 <xsd:element name="name" type="xsd:string"/> 107 <xsd:element name="lineId" type="trd:TridentIdType" maxOccurs="unbounded"/> 108 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 109 </xsd:sequence> 110 </xsd:extension> 111 </xsd:complexContent> 112 </xsd:complexType> 113 <xsd:complexType name="JourneyPatternType"> 114 <xsd:annotation> 115 <xsd:documentation xml:lang="en"> 116 Basically, JourneyPattern are some ordered list of 117 117 Stop Points, but these StopPoints have to be linked 118 118 together (by couples) 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 119 </xsd:documentation> 120 </xsd:annotation> 121 <xsd:complexContent> 122 <xsd:extension base="trd:TridentObjectType"> 123 <xsd:sequence> 124 <xsd:element name="name" type="xsd:string" minOccurs="0"/> 125 <xsd:element name="publishedName" type="xsd:string" minOccurs="0"/> 126 <xsd:element name="routeId" type="trd:TridentIdType"/> 127 <xsd:element name="origin" type="trd:TridentIdType" minOccurs="0"/> 128 <xsd:element name="destination" type="trd:TridentIdType" minOccurs="0"/> 129 <xsd:element name="stopPointList" type="trd:TridentIdType" minOccurs="2" maxOccurs="unbounded"/> 130 <xsd:element name="registration" type="trd:RegistrationType" minOccurs="0"/> 131 <xsd:element name="lineIdShortcut" type="trd:TridentIdType" minOccurs="0"/> 132 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 133 <!-- REMARK : The 3 following elements refers to StopPoints --> 134 <!-- The following field is not in the DM, it is only here to help to navigate in the data --> 135 </xsd:sequence> 136 </xsd:extension> 137 </xsd:complexContent> 138 </xsd:complexType> 139 <xsd:complexType name="VehicleJourneyAtStopType"> 140 <xsd:annotation> 141 <xsd:documentation xml:lang="en"> 142 142 Passing time on a stop point 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 143 </xsd:documentation> 144 </xsd:annotation> 145 <xsd:sequence> 146 <xsd:element name="stopPointId" type="trd:TridentIdType"/> 147 <xsd:element name="vehicleJourneyId" type="trd:TridentIdType" minOccurs="0"/> 148 <xsd:element name="connectingServiceId" type="trd:TridentIdType" minOccurs="0"/> 149 <xsd:choice> 150 <xsd:sequence> 151 <xsd:element name="arrivalTime" type="xsd:time" minOccurs="0"/> 152 <xsd:element name="departureTime" type="xsd:time"/> 153 <xsd:element name="waitingTime" type="xsd:time" minOccurs="0"/> 154 </xsd:sequence> 155 <xsd:sequence> 156 <xsd:element name="elapseDuration" type="xsd:duration"/> 157 </xsd:sequence> 158 </xsd:choice> 159 <xsd:element name="headwayFrequency" type="xsd:duration" minOccurs="0"/> 160 <xsd:element name="boardingAlightingPossibility" type="trd:BoardingAlightingPossibilityType" minOccurs="0"/> 161 <xsd:element name="order" type="xsd:positiveInteger" minOccurs="0"/> 162 <!-- REMARK : The name is Frequency, but in fact it's a period --> 163 </xsd:sequence> 164 </xsd:complexType> 165 <xsd:complexType name="VehicleJourneyType"> 166 <xsd:annotation> 167 <xsd:documentation xml:lang="en"> 168 168 Instance of a Journey Pattern 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 169 </xsd:documentation> 170 </xsd:annotation> 171 <xsd:complexContent> 172 <xsd:extension base="trd:TridentObjectType"> 173 <xsd:sequence> 174 <xsd:element name="routeId" type="trd:TridentIdType"/> 175 <xsd:element name="journeyPatternId" type="trd:TridentIdType" minOccurs="0"/> 176 <xsd:element name="publishedJourneyName" type="xsd:string" minOccurs="0"/> 177 <xsd:element name="publishedJourneyIdentifier" type="xsd:string" minOccurs="0"/> 178 <xsd:element name="transportMode" type="trd:TransportModeNameType" minOccurs="0"/> 179 <xsd:element name="vehicleTypeIdentifier" type="xsd:string" minOccurs="0"/> 180 <xsd:element name="statusValue" type="ServiceStatusValueType" minOccurs="0"/> 181 <xsd:element name="lineIdShortcut" type="trd:TridentIdType" minOccurs="0"/> 182 <xsd:element name="routeIdShortcut" type="trd:TridentIdType" minOccurs="0"/> 183 <xsd:element name="operatorId" type="trd:TridentIdType" minOccurs="0"/> 184 <xsd:element name="facility" type="xsd:string" minOccurs="0"/> 185 <xsd:element name="number" type="xsd:integer" minOccurs="0"/> 186 <xsd:element name="vehicleJourneyAtStop" type="trd:VehicleJourneyAtStopType" minOccurs="2" maxOccurs="unbounded"/> 187 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 188 <!-- REMARK : As the vehicle Type enumeration is not yet defined in the DD, 189 I used a string instead --> 190 <xsd:element name="timeSlotId" type="trd:TridentIdType" minOccurs="0"/> 191 </xsd:sequence> 192 </xsd:extension> 193 </xsd:complexContent> 194 </xsd:complexType> 195 <xsd:complexType name="PeriodType"> 196 <xsd:annotation> 197 <xsd:documentation xml:lang="en"> 198 198 Period during which a Vehicle Journey is applicable 199 200 201 202 203 204 205 206 207 208 199 </xsd:documentation> 200 </xsd:annotation> 201 <xsd:sequence> 202 <xsd:element name="startOfPeriod" type="xsd:date"/> 203 <xsd:element name="endOfPeriod" type="xsd:date"/> 204 </xsd:sequence> 205 </xsd:complexType> 206 <xsd:complexType name="ConnectingServiceType"> 207 <xsd:annotation> 208 <xsd:documentation xml:lang="en"> 209 209 Connecting service description 210 211 212 213 214 215 216 217 218 219 220 221 222 223 210 </xsd:documentation> 211 </xsd:annotation> 212 <xsd:complexContent> 213 <xsd:extension base="trd:TridentObjectType"> 214 <xsd:sequence> 215 <xsd:element name="minimumConnectingTime" type="xsd:duration"/> 216 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 217 </xsd:sequence> 218 </xsd:extension> 219 </xsd:complexContent> 220 </xsd:complexType> 221 <xsd:complexType name="CompanyType"> 222 <xsd:annotation> 223 <xsd:documentation xml:lang="en"> 224 224 PT Operator description 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 225 </xsd:documentation> 226 </xsd:annotation> 227 <xsd:complexContent> 228 <xsd:extension base="trd:TridentObjectType"> 229 <xsd:sequence> 230 <xsd:element name="name" type="xsd:string"/> 231 <xsd:element name="shortName" type="xsd:string" minOccurs="0"/> 232 <xsd:element name="organisationalUnit" type="xsd:string" minOccurs="0"/> 233 <xsd:element name="operatingDepartmentName" type="xsd:string" minOccurs="0"/> 234 <xsd:element name="code" type="xsd:string" minOccurs="0"/> 235 <xsd:element name="phone" type="xsd:string" minOccurs="0"/> 236 <xsd:element name="fax" type="xsd:string" minOccurs="0"/> 237 <xsd:element name="email" type="xsd:string" minOccurs="0"/> 238 <xsd:element name="registration" type="trd:RegistrationType" minOccurs="0"/> 239 </xsd:sequence> 240 </xsd:extension> 241 </xsd:complexContent> 242 </xsd:complexType> 243 <xsd:complexType name="TimetableType"> 244 <xsd:annotation> 245 <xsd:documentation xml:lang="en"> 246 246 TimeTable informations (merge of LineTimeTable and PointTimeTable) 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 247 </xsd:documentation> 248 </xsd:annotation> 249 <xsd:complexContent> 250 <xsd:extension base="trd:TridentObjectType"> 251 <xsd:sequence> 252 <xsd:element name="version" type="xsd:string" minOccurs="0"/> 253 <xsd:element name="period" type="trd:PeriodType" minOccurs="0" maxOccurs="unbounded"/> 254 <xsd:element name="calendarDay" type="xsd:date" minOccurs="0" maxOccurs="unbounded"/> 255 <xsd:element name="dayType" type="trd:DayTypeType" minOccurs="0" maxOccurs="unbounded"/> 256 <xsd:element name="vehicleJourneyId" type="trd:TridentIdType" minOccurs="0" maxOccurs="unbounded"/> 257 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 258 </xsd:sequence> 259 </xsd:extension> 260 </xsd:complexContent> 261 </xsd:complexType> 262 <xsd:complexType name="PTNetworkType"> 263 <xsd:annotation> 264 <xsd:documentation xml:lang="en"> 265 265 PT Network description, and link to all the entry point 266 266 for this network in the Data Model. 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 267 </xsd:documentation> 268 </xsd:annotation> 269 <xsd:complexContent> 270 <xsd:extension base="trd:TransportNetworkType"> 271 <xsd:sequence> 272 <xsd:element name="name" type="xsd:string"/> 273 <xsd:element name="registration" type="trd:RegistrationType" minOccurs="0"/> 274 <xsd:element name="sourceName" type="xsd:string" minOccurs="0"/> 275 <xsd:element name="sourceIdentifier" type="xsd:string" minOccurs="0"/> 276 <xsd:element name="sourceType" type="trd:SourceTypeType" minOccurs="0"/> 277 <xsd:element name="lineId" type="trd:TridentIdType" minOccurs="0" maxOccurs="unbounded"/> 278 <xsd:element name="comment" type="xsd:string" minOccurs="0"/> 279 <!--Exensions to the DM 1.3 --> 280 </xsd:sequence> 281 </xsd:extension> 282 </xsd:complexContent> 283 </xsd:complexType> 284 <xsd:complexType name="RoadNetworkType"> 285 <xsd:annotation> 286 <xsd:documentation xml:lang="en"> 287 287 PT Network description, and link to all the entry point 288 288 for this network in the Data Model. 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 289 </xsd:documentation> 290 </xsd:annotation> 291 <xsd:complexContent> 292 <xsd:extension base="trd:TransportNetworkType"> 293 <xsd:sequence> 294 <xsd:element name="Name" type="xsd:string"/> 295 <xsd:element name="JunctionId" type="trd:TridentIdType" minOccurs="0" maxOccurs="unbounded"/> 296 <xsd:element name="RoadElementId" type="trd:TridentIdType" minOccurs="0" maxOccurs="unbounded"/> 297 <xsd:element name="Comment" type="xsd:string" minOccurs="0"/> 298 </xsd:sequence> 299 </xsd:extension> 300 </xsd:complexContent> 301 </xsd:complexType> 302 <xsd:complexType name="TransportNetworkType" abstract="true"> 303 <xsd:annotation> 304 <xsd:documentation xml:lang="en"> 305 305 PT Network description, can be for Public Transport or Road Network. 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 306 </xsd:documentation> 307 </xsd:annotation> 308 <xsd:complexContent> 309 <xsd:extension base="trd:LogicalLocationType"> 310 <xsd:sequence> 311 <xsd:element name="versionDate" type="xsd:date"/> 312 <xsd:element name="description" type="xsd:string" minOccurs="0"/> 313 </xsd:sequence> 314 </xsd:extension> 315 </xsd:complexContent> 316 </xsd:complexType> 317 <!--PT Status ===================================================== --> 318 <xsd:complexType name="RegistrationType"> 319 <xsd:annotation> 320 <xsd:documentation xml:lang="en"> 321 321 Registration informations 322 323 324 325 326 322 </xsd:documentation> 323 </xsd:annotation> 324 <xsd:sequence> 325 <xsd:element name="registrationNumber" type="xsd:string"/> 326 <!-- REMARK: ApplicationType is said to be an enumeration, but the enumerated list is not in the DD 327 327 therfore, ApplicationType is mapped to a string --> 328 329 328 </xsd:sequence> 329 </xsd:complexType> 330 330 </xsd:schema>
Note:
See TracChangeset
for help on using the changeset viewer.