{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aerodatabox/refs/heads/main/json-structure/aerodatabox-airport-delay-contract-structure.json",
  "description": "AirportDelayContract schema from AeroDataBox API",
  "type": "object",
  "properties": {
    "airportIcao": {
      "minLength": 1,
      "type": "string",
      "description": "Airport ICAO code"
    },
    "from": {
      "$ref": "#/components/schemas/DateTimeContract"
    },
    "to": {
      "$ref": "#/components/schemas/DateTimeContract"
    },
    "departuresDelayInformation": {
      "$ref": "#/components/schemas/FlightBatchDelayContract"
    },
    "arrivalsDelayInformation": {
      "$ref": "#/components/schemas/FlightBatchDelayContract"
    }
  },
  "required": [
    "airportIcao",
    "arrivalsDelayInformation",
    "departuresDelayInformation",
    "from",
    "to"
  ],
  "additionalProperties": false,
  "name": "AirportDelayContract"
}