Module alert

Module alert 

Source
Expand description

Data models for MBTA alerts.

Structs§

ActivePeriod
Start and end dates for an active alert.
AlertAttributes
Attributes for an alert.
InformedEntity
An entity affected by an alert. At least one of the fields other than activities will be non-null. The affected entity is the intersection of these fields, not the union: if stop and route both have values, the alert does not affect the entire route.

Enums§

Activity
An activity affected by an alert.
Cause
What is causing an alert.
Effect
The effect of a problem on an affected entity.
Lifecycle
Whether an alert is a new or old, in effect or upcoming.

Type Aliases§

Alert
An active or upcoming system alert.
Alerts
Multiple alerts.