Entur Developer
Open
GraphQL

Objects

Object types are the building blocks of a schema. Each one defines a set of fields you can query, and fields can return scalars or other object types. Learn more

Authority
An organization that is responsible for a set of lines, for example a public transport authority.
AuthorityConnection
A page of authorities.
AuthorityEdge
An authority in a page, with the cursor that points at it.
BookingArrangement
How a flexible service is booked. The data comes from the flexible service properties of the service journey, so it is the same at every stop of that journey. It is null for a service that is not flexible.
Branding
The branding of a line. Only id, name and url have source data. The fields shortName, description and image are part of the schema but are always null.
DatedServiceJourney
A service journey on one operating day. It can differ from the plan, for example by a cancellation, and it can link to the journeys that replace it.
DatedServiceJourneyConnection
A page of dated service journeys. Unlike other connections, it has no nodes field.
DatedServiceJourneyEdge
A dated service journey in a page, with the cursor that points at it.
DestinationDisplay
The text that a vehicle shows to tell passengers where it is going.
EstimatedCall
One call of a service journey at a quay on one operating day, with real-time data merged in where it exists. Without real-time data, the expected times equal the aimed times.
GroupOfLines
A named group of lines.
GroupOfLinesConnection
A page of groups of lines.
GroupOfLinesEdge
A group of lines in a page, with the cursor that points at it.
JourneyPattern
The ordered list of stops that service journeys follow. Many journeys can share one journey pattern.
JourneyPatternConnection
A page of journey patterns.
JourneyPatternEdge
A journey pattern in a page, with the cursor that points at it.
KeyValue
One Key and Value pair from the key list of an entity, as the data producer wrote it.
Line
A group of routes that the public knows by one name or number, for example a bus route. Regular lines and flexible lines both use this type.
LineConnection
A page of lines.
LineEdge
A line in a page, with the cursor that points at it.
MultilingualString
Text with the language it is written in.
Notice
A message about a line, a journey, or one stop of a journey, for example a note about a change in service.
Operator
A company that runs journeys.
OperatorConnection
A page of operators.
OperatorEdge
An operator in a page, with the cursor that points at it.
PageInfo
Information about one page of a connection. Paging goes forward only: pass endCursor as after in the next request.
PointsOnLink
A line on the map, in the form OTP serves it.
Presentation
The colors of a line, as given in the source data. Each color is six hexadecimal digits without a leading #, for example 76A300.
PtSituationElement
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.
Quay
A place at a stop place where passengers board or alight, for example a platform or a bus stand.
QuayAtDistance
A quay and its distance from the point of a radius search.
QuayConnection
A page of quays.
QuayEdge
A quay in a page, with the cursor that points at it.
ReplacedByRelation
A link to a dated service journey that replaces another one.
ReplacementForRelation
A link to a dated service journey that another one replaces.
ServiceJourney
A scheduled trip that follows a journey pattern. The dates on which it runs come from its calendar.
ServiceJourneyConnection
A page of service journeys.
ServiceJourneyEdge
A service journey in a page, with the cursor that points at it.
StopPlace
A place where passengers start, end or change a journey, for example a station or a bus stop. A stop place groups one or more quays.
StopPlaceConnection
A page of stop places.
StopPlaceEdge
A stop place in a page, with the cursor that points at it.
TariffZone
An area that is used to set fares.
TimeAndDayOffset
A time of day, and the number of days after the operating day on which that time falls.
TimetabledPassingTime
The scheduled arrival and departure of a service journey at one stop. These times are the plan. They do not include real-time changes.
ValidityPeriod
A period of time. A bound that is null is unbounded.
infoLink
A link to more information about a situation.
Did you find what you were looking for?