Expand description
Data models for MBTA alerts.
Structs§
- Active
Period - Start and end dates for an active alert.
- Alert
Attributes - Attributes for an alert.
- Informed
Entity - 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.