Skip to content

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": []
}

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" }]
}