Amadeus Traveler Media · JSON Structure

Hotel Ratings Warning Structure

Warning schema

Type: object Properties: 5 Required: 2
ContentDestinationMediaPhotosPoints of InterestTourismTravel

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

Properties

code title detail source documentation

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-traveler-media/refs/heads/main/json-structure/hotel-ratings-warning-structure.json",
  "name": "Warning",
  "description": "Warning schema",
  "properties": {
    "code": {
      "type": "int32",
      "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": {
      "$ref": "#/definitions/ErrorSource"
    },
    "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"
  ],
  "type": "object"
}