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 human-readable id, shaped like SS-… — stable for the record’s life.
typeString String!The kind of record — always SuggestionSchema here.
captionString String!The record’s display name — what people see it called.
statusString String!The record’s current state — one of active, parked or doomed.
parentIdID ID!The Organization the registration governs; rootId = the org group.
rootIdID ID!The id of your organization group — every record of yours carries the same one.
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 id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten.
refCaptionsRefCaption [RefCaption!]!The captions of the records this one refers to, composed for you — 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