Skip to content

file_hash

Content SHA-256 must equal the expected digest. Rules-as-tripwire for generated / vendored files that should never drift.

- id: schema-frozen
kind: file_hash
paths: "schemas/v1/config.json"
sha256: "0000000000000000000000000000000000000000000000000000000000000000" # 64 hex chars
level: error
OptionTypeRequiredDefaultDescription
sha256stringyesExpected SHA-256 in lowercase hex (64 chars). Accepting uppercase and the sha256: prefix keeps the field forgiving.

Plus the common paths, level, id, and when fields. This table is generated from the JSON Schema; option types and defaults are authoritative.