diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-05-13 09:46:43 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-05-13 09:46:43 +0200 |
commit | 1c2bf928669d8afe5f8e0bc8290e7f25b2e524e0 (patch) | |
tree | bc2e8674e9d5169a7462727e1ff62edc3091700e /timeline.schema.json | |
parent | 0eee3ce6321990244ac18e0f7e3b1f901e78279d (diff) |
working demo
Diffstat (limited to 'timeline.schema.json')
-rw-r--r-- | timeline.schema.json | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/timeline.schema.json b/timeline.schema.json index a044993..8493d49 100644 --- a/timeline.schema.json +++ b/timeline.schema.json @@ -1,62 +1,62 @@ { - "$ref": "#/definitions/timeline", - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "keyframeTypes": { - "enum": [ - "default", - "delay", - "speedChange", - "loop" - ], - "type": "string" - }, - "slide": { - "additionalProperties": false, - "properties": { - "clickThroughBehaviour": { - "enum": [ - "ImmediatelySkip", - "PlayOut" - ], - "type": "string" - }, - "frame": { - "type": "number" - }, - "type": { - "$ref": "#/definitions/keyframeTypes" - } - }, - "required": [ - "frame", - "clickThroughBehaviour", - "type" - ], - "type": "object" - }, - "timeline": { - "additionalProperties": false, - "properties": { - "framecount": { - "type": "number" - }, - "framerate": { - "type": "number" - }, - "slides": { - "items": { - "$ref": "#/definitions/slide" - }, - "type": "array" - } - }, - "required": [ - "slides", - "framecount", - "framerate" - ], - "type": "object" - } - } -}
\ No newline at end of file + "$ref": "#/definitions/timeline", + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "keyframeTypes": { + "enum": [ + "default", + "delay", + "speedChange", + "loop" + ], + "type": "string" + }, + "slide": { + "additionalProperties": false, + "properties": { + "clickThroughBehaviour": { + "enum": [ + "ImmediatelySkip", + "PlayOut" + ], + "type": "string" + }, + "frame": { + "type": "number" + }, + "type": { + "$ref": "#/definitions/keyframeTypes" + } + }, + "required": [ + "frame", + "clickThroughBehaviour", + "type" + ], + "type": "object" + }, + "timeline": { + "additionalProperties": false, + "properties": { + "framecount": { + "type": "number" + }, + "framerate": { + "type": "number" + }, + "slides": { + "items": { + "$ref": "#/definitions/slide" + }, + "type": "array" + } + }, + "required": [ + "slides", + "framecount", + "framerate" + ], + "type": "object" + } + } +} |