---
id: "iataairportcode"
kind: "pattern"
status: "stable"
is_pii: false
categories: ["transport"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/iataairportcode"
---

# IATA Airport code (`iataairportcode`)

An IATA airport code, also known as an IATA location identifier, IATA station code, or simply a location identifier, is a three-letter geocode designating many airports and metropolitan areas around the world, defined by the International Air Transport Association (IATA)

- Pattern of: `airport`
- Personal data (PII): no
- Categories: Transportation (transport)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
[A-Z0-9]{3}
```

## Examples

- `YXK` — Rimouski Airport
- `PAR` — Paris

## Mappings

- autotype: `airport`
- fta: `AIRPORT_CODE.IATA`
- schema_org: `iataCode`
- wikidata: `P238`

## Metacrafter rules

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

- `iataairportcodefield` (field, `common/transport.yaml`)

## Supported by tools

- `autotype`
- `fta`
- `ibmknowledgecatalog`
- `metacrafter`
- `tableau`
- `talend`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/IATA_airport_code>
- wikidata: <https://www.wikidata.org/wiki/Property:P238>

## Quality

Score 80/100. Missing: anchored regexp, negative example, translation.

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