{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/faa/json-schema/faa-delays-schema.json",
  "title": "Delays",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/faa-faa-airport-status-service-api-openapi.yml#/components/schemas/Delays",
  "type": "object",
  "properties": {
    "GroundDelays": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GroundDelays"
      }
    },
    "GroundStops": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GroundStops"
      }
    },
    "ArriveDepartDelays": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ArriveDepartDelays"
      }
    },
    "Closures": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Closures"
      }
    }
  },
  "$defs": {
    "ArriveDepartDelay": {
      "required": [
        "airport",
        "maxTime",
        "minTime",
        "reason"
      ],
      "type": "object",
      "properties": {
        "airport": {
          "type": "string"
        },
        "maxTime": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        },
        "minTime": {
          "type": "string"
        }
      }
    },
    "ArriveDepartDelays": {
      "type": "object",
      "properties": {
        "ArriveDepartDelay": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ArriveDepartDelay"
          }
        }
      }
    },
    "Closure": {
      "required": [
        "airport",
        "reason",
        "reopen"
      ],
      "type": "object",
      "properties": {
        "airport": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        },
        "reopen": {
          "type": "string"
        }
      }
    },
    "Closures": {
      "type": "object",
      "properties": {
        "Closure": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Closure"
          }
        }
      }
    },
    "GroundDelay": {
      "required": [
        "airport",
        "avgTime",
        "reason"
      ],
      "type": "object",
      "properties": {
        "airport": {
          "type": "string"
        },
        "avgTime": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        }
      }
    },
    "GroundDelays": {
      "type": "object",
      "properties": {
        "GroundDelay": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GroundDelay"
          }
        }
      }
    },
    "GroundStop": {
      "required": [
        "airport",
        "endTime",
        "reason"
      ],
      "type": "object",
      "properties": {
        "airport": {
          "type": "string"
        },
        "endTime": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        }
      }
    },
    "GroundStops": {
      "type": "object",
      "properties": {
        "GroundStop": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GroundStop"
          }
        }
      }
    }
  }
}