SIRI-ET is used to model the status of existing journeys and to ensure that deviations from the planned data (for the same operating day) such as cancellations, additional departures, delays, detours and changes in stops, can be published on short notice. The data should be linked to objects in the planned data through correct ids.matching ids.
Structure
The root element estimatedTimetableDeliveryStructure
includes a response timestamp (when the XML structure was rendered), subscriptionRef in case publish/subscribe is used for the data transfer, and exactly 1 EstimatedJourneyVersionFrame
.
EstimatedJourneyVersionFrame
contains a recorded timestamp RecordedAtTime
, which is the time at which the source data was updated, along with one or more EstimatedVehicleJourney
elements detailing deviations for one trip each.
EstimatedVehicleJourney
Element | Required | Notes |
---|---|---|
LineRef | Required | |
DirectionRef | ||
FramedVehicleJourneyRef > DatedVehicleJourneyRef | Required | |
Monitored | ||
DataSource | ||
EstimatedCalls > EstimatedCall | Required | At least one EstimatedCall should be present |
EstimatedCalls > EstimatedCall > AimedDepartureTime | Required | |
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<estimatedTimetableDeliveryStructure xmlns:ns5="http://www.siri.org.uk/siri" xmlns:ns2="http://www.ifopt.org.uk/acsb" xmlns:ns4="http://datex2.eu/schema/2_0RC1/2_0" xmlns:ns3="http://www.ifopt.org.uk/ifopt">
<ns5:ResponseTimestamp>2024-11-12T14:26:37+01:00</ns5:ResponseTimestamp>
<ns5:SubscriptionRef>estimated_timetable-1731421595</ns5:SubscriptionRef>
<ns5:EstimatedJourneyVersionFrame>
<ns5:RecordedAtTime>2024-11-12T14:26:37+01:00</ns5:RecordedAtTime>
<ns5:EstimatedVehicleJourney>
<ns5:LineRef>SE:022:Line:9011022000001000</ns5:LineRef>
<ns5:DirectionRef>1</ns5:DirectionRef>
<ns5:FramedVehicleJourneyRef>
<ns5:DataFrameRef>2024-11-12</ns5:DataFrameRef>
<ns5:DatedVehicleJourneyRef>SE:022:ServiceJourney:1234567-1234567</ns5:DatedVehicleJourneyRef>
</ns5:FramedVehicleJourneyRef>
<ns5:Monitored>false</ns5:Monitored>
<ns5:DataSource>DinTur</ns5:DataSource>
<ns5:EstimatedCalls>
<ns5:EstimatedCall>
<ns5:StopPointRef>SE:000:Quay:9022000000001001</ns5:StopPointRef>
<ns5:Order>1</ns5:Order>
<ns5:Cancellation>false</ns5:Cancellation>
<ns5:AimedDepartureTime>2024-11-12T17:25:00+01:00</ns5:AimedDepartureTime>
<ns5:ExpectedDepartureTime>2024-11-12T17:25:00+01:00</ns5:ExpectedDepartureTime>
<ns5:ExpectedDeparturePredictionQuality>
<ns5:PredictionLevel>unconfirmed</ns5:PredictionLevel>
</ns5:ExpectedDeparturePredictionQuality>
</ns5:EstimatedCall>
<ns5:EstimatedCall>
<ns5:StopPointRef>SE:000:Quay:9022000000002001</ns5:StopPointRef>
<ns5:Order>2</ns5:Order>
<ns5:Cancellation>false</ns5:Cancellation>
<ns5:AimedArrivalTime>2024-11-12T17:25:15+01:00</ns5:AimedArrivalTime>
<ns5:ExpectedArrivalTime>2024-11-12T17:25:15+01:00</ns5:ExpectedArrivalTime>
<ns5:ExpectedArrivalPredictionQuality>
<ns5:PredictionLevel>unconfirmed</ns5:PredictionLevel>
</ns5:ExpectedArrivalPredictionQuality>
<ns5:AimedDepartureTime>2024-11-12T17:25:15+01:00</ns5:AimedDepartureTime>
<ns5:ExpectedDepartureTime>2024-11-12T17:25:15+01:00</ns5:ExpectedDepartureTime>
<ns5:ExpectedDeparturePredictionQuality>
<ns5:PredictionLevel>unconfirmed</ns5:PredictionLevel>
</ns5:ExpectedDeparturePredictionQuality>
</ns5:EstimatedCall>
<ns5:IsCompleteStopSequence>true</ns5:IsCompleteStopSequence>
</ns5:EstimatedVehicleJourney>
</ns5:EstimatedJourneyVersionFrame>
</estimatedTimetableDeliveryStructure> |