Pattern Object
Pattern is sequence of stops used by trips on a specific direction and variant of a route. Most routes have only two patterns: one for outbound trips and one for inbound trips
Fields
#
alerts
By default, list of alerts which have directly an effect on just the pattern. It's also possible to return other relevant alerts through defining types.
directionId
Direction of the pattern. Possible values: 0, 1 or -1. -1 indicates that the direction is irrelevant, i.e. the route has patterns only in one direction.
geometry
id
Global object ID provided by Relay. This value can be used to refetch this object using node query.
name
Name of the pattern. Pattern name can be just the name of the route or it can include details of destination and origin stops.
semanticHash
Hash code of the pattern. This value is stable and not dependent on the pattern id, i.e. this value can be used to check whether two patterns are the same, even if their ids have changed.
vehiclePositions
Real-time updated position of vehicles that are serving this pattern.
Interfaces
#
Also implements Node .
Usages
#
References
#
- Part of union AlertEntity
- Field patterns from Alert
- Field pattern from DepartureRow
ParkingFilterOperation
PatternAlertType