Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 2.52 KB

File metadata and controls

17 lines (13 loc) · 2.52 KB

InformedEntity

Object representing a particular part of the system affected by an alert

Properties

Name Type Description Notes
trip str Unique id of a trip [optional]
stop str Unique id of a stop [optional]
route_type int Value
route str Unique id of a route [optional]
facility str Unique id of a facility [optional]
direction_id int Direction in which trip is traveling: `0` or `1`. The meaning of `direction_id` varies based on the route. You can programmatically get the direction names from `/routes` `/data/{index}/attributes/direction_names` or `/routes/{id}` `/data/attributes/direction_names`. [optional]
activities list[str] Activities affected by this alert. If an entity is a station platform, and the alert only impacts those boarding at that platform and no one else, and the activity `"BOARD"` represents customers boarding at the informed entity, then the entity includes `activities` `["BOARD"]`. If the alert affected customers exiting at the platform too, then `activities` is `["BOARD", "EXIT"]`. It should be noted that the `activities` array includes activities that are specifically affected. Thus if there were activities `"BOARD"`, `"EXIT"`, and `"USING_WHEELCHAIR"` [to board or exit], and a station were closed, then the `activities` array would include `"BOARD"` and `"EXIT"` but it would not be necessary to include the activity `"USING_WHEELCHAIR"`. Any rider entering the station who is `"USING_WHEELCHAIR"` is also a rider who `"BOARD"`s. Using a wheelchair to board is not specifically affected. [optional]

[Back to Model list] [Back to API list] [Back to README]