# 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](/types/#scalars) `ID!` | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
| `sysId` | [String](/types/#scalars) `String!` | The group-scoped human-facing system id (RE-…). |
| `type` | [String](/types/#scalars) `String!` | The kind of record — always `Review` here. |
| `caption` | [String](/types/#scalars) `String!` | The record’s display name — what people see it called. |
| `status` | [String](/types/#scalars) `String!` | The FSM state: pending \| approved \| published \| rejected \| removed. |
| `parentId` | [ID](/types/#scalars) `ID!` | The parent org group; for a Review parentId === rootId. |
| `rootId` | [ID](/types/#scalars) `ID!` | The org-group family root. |
| `createdAt` | [String](/types/#scalars) `String!` | When the record was created, as a UTC timestamp. |
| `updatedAt` | [String](/types/#scalars) `String!` | When the record last changed, as a UTC timestamp. |
| `revisionNum` | [Int](/types/#scalars) `Int!` | How many times this record has been edited; the first save is 0. |
| `revision` | [ID](/types/#scalars) `ID!` | The OCC revision token — supply it on every mutation of this record; rotates on every write. |
| `refCaptions` | [RefCaption](/types/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](/types/#scalars) `ID!` | The authoring registered Consumer. ⚠ IMMUTABLE at birth (the marker identity — ruling). |
| `targetProductId` | [ID](/types/#scalars) `ID!` | The reviewed Product. ⚠ IMMUTABLE at birth (the marker identity; re-target = a NEW review after removal). |
| `rating` | [Int](/types/#scalars) `Int!` | 1–5 (integer — no halves at v1). |
| `title` | [String](/types/#scalars) `String!` | The review headline (1..200). |
| `body` | [String](/types/#scalars) `String!` | The review narrative (1..8192). |
| `verifiedPurchase` | [Boolean](/types/#scalars) `Boolean!` | SERVER-STAMPED (ruling — pointed-proof; NEVER client-asserted). Author edits supplying orderId re-derive it. |
| `verifiedByOrderId` | [ID](/types/#scalars) | The proving Order — present IFF verifiedPurchase (the stamp carries its provenance). |

## Used by

- [review](/reference/review/review/)
- [transitionReview](/reference/review/transitionReview/)
