json icon

Vote Review Helpful

v1.0.0commands

Command issued by a customer to mark a published review as helpful (or remove their vote).

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "VoteReviewHelpful",
4  "type": "object",
5  "properties": {
6    "reviewId": { "type": "string", "format": "uuid" },
7    "customerId": { "type": "string" },
8    "vote": { "type": "string", "enum": ["helpful", "remove"], "description": "Add a helpful vote or remove an existing one." },
9    "votedAt": { "type": "string", "format": "date-time" }
10  },
11  "required": ["reviewId", "customerId", "vote", "votedAt"]
12}
13

Details

Format
JSON Schema
Resource
commands
Filename
schema.json

Versions