Review
object type
A Review — ONE consumer product review (org-group-parented document): authorConsumerId (a registered Consumer) × targetProductId (a Product, the consumer-facing unit) BOTH IMMUTABLE at birth. rating 1–5 (integer). ⚠ verifiedPurchase is SERVER-STAMPED, NEVER client-asserted. FSM (moderation default-on, strict): pending(i) → approved (caller_op:approve / the DORMANT system:auto_publish_policy twin, deferral 6) · approved → published (caller_op:publish / the DORMANT system:auto twin) · pending → rejected · published|approved → removed — EVERY caller edge authority:moderate; pending → published FORBIDDEN (moderation is never skippable). rejected✦/removed✦ are BOTH doomed terminals (lists filter them; the marker frees by TAKEOVER). The STAFF face is moderation-ONLY (ruling — {create:false, update:false}: staff never author or edit authorial consumer content; the author writes via submitMyReview/updateMyReview [an ordinary revision — edits NEVER re-enter moderation; moderators hold remove]). Consumer erase does NOT cascade (ruling — scrubs). Display/rendering = (deferral 4); the aggregate rating read-model = (deferral 5); photos/Q&A/votes/replies = ratified-out. NOT searchable (reached via its target — authorial content, not a master book).
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The group-scoped human-facing system id (RE-…). |
type | String String! | The kind of record — always Review here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The FSM state: pending | approved | published | rejected | removed. |
parentId | ID ID! | The parent org group; for a Review parentId === rootId. |
rootId | ID ID! | The org-group family root. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID ID! | The OCC revision token — supply it on every mutation of this record; rotates on every write. |
refCaptions | RefCaption [RefCaption!]! | The server-composed captions of this record's declared references (the referenced-caption rule) — one row per referenced id; see RefCaption. |
authorConsumerId | ID ID! | The authoring registered Consumer. ⚠ IMMUTABLE at birth (the marker identity — ruling). |
targetProductId | ID ID! | The reviewed Product. ⚠ IMMUTABLE at birth (the marker identity; re-target = a NEW review after removal). |
rating | Int Int! | 1–5 (integer — no halves at v1). |
title | String String! | The review headline (1..200). |
body | String String! | The review narrative (1..8192). |
verifiedPurchase | Boolean Boolean! | SERVER-STAMPED (ruling — pointed-proof; NEVER client-asserted). Author edits supplying orderId re-derive it. |
verifiedByOrderId | ID | The proving Order — present IFF verifiedPurchase (the stamp carries its provenance). |