AlmondTill/G3N API

SuggestionSchema

object type

A SuggestionSchema: ONE row per (Organization × declared skill), ensure-minted lazily at the first desk refresh (authorless; the (org × skill) uniqueness marker makes the ensure race-proof). PARKING it stops the generator for the org (‘we no longer run these’ — reactivatable, owner-gated A2_STRUCTURE); DOOMING is the deliberate permanent kill (parked-first; refused CONFLICT/REFERENCED while OPEN suggestions still cite it; a doomed schema NEVER re-ensures). Every Suggestion's schemaId drills down here — provenance to the generator. The skill's declared words/watches/drafts live in the contracts SUGGESTION_SKILL_REGISTRY. The ops event domain (at.ops.suggestion_schema.*).

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 (SS-…).
typeString String!The kind of record — always SuggestionSchema here.
captionString String!The record’s display name — what people see it called.
statusString String!The FSM state: active | parked | doomed.
parentIdID ID!The Organization the registration governs; rootId = the org group.
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.
skillString String!The declared skill this row registers (low_stock | aging_approvals | stock_imbalance — the caption carries the skill's merchant words).

Used by