diff --git a/example_quiz.json b/example_quiz.json deleted file mode 100644 index 84ec161..0000000 --- a/example_quiz.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "public":false, - "title":"Some test question", - "description":"A description", - "questions":[ - { - "question":"Is ClassQuiz cool?", - "time": 10, - "answers":[ - { - "right":true, - "answer":"Yes" - }, - { - "right":false, - "answer":"No" - } - ] - }, - { - "question":"Do you like open source?", - "time": 5, - "answers":[ - { - "right":true, - "answer":"Yes" - }, - { - "right":false, - "answer":"No" - }, - { - "right":false, - "answer":"Maybe" - } - ] - } - ] -} diff --git a/quiz_schema.json b/quiz_schema.json deleted file mode 100644 index 68a9992..0000000 --- a/quiz_schema.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "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" - ] - } - } -}