{ "$ref": "#/definitions/timeline", "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "delaySlide": { "additionalProperties": false, "properties": { "clickThroughBehaviour": { "enum": [ "ImmediatelySkip", "PlayOut" ], "type": "string" }, "delay": { "type": "number" }, "frame": { "type": "number" }, "id": { "type": "string" }, "type": { "$ref": "#/definitions/keyframeTypes" } }, "required": [ "clickThroughBehaviour", "delay", "frame", "id", "type" ], "type": "object" }, "keyframeTypes": { "enum": [ "default", "delay", "speedChange", "loop" ], "type": "string" }, "loopSlide": { "additionalProperties": false, "properties": { "beginFrame": { "type": "number" }, "clickThroughBehaviour": { "enum": [ "ImmediatelySkip", "PlayOut" ], "type": "string" }, "frame": { "type": "number" }, "id": { "type": "string" }, "playbackType": { "enum": [ "PingPong", "Normal" ], "type": "string" }, "type": { "$ref": "#/definitions/keyframeTypes" } }, "required": [ "beginFrame", "clickThroughBehaviour", "frame", "id", "playbackType", "type" ], "type": "object" }, "presentationSettings": { "additionalProperties": false, "properties": { "controlType": { "const": "FullScreen", "type": "string" } }, "required": [ "controlType" ], "type": "object" }, "slide": { "additionalProperties": false, "properties": { "clickThroughBehaviour": { "enum": [ "ImmediatelySkip", "PlayOut" ], "type": "string" }, "frame": { "type": "number" }, "id": { "type": "string" }, "type": { "$ref": "#/definitions/keyframeTypes" } }, "required": [ "frame", "clickThroughBehaviour", "type", "id" ], "type": "object" }, "speedChangeSlide": { "additionalProperties": false, "properties": { "clickThroughBehaviour": { "enum": [ "ImmediatelySkip", "PlayOut" ], "type": "string" }, "frame": { "type": "number" }, "id": { "type": "string" }, "newFramerate": { "type": "number" }, "type": { "$ref": "#/definitions/keyframeTypes" } }, "required": [ "clickThroughBehaviour", "frame", "id", "newFramerate", "type" ], "type": "object" }, "timeline": { "additionalProperties": false, "properties": { "framecount": { "type": "number" }, "framerate": { "type": "number" }, "name": { "type": "string" }, "settings": { "$ref": "#/definitions/presentationSettings" }, "slides": { "items": { "anyOf": [ { "$ref": "#/definitions/slide" }, { "$ref": "#/definitions/delaySlide" }, { "$ref": "#/definitions/speedChangeSlide" }, { "$ref": "#/definitions/loopSlide" } ] }, "type": "array" } }, "required": [ "slides", "framecount", "framerate", "name", "settings" ], "type": "object" } } }