Amadeus · JSON Structure

Hotel Ratings Hotel Sentiment Structure

HotelSentiment structure from Hotel Ratings

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

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

Properties

hotelId type overallRating numberOfRatings numberOfReviews sentiments

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-hotel-sentiment-structure.json",
  "title": "HotelSentiment",
  "description": "HotelSentiment structure from Hotel Ratings",
  "type": "object",
  "properties": {
    "hotelId": {
      "type": "string",
      "description": "Amadeus Hotel Ids are found in the Hotel Search response (parameter name is 'hotelId')"
    },
    "type": {
      "type": "string"
    },
    "overallRating": {
      "type": "integer",
      "description": "Integer between 0 and 100. It represents the score for a specific category or the overall rating for a given Hotel."
    },
    "numberOfRatings": {
      "type": "integer"
    },
    "numberOfReviews": {
      "type": "integer"
    },
    "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."
    }
  },
  "required": [
    "hotelId",
    "overallRating",
    "avgHotelAvailabilityResponseTime",
    "numberOfRatings",
    "numberOfReviews"
  ]
}