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
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The human-readable id, shaped like TQ-… — stable for the record’s life. |
type | String String! | The kind of record — always TrainingQuestion here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The record’s current state — one of active, inactive or doomed. |
parentId | ID ID! | The parent org group; for a TrainingQuestion parentId === rootId. |
rootId | ID ID! | The id of your organization group — every record of yours carries the same one. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID 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. |
refCaptions | RefCaption [RefCaption!]! | The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption. |
courseKey | String String! | The course — a live play key. Immutable at birth. |
stepN | Int | The play step this question tests (1-based), when one step alone; null when the whole play. |
prompt | String String! | The question (at most 400 characters). |
options | String [String!]! | 2..6 options, each at most 200 characters; replaced wholesale on an edit. |
correctIndex | Int Int! | The right option (0-based; below the options count). |
explanation | String String! | Why that option is right — shown after a sitting (at most 400 characters). |
source | String String! | Where it came from — drafted | written (the assistant's draft the owner kept, or written by hand). Immutable at birth. |