AeroDataBox · JSON Structure

Aerodatabox Flight Batch Delay Contract Structure

Delay information about a batch of flights

Type: object Properties: 5 Required: 3
AviationFlightsAerospaceFlight DataAirport Data

FlightBatchDelayContract is a JSON Structure definition published by AeroDataBox, describing 5 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

numTotal numQualifiedTotal numCancelled medianDelay delayIndex

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aerodatabox/refs/heads/main/json-structure/aerodatabox-flight-batch-delay-contract-structure.json",
  "description": "Delay information about a batch of flights",
  "type": "object",
  "properties": {
    "numTotal": {
      "type": "int32",
      "description": "Total number of flights in the the batch (including cancelled)"
    },
    "numQualifiedTotal": {
      "type": "int32",
      "description": "Total number of flights in the batch, which were used to to calculate the\r\ndelay information (including cancelled). Should equal to or less than `NumTotal`.\r\n\r\nThe closer the value of this property to the value of `NumTotal`, the higher the\r\nreliability of delay information"
    },
    "numCancelled": {
      "type": "int32",
      "description": "Total amount of flights in the batch"
    },
    "medianDelay": {
      "type": "string",
      "description": "Median delay of flights in the batch (format: [-]hh:mm:ss).\r\nValue can be negative (therefore, means early occurence).",
      "format": "date-span",
      "nullable": true
    },
    "delayIndex": {
      "type": "float",
      "description": "Normalized value on scale from 0.0 to 5.0 which corresponds with current amount of delays and cancellations in a given batch of flights (the less - the better).",
      "nullable": true
    }
  },
  "required": [
    "numCancelled",
    "numQualifiedTotal",
    "numTotal"
  ],
  "additionalProperties": false,
  "name": "FlightBatchDelayContract"
}