Skip to main content
Prints (or writes to a file) the JSON Schema (draft 2020-12) that describes every field of a valid gaal.yaml. Use it for IDE auto-completion, inline validation, and for feeding to LLMs that need the structure.

Flags

Plus all global flags.

Examples

VS Code integration

The gaal repository ships a workspace settings.json that maps schema.json to every *.gaal.yaml file. Run gaal schema -f schema.json once and YAML auto-completion + inline validation light up automatically. For a standalone project, add this to .vscode/settings.json:
(Requires the YAML extension by Red Hat.)

JetBrains (GoLand / IntelliJ / PyCharm) integration

  1. Open Settings → Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings.
  2. Click + and add schema.json (or the URL where you host it).
  3. Set the file pattern to gaal.yaml (and any other patterns you use).

Programmatic validation

The schema is the source of truth for what gaal sync accepts. Use it in your own validators, CI checks, or LLM JSON-mode prompts:

The gaal.yaml file

Schema reference