type: object
title: Airports and Geographic Information
version: 1.0.0
properties:
  metadata:
    description: Metadata when the record is processed
    title: Metadata
    type: object
  iata_ap_code:
    description: IATA airport code
    maxLength: 3
    title: IATA AP Code
    type: string
  valid_since:
    description: Valid from date
    format: date-time
    title: Valid Since
    type: string
  valid_until:
    description: Valid until date
    format: date-time
    title: Valid Until
    type: string
  icao_code:
    anyOf:
    - maxLength: 4
      type: string
    - type: 'null'
    default: null
    description: ICAO airport code
    title: ICAO Code
  ap_name:
    description: Airport name
    maxLength: 30
    title: AP Name
    type: string
  country_code:
    description: Country code
    maxLength: 4
    title: Country Code
    type: string
  dst_zone_code:
    description: Daylight saving time zone code
    maxLength: 4
    title: DST Zone Code
    type: string
  area:
    anyOf:
    - maxLength: 3
      type: string
    - type: 'null'
    default: null
    description: Area code
    title: Area
  category:
    description: Airport category
    maxLength: 1
    title: Category
    type: string
  time_zone:
    description: Time zone code
    maxLength: 4
    title: Time Zone
    type: string
  coord_longitude:
    description: Longitude coordinate
    maxLength: 10
    title: Coord Longitude
    type: string
  coord_latitude:
    description: Latitude coordinate
    maxLength: 9
    title: Coord Latitude
    type: string
  external_reference:
    anyOf:
    - maxLength: 10
      type: string
    - type: 'null'
    default: null
    description: External reference
    title: External Reference
  record_id:
    default: 0
    description: Record ID
    title: Record Id
    type: integer
  last_update:
    anyOf:
    - format: date-time
      type: string
    - type: 'null'
    default: null
    description: Last update timestamp
    title: Last Update
  last_update_user_id:
    anyOf:
    - maxLength: 32
      type: string
    - type: 'null'
    default: null
    description: Last update user ID
    title: Last Update User Id
  ap_name_nls:
    anyOf:
    - maxLength: 60
      type: string
    - type: 'null'
    default: null
    description: Airport name in native language
    title: AP Name NLS
  runways:
    description: List of runways at this airport
    items:
      type: object
    title: Runways
    type: array
  subtype_details:
    description: Subtype-specific airport details
    items:
      type: object
    title: Subtype Details
    type: array
  city_info:
    description: City information
    items:
      type: object
    title: City Info
    type: array
  iata_city_code:
    anyOf:
    - type: string
    - type: 'null'
    default: null
    description: IATA city code (from city_info)
    title: IATA City Code
  city:
    anyOf:
    - type: string
    - type: 'null'
    default: null
    description: City name (from city_info)
    title: City
  state_designator:
    anyOf:
    - type: string
    - type: 'null'
    default: null
    description: State designator (from city_info)
    title: State Designator
  country:
    anyOf:
    - type: string
    - type: 'null'
    default: null
    description: Country name
    title: Country
  diff_utc_lst:
    anyOf:
    - type: integer
    - type: 'null'
    default: null
    description: Deviation to UTC (signed Minutes)
    title: Diff UTC LST
  diff_lst_dst:
    anyOf:
    - type: integer
    - type: 'null'
    default: null
    description: Deviation from Local Standard Time (signed Minutes)
    title: Diff LST DST
  area_rules:
    anyOf:
    - type: string
    - type: 'null'
    default: null
    description: Area rules categorized by airport, country, and city
    title: Area Rules
required:
- metadata
- iata_ap_code
- valid_since
- valid_until
- ap_name
- country_code
- dst_zone_code
- category
- time_zone
- coord_longitude
- coord_latitude

