Entur Developer
Open
GraphQL

ServiceJourney

object

A scheduled trip that follows a journey pattern. The dates on which it runs come from its calendar.

Fields

notices·[Notice!]!

The notices that apply to this journey.

id·ID!

The full NeTEx id of the service journey, including codespace and type.

transportMode·TransportMode

The transport mode that is set on the journey itself. Null when the journey sets none, because the value is not taken from the line.

transportSubmode·TransportSubmode

The transport submode that is set on the journey itself. Null when the journey sets none, because the value is not taken from the line.

publicCode·String

A code that passengers see for the journey, for example a train number.

privateCode·String

A code that the operator uses internally to identify the journey.

line·Line

The line of the journey.

operator·Operator

The operator of the journey, or null when the journey names none.

journeyPattern·JourneyPattern

The journey pattern that the journey follows.

quays·QuayConnection!(2 args)

The quays that the journey calls at, in the order of its stops. At most 1000 quays are available.

Arguments
  • firstInt

    The maximum number of quays to return. The default is 20 and the largest allowed value is 1000. A value outside 1 to 1000 is clamped to that range.

  • afterString

    Return the quays after this cursor. Pass the endCursor of the previous page.

estimatedCalls·[EstimatedCall!]!(1 arg)deprecated

The calls of this journey on one operating day. Where real-time data exists, it replaces the scheduled times.

Arguments
  • dateDate

    The operating day. The default is the day of the request.

The scheduled time at each stop of the journey, in the order of the stops. These times do not include real-time changes.

directionType·DirectionType

The direction of the journey. It comes from the route of the journey pattern.

activeDates·[String!]!deprecated

The dates on which the journey runs, as ISO 8601 dates. The list combines the dates from the day types of the journey with the dates of its dated service journeys.

isReplacement·Boolean!

True when, on at least one date, this journey replaces another journey.

replacementsExist·Boolean!

True when, on at least one date, this journey is replaced by another journey.

keyValues·[KeyValue!]!(1 arg)

The key-values of the service journey: the Key and Value pairs of its key list, in the order the source gave them. A key can repeat. Pass keys to return only the pairs whose key is in the list.

Arguments
  • The keys to return. Leave it out to return every pair.

wheelchairAccessible·WheelchairBoarding

Whether a passenger in a wheelchair can use the journey. It is null when the source data says nothing.

The geometry of the journey, which is the geometry of its journey pattern. It is null when the source data holds none.

The situations that name this service journey as a whole, on any day, either the journey or one of its dated journeys. A situation that names one of its stops is not returned here, but on that call.

Did you find what you were looking for?