Alert Object
Alert of a current or upcoming disruption in public transportation
Fields
#
activityPeriods
The periods of time when this alert is active, sorted chronologically. There is always at least one period. Each period has an inclusive start and an exclusive end. A period with an unbounded start has always been active and a period with an unbounded end is active indefinitely.
agency
Agency affected by the disruption. Note that this value is present only if the disruption has an effect on all operations of the agency (e.g. in case of a strike).
alertDescriptionTextTranslations
Long descriptions of the alert in all different available languages
alertHeaderTextTranslations
Header of the alert in all different available languages
alertId
ID of the alert as set by the producer, prefixed with the feed ID (FeedId:AlertId ). For
SIRI-SX this is the SituationNumber and for GTFS-RT the id of the FeedEntity .
Unlike id , this value is not opaque and can be used to link the alert to the system it
originates from.
alertUrlTranslations
Url with more information in all different available languages
effectiveEndDate
Time when this alert is not in effect anymore. Format: Unix timestamp in seconds
effectiveStartDate
Time when this alert comes into effect. Format: Unix timestamp in seconds
id
Global object ID provided by Relay. This value can be used to refetch this object using node query.
patterns
Patterns affected by the disruption
route
Route affected by the disruption
stop
Stop affected by the disruption
trip
Trip affected by the disruption
version
Version of the alert as set by the producer. Only SIRI-SX provides one (Version ), so this is
null for GTFS-RT alerts.
Interfaces
#
Also implements Node .
Usages
#
References
#
- Field alerts from Agency
- Field node from AlertEdge
- Field alerts from Feed
AgencyAlertType
AlertCauseType