A quiz question with expected answers
Record Key
tid
Timestamp-based ID
Properties
correctAnswers
array
of
array
Optional
Correct answers. Array length defines how many answers are expected.
maxLength: 10 itemsminLength: 1 itemsincorrectAnswers
array
of
array
Optional
Common incorrect answers to auto-mark as wrong. Array length should match correctAnswers.
maxLength: 10 itemslocale
string
language
Required
The locale/language of the question
media
blob
Optional
Optional image, video, or audio for the question
maxSize: 50.0 MBtext
string
Required
The question text
maxLength: 10000 bytesmaxGraphemes: 1000 graphemesView raw schema
{
"description": "A quiz question with expected answers",
"key": "tid",
"record": {
"properties": {
"correctAnswers": {
"description": "Correct answers. Array length defines how many answers are expected.",
"items": {
"description": "List of automatically accepted answer strings (may be empty for manual marking)",
"items": {
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"maxLength": 50,
"type": "array"
},
"maxLength": 10,
"minLength": 1,
"type": "array"
},
"incorrectAnswers": {
"description": "Common incorrect answers to auto-mark as wrong. Array length should match correctAnswers.",
"items": {
"description": "List of automatically rejected answer strings",
"items": {
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"maxLength": 50,
"type": "array"
},
"maxLength": 10,
"type": "array"
},
"locale": {
"description": "The locale/language of the question",
"format": "language",
"type": "string"
},
"media": {
"accept": [
"image/png",
"image/jpeg",
"image/gif",
"image/webp",
"video/mp4",
"video/webm",
"audio/mpeg",
"audio/ogg",
"audio/wav"
],
"description": "Optional image, video, or audio for the question",
"maxSize": 50000000,
"type": "blob"
},
"text": {
"description": "The question text",
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
}
},
"required": [
"text",
"locale"
],
"type": "object"
},
"type": "record"
}