# TrainingQuestion

object type

A TrainingQuestion (🎓 — THE TRAINING PROGRAM, THE WIRE): 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](/types/#scalars) `ID!` | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
| `sysId` | [String](/types/#scalars) `String!` | The group-scoped human-facing system id (TQ-…). |
| `type` | [String](/types/#scalars) `String!` | The kind of record — always `TrainingQuestion` here. |
| `caption` | [String](/types/#scalars) `String!` | The record’s display name — what people see it called. |
| `status` | [String](/types/#scalars) `String!` | The FSM state: active \| inactive \| doomed. |
| `parentId` | [ID](/types/#scalars) `ID!` | The parent org group; for a TrainingQuestion parentId === rootId. |
| `rootId` | [ID](/types/#scalars) `ID!` | The org-group family root. |
| `createdAt` | [String](/types/#scalars) `String!` | When the record was created, as a UTC timestamp. |
| `updatedAt` | [String](/types/#scalars) `String!` | When the record last changed, as a UTC timestamp. |
| `revisionNum` | [Int](/types/#scalars) `Int!` | How many times this record has been edited; the first save is 0. |
| `revision` | [ID](/types/#scalars) `ID!` | The OCC revision token — supply it on every mutation of this record; rotates on every write. |
| `refCaptions` | [RefCaption](/types/RefCaption/) `[RefCaption!]!` | The server-composed captions of this record's declared references (the referenced-caption rule) — one row per referenced id; see RefCaption. |
| `courseKey` | [String](/types/#scalars) `String!` | The course — a LIVE play key. IMMUTABLE at birth. |
| `stepN` | [Int](/types/#scalars) | The play step this question tests (1-based), when one step alone; null when the whole play. |
| `prompt` | [String](/types/#scalars) `String!` | The question (at most 400 characters). |
| `options` | [String](/types/#scalars) `[String!]!` | 2..6 options, each at most 200 characters; replaced WHOLESALE on an edit. |
| `correctIndex` | [Int](/types/#scalars) `Int!` | The right option (0-based; below the options count). |
| `explanation` | [String](/types/#scalars) `String!` | Why that option is right — shown after a sitting (at most 400 characters). |
| `source` | [String](/types/#scalars) `String!` | Where it came from — drafted \| written (the assistant's draft the owner kept, or written by hand). IMMUTABLE at birth. |

## Used by

- [createTrainingQuestion](/reference/training-question/createTrainingQuestion/)
- [deactivateTrainingQuestion](/reference/training-question/deactivateTrainingQuestion/)
- [doomTrainingQuestion](/reference/training-question/doomTrainingQuestion/)
- [reactivateTrainingQuestion](/reference/training-question/reactivateTrainingQuestion/)
- [trainingQuestion](/reference/training-question/trainingQuestion/)
- [updateTrainingQuestion](/reference/training-question/updateTrainingQuestion/)
