{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/airport-city-search-issue-schema.json",
  "title": "Issue",
  "description": "Issue schema from Airport & City Search",
  "properties": {
    "status": {
      "description": "the HTTP status code applicable to this error",
      "type": "integer",
      "example": 1
    },
    "code": {
      "description": "an application-specific error code",
      "type": "integer",
      "format": "int64",
      "example": 1
    },
    "title": {
      "description": "a short summary of the error",
      "type": "string",
      "example": "string-value"
    },
    "detail": {
      "description": "explanation of the error",
      "type": "string",
      "example": "string-value"
    },
    "source": {
      "type": "object",
      "title": "Issue_Source",
      "description": "an object containing references to the source of the error",
      "maxProperties": 1,
      "properties": {
        "pointer": {
          "description": "a JSON Pointer [RFC6901] to the associated entity in the request document",
          "type": "string",
          "example": "string-value"
        },
        "parameter": {
          "description": "a string indicating which URI query parameter caused the issue",
          "type": "string",
          "example": "string-value"
        },
        "example": {
          "description": "a string indicating an example of the right value",
          "type": "string",
          "example": "string-value"
        }
      }
    }
  },
  "type": "object"
}