{
    "$id": "https://scratch.mit.edu/sb2_schema.json",
    "$schema": "http://json-schema.org/schema#",
    "description": "Scratch 2.0 project schema",
    "type": "object",
    "allOf": [
        {"$ref": "sb2_definitions.json#/definitions/stage_object"},
        {
            "type": "object",
            "properties": {
                "info": {
                    "type": "object",
                    "properties": {
                        "flashVersion": {
                            "type": "string"
                        },
                        "swfVersion": {
                            "type": "string"
                        },
                        "userAgent": {
                            "type": "string"
                        },
                        "videoOn": {
                            "type": "boolean"
                        },
                        "savedExtensions": {
                            "type": "array",
                            "properties": {
                                "extensionName": {
                                    "type": "string"
                                },
                                "blockSpecs": {
                                    "type": "array"
                                },
                                "menus": {
                                    "type": "object"
                                },
                                "javascriptURL": {
                                    "type": "string"
                                }
                            },
                            "required": [
                                "extensionName",
                                "blockSpecs",
                                "menus",
                                "javascriptURL"
                            ]
                        }
                    }
                }
            }
        }
    ]
}
