Supported formats
Tagline includes draft-07 JSON Schemas for its user-authored and exchanged formats. The schemas are maintained with the application source and can be downloaded for offline use.
Canvas files use the separate JSON Canvas 1.0 specification. Tagline stores them as
.canvas files inside the vault.
Flow version 2
New.flow files use "version": 2. A flow contains sheets with names, column labels, and rows of string cells; every row has one cell per column. Cells can contain plain text, Markdown, and ordinary wikilinks to notes. A card link is text, not a typed JSON reference:
Enable validation and completion in VS Code
The Tagline repository includes VS Code settings that associate speech flows, bundled/demo themes, extension manifests, and exported settings with their schemas. When working in another workspace, copy the schemas together and define matchingjson.schemas associations.
For example, this setting associates every .flow file in the workspace with a local copy of the flow schema:
.flow files to the JSON language mode if VS Code does not recognize them. Keep the schemas in the same relative layout when copying the folder: the theme and extension-settings schemas reference definitions in the extension-manifest schema.
Reference a schema from a file
Alternatively, add a$schema property near the top of a JSON document. This example assumes the JSON file sits beside a schemas folder:
$schema being retained by every exporter.
Related: See themes, the extension overview, and the Extension API reference for application setup and development.