{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:Airport",
  "title": "Airport",
  "description": "An airport.",
  "type": "object",
  "allOf": [
    {
      "description": "A public structure, such as a town hall or concert hall.",
      "$ref": "schema:CivicStructure"
    }
  ],
  "properties": {
    "iataCode": {
      "description": "IATA identifier for an airline or airport.",
      "oneOf": [
        { "type": "string" },
        { "type": "array", "items": { "type": "string" } }
      ]
    },
    "icaoCode": {
      "description": "ICAO identifier for an airport.",
      "oneOf": [
        { "type": "string" },
        { "type": "array", "items": { "type": "string" } }
      ]
    }
  }
}
