{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hubvibe-io-com/json-schema/hubvibe-io-com-departures-item-schema.json",
  "title": "DeparturesItem",
  "description": "One flight on the board.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hubvibe-io-com-openapi.json#/components/schemas/DeparturesItem",
  "type": "object",
  "properties": {
    "flight": {
      "type": [
        "string",
        "null"
      ],
      "description": "Flight number."
    },
    "airline": {
      "type": [
        "string",
        "null"
      ],
      "description": "Airline code."
    },
    "direction": {
      "type": [
        "string",
        "null"
      ],
      "description": "D or A."
    },
    "other_airport": {
      "type": [
        "string",
        "null"
      ],
      "description": "Destination or origin (IATA)."
    },
    "other_airport_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Its name."
    },
    "scheduled": {
      "type": [
        "string",
        "null"
      ],
      "description": "Scheduled time (UTC)."
    },
    "status": {
      "type": [
        "string",
        "null"
      ],
      "description": "departed, arrived, new time, new info or cancelled."
    },
    "status_time": {
      "type": [
        "string",
        "null"
      ],
      "description": "Time the status refers to (UTC)."
    },
    "gate": {
      "type": [
        "string",
        "null"
      ],
      "description": "Gate."
    },
    "check_in": {
      "type": [
        "string",
        "null"
      ],
      "description": "Check-in rows."
    },
    "belt": {
      "type": [
        "string",
        "null"
      ],
      "description": "Baggage belt (arrivals)."
    },
    "delayed": {
      "type": "boolean",
      "description": "Marked delayed."
    },
    "sector": {
      "type": [
        "string",
        "null"
      ],
      "description": "domestic, schengen or international."
    }
  },
  "required": [
    "flight",
    "airline",
    "direction",
    "other_airport",
    "other_airport_name",
    "scheduled",
    "status",
    "status_time",
    "gate",
    "check_in",
    "belt",
    "delayed",
    "sector"
  ]
}