---
id: "gtfs_rt_congestion_level"
kind: "datatype"
status: "draft"
is_pii: false
name: "GTFS Realtime congestion level"
regexp: "^(?:UNKNOWN_CONGESTION_LEVEL|RUNNING_SMOOTHLY|STOP_AND_GO|CONGESTION|SEVERE_CONGESTION)$"
categories: ["transport"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/gtfs_rt_congestion_level"
---

# GTFS Realtime congestion level (`gtfs_rt_congestion_level`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Value of the congestion_level field of a vehicle position in a GTFS Realtime feed (the CongestionLevel enumeration), the traffic the vehicle is in: UNKNOWN_CONGESTION_LEVEL, RUNNING_SMOOTHLY, STOP_AND_GO, CONGESTION or SEVERE_CONGESTION.

- Parent datatype: [`category`](https://registry.apicrafter.io/datatype/category.md)
- Personal data (PII): no
- Categories: Transportation (transport)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:UNKNOWN_CONGESTION_LEVEL|RUNNING_SMOOTHLY|STOP_AND_GO|CONGESTION|SEVERE_CONGESTION)$
```

## Examples

- `RUNNING_SMOOTHLY` — Canberra Metro light rail vehicle updates
- `STOP_AND_GO`
- `HEAVY` (invalid example)

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `gtfsrtcongestionlevelbyfield` (field, `common/transport.yaml`)
- `gtfsrtcongestionlevelvalue` (data, `common/transport.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Уровень заторов (GTFS Realtime)

## Sources

- doc: <https://gtfs.org/documentation/realtime/reference/>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/gtfs_rt_congestion_level.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/transport/gtfs_rt_congestion_level.yaml>
