Alert Object
Alert of a current or upcoming disruption in public transportation
Fields
#
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
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
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
Interfaces
#
Also implements Node .
Usages
#
References
#
- Field alerts from Agency
- Field alerts from Feed
- Field alerts from Leg
AgencyAlertType
AlertCauseType