-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
149 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
140 changes: 140 additions & 0 deletions
140
examples/functions/trip/TR12_response_example_restricted_service.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1-dev" xsi:schemaLocation="http://www.vdv.de/ojp ../../../OJP.xsd"> | ||
<OJPResponse> | ||
<siri:ServiceDelivery> | ||
<siri:ResponseTimestamp>2023-09-13T14:02:49Z</siri:ResponseTimestamp> | ||
<siri:ProducerRef>EFAController10.5.23.58-OJP-EFA01-P</siri:ProducerRef> | ||
<siri:Status>true</siri:Status> | ||
<OJPTripDelivery> | ||
<siri:ResponseTimestamp>2023-09-13T14:02:48Z</siri:ResponseTimestamp> | ||
<siri:Status>true</siri:Status> | ||
<CalcTime>1169</CalcTime> | ||
<TripResult> | ||
<Id>ID-C88D8F6C-CBEE-476C-843D-1644D7258B47</Id> | ||
<Trip> | ||
<Id>ID-C88D8F6C-CBEE-476C-843D-1644D7258B47</Id> | ||
<Duration>PT31M</Duration> | ||
<StartTime>2023-09-13T14:02:00Z</StartTime> | ||
<EndTime>2023-09-13T14:33:00Z</EndTime> | ||
<Transfers>0</Transfers> | ||
<Distance>4345</Distance> | ||
<Leg> | ||
<Id>1</Id> | ||
<TimedLeg> | ||
<LegBoard> | ||
<siri:StopPointRef>8581235</siri:StopPointRef> | ||
<StopPointName> | ||
<Text xml:lang="de">Delémont, rue du Poujet</Text> | ||
</StopPointName> | ||
<ServiceDeparture> | ||
<TimetabledTime>2023-09-13T14:11:00Z</TimetabledTime> | ||
</ServiceDeparture> | ||
<Order>1</Order> | ||
</LegBoard> | ||
<LegIntermediates> | ||
<siri:StopPointRef>8581218</siri:StopPointRef> | ||
<StopPointName> | ||
<Text xml:lang="de">Delémont, La Promenade</Text> | ||
</StopPointName> | ||
<ServiceArrival> | ||
<TimetabledTime>2023-09-13T14:12:00Z</TimetabledTime> | ||
</ServiceArrival> | ||
<ServiceDeparture> | ||
<TimetabledTime>2023-09-13T14:12:00Z</TimetabledTime> | ||
</ServiceDeparture> | ||
<Order>2</Order> | ||
</LegIntermediates> | ||
<LegIntermediates> | ||
<siri:StopPointRef>8510379</siri:StopPointRef> | ||
<StopPointName> | ||
<Text xml:lang="de">Delémont, Château-Musée</Text> | ||
</StopPointName> | ||
<ServiceArrival> | ||
<TimetabledTime>2023-09-13T14:12:00Z</TimetabledTime> | ||
</ServiceArrival> | ||
<ServiceDeparture> | ||
<TimetabledTime>2023-09-13T14:12:00Z</TimetabledTime> | ||
</ServiceDeparture> | ||
<Order>3</Order> | ||
</LegIntermediates> | ||
<LegIntermediates> | ||
<siri:StopPointRef>8510378</siri:StopPointRef> | ||
<StopPointName> | ||
<Text xml:lang="de">Delémont, Hôtel de Ville</Text> | ||
</StopPointName> | ||
<ServiceArrival> | ||
<TimetabledTime>2023-09-13T14:13:00Z</TimetabledTime> | ||
</ServiceArrival> | ||
<ServiceDeparture> | ||
<TimetabledTime>2023-09-13T14:13:00Z</TimetabledTime> | ||
</ServiceDeparture> | ||
<Order>4</Order> | ||
</LegIntermediates> | ||
<LegIntermediates> | ||
<siri:StopPointRef>8583087</siri:StopPointRef> | ||
<StopPointName> | ||
<Text xml:lang="de">Delémont, Théâtre</Text> | ||
</StopPointName> | ||
<ServiceArrival> | ||
<TimetabledTime>2023-09-13T14:14:00Z</TimetabledTime> | ||
</ServiceArrival> | ||
<ServiceDeparture> | ||
<TimetabledTime>2023-09-13T14:14:00Z</TimetabledTime> | ||
</ServiceDeparture> | ||
<Order>5</Order> | ||
</LegIntermediates> | ||
<LegIntermediates> | ||
<siri:StopPointRef>8571983</siri:StopPointRef> | ||
<StopPointName> | ||
<Text xml:lang="de">Delémont, Le Ticle</Text> | ||
</StopPointName> | ||
<ServiceArrival> | ||
<TimetabledTime>2023-09-13T14:15:00Z</TimetabledTime> | ||
</ServiceArrival> | ||
<ServiceDeparture> | ||
<TimetabledTime>2023-09-13T14:15:00Z</TimetabledTime> | ||
</ServiceDeparture> | ||
<Order>6</Order> | ||
</LegIntermediates> | ||
<LegIntermediates> | ||
<siri:StopPointRef>8571982</siri:StopPointRef> | ||
<StopPointName> | ||
<Text xml:lang="de">Delémont, Av. de la gare</Text> | ||
</StopPointName> | ||
<ServiceArrival> | ||
<TimetabledTime>2023-09-13T14:16:00Z</TimetabledTime> | ||
</ServiceArrival> | ||
<ServiceDeparture> | ||
<TimetabledTime>2023-09-13T14:16:00Z</TimetabledTime> | ||
</ServiceDeparture> | ||
<Order>7</Order> | ||
</LegIntermediates> | ||
<LegAlight> | ||
<siri:StopPointRef>8571965</siri:StopPointRef> | ||
<StopPointName> | ||
<Text xml:lang="de">Delémont, gare</Text> | ||
</StopPointName> | ||
<PlannedQuay> | ||
<Text xml:lang="de">F</Text> | ||
</PlannedQuay> | ||
<ServiceArrival> | ||
<TimetabledTime>2023-09-13T14:18:00Z</TimetabledTime> | ||
</ServiceArrival> | ||
<Order>8</Order> | ||
</LegAlight> | ||
<Service> | ||
<JourneyRef>96120:1:R:j23:109:1064</JourneyRef> | ||
<PersonalModeOfOperation>otherOwned</PersonalModeOfOperation> | ||
<siri:VehicleRef>ch:4:13123:1231</siri:VehicleRef> | ||
<Description>School bus</Description> | ||
<OrganisationRef>ch:1:Operator:800</OrganisationRef> | ||
<ReservationNeeded>none</ReservationNeeded> | ||
</Service> | ||
</TimedLeg> | ||
</Leg> | ||
</Trip> | ||
</TripResult> | ||
</OJPTripDelivery> | ||
</siri:ServiceDelivery> | ||
</OJPResponse> | ||
</OJP> |