eBay · Schema

RatingHistogram

The type that defines the fields for product ratings. Only products that are in the eBay product catalog can be reviewed and rated.

AuctionsCommerceProductsMarketplaceFortune 500

Properties

Name Type Description
count integer The total number of user ratings that the product has received.
rating string This is the average rating for the product. As part of a product review, users rate the product. Products are rated from one star (terrible) to five stars (excellent), with each star having a correspo
View JSON Schema on GitHub

JSON Schema

ebay-ratinghistogram-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RatingHistogram",
  "title": "RatingHistogram",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "The total number of user ratings that the product has received.",
      "format": "int32"
    },
    "rating": {
      "type": "string",
      "description": "This is the average rating for the product. As part of a product review, users rate the product. Products are rated from one star (terrible) to five stars (excellent), with each star having a corresponding point value - one star gets 1 point, two stars get 2 points, and so on. If a product had one four-star rating and one five-star rating, its average rating would be <code> 4.5</code>, and this is the value that would appear in this field."
    }
  },
  "description": "The type that defines the fields for product ratings. Only products that are in the eBay product catalog can be reviewed and rated."
}