json icon

Rating Updated

v1.0.0events

Published when a product's aggregate rating changes as a result of a newly published review.

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "RatingUpdated",
4  "type": "object",
5  "properties": {
6    "productId": { "type": "string" },
7    "averageRating": { "type": "number", "minimum": 0, "maximum": 5 },
8    "reviewCount": { "type": "integer", "minimum": 0 },
9    "updatedAt": { "type": "string", "format": "date-time" }
10  },
11  "required": ["productId", "averageRating", "reviewCount", "updatedAt"]
12}
13

Details

Format
JSON Schema
Resource
events
Filename
schema.json

Versions