NewTrainingQuestionInput
input type
The tenant stamps server-side; courseKey must resolve to a live play and stepN, when given, to one of its steps (VALIDATION otherwise); correctIndex must name one of the options; source is drafted | written.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the prompt cut to the caption cap; when supplied it must be non-blank. |
courseKey | String String! | yes | A live play key. |
stepN | Int | no | The play step it tests (1-based), optional. |
prompt | String String! | yes | At most 400 characters. |
options | String [String!]! | yes | 2..6 options. |
correctIndex | Int Int! | yes | 0-based, below the options count. |
explanation | String String! | yes | At most 400 characters. |
source | String String! | yes | drafted | written. |