pub.quizzy.quiz
A quiz containing one or more rounds of questions
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | quizzy.pub |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.titleNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A quiz containing one or more rounds of questions",
"key": "tid",
"record": {
"properties": {
"description": {
"description": "A short description about the quiz, and what to expect from it",
"maxGraphemes": 3000,
"maxLength": 300,
"type": "string"
},
"hasAudio": {
"default": false,
"description": "This quiz includes questions with audio, eg. a music round",
"type": "boolean"
},
"hasVisuals": {
"default": false,
"description": "This quiz includes questions with visuals, eg. a picture round",
"type": "boolean"
},
"locales": {
"description": "Dominant language(s) of the quiz",
"items": {
"format": "language",
"type": "string"
},
"maxLength": 10,
"minLength": 1,
"type": "array"
},
"revisionOf": {
"description": "If this is an edit or revision of a previous quiz, link that previous version here.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"rounds": {
"description": "Ordered list of rounds in this quiz",
"items": {
"ref": "#round",
"type": "ref"
},
"maxLength": 50,
"minLength": 1,
"type": "array"
},
"timestamp": {
"description": "When this quiz was created",
"format": "datetime",
"type": "string"
},
"title": {
"description": "A title for the quiz",
"type": "string"
}
},
"required": [
"title",
"rounds",
"locales",
"timestamp"
],
"type": "object"
},
"type": "record"
},
"questionRef": {
"description": "Reference to a question with its point value",
"properties": {
"name": {
"description": "A custom name for this question, as opposed to its number",
"maxGraphemes": 160,
"maxLength": 16,
"type": "string"
},
"points": {
"default": 1,
"description": "Points awarded for complete correctness",
"minimum": 1,
"type": "integer"
},
"question": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"required": [
"question"
],
"type": "object"
},
"round": {
"description": "A round within a quiz",
"properties": {
"questions": {
"description": "Ordered list of questions in this round",
"items": {
"ref": "#questionRef",
"type": "ref"
},
"maxLength": 100,
"minLength": 1,
"type": "array"
},
"title": {
"description": "Optional title for this round (requires locale if set)",
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
}
},
"required": [
"questions"
],
"type": "object"
}
},
"id": "pub.quizzy.quiz",
"lexicon": 1
}