{ "type": "object", "title": "Presentation", "properties": { "title": { "type": "string" }, "columns": { "type": "array", "title": "Chapters", "options": { "collapsed": "true" }, "items": { "type": "object", "title": "Chapter", "properties": { "id": { "type": "string" }, "title": { "type": "string" }, "params": { "$ref": "#/definitions/params" }, "markdown": { "$ref": "#/definitions/markdown" }, "slides": { "type": "array", "title": "Pages", "options": { "collapsed": "true" }, "items": { "type": "object", "title": "Page", "properties": { "id": { "type": "string" }, "title": { "type": "string" }, "params": { "$ref": "#/definitions/params" }, "markdown": { "$ref": "#/definitions/markdown" } }, "required": [ "title", "params", "markdown" ] } } }, "required": [ "title", "params", "markdown" ] } } }, "definitions": { "params": { "type": "object", "title": "Parameters", "options": { "collapsed": "true" }, "properties": { "theme": { "type": "string", "title": "Theme", "enum": [ "beige", "black", "blood", "league", "moon", "night", "serif", "simple", "sky", "solarized", "white" ], "default": "simple" }, "background-image": { "$ref": "/enum/bg", "title": "Background image", "links": [ { "rel": "Preview image", "class": "link-info", "href": "{{self}}" } ] }, "background-video": { "$ref": "/enum/bg-video", "title": "Background video", "links": [ { "rel": "Preview video", "class": "link-info", "href": "{{self}}", "media-type": "video/mp4" } ] }, "background-video-loop": { "type": "boolean", "default": true }, "background-video-mute": { "type": "boolean", "default": true }, "background-opacity": { "type": "string", "title": "Background opacity", "enum": [ "0.25", "0.5", "0.75", "1" ], "default": "0.5" }, "background-size": { "type": "string", "title": "Background size", "enum": [ "contain", "cover" ], "default": "cover" } } }, "markdown": { "type": "string", "title": "Content", "format": "markdown", "options": { "simplemde": { "renderingConfig": { "singleLineBreaks": false }, "toolbar": [ "bold", "italic", "heading", "|", "ordered-list", "unordered-list", "|", "link", "quote", "|", "preview" ] } } } } }