Lufthansa · Schema

AirportResource

Root element of airport response.

AirlinesTravelAviationFlights

Properties

Name Type Description
Airports object Container for airport elements.
Meta object Container for meta links.
View JSON Schema on GitHub

JSON Schema

lufthansa-airportresource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AirportResource",
  "title": "AirportResource",
  "type": "object",
  "properties": {
    "Airports": {
      "type": "object",
      "properties": {
        "Airport": {
          "$ref": "#/components/schemas/Airport"
        }
      },
      "description": "Container for airport elements."
    },
    "Meta": {
      "type": "object",
      "properties": {
        "@Version": {
          "type": "string"
        },
        "Link": {
          "type": "array",
          "description": "Array: links to resource itself and other related resources.",
          "items": {
            "$ref": "#/components/schemas/Link"
          }
        },
        "TotalCount": {
          "type": "integer",
          "format": "int32"
        }
      },
      "description": "Container for meta links."
    }
  },
  "description": "Root element of airport response."
}