AlmondTill/G3N API

TrainingQuestion

object type

A TrainingQuestion: ONE multiple-choice question of a course's bank — the prompt (at most 400 characters), 2..6 options (each at most 200 characters), correctIndex (0-based, below the options' count), the explanation shown after a sitting (at most 400 characters), the optional play step it tests and its source (drafted | written). The strict schema: no unknown keys. active = in the draw · inactive = retired from the draw, kept · doomed. A course's bank holds at most 60 non-doomed questions (CONFLICT/TRAINING_CAP past it). courseKey is immutable after birth. A submitted attempt is graded against ITS stored draw — a later edit here never re-grades it. NOT searchable (no filter roster until the face).

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 TQ-… — stable for the record’s life.
typeString String!The kind of record — always TrainingQuestion here.
captionString String!The record’s display name — what people see it called.
statusString String!The record’s current state — one of active, inactive or doomed.
parentIdID ID!The parent org group; for a TrainingQuestion parentId === rootId.
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.
courseKeyString String!The course — a live play key. Immutable at birth.
stepNIntThe play step this question tests (1-based), when one step alone; null when the whole play.
promptString String!The question (at most 400 characters).
optionsString [String!]!2..6 options, each at most 200 characters; replaced wholesale on an edit.
correctIndexInt Int!The right option (0-based; below the options count).
explanationString String!Why that option is right — shown after a sitting (at most 400 characters).
sourceString String!Where it came from — drafted | written (the assistant's draft the owner kept, or written by hand). Immutable at birth.

Used by