JSON schema
The JSON schema for the Demo Time configuration is used to validate the configuration file. This schema is used to ensure that the configuration file is correctly formatted and that all the required properties are present.
Make sure to include the following JSON schema URL in your act file:
https://demotime.show/demo-time.schema.json
Example
{ "$schema": "https://demotime.show/demo-time.schema.json", "title": "Demo", "description": "Demo description", "version": 3, "scenes": []}title: Demodescription: Demo descriptionversion: 3scenes: []Slide front matter schema
The front matter properties of a slide are available as a separate JSON schema, for other tools that read or write Demo Time slides:
https://demotime.show/slide.schema.json
The front matter reference lists the same properties. In VS Code, Demo Time uses them for the completion, hover and problems of the front matter in your slide files, so you don’t need to configure the schema.
Gallery snippet schema
If you are creating or contributing community snippets for the Snippet Gallery, use the dedicated gallery schema URL:
https://demotime.show/gallery/snippet.schema.json
Example:
{ "$schema": "https://demotime.show/gallery/snippet.schema.json", "id": "setup/presentation-mode-macos", "name": "Presentation mode setup", "description": "Prepares VS Code for presenting.", "author": "estruyf", "version": "1.0.0", "tags": ["setup", "macos"], "fields": [], "steps": [{ "action": "unselect" }]}