Skip to content

QuizQuestion

Defined in: v1/schemas.ts:283

A single quiz question within a lecture attachment.

question_typesingle indicates only one correct answer exists. multiple indicates more than one correct answer is possible.

graded — if true the quiz contributes to course completion requirements. If false it is purely informational.

  • output<typeof QuizQuestionSchema>

answers: string[]

Defined in: v1/schemas.ts:268

z.infer.answers


correct_answers: string[]

Defined in: v1/schemas.ts:269

z.infer.correct_answers


graded: boolean

Defined in: v1/schemas.ts:270

z.infer.graded


question: string

Defined in: v1/schemas.ts:266

z.infer.question


question_type: "single" | "multiple"

Defined in: v1/schemas.ts:267

z.infer.question_type