{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "http://revereries-project.fr",
    "type": "object",
    "properties": {
        "activityName": {
            "id": "http://revereries-project.fr/activityName",
            "type": "string",
            "default": "Unit Activity",
            "description": "This string describe activity to the user"
        },
        "class": {
            "id": "http://revereries-project.fr/class",
            "type": "string",
            "description": "Internal hack to be deleted",
            "default": "disabled"
        },
        "started": {
            "id": "http://revereries-project.fr/started",
            "type": "boolean",
            "description": "Is the activity started?",
            "default": "false"
        },
        "completed": {
            "id": "http://revereries-project.fr/completed",
            "type": "boolean",
            "description": "Is the activity completed?",
            "default": "false"
        },
        "indice": {
            "id": "http://revereries-project.fr/indice",
            "type": "object",
            "properties": {
                "isBasic": {
                    "id": "http://revereries-project.fr/indice/isBasic",
                    "type": "boolean"
                },
                "isGmap": {
                    "id": "http://revereries-project.fr/indice/isGmap",
                    "type": "boolean"
                },
                "question": {
                    "id": "http://revereries-project.fr/indice/question",
                    "type": "string"
                },
                "response": {
                    "id": "http://revereries-project.fr/indice/response",
                    "type": "string"
                },
                "index": {
                    "id": "http://revereries-project.fr/indice/index",
                    "type": "integer"
                }
            }
        },
        "mcq": {
            "id": "http://revereries-project.fr/mcq",
            "type": "object",
            "properties": {
                "question": {
                    "id": "http://revereries-project.fr/mcq/question",
                    "type": "string",
                    "description": "The question of a SA MCQ activity"
                },
                "resp": {
                    "id": "http://revereries-project.fr/mcq/resp",
                    "type": "object",
                    "properties": {
                        "resp1": {
                            "id": "http://revereries-project.fr/mcq/resp/resp1",
                            "type": "string"
                        },
                        "resp2": {
                            "id": "http://revereries-project.fr/mcq/resp/resp2",
                            "type": "string"
                        },
                        "resp3": {
                            "id": "http://revereries-project.fr/mcq/resp/resp3",
                            "type": "string"
                        },
                        "resp4": {
                            "id": "http://revereries-project.fr/mcq/resp/resp4",
                            "type": "string"
                        },
                        "correct": {
                            "id": "http://revereries-project.fr/mcq/resp/correct",
                            "type": "string"
                        }
                    }
                }
            }
        }
    },
    "required": [
        "activityName",
        "class",
        "started",
        "completed",
        "mcq"
    ],
    "description": "This item is the high level json descrption from which code is generated"
}