Skip to main content

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:
Version 1 files remain supported. Opening one does not migrate it; visual editor changes write version 2. Source editing and other APIs may preserve the original version. Unsupported versions are rejected. For the card-link workflow and backlinks, see flows and canvases.

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 matching json.schemas associations. For example, this setting associates every .flow file in the workspace with a local copy of the flow schema:
Set .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:
References are relative to each schema’s location rather than an absolute remote ID, so a copied schema folder can be used offline. Some application import/export paths normalize files; do not rely on $schema being retained by every exporter.
Related: See themes, the extension overview, and the Extension API reference for application setup and development.