nave schemas
Manage the JSON Schema cache and validate tracked files.
Usage
Manage the JSON Schema cache and validate tracked files
Usage: nave schemas <COMMAND>
Commands:
pull Populate the schema cache based on tracked paths
list List schemas and their cache status
validate Validate tracked files in a pen against their schemas
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
Schemas are pulled from their canonical locations by default:
| Schema | Source |
|---|---|
dependabot |
https://www.schemastore.org/dependabot-2.0.json |
pyproject |
https://www.schemastore.org/pyproject.json |
github-workflow |
https://www.schemastore.org/github-workflow.json |
github-action |
https://www.schemastore.org/github-action.json |
You can override these in ~/.config/nave.toml:
[schemas.sources]
dependabot = "https://example.com/my-dependabot-schema.json"
Cargo.toml has no SchemaStore entry yet (tracked in
rust-lang/cargo#12883); it's
parsed by check but not schema-validated.