Entur Developer
Open
GraphQL

AffectedVehicleJourney

object

Fields

serviceJourney·ServiceJourney
datedServiceJourney·DatedServiceJourney
line·Line

Context for display. A journey entry is scoped to the journey it names, never to this line.

operator·Operator

The part of this journey's geometry the situation affects: the span between the first and last affected stop, or - when the situation names no stops at all, meaning the journey is affected as a whole - the journey's entire route. An empty stops list is what tells those two cases apart. Null when the journey has no pattern geometry, when exactly one stop is affected (a point is not a span), or when any affected stop cannot be located on the route - a partial span would draw a confident line over the wrong part of it. A datedServiceJourney the planned data could not resolve - including one whose ref is really a ServiceJourney id, which some producers publish in that slot - is still used as a journey id here, so this can carry geometry where datedServiceJourney.serviceJourney is null. The ref itself is left exactly as the producer sent it.

Schema Context

Did you find what you were looking for?