JSON schemas
Each schema's $id is the URL it is served at, so an editor or a validator can fetch it from there.
| Schema | Title | Description |
|---|---|---|
audit-v1.json | relgap audit --format json | The report-v1.json envelope with audit data: the OSV advisories that affect the pinned tool versions under the roots, and the tool versions OSV wasn't asked about. |
config-v1.json | relgap configuration | Schema for $XDG_CONFIG_HOME/relgap/config.yaml and .relgap.yaml. Generated from internal/config by mise run test:golden -- -update; do not edit. |
digest-v1.json | relgap digest --format json | The report-v1.json envelope with digest data: per tool, the versions in the range and the classified entries of their release notes. |
drift-v1.json | relgap drift --format json | The report-v1.json envelope with drift data: every resolved pin of the scanned repositories, grouped by tool, with the distinct versions they stand for. |
outdated-v1.json | relgap outdated --format json | The report-v1.json envelope with outdated data: every resolved pin of the project compared with the latest version of its tool, sorted by tool, repo, file and line. |
pins-v1.json | relgap pins --format json | The report-v1.json envelope with pins data: the scanned repositories and every pin found, sorted by repo, file and line. |
registry-v1.json | relgap registry entry | One file per tool in registry/<name>.yaml. Check an entry with relgap registry lint. |
report-v1.json | relgap JSON output envelope | Every --format json output is wrapped in this envelope. data is command-specific; its schemas are added per command. |