StopEventService

#AutoTranslate

Description rapide

Le StopEvent Service sert à élaborer un indicateur des départs ou des arrivées.

Description technique

Explorateur de l’API

Vous pouvez essayer vos propres requêtes – lien direct vers l’explorateur d’API.

Demande

<?xml version="1.0" encoding="utf-8"?>
<OJP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.siri.org.uk/siri" version="1.0" xmlns:ojp="http://www.vdv.de/ojp" xsi:schemaLocation="http://www.siri.org.uk/siri ../ojp-xsd-v1.0/OJP.xsd">
	<OJPRequest>
		<ServiceRequest>
			<RequestTimestamp>2021-01-09T11:34:25.507Z</RequestTimestamp>
			<RequestorRef>API-Explorer</RequestorRef>
			<ojp:OJPStopEventRequest>
				<RequestTimestamp>2020-01-20T12:00:00Z</RequestTimestamp>
				<MessageIdentifier>756</MessageIdentifier>
				<ojp:Location>
					<ojp:PlaceRef>
						<ojp:StopPlaceRef>ch:1:sloid:30813</ojp:StopPlaceRef>
						<ojp:LocationName>
							<ojp:Text>Zürich Kreuzplatz</ojp:Text>
						</ojp:LocationName>
					</ojp:PlaceRef>
					<ojp:DepArrTime>2021-01-20T12:00:00Z</ojp:DepArrTime>
					<ojp:IndividualTransportOptions>
						<Mode>walk</Mode>
						<MaxDistance>5000</MaxDistance>
						<MaxDuration>PT5M</MaxDuration>
						<MinDistance>0</MinDistance>
						<MinDuration>PT0M</MinDuration>
						<Speed>50</Speed>
						<AdditionalTime>PT10M</AdditionalTime>
					</ojp:IndividualTransportOptions>
				</ojp:Location>
				<ojp:Params>
					<ojp:StopEventType>both</ojp:StopEventType>
					<ojp:IncludePreviousCalls>true</ojp:IncludePreviousCalls>
					<ojp:IncludeOnwardCalls>true</ojp:IncludeOnwardCalls>
					<ojp:IncludeOperatingDays>true</ojp:IncludeOperatingDays>
					<ojp:IncludeRealtimeData>true</ojp:IncludeRealtimeData>
				</ojp:Params>
			</ojp:OJPStopEventRequest>
		</ServiceRequest>
	</OJPRequest>
</OJP>

ÉlémentCardinalitéDescriptionExemple
RequestTimestamp1:1Timestamp de la requête. De préférence en heure UTC.
<RequestTimestamp>2020-01-20T12:00:00Z</RequestTimestamp>
MessageIdentifier0:1Identifiant de l’annonce. De préférence en ordre croissant.
<MessageIdentifier>756</MessageIdentifier>
ojp:Location/ojp:PlaceRef0:1Le mieux est d’utiliser une StopPlaceRef. Le Location Name est ignoré.

Seules les valeurs SLOID sont encore utilisées; pour les StopPlace étrangers, il peut encore y avoir un numéro BPUIC en tant que PlaceRef dans les StopPlaceRef. En savoir plus Informations.

<ojp:PlaceRef>
<ojp:StopPlaceRef>ch:1:sloid:30813</ojp:StopPlaceRef>
<ojp:LocationName>
<ojp:Text>Zürich Kreuzplatz</ojp:Text>
</ojp:LocationName>
</ojp:PlaceRef>
ojp:Location/ojp:DepArrTime0:1Le temps à utiliser. De préférence une heure UTC.

«Z» est une heure UTC (donc indépendante de tout fuseau horaire). Pour Z, il faut impérativement indiquer les secondes. Si le format n’est pas correct ou en l’absence de Z, le système essaie d’interpréter l’heure comme une heure locale.

<ojp:DepArrTime>2020-01-20T12:00:00Z</ojp:DepArrTime>
ojp:Location/ojp:TimeAllowance0:1Alternative à l’élément DepArrTime. Temps nécessaire pour atteindre la Location. xs:Duration.
<ojp:Location>
<ojp:PlaceRef>
<StopPointRef>ch:1:sloid:30813</StopPointRef>
<ojp:LocationName>
<ojp:Text>Zürich Kreuzplatz</ojp:Text>
</ojp:LocationName>
</ojp:PlaceRef>
<ojp:TimeAllowance>PT50M</ojp:TimeAllowance>
</ojp:Location>

 

ojp:Location/ojp:IndividualTransportOptions0:*Options pour rejoindre ou quitter le lieu. Voir la section sur les IndividualTransportOptions sous Trip Service

Modes autorisés: walk, cycle, taxi, self-drive-car, others-drive-car, moto, truck. Pour l’instant, seuls les modes walk et cycle sont pris en charge. Les distances sont en mètres. Vitesse par rapport à la vitesse normale (= 100%%). L’AdditionalTime est le temps supplémentaire associé à ce mode.

<ojp:IndividualTransportOptions>
	<Mode>walk</Mode>
	<MaxDistance>5000</MaxDistance>
	<MaxDuration>PT5M</MaxDuration>
	<MinDistance>0</MinDistance>
	<MinDuration>PT0M</MinDuration>
	<Speed>50</Speed>
	<AdditionalTime>PT10M</AdditionalTime>
</ojp:IndividualTransportOptions>

 

ojp:Params0:1les paramètres
<ojp:Params>
	<ojp:StopEventType>both</ojp:StopEventType>
	<ojp:IncludePreviousCalls>true</ojp:IncludePreviousCalls>
	<ojp:IncludeOnwardCalls>true</ojp:IncludeOnwardCalls>
	<ojp:IncludeOperatingDays>true</ojp:IncludeOperatingDays>
	<ojp:IncludeRealtimeData>true</ojp:IncludeRealtimeData>
</ojp:Params>

Paramètres

ÉlémentCardinalitéDescriptionExemple
ojp:PtModeFilter0:1Filtrer par Mode. L’élément Exclude indique si les Modes doivent être inclus ou exclus.

Il est possible d’ajouter un mode 1:*.

Cf. PtModeFilter sous Trip Service

<ojp:PtModeFilter>
	<ojp:Mode>
		<ojp:Exclude>true</ojp:Exclude>
		<ojp:PtMode>bus</ojp:PtMode>
		<siri:BusSubmode>localBusService</siri:BusSubmode>
	</ojp:Mode>
</ojp:PtModeFilter>
ojp:LineFilter0:1Filtrer par ligne. L’élément Exclude indique si les lignes doivent être incluses ou exclues.

Il est possible d’ajouter une ligne 1:*.

 

<ojp:LineFilter>
	<ojp:Line>
		<LineRef>sbb:91018:A</LineRef>
		<DirectionRef>H</DirectionRef>
	</ojp:Line>
	<ojp:Exclude>true</ojp:Exclude>
</ojp:LineFilter>
ojp:OperatorFilter0:1Filtre par exploitant. L’élément Exclude indique si les exploitants doivent être inclus ou exclus.

Il est possible d’ajouter 1:* OperatorRef.

<ojp:OperatorFilter>
	<ojp:Exclude>false</ojp:Exclude>
        <ojp:OperatorRef>sbb:3849</ojp:OperatorRef>
</ojp:OperatorFilter>

 

ojp:NumberOfResults0:1Nombre de résultats
<NumberOfResults>10</NumberOfResults>
ojp:StopEventType0:1Types des StopEvents:

  • arrivée
  • départ
  • les deux
<ojp:StopEventType>both</ojp:StopEventType>
 ojp:IncludePreviousCalls0:1Faut-il indiquer pour chaque trajet également la halte précédente?
<ojp:IncludePreviousCalls>true</ojp:IncludePreviousCalls>
ojp:IncludeOnwardCalls0:1Faut-il indiquer pour chaque trajet également la halte suivante?
<ojp:IncludeOnwardCalls>true</ojp:IncludeOnwardCalls>
ojp:IncludeOperatingDays0:1Faut-il également ajouter des informations sur le jour d’exploitation pour ce StopEvent?
ojp:IncludeOperatingDays>true</ojp:IncludeOperatingDays>
ojp:IncludeRealtimeData0:1Les données en temps réel doivent-elles être utilisées pour le calcul du Trip?
<ojp:IncludeRealtimeData>true</ojp:IncludeRealtimeData>

Réponse

<?xml version="1.0" encoding="UTF-8"?>
<siri:OJP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:siri="http://www.siri.org.uk/siri" version="1.0" xmlns:ojp="http://www.vdv.de/ojp" xsi:schemaLocation="http://www.siri.org.uk/siri ../ojp-xsd-v1.0/OJP.xsd">
	<siri:OJPResponse>
		<siri:ServiceDelivery>
			<siri:ResponseTimestamp>2020-01-12T22:27:13Z</siri:ResponseTimestamp>
			<siri:ProducerRef>OJPCH_test</siri:ProducerRef>
			<siri:Status>true</siri:Status>
			<ojp:OJPStopEventDelivery>
				<siri:ResponseTimestamp>2020-01-12T22:27:13Z</siri:ResponseTimestamp>
				<siri:RequestMessageRef>756</siri:RequestMessageRef>
				<siri:Status>true</siri:Status>
				<ojp:CalcTime>310</ojp:CalcTime>
				<ojp:StopEventResponseContext>
					<ojp:Places>
						<ojp:Location>
							<ojp:StopPlace>
								<ojp:StopPlaceRef>ch:1:sloid:30813</ojp:StopPlaceRef>
								<ojp:StopPlaceName>
									<ojp:Text>Zürich Kreuzplatz</ojp:Text>
								</ojp:StopPlaceName>
								<ojp:TopographicPlaceRef>-1:-1</ojp:TopographicPlaceRef>
							</ojp:StopPlace>
							<ojp:LocationName>
								<ojp:Text xml:lang="de">Zürich Kreuzplatz</ojp:Text>
							</ojp:LocationName>
							<ojp:GeoPosition/>
						</ojp:Location>
						<ojp:Location>
							<ojp:StopPoint>
								<siri:StopPointRef>ch:1:sloid:30813</siri:StopPointRef>
								<ojp:StopPointName>
									<ojp:Text>Zürich Kreuzplatz</ojp:Text>
								</ojp:StopPointName>
								<ojp:ParentRef>ch:1:sloid:30813</ojp:ParentRef>
								<ojp:TopographicPlaceRef>-1:-1</ojp:TopographicPlaceRef>
							</ojp:StopPoint>
							<ojp:LocationName>
								<ojp:Text xml:lang="de">Zürich Kreuzplatz</ojp:Text>
							</ojp:LocationName>
							<ojp:GeoPosition>
								<siri:Longitude>8.55408</siri:Longitude>
								<siri:Latitude>47.36488</siri:Latitude>
							</ojp:GeoPosition>
						</ojp:Location>
	<!--- and so on --->

					</ojp:Places>
				</ojp:StopEventResponseContext>
				<ojp:StopEventResult>
					<ojp:ResultId>ID-61BB1C56-4F28-410A-9D03-298D9BF9165C</ojp:ResultId>
					<ojp:StopEvent>
						<ojp:PreviousCall>
							<ojp:CallAtStop>
								<siri:StopPointRef>ch:1:sloid:91228</siri:StopPointRef>
								<ojp:StopPointName>
									<ojp:Text>Zürich, Kienastenwies</ojp:Text>
								</ojp:StopPointName>
								<ojp:ServiceDeparture>
									<ojp:TimetabledTime>2020-01-12T12:42:00Z</ojp:TimetabledTime>
								</ojp:ServiceDeparture>
								<ojp:Order>1</ojp:Order>
							</ojp:CallAtStop>
						</ojp:PreviousCall>
<!--- and so on --->
						<ojp:ThisCall>
							<ojp:CallAtStop>
								<siri:StopPointRef>ch:1:sloid:30813</siri:StopPointRef>
								<ojp:StopPointName>
									<ojp:Text>Zürich Kreuzplatz</ojp:Text>
								</ojp:StopPointName>
								<ojp:ServiceArrival>
									<ojp:TimetabledTime>2020-01-12T12:56:00Z</ojp:TimetabledTime>
								</ojp:ServiceArrival>
								<ojp:Order>14</ojp:Order>
							</ojp:CallAtStop>
						</ojp:ThisCall>
						<ojp:OnwardCall>
							<ojp:CallAtStop>
								<siri:StopPointRef>ch:1:sloid:91375</siri:StopPointRef>
								<ojp:StopPointName>
									<ojp:Text>Zürich, Sprecherstrasse</ojp:Text>
								</ojp:StopPointName>
								<ojp:ServiceArrival>
									<ojp:TimetabledTime>2020-01-12T12:56:00Z</ojp:TimetabledTime>
								</ojp:ServiceArrival>
								<ojp:ServiceDeparture>
									<ojp:TimetabledTime>2020-01-12T12:56:00Z</ojp:TimetabledTime>
								</ojp:ServiceDeparture>
								<ojp:Order>15</ojp:Order>
							</ojp:CallAtStop>
						</ojp:OnwardCall>
<!--- and so on --->
						<ojp:Service>
							<ojp:OperatingDayRef></ojp:OperatingDayRef>
							<ojp:JourneyRef>sbb:92031::R:j20:21060</ojp:JourneyRef>
							<siri:LineRef>sbb:92031::R</siri:LineRef>
							<siri:DirectionRef>H</siri:DirectionRef>
							<ojp:Mode>
								<ojp:PtMode>bus</ojp:PtMode>
								<siri:BusSubmode>regionalBus</siri:BusSubmode>
								<ojp:Name>
									<ojp:Text xml:lang="de">Bus</ojp:Text>
								</ojp:Name>
							</ojp:Mode>
							<ojp:PublishedLineName>
								<ojp:Text>31</ojp:Text>
							</ojp:PublishedLineName>
							<ojp:OperatorRef>sbb:849:VerkehrsbetriebeZrich</ojp:OperatorRef>
							<ojp:Attribute>
								<ojp:Text>
									<ojp:Text xml:lang="de">Linie 31: Niederflureinstieg</ojp:Text>
								</ojp:Text>
								<ojp:Code>30</ojp:Code>
								<ojp:Mandatory>false</ojp:Mandatory>
							</ojp:Attribute>
							<ojp:OriginStopPointRef>ch:1:sloid:91228</ojp:OriginStopPointRef>
							<ojp:OriginText>
								<ojp:Text xml:lang="de">Zürich, Kienastenwies</ojp:Text>
							</ojp:OriginText>
							<ojp:DestinationStopPointRef>ch:1:sloid:91056</ojp:DestinationStopPointRef>
							<ojp:DestinationText>
								<ojp:Text xml:lang="de">Zürich Altstetten, Bahnhof</ojp:Text>
							</ojp:DestinationText>
						</ojp:Service>
					</ojp:StopEvent>
				</ojp:StopEventResult>
			</ojp:OJPStopEventDelivery>
		</siri:ServiceDelivery>
	</siri:OJPResponse>
</siri:OJP>
+

Il est important de savoir que le système contient parfois toutes les informations relatives au trajet, et pas seulement celles déterminantes à l’arrêt sélectionné. La réponse est contenue dans un document ojp:OJPStopEventDelivery.

 

ÉlémentCardinalitéDescriptionExemple
siri:ResponseTimestamp1:1Timestamp de la réponse
<siri:ResponseTimestamp>2020-04-03T14:47:59Z</siri:ResponseTimestamp>
siri:RequesteMessageRef0:1Le message qui a été demandé est référencé ici
<siri:RequestMessageRef>756</siri:RequestMessageRef>
siri:Status1:1Statut de la réponse. «true» signifie que la demande a été traitée.
<siri:Status>true</siri:Status>
ojp:CalcTime1:1Temps de calcul en millisecondes
<ojp:CalcTime>939</ojp:CalcTime>
ojp:StopEventResponseContext1:1Les informations de référence, telles que les arrêts utilisés, sont renvoyées ici.

Voir tableau séparé

ojp:StopEventResult0:nles résultats effectifs
ojp:StopEventResult/ojp:StopEventResultID1:1ID du résultat
<ojp:ResultId>ID-5194D714-33A5-48B0-8895-BDCBAB540958</ojp:ResultId>
ojp:StopEventResult/ojp:StopEvent1:1Les différents trajets

cf. tableau séparé

StopEventResponseContext

Le contexte comprend les éléments suivants

  • Lieu(x)
  • Situation(s) Pas encore implémenté
ÉlémentCardinalitéDescriptionExemple
ojp:StopPlace1:1
ojp:StopPlace/ojp:StopPlaceRef1:1Référence de la halte. Seules les valeurs SLOID sont encore utilisées; pour les StopPoints étrangers, il peut encore y avoir un numéro BPUIC comme StopPlaceRef.
<ojp:StopPlaceRef>ch:1:sloid:30813</ojp:StopPlaceRef>
ojp:StopPlace/ojp:StopPlaceName1:1Nom de la halte. Il n’y a actuellement pas de langue définie pour les haltes.
<ojp:StopPlaceName>
	<ojp:Text>Zürich Kreuzplatz</ojp:Text>
</ojp:StopPlaceName>
ojp:StopPlace/ojp:TopographicPlaceRef1:1Il s’agit d’une référence dans l’arborescence des lieux.

Comme il n’existe pas de publication de l’arborescence des lieux, cet attribut ne peut être utilisé que s’il a été demandé au préalable dans uneLocationInformationRequest.

<ojp:TopographicPlaceRef>23026261:27</ojp:TopographicPlaceRef>
ojp:StopPlace/ojp:LocationName1:1Nom du lieu
<ojp:LocationName>
	<ojp:Text xml:lang="de">Zürich Kreuzplatz</ojp:Text>
</ojp:LocationName>
ojp:StopPlace/ojp:GeoPosition1:1Coordonnées WGS84
<ojp:GeoPosition>
	<siri:Longitude>8.55408</siri:Longitude>
	<siri:Latitude>47.36488</siri:Latitude>
</ojp:GeoPosition>

ojp:StopEvent

Le StopEvent se compose des éléments suivants:

  • ojp:PreviousCall(s): Si les paramètres ont été sélectionnés
  • ojp:ThisCall: L’arrêt actuellement sélectionné
  • ojp:OnwardCall(s): Futures haltes sur le trajet
  • ojp:Service: Informations sur le trajet
ÉlémentCardinalitéDescriptionExemple
ojp:PreviousCall0:*Les PreviousCalls sont les haltes situées avant celle qui a été demandée.

Toutes les informations se trouvent dans un CallAtStop. Voir la section correspondante

<ojp:PreviousCall>
<ojp:CallAtStop>
<siri:StopPointRef>ch:1:sloid:91142</siri:StopPointRef>
<ojp:StopPointName>
<ojp:Text>Zürich, Friedhof Enzenbühl</ojp:Text>
</ojp:StopPointName>
<ojp:ServiceArrival>
<ojp:TimetabledTime>2020-04-03T15:32:00Z</ojp:TimetabledTime>
</ojp:ServiceArrival>
<ojp:ServiceDeparture>
<ojp:TimetabledTime>2020-04-03T15:32:00Z</ojp:TimetabledTime>
</ojp:ServiceDeparture>
<ojp:Order>2</ojp:Order>
</ojp:CallAtStop>
</ojp:PreviousCall>
ojp:ThisCall1:1Il s’agit de l’arrêt dont il est question dans la requête.

Toutes les informations se trouvent dans un CallAtStop. Voir la section correspondante

<ojp:ThisCall>
<ojp:CallAtStop>
<siri:StopPointRef>ch:1:sloid:30813</siri:StopPointRef>
<ojp:StopPointName>
<ojp:Text>Zürich Kreuzplatz</ojp:Text>
</ojp:StopPointName>
<ojp:ServiceArrival>
<ojp:TimetabledTime>2020-04-03T15:40:00Z</ojp:TimetabledTime>
</ojp:ServiceArrival>
<ojp:ServiceDeparture>
<ojp:TimetabledTime>2020-04-03T15:40:00Z</ojp:TimetabledTime>
</ojp:ServiceDeparture>
<ojp:Order>9</ojp:Order>
</ojp:CallAtStop>
</ojp:ThisCall>
ojp:OnwardCall0:*Les OnwardCalls sont les haltes qui se trouvent après la halte en cours demandée dans la requête.

Toutes les informations se trouvent dans un CallAtStop. Voir la section correspondante

<ojp:OnwardCall>
<ojp:CallAtStop>
<siri:StopPointRef>ch:1:sloid:91049</siri:StopPointRef>
<ojp:StopPointName>
<ojp:Text>Zürich, Auzelg</ojp:Text>
</ojp:StopPointName>
<ojp:ServiceArrival>
<ojp:TimetabledTime>2020-04-03T16:16:00Z</ojp:TimetabledTime>
</ojp:ServiceArrival>
<ojp:Order>34</ojp:Order>
</ojp:CallAtStop>
</ojp:OnwardCall>
ojp:Service1:1Le service correspond aux informations relatives à l’ensemble du trajet.
<ojp:Service>
<ojp:OperatingDayRef>2020-04-03</ojp:OperatingDayRef>
<ojp:JourneyRef>sbb:91011:A:R:j20:887</ojp:JourneyRef>
<siri:LineRef>sbb:91011:A</siri:LineRef>
<siri:DirectionRef>R</siri:DirectionRef>
<ojp:Mode>
<ojp:PtMode>tram</ojp:PtMode>
<siri:TramSubmode>cityTram</siri:TramSubmode>
<ojp:Name>
<ojp:Text xml:lang="de">Tram</ojp:Text>
</ojp:Name>
</ojp:Mode>
<ojp:PublishedLineName>
<ojp:Text>11</ojp:Text>
</ojp:PublishedLineName>
<ojp:OperatorRef>sbb:3849</ojp:OperatorRef>
<ojp:OriginStopPointRef>ch:1:sloid:91315</ojp:OriginStopPointRef>
<ojp:OriginText>
<ojp:Text xml:lang="de">Zürich, Rehalp</ojp:Text>
</ojp:OriginText>
<ojp:DestinationStopPointRef>ch:1:sloid:91049</ojp:DestinationStopPointRef>
<ojp:DestinationText>
<ojp:Text xml:lang="de">Zürich, Auzelg</ojp:Text>
</ojp:DestinationText>
</ojp:Service>

ojp: CallAtStop

ÉlémentCardinalitéDescriptionExemple
siri:StopPointRef1:1Numéro de la halte. Pour l’instant, il s’agit encore d’un numéro DiDok. Il peut aussi s’agir d’un NeTEx-Id ou d’un SLOID.

Attention: Didok et sloid peuvent apparaître. En savoir plus Informations.

<siri:StopPointRef>ch:1:sloid:30813</siri:StopPointRef>
ojp:StopPointName1:1Nom de la halte
<ojp:StopPointName>
	<ojp:Text>Zürich Kreuzplatz</ojp:Text>
</ojp:StopPointName>
ojp:PlannedQuay0:1Quai prévu
<ojp:PlannedQuay>
	<ojp:Text xml:lang="de">1</ojp:Text>
</ojp:PlannedQuay>
ojp:EstimatedQuay0:1Quai actuel, le cas échéant
<ojp:EstimatedQuay>
	<ojp:Text xml:lang="de">1</ojp:Text>
</ojp:EstimatedQuay
ojp:ServiceArrival0:1Le premier arrêt n’a pas d’Arrival.
<ojp:ServiceArrival>
	<ojp:TimetabledTime>2020-04-03T15:40:00Z</ojp:TimetabledTime>
	<ojp:EstimatedTime>2020-04-03T15:40:00Z</ojp:EstimatedTime>
</ojp:ServiceArrival>
ojp:ServiceDeparture0:1Le dernier arrêt n’a pas de «Departure».
<ojp:ServiceDeparture>
	<ojp:TimetabledTime>2020-04-03T15:40:00Z</ojp:TimetabledTime>
	<ojp:EstimatedTime>2020-04-03T15:40:00Z</ojp:EstimatedTime>
</ojp:ServiceDeparture>
ojp:Order1:1Succession des arrêts
<ojp:Order>9</ojp:Order>

 

ojp:RequestStop0:1Arrêt sur demande. Booléen.

Non implémenté, prévu pour une version future.

n.c.
ojp:UnplannedStop0:1Arrêt non prévu selon la planification. Booléen.

Non implémenté, prévu pour une version future.

n.c.
ojp:NotServicedStop0:1Il n’y a pas d’arrêt contrairement à ce qui est prévu (suppression).
<ojp:NotServicedStop>true</ojp:NotServicedStop>
ojp:SituationFullRef0:1Cet attribut n’est pas disponible.

 

n.c.

ojp:Service

ÉlémentCardinalitéDescriptionExemple
ojp:OperatingDayRef1:1Jour d’exploitation concerné
<ojp:OperatingDayRef>2020-04-03</ojp:OperatingDayRef>
ojp:JourneyRef1:1ID du trajet.
<ojp:JourneyRef>sbb:91011:A:R:j20:887</ojp:JourneyRef>
siri:LineRef1:1ID de la ligne:
<siri:LineRef>sbb:91011:A</siri:LineRef>
siri:DirectionRef1:1ID de la direction.
<siri:DirectionRef>R</siri:DirectionRef>
ojp:Mode1:1Le mode de circulation.

La liste des modes est disponible sous LocationInformationRequest

<ojp:Mode>
	<ojp:PtMode>tram</ojp:PtMode>
	<siri:TramSubmode>cityTram</siri:TramSubmode>
	<ojp:Name>
		<ojp:Text xml:lang="de">Tram</ojp:Text>
	</ojp:Name>
</ojp:Mode>
ojp:PublishedLineName1:1Nom publié de la liste
<ojp:PublishedLineName>
	<ojp:Text>11</ojp:Text>
</ojp:PublishedLineNam
ojp:OperatorRef0:1Référence de l’exploitant.

Attention: changement imminent.

<ojp:OperatorRef>sbb:3849</ojp:OperatorRef>
ojp:Attribute0:*Les attributs se rapportent généralement aux trajets. P. ex. bus à plancher surbaissé, bar, réservation obligatoire.

ojp:Mandataory est «true» lorsque l’attribut doit être impérativement affiché à l’utilisateur.

<ojp:Attribute>
	<ojp:Text>
		<ojp:Text xml:lang="de">Linie 31: Niederflureinstieg</ojp:Text>
	</ojp:Text>
	<ojp:Code>30</ojp:Code>
	<ojp:Mandatory>false</ojp:Mandatory>
</ojp:Attribute>
ojp:OrginStopPointRef0:1Numéro DiDok du point de départ.

Attention: L’ID va encore changer.

<ojp:OriginStopPointRef>ch:1:sloid:91315</ojp:OriginStopPointRef>
ojp:OriginText0:1Nom de la halte de départ.
<ojp:OriginText>
	<ojp:Text xml:lang="de">Zürich, Rehalp</ojp:Text>
</ojp:OriginText>
ojp:DestinationStopPointRef0:1Numéro DiDok de la halte de destination.

Attention: L’ID va encore changer.

<ojp:DestinationStopPointRef>8591049</ojp:DestinationStopPointRef>
ojp:DestinationText0:1Nom de la halte de destination.
<ojp:DestinationText>
	<ojp:Text xml:lang="de">Zürich, Auzelg</ojp:Text>
</ojp:DestinationText>
ojp:Unplanned0:1Indique s’il s’agit d’un trajet supplémentaire qui ne figure pas dans l’horaire régulier. Booléen.
<ojp:Unplanned>true</ojp:Unplanned>
ojp:Cancelled0:1Suppression d’un trajet. Booléen.
<ojp:Cancelled>true</ojp:Cancelled>
ojp:Deviation0:1Indique si le trajet n’est pas effectué selon l’horaire.

Prévu pour une version future

n.c.
ojp:BookingArrangements0:1Cet attribut n’est pas pris en charge.n.c.
ojp:ParticipantRef1:1Sert à communiquer des dérangements ou d’autres situations exceptionnelles.

Prévu pour une version future

n.c.
ojp:SituationNumber1:1Sert à communiquer des dérangements ou d’autres situations exceptionnelles.

Prévu pour une version future

n.c.

Informations complémentaires

Trains-autos tunnels

<siri:OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.vdv.de/ojp" version="1.0">
  <siri:OJPRequest>
    <siri:ServiceRequest>
      <siri:RequestTimestamp>2024-07-22T10:40:16.970Z</siri:RequestTimestamp>
      <siri:RequestorRef>OJP_JS_SDK_v0.9.35</siri:RequestorRef>
      <OJPStopEventRequest>
        <siri:RequestTimestamp>2024-07-22T10:40:16.970Z</siri:RequestTimestamp>
        <Location>
          <PlaceRef>
            <StopPlaceRef>ch:1:sloid:19606</StopPlaceRef>
            <LocationName>
              <Text/>
            </LocationName>
          </PlaceRef>
          <DepArrTime>2024-07-22T10:40:02.237Z</DepArrTime>
        </Location>
        <Params>
          <NumberOfResults>10</NumberOfResults>
          <StopEventType>departure</StopEventType>
          <IncludePreviousCalls>true</IncludePreviousCalls>
          <IncludeOnwardCalls>true</IncludeOnwardCalls>
          <IncludeRealtimeData>true</IncludeRealtimeData>
        </Params>
        <siri:Extensions>
          <ParamsExtension>
            <PrivateModeFilter>
              <Exclude>false</Exclude>
            </PrivateModeFilter>
          </ParamsExtension>
        </siri:Extensions>
      </OJPStopEventRequest>
    </siri:ServiceRequest>
  </siri:OJPRequest>
</siri:OJP>

Profilés de grande capacité (au BLS) reconnaissables à l’attribut du poste de direction:

              <ojp:Attribute>
                <ojp:Text>
                  <ojp:Text xml:lang="de">Grossraumprofil</ojp:Text>
                </ojp:Text>
                <ojp:Code>A__GF</ojp:Code>
              </ojp:Attribute>