Amadeus Traveler Media · JSON Structure

Hotel Ratings Hotel Sentiment Structure

HotelSentiment schema

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

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

Properties

hotelId type overallRating numberOfRatings numberOfReviews sentiments

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-hotel-sentiment-structure.json",
  "name": "HotelSentiment",
  "description": "HotelSentiment schema",
  "type": "object",
  "properties": {
    "hotelId": {
      "type": "string",
      "example": "BBLONBTL",
      "description": "Amadeus Hotel Ids are found in the Hotel Search response (parameter name is 'hotelId')"
    },
    "type": {
      "type": "string",
      "example": "hotelSentiment"
    },
    "overallRating": {
      "$ref": "#/definitions/Score"
    },
    "numberOfRatings": {
      "type": "int32",
      "example": 350
    },
    "numberOfReviews": {
      "type": "int32",
      "example": 200
    },
    "sentiments": {
      "type": "object",
      "description": "Dictionary containing scores for all the available categories.  If a property does not have any category this object will not be present in the response.",
      "properties": {
        "sleepQuality": {
          "$ref": "#/definitions/Score"
        },
        "service": {
          "$ref": "#/definitions/Score"
        },
        "facilities": {
          "$ref": "#/definitions/Score"
        },
        "roomComforts": {
          "$ref": "#/definitions/Score"
        },
        "valueForMoney": {
          "$ref": "#/definitions/Score"
        },
        "catering": {
          "$ref": "#/definitions/Score"
        },
        "swimmingPool": {
          "$ref": "#/definitions/Score"
        },
        "location": {
          "$ref": "#/definitions/Score"
        },
        "internet": {
          "$ref": "#/definitions/Score"
        },
        "pointsOfInterest": {
          "$ref": "#/definitions/Score"
        },
        "staff": {
          "$ref": "#/definitions/Score"
        }
      }
    }
  },
  "required": [
    "hotelId",
    "overallRating",
    "avgHotelAvailabilityResponseTime",
    "numberOfRatings",
    "numberOfReviews"
  ]
}