IATA Airport Code
Type Registry
IATA Airport Code
geography.transportation.iata_code International Air Transport Association airport code (3 letters). Identifies airports for flight bookings and schedules (e.g., JFK, LAX, CDG).
Domain geography›transportation
Casts to VARCHAR
Scope Universal
Try it
CLI
$ finetype infer -i "JFK"
→ geography.transportation.iata_code DuckDB
Detect
SELECT finetype('JFK');
-- → 'geography.transportation.iata_code' Cast expression
UPPER(CAST({col} AS VARCHAR)) Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'geography.transportation.iata_code'; JSON Schema
finetype schema geography.transportation.iata_code {
"$id": "https://noon.sh/schemas/geography.transportation.iata_code",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "International Air Transport Association airport code (3 letters). Identifies airports for flight bookings and schedules (e.g., JFK, LAX, CDG).",
"examples": [
"JFK",
"LAX",
"CDG",
"LHR",
"NRT"
],
"pattern": "^[A-Z]{3}$",
"title": "IATA Airport Code",
"type": "string"
} Examples
JFKLAXCDGLHRNRT