{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/Geocodio/yak/main/schemas/risk-profile.schema.json", "title": "Yak risk profile (.yak/risk-profile.yml)", "type": "object", "additionalProperties": false, "properties": { "version": { "const": 2, "description": "The file format version. Always 2." }, "concerns": { "type": "array", "description": "Kinds of change a human must look at before Yak approves.", "maxItems": 10, "items": { "type": "object", "additionalProperties": false, "properties": { "name": { "type": "string", "maxLength": 120, "description": "A unique name for the concern." }, "approval": { "enum": [ "always_human", "when_tested" ], "description": "always_human: never approve a change that touches it. when_tested: approve only when the change includes a test." }, "description": { "type": "string", "maxLength": 1000, "description": "What kind of change counts as touching the concern." } }, "required": [ "name", "approval", "description" ] } } }, "required": [ "version", "concerns" ] }