Skip to content

json

JSON, YAML, and TOML files with a known JSON Schema: each file matches its schema.

Always.

Validates SchemaStore files that other checks do not own, such as Compose, Dependabot, and Renovate files.

Runs at the push stage, and needs network access.

A key the schema rejects never takes effect, and nobody notices until the expected behavior fails to appear.

Fix the key v8r names, or map the file to its schema under json.schemas.

A JSON file with a string where its schema requires a boolean reports a mismatch. Replace the string with true or false.

gspot ignore json/v8r --paths "<path>" --reason "<why>"
Setting What it sets
json.schemas File patterns mapped to schema URLs, for files that the SchemaStore catalog does not know.
Tool Version
v8r 6.1.0
ajv 8.20.0

.gspot/configurations/json/v8r.yml