{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/flight-choice-prediction-operating-flight-schema.json",
  "title": "OperatingFlight",
  "description": "information about the operating flight",
  "type": "object",
  "properties": {
    "carrierCode": {
      "type": "string",
      "description": "providing the airline / carrier code",
      "minLength": 1,
      "maxLength": 2,
      "example": "DL"
    },
    "number": {
      "type": "string",
      "description": "the flight number as assigned by the carrier",
      "minLength": 1,
      "maxLength": 4,
      "example": "212"
    },
    "suffix": {
      "type": "string",
      "description": "the flight number suffix as assigned by the carrier",
      "minLength": 1,
      "maxLength": 4,
      "example": "string-value"
    }
  }
}