{
  "id": "flightnumber",
  "kind": "datatype",
  "status": "stable",
  "name": "Flight number",
  "doc": "In the aviation industry, a flight number or flight designator is a code for an airline service consisting of two-character airline designator and a 1 to 4 digit number.",
  "is_pii": false,
  "categories": [
    "transport"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "([A-Z]{2,3}|[A-Z][0-9]|[0-9][A-Z])\\d{1,4}[A-Z]?|\\d{1,4}",
  "examples": [
    {
      "value": "EK521",
      "description": "Emirates Flight 521",
      "valid": true
    },
    {
      "value": "4U9525",
      "description": "Germanwings Flight 9525",
      "valid": true
    }
  ],
  "mappings": {
    "schema_org": "flightNumber",
    "wikidata": "P3090"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Flight_number"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P3090"
    }
  ],
  "quality": {
    "score": 70,
    "missing": [
      "anchored regexp",
      "negative example",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/transport/air/flightnumber.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/transport/air/flightnumber.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/transport/air/flightnumber.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/flightnumber",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/flightnumber.json"
  }
}