eBay · Schema

ReviewRating

The type that defines the fields for the rating of a product review.

AuctionsCommerceProductsMarketplaceFortune 500

Properties

Name Type Description
averageRating string The average rating given to a product based on customer reviews.
ratingHistograms array An array of containers for the product rating histograms that shows the review counts and the product rating.
reviewCount integer The total number of reviews for the item.
View JSON Schema on GitHub

JSON Schema

ebay-reviewrating-schema.json Raw ↑
{
  "$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."
}