Printable idea sheet
configuration_schema_file
reqlan rq/extension/host/configuration.rq:26
Katz 0.105
The machine-readable JSON Schema for `.reqlan/config.json` is config.schema.json.
That file is the single authoring source. Its `$id` is the public URL `https://reqlan.com/schemas/v1/config.schema.json`.
Path segment `v1` is schema compatibility version: additive keys stay on `v1`; breaking shape changes introduce `v2` and a new seed URL.
The site hosts a synced copy under `/schemas/v1/` ( sync_config_schema ).
The extension contributes the local schema for `**/.reqlan/config.json` via `jsonValidation` in package.json ( offline editor path ).
New bases seed `$schema` to the public `$id` ( base_config_seed ).
`.reqlan/config.json` is a JSON object. Unknown properties are not part of the schema and are ignored when loading. `$schema` is an allowed property.
- implementation
- config.schema.json, package.json, ignore.rs, sync-config-schema.mts
- status
- done
- tests
- config.test.ts:unknown properties are ignored while known keys still apply, config.test.ts:schema file documents importRoots mappings, config.test.ts:schema $id matches public v1 host path
Interactive page: configuration_schema_file