The config schema already exists as pydantic models, so a JSON Schema is one RedactDumpConfig.model_json_schema() call away.
Proposal: generate and commit the schema (with a CI check that it stays in sync), and document the yaml-language-server modeline so editors give autocomplete and inline validation:
# yaml-language-server: $schema=https://raw.githubusercontent.com/math280h/redactdump/main/config.schema.json
Optionally submit it to schemastore.org so it is picked up automatically for redactdump*.yaml files.
The config schema already exists as pydantic models, so a JSON Schema is one
RedactDumpConfig.model_json_schema()call away.Proposal: generate and commit the schema (with a CI check that it stays in sync), and document the yaml-language-server modeline so editors give autocomplete and inline validation:
# yaml-language-server: $schema=https://raw.githubusercontent.com/math280h/redactdump/main/config.schema.jsonOptionally submit it to schemastore.org so it is picked up automatically for
redactdump*.yamlfiles.