{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/api-ninjas-com/json-schema/api-ninjas-com-airport-suggest-item-schema.json",
  "title": "AirportSuggestItem",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-ninjas-com-airports-api-openapi.yml#/components/schemas/AirportSuggestItem",
  "type": "object",
  "properties": {
    "icao": {
      "type": "string",
      "description": "International Civil Aviation Organization (ICAO) 4-character airport code."
    },
    "iata": {
      "type": "string",
      "description": "International Air Transport Association (IATA) 3-character airport code."
    },
    "ident": {
      "type": "string",
      "description": "Universal airport identifier. Equals the ICAO code where one exists, otherwise a local or regional code."
    },
    "name": {
      "type": "string",
      "description": "Airport name."
    },
    "city": {
      "type": "string",
      "description": "Airport city."
    },
    "country": {
      "type": "string",
      "description": "2-letter ISO country code."
    },
    "type": {
      "type": "string",
      "enum": [
        "large_airport",
        "medium_airport",
        "small_airport",
        "heliport",
        "seaplane_base",
        "balloonport",
        "closed"
      ],
      "description": "Facility type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, or closed."
    },
    "size": {
      "type": "string",
      "description": "Airport size.",
      "enum": [
        "large",
        "medium",
        "small"
      ]
    }
  }
}