JSON Schema
Download and use the SQLCtx YAML JSON Schema for editor autocomplete and validation.
Schema URLs
- Latest:
https://sidequery.dev/sqlctx/schema.json - Versioned:
https://sidequery.dev/sqlctx/schema/v0.14.0.json
VS Code (YAML)
In your YAML file:
# yaml-language-server: $schema=https://sidequery.dev/sqlctx/schema.json
models:
- name: orders
IntelliJ / JetBrains
Associate the schema URL with your YAML file in:
- Settings → Languages & Frameworks → Schemas and DTDs → JSON Schema Mappings
Verify It Works
- Autocomplete shows valid fields (e.g.
primary_key,dimensions,relationships). - Invalid fields are underlined with a schema validation error.