json icon

Review Flagged

v1.0.0events

Published when a published review is flagged and needs to be screened again.

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "ReviewFlagged",
4  "type": "object",
5  "properties": {
6    "reviewId": { "type": "string", "format": "uuid" },
7    "productId": { "type": "string" },
8    "reason": { "type": "string", "enum": ["spam", "abuse", "off_topic", "inappropriate", "other"] },
9    "flagCount": { "type": "integer", "minimum": 1, "description": "Total flags this review has now received." },
10    "flaggedAt": { "type": "string", "format": "date-time" }
11  },
12  "required": ["reviewId", "productId", "reason", "flaggedAt"]
13}
14

Details

Format
JSON Schema
Resource
events
Filename
schema.json

Versions