Entur Developer
Open
GraphQL

PtSituationElement

object

A message to passengers about something that affects the service, such as a closed stop or a line that does not run. It comes from the SIRI-SX feed, which the engine reads from the real-time database every half minute. A situation that has ended (its progress is closed) or that has no text at all is not returned.

Fields

id·ID!

The id of the situation, a global id made from its situation number.

situationNumber·String

The id that the publisher gave the situation.

version·Int

The publisher's version number for the situation, or null when it does not number its versions.

participant·String

The codespace of the publisher.

creationTime·DateTime

When the situation was created.

versionedAtTime·DateTime

When this version of the situation was published.

reportType·ReportType

Whether the situation is general information or an incident that may affect trips.

severity·Severity

How much the situation affects trips. A situation that gives no severity, or the severity undefined, is normal.

priority·Int

The publisher's priority for the situation, where a lower number is more important, or null when none is given.

The summary of the situation, one text for each language it is given in.

The description of the situation, one text for each language it is given in.

What passengers are advised to do, one text for each language it is given in.

Links to more information.

validityPeriod·ValidityPerioddeprecated

The period from the earliest start to the latest end of the situation's validity periods. Either bound is null when any period is unbounded that way.

validityPeriods·[ValidityPeriod!]!

The periods in which the situation is valid, in chronological order. There is always at least one; a situation with none stated is valid without limit.

Did you find what you were looking for?