Amadeus · Schema

Warning

Warning schema from Airline Code Lookup API

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
code integer an application-specific error code
title string a short summary of the error
detail string explanation of the error
source object an object containing references to the source of the error
View JSON Schema on GitHub

JSON Schema

airline-code-lookup-warning-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/airline-code-lookup-warning-schema.json",
  "title": "Warning",
  "description": "Warning schema from Airline Code Lookup API",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer",
      "description": "an application-specific error code",
      "format": "int64",
      "example": 1
    },
    "title": {
      "type": "string",
      "description": "a short summary of the error",
      "example": "string-value"
    },
    "detail": {
      "type": "string",
      "description": "explanation of the error",
      "example": "string-value"
    },
    "source": {
      "title": "Issue_Source",
      "type": "object",
      "properties": {
        "pointer": {
          "type": "string",
          "description": "a JSON Pointer [RFC6901] to the associated entity in the request document",
          "example": "string-value"
        },
        "parameter": {
          "type": "string",
          "description": "a string indicating which URI query parameter caused the issue",
          "example": "string-value"
        },
        "example": {
          "type": "string",
          "description": "a string indicating an example of the right value",
          "example": "string-value"
        }
      },
      "description": "an object containing references to the source of the error"
    }
  }
}