{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:Airline",
  "title": "Airline",
  "description": "An organization that provides flights for passengers.",
  "type": "object",
  "allOf": [
    {
      "description": "An organization such as a school, NGO, corporation, club, etc.",
      "$ref": "schema:Organization"
    }
  ],
  "properties": {
    "boardingPolicy": {
      "description": "The type of boarding policy used by the airline (e.g. zone-based or group-based).",
      "$ref": "schema:BoardingPolicyType"
    },
    "iataCode": {
      "description": "IATA identifier for an airline or airport.",
      "oneOf": [
        { "type": "string" },
        { "type": "array", "items": { "type": "string" } }
      ]
    }
  }
}
