pub.quizzy.teamScore
A team's scored answers for a quiz
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | quizzy.pub |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A team's scored answers for a quiz",
"key": "tid",
"record": {
"properties": {
"answers": {
"description": "Scored answers for this team",
"items": {
"ref": "#scoredAnswer",
"type": "ref"
},
"maxLength": 500,
"type": "array"
},
"quizBegin": {
"description": "Reference to the quizBegin record",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"team": {
"description": "Reference to the team",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"required": [
"quizBegin",
"team",
"answers"
],
"type": "object"
},
"type": "record"
},
"scoredAnswer": {
"description": "An answer with scores for each expected answer",
"properties": {
"answer": {
"description": "Reference to the answer record",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"commentary": {
"description": "Optional commentary from the quiz master",
"maxGraphemes": 500,
"maxLength": 5000,
"type": "string"
},
"scores": {
"description": "Points awarded for each expected answer in the question",
"items": {
"minimum": 0,
"type": "integer"
},
"maxLength": 10,
"minLength": 1,
"type": "array"
}
},
"required": [
"answer",
"scores"
],
"type": "object"
}
},
"id": "pub.quizzy.teamScore",
"lexicon": 1
}