Alert
Alert contains all available information about an individual transit alert or an announcement.
Attribute | Always Included | Type | Description |
---|---|---|---|
origin | Yes | String | Source of the alert. Available values are:
|
severity | - | String | The severity value The following values are possible:
|
type | - | String | Incident cause / type. The following values are possible:
More values could be added in the future |
effect | - | String | Incident effect. The following values are possible:
More values could be added in the future |
operator | Yes | String | Name of the operator of the public transit line. |
id | Yes | String | Identifier for the alert. The id is a unique value. |
valid_till | - | DateTime | Time in UTC until which the alert is valid. |
valid_from | - | DateTime | Time in UTC from which the alert is valid. |
url | - | String | URL which can be used by end-users to access the original alert. For example, for Twitter it would be an URL of the tweet. |
sec_ids | - | IDREFS | Whitespace-separated list of section Ids of a connection relevant to the given Alert. |
Element | Always Included | Type | Description |
---|---|---|---|
Summary | - | Summary | Contains human readable summary of the alert. |
Info | Yes | Info | Contains information about the public transit line or lines, such as expected closures or special requirements. |
Link | - | Link | Specifies a link to a web resource. The only allowed Link |
Transports | - | Transports | List of transports affected by the alert. |
Branding | - | Branding | Some alert sources (like Twitter) have branding requirement and clients must comply to these, for example by showing branding info to user. |