Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 780 Bytes

File metadata and controls

16 lines (8 loc) · 780 Bytes

Rating

The rating of this product.

Properties

Name Type Description Notes
ratingCount Integer The total number of ratings. This value is independent of the value of histogram.This value must be nonnegative. [optional]
averageRating Float The average rating of the product. The rating is scaled at 1-5. [optional]
ratingHistogram List<Integer> List of rating counts per rating value (index = rating - 1). The list is empty if there is no rating. If the list is non-empty, its size is always 5. For example, [41, 14, 13, 47, 303]. It means that the product got 41 ratings with 1 star, 14 ratings with 2 star, and so on. [optional]