AlmondTill/G3N API

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

FieldTypeNotes
idID ID!The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it.
sysIdString String!The group-scoped human-facing system id (RE-…).
typeString String!The kind of record — always Review here.
captionString String!The record’s display name — what people see it called.
statusString String!The FSM state: pending | approved | published | rejected | removed.
parentIdID ID!The parent org group; for a Review parentId === rootId.
rootIdID ID!The org-group family root.
createdAtString String!When the record was created, as a UTC timestamp.
updatedAtString String!When the record last changed, as a UTC timestamp.
revisionNumInt Int!How many times this record has been edited; the first save is 0.
revisionID ID!The OCC revision token — supply it on every mutation of this record; rotates on every write.
refCaptionsRefCaption [RefCaption!]!The server-composed captions of this record's declared references (the referenced-caption rule) — one row per referenced id; see RefCaption.
authorConsumerIdID ID!The authoring registered Consumer. ⚠ IMMUTABLE at birth (the marker identity — ruling).
targetProductIdID ID!The reviewed Product. ⚠ IMMUTABLE at birth (the marker identity; re-target = a NEW review after removal).
ratingInt Int!1–5 (integer — no halves at v1).
titleString String!The review headline (1..200).
bodyString String!The review narrative (1..8192).
verifiedPurchaseBoolean Boolean!SERVER-STAMPED (ruling — pointed-proof; NEVER client-asserted). Author edits supplying orderId re-derive it.
verifiedByOrderIdIDThe proving Order — present IFF verifiedPurchase (the stamp carries its provenance).

Used by