Amadeus · JSON Structure

Hotel Ratings Warning Structure

Warning structure from Hotel Ratings

Type: object Properties: 5 Required: 2
TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Hotel Ratings Warning Structure is a JSON Structure definition published by Amadeus, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/draft/v0/schema meta-schema.

Properties

code title detail source documentation

Meta-schema: https://json-structure.org/draft/v0/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/v0/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-structure/hotel-ratings-warning-structure.json",
  "title": "Warning",
  "description": "Warning structure from Hotel Ratings",
  "type": "object",
  "properties": {
    "code": {
      "type": "integer",
      "description": "A machine-readable error code from the Canned Messages table, that will enable the API Consumers code to handle this type of error"
    },
    "title": {
      "type": "string",
      "description": "An error title from the Canned Messages table with a 1:1 correspondence to the error code. This may be localized"
    },
    "detail": {
      "type": "string",
      "description": "An easy-to-read explanation specific to this occurrence of the problem. It should give the API consumer an idea of what went wrong and how to recover from it. Like the title, this field\u2019s value can be localized."
    },
    "source": {
      "type": "string"
    },
    "documentation": {
      "type": "string",
      "format": "url",
      "description": "A link to a web page or file with further documentation to help the API consumer resolve this error"
    }
  },
  "required": [
    "code",
    "title"
  ]
}