Skip to content

Publish a JSON Schema for the config file #57

Description

@math280h

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions