{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ReviewRating", "title": "ReviewRating", "type": "object", "properties": { "averageRating": { "type": "string", "description": "The average rating given to a product based on customer reviews." }, "ratingHistograms": { "type": "array", "description": "An array of containers for the product rating histograms that shows the review counts and the product rating.", "items": { "$ref": "#/components/schemas/RatingHistogram" } }, "reviewCount": { "type": "integer", "description": "The total number of reviews for the item.", "format": "int32" } }, "description": "The type that defines the fields for the rating of a product review." }