{
  "id": "gtfs_rt_congestion_level",
  "kind": "datatype",
  "status": "draft",
  "name": "GTFS Realtime congestion level",
  "doc": "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": "category",
  "is_pii": false,
  "categories": [
    "transport"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?:UNKNOWN_CONGESTION_LEVEL|RUNNING_SMOOTHLY|STOP_AND_GO|CONGESTION|SEVERE_CONGESTION)$",
  "examples": [
    {
      "value": "RUNNING_SMOOTHLY",
      "description": "Canberra Metro light rail vehicle updates",
      "valid": true
    },
    {
      "value": "STOP_AND_GO",
      "valid": true
    },
    {
      "value": "HEAVY",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://gtfs.org/documentation/realtime/reference/"
    }
  ],
  "translations": {
    "ru": {
      "name": "Уровень заторов (GTFS Realtime)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gtfsrtcongestionlevelbyfield",
        "type": "field",
        "match": "text",
        "file": "common/transport.yaml"
      },
      {
        "rule": "gtfsrtcongestionlevelvalue",
        "type": "data",
        "match": "text",
        "file": "common/transport.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/transport/gtfs_rt_congestion_level.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/transport/gtfs_rt_congestion_level.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/transport/gtfs_rt_congestion_level.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gtfs_rt_congestion_level",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gtfs_rt_congestion_level.json"
  }
}