...
Element | Required | Notes |
---|---|---|
SituationNumber | Required | An internal identifier for a situation. May contain characters, but the number obtained by removing the characters should be unique for the situation |
Summaries | Required | Short summary text PtSituationElement items without any summaries are ignored. Only the first summary is read |
Descriptions | Optional | Complete text note for the message Only the first description is read |
CreationTime | Required | The time when this situation was created |
Source.ExternalCode | Optional | Code for this deviation in external systems |
Source.Other | Optional | External system id |
Source.Name | Optional | The name of the source. Currently never exported by Samtrafiken |
Progress | Required |
|
ValidityPeriod | Required | Only the first validity period is read |
ValidityPeriod.StartTime | Required | From which time the message applies |
ValidityPeriod.EndTime | Optional | At which time the message no longer applies |
Affects > StopPlaces > AffectedStopPlace | Optional | Currently unsupported If affected stop places are set, no other type of affects should be set |
Affects > StopPoints > AffectedStopPoints | Optional | If affected stop places are set, no other type of affects should be set |
Affects > Networks > AffectedNetwork | Optional | If affected networks are set, no other type of affects should be set |
Affects > VehicleJourneys > AffectedVehicleJourney | Optional | If affected vehicle journeys are set, no other type of affects should be set |
...