gaal.yaml. Use it for IDE auto-completion, inline validation, and for feeding to LLMs that need the structure.
Flags
| Flag | Default | Description |
|---|---|---|
-f, --file <path> | stdout | Write the schema to a file instead of stdout. |
Examples
VS Code integration
The gaal repository ships a workspacesettings.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:
JetBrains (GoLand / IntelliJ / PyCharm) integration
- Open Settings → Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings.
- Click + and add
schema.json(or the URL where you host it). - Set the file pattern to
gaal.yaml(and any other patterns you use).
Programmatic validation
The schema is the source of truth for whatgaal sync accepts. Use it in your own validators, CI checks, or LLM JSON-mode prompts: