{
    "definitions": {
        "question_def": {
            "properties": {
                "id": {
                    "type": "number"
                },
                "props": {
                    "$ref": "#/definitions/question_props_def"
                },
                "responses": {
                    "items": {
                        "$ref": "#/definitions/response_def"
                    },
                    "type": "array"
                },
                "title": {
                    "type": "object"
                },
                "type": {
                    "type": "string"
                }
            },
            "required": [
                "id",
                "props",
                "responses",
                "title",
                "type"
            ],
            "type": "object"
        },
        "question_props_def": {
            "properties": {
                "correctfeedback": {
                    "type": "object"
                },
                "feedback": {
                    "type": "object"
                },
                "image": {
                    "type": "string"
                },
                "incorrectfeedback": {
                    "type": "object"
                },
                "maxscore": {
                    "type": "number"
                },
                "partiallycorrectfeedback": {
                    "type": "object"
                }
            },
            "type": "object"
        },
        "questions_def": {
            "items": {
                "$ref": "#/definitions/questions_item_def"
            },
            "minItems": 1,
            "type": "array"
        },
        "questions_item_def": {
            "properties": {
                "id": {
                    "type": "number"
                },
                "order": {
                    "type": "number"
                },
                "question": {
                    "$ref": "#/definitions/question_def"
                }
            },
            "required": [
                "id",
                "order",
                "question"
            ],
            "type": "object"
        },
        "quiz_props_def": {
            "properties": {
                "allowtryagain": {
                    "type": "string"
                },
                "availability": {
                    "type": "string"
                },
                "courseversion": {
                    "type": "string"
                },
                "digest": {
                    "type": "string"
                },
                "maxscore": {
                    "type": "number"
                },
                "passthreshold": {
                    "type": "string"
                },
                "randomselect": {
                    "type": "string"
                },
                "showfeedback": {
                    "type": "string"
                }
            },
            "required": [
                "allowtryagain",
                "availability",
                "courseversion",
                "digest",
                "maxscore",
                "passthreshold",
                "showfeedback"
            ],
            "type": "object"
        },
        "response_def": {
            "properties": {
                "id": {
                    "type": "number"
                },
                "order": {
                    "type": "number"
                },
                "props": {
                    "$ref": "#/definitions/response_feedback_def"
                },
                "score": {
                    "type": "string"
                },
                "title": {
                    "type": "object"
                }
            },
            "required": [
                "id",
                "order",
                "props",
                "score",
                "title"
            ],
            "type": "object"
        },
        "response_feedback_def": {
            "properties": {
                "feedback": {
                    "type": "object"
                }
            },
            "type": "object"
        }
    },
    "properties": {
        "description": {
            "type": "object"
        },
        "id": {
            "type": "number"
        },
        "lastupdated_date": {
            "type": "string"
        },
        "owner": {
            "type": "string"
        },
        "props": {
            "$ref": "#/definitions/quiz_props_def"
        },
        "questions": {
            "$ref": "#/definitions/questions_def"
        },
        "resource_uri": {
            "type": "string"
        },
        "title": {
            "type": "object"
        }
    },
    "type": "object"
}