Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Element

Required

Notes

FramedVehicleJourneyRef > DatedVehicleJourneyRef

Required

Reference to ServiceJourney in the static data, for example SE:022:ServiceJourney:1234567-1234567.

The last part of the id must be a number without any other characters.

FramedVehicleJourneyRef > DataFrameRef

Required

Trip start date in YYYY-MM-DD format. Used to match with static data

DataSource

Required

Ignored by Samtrafiken, but required by the Nordic SIRI profile.

Cancellation

Optional

True if trip is cancelled

LineRef

Required

A reference to a NeTex Line, for example SE:025:Line:9011025002800000

DirectionRef

Required

Ignored by Samtrafiken, but required by the Nordic SIRI profile. Set to 0 if not used.

isPredictionInaccurate

Optional

Optional indicator when the prediction is unreliable.

EstimatedCalls

At least two calls, estimated or recorded, should be present

The list of stops which the vehicle still has to pass on its trip.

See https://samtrafiken.atlassian.net/wiki/spaces/SamtrafikenOpenData/pages/4400513025/SIRI-ET+2.0#RecordedCalls.RecordedCall

RecordedCalls

At least two calls, estimated or recorded, should be present

The list of stops which the vehicle has passed on its trip

See https://samtrafiken.atlassian.net/wiki/spaces/SamtrafikenOpenData/pages/4400513025/SIRI-ET+2.0#RecordedCalls.RecordedCall

IsCompleteStopSequence

Required

Should be true, the entire trip should be included in the data

...