Nothing interesting

This commit is contained in:
Mawoka
2022-02-28 18:23:03 +01:00
parent 805258c5ff
commit c8fba93236
3 changed files with 2396 additions and 3146 deletions
+2319 -3146
View File
File diff suppressed because it is too large Load Diff
+77
View File
@@ -0,0 +1,77 @@
{
"title": "QuizInput",
"type": "object",
"properties": {
"public": {
"title": "Public",
"default": false,
"type": "boolean"
},
"title": {
"title": "Title",
"type": "string"
},
"description": {
"title": "Description",
"type": "string"
},
"questions": {
"title": "Questions",
"type": "array",
"items": {
"$ref": "#/definitions/QuizQuestion"
}
}
},
"required": [
"title",
"description",
"questions"
],
"definitions": {
"QuizAnswer": {
"title": "QuizAnswer",
"type": "object",
"properties": {
"right": {
"title": "Right",
"type": "boolean"
},
"answer": {
"title": "Answer",
"type": "string"
}
},
"required": [
"right",
"answer"
]
},
"QuizQuestion": {
"title": "QuizQuestion",
"type": "object",
"properties": {
"question": {
"title": "Question",
"type": "string"
},
"time": {
"title": "Time",
"type": "string"
},
"answers": {
"title": "Answers",
"type": "array",
"items": {
"$ref": "#/definitions/QuizAnswer"
}
}
},
"required": [
"question",
"time",
"answers"
]
}
}
}