All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xsd.2.0.examples.functions.trip_change.ChangeTripResponse.xml Maven / Gradle / Ivy

The newest version!
<?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="2.0" xsi:schemaLocation="http://www.vdv.de/ojp ../../../OJP.xsd">
	<OJPResponse>
		<siri:ServiceDelivery>
			<siri:ResponseTimestamp>2022-12-01T17:54:38Z</siri:ResponseTimestamp>
			<siri:ProducerRef>OJPCH_Prod</siri:ProducerRef>
			<siri:Status>true</siri:Status>
			<OJPTripRefineDelivery>
				<siri:ResponseTimestamp>2022-12-01T17:54:38Z</siri:ResponseTimestamp>
				<siri:RequestMessageRef>4711</siri:RequestMessageRef>
				<siri:Status>true</siri:Status>
				<CalcTime>421</CalcTime>
				<UnknownLegRef>4</UnknownLegRef>
				<TripResult>
					<Id>ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF</Id>
					<Trip>
						<Id>ID-5A9D01A0-CF49-41E7-A674-D37167E33AEF</Id>
						<Duration>PT2H18M</Duration>
						<StartTime>2020-09-30T10:03:00Z</StartTime>
						<EndTime>2020-09-30T12:21:00Z</EndTime>
						<Transfers>0</Transfers>
						<Distance>125484</Distance>
						<Leg>
							<!-- Refinement: Updated leg -->
							<Id>1</Id>
							<TimedLeg>
								<LegBoard>
									<siri:StopPointRef>8506302</siri:StopPointRef>
									<StopPointName>
										<Text>St. Gallen</Text>
									</StopPointName>
									<PlannedQuay>
										<Text xml:lang="de">4</Text>
									</PlannedQuay>
									<EstimatedQuay>
										<Text xml:lang="de">5</Text>
										<!-- Refinement: new Quay -->
									</EstimatedQuay>
									<ServiceDeparture>
										<TimetabledTime>2020-09-30T10:03:00Z</TimetabledTime>
										<EstimatedTimeHigh>2020-09-30T10:06:00Z</EstimatedTimeHigh>
										<!-- Refinement: Delay -->
									</ServiceDeparture>
									<Order>1</Order>
								</LegBoard>
								<LegAlight>
									<siri:StopPointRef>8505000</siri:StopPointRef>
									<StopPointName>
										<Text>Luzern</Text>
									</StopPointName>
									<PlannedQuay>
										<Text xml:lang="de">3</Text>
									</PlannedQuay>
									<ServiceArrival>
										<TimetabledTime>2020-09-30T12:21:00Z</TimetabledTime>
									</ServiceArrival>
									<Order>15</Order>
								</LegAlight>
								<Service>
									<OperatingDayRef>2020-09-30</OperatingDayRef>
									<JourneyRef>910DG:Y:R:j20:210</JourneyRef>
									<siri:LineRef>910DG:Y</siri:LineRef>
									<siri:DirectionRef>R</siri:DirectionRef>
									<Mode>
										<PtMode>rail</PtMode>
										<siri:RailSubmode>local</siri:RailSubmode>
										<Name>
											<Text xml:lang="de">Zug</Text>
										</Name>
										<ShortName>
											<Text xml:lang="de">IR</Text>
										</ShortName>
									</Mode>
									<PublishedServiceName>
										<Text>empty</Text>
									</PublishedServiceName>
									<OperatorRefs>
										<OperatorRef>82</OperatorRef>
									</OperatorRefs>
									<Attribute>
										<UserText>
											<Text xml:lang="de">Reservierung möglich</Text>
										</UserText>
										<Code>A___R</Code>
									</Attribute>
									<Attribute>
										<UserText>
											<Text xml:lang="de">Bar</Text>
										</UserText>
										<Code>A___B</Code>
									</Attribute>
									<!-- Refine: Attribute gone 
									<Attribute>
										<Text>
											<Text xml:lang="de">Maskenpflicht für Reisende ab 12 Jahren</Text>
										</Text>
										<Code>A__OM</Code>
									</Attribute>  -->
									<DestinationStopPointRef>de:00000:-1</DestinationStopPointRef>
									<DestinationText>
										<Text xml:lang="de">Luzern</Text>
									</DestinationText>
								</Service>
								<Extension>
									<TransportTypeName>
										<Text xml:lang="de">Voralpen-Express</Text>
									</TransportTypeName>
									<PublishedJourneyNumber>
										<Text xml:lang="de">2020</Text>
									</PublishedJourneyNumber>
								</Extension>
							</TimedLeg>
						</Leg>
						<Leg>
							<Id>2</Id>
							<!-- Refinement: No change to this leg -->
							<TransferLeg>
								<TransferType>walk</TransferType>
								<LegStart>
									<siri:StopPointRef>8505000</siri:StopPointRef>
									<Name>
										<Text>Luzern</Text>
									</Name>
								</LegStart>
								<LegEnd>
									<GeoPosition>
										<siri:Longitude>47.042666496</siri:Longitude>
										<siri:Latitude>8.306332108</siri:Latitude>
									</GeoPosition>
									<Name>
										<Text>Taxiplatz Luzern</Text>
									</Name>
								</LegEnd>
								<Duration>PT3M</Duration>
							</TransferLeg>
						</Leg>
						<Leg>
							<!-- Refinement: Updated leg -->
							<Id>3</Id>
							<ContinuousLeg>
								<LegStart>
									<GeoPosition>
										<siri:Longitude>47.042666496</siri:Longitude>
										<siri:Latitude>8.306332108</siri:Latitude>
									</GeoPosition>
									<Name>
										<Text>Taxiplatz Luzern</Text>
									</Name>
								</LegStart>
								<LegEnd>
									<GeoPosition>
										<siri:Longitude>47.06</siri:Longitude>
										<siri:Latitude>8.31</siri:Latitude>
										<!-- Refinment: changed location: walk leg now needed to reach destination. Not done by refinement. -->
									</GeoPosition>
									<Name>
										<Text>New destination</Text>
										<!-- Refinment: changed location: walk leg now needed to reach destination -->
									</Name>
								</LegEnd>
								<Service>
									<AlternativeModeOfOperation>commuterPooling</AlternativeModeOfOperation>
									<PersonalMode>car</PersonalMode>
									<AlternativeService>
										<OperatorRef>ch:1:sboid:12391912</OperatorRef>
									</AlternativeService>
									<BookingArrangements>
										<BookingArrangement>
											<BuyWhen>
												<PurchaseMoment>onBoarding</PurchaseMoment>
											</BuyWhen>
										</BookingArrangement>
									</BookingArrangements>
								</Service>
								<Duration>PT11M</Duration>
								<!-- Refinement: New time -->
							</ContinuousLeg>
						</Leg>
					</Trip>
				</TripResult>
			</OJPTripRefineDelivery>
		</siri:ServiceDelivery>
	</OJPResponse>
</OJP>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy