json icon

Flag Review

v1.0.0commands

Command issued by a customer or moderator to flag a published review for re-moderation.

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "FlagReview",
4  "type": "object",
5  "properties": {
6    "reviewId": { "type": "string", "format": "uuid" },
7    "flaggedBy": { "type": "string", "description": "Customer or moderator id raising the flag." },
8    "reason": { "type": "string", "enum": ["spam", "abuse", "off_topic", "inappropriate", "other"] },
9    "notes": { "type": "string", "maxLength": 1000 },
10    "flaggedAt": { "type": "string", "format": "date-time" }
11  },
12  "required": ["reviewId", "flaggedBy", "reason", "flaggedAt"]
13}
14

Details

Format
JSON Schema
Resource
commands
Filename
schema.json

Versions