Amadeus Traveler Media · Schema
HotelSentiment
HotelSentiment schema
ContentDestinationMediaPhotosPoints of InterestTourismTravel
Properties
| Name | Type | Description |
|---|---|---|
| hotelId | string | Amadeus Hotel Ids are found in the Hotel Search response (parameter name is 'hotelId') |
| type | string | |
| overallRating | object | |
| numberOfRatings | integer | |
| numberOfReviews | integer | |
| sentiments | object | 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. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-traveler-media/refs/heads/main/json-schema/hotel-ratings-hotel-sentiment-schema.json",
"title": "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": "integer",
"example": 350
},
"numberOfReviews": {
"type": "integer",
"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"
]
}