{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://reuse-surface.local/schemas/registry-patch.schema.json", "title": "RegistryMaintainPatchSet", "type": "object", "additionalProperties": false, "required": ["patches"], "properties": { "patches": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["capability_id", "kind", "confidence", "rationale"], "properties": { "capability_id": { "type": "string", "pattern": "^capability\\.[a-z0-9]+(\\.[a-z0-9-]+)+$" }, "kind": { "type": "string", "enum": [ "vector_sync", "evidence_append", "artifact_append", "maturity_promote", "consumer_feedback", "relation_add", "index_row_add", "index_updated_bump" ] }, "confidence": { "type": "string", "enum": ["low", "medium", "high"] }, "rationale": { "type": "string", "minLength": 1 }, "field_path": { "type": "string" }, "value": {}, "append": { "type": "string" }, "dimension": { "type": "string", "enum": ["discovery", "availability", "completeness", "reliability"] }, "from_level": { "type": "string" }, "to_level": { "type": "string" }, "promotion_history_entry": { "type": "object", "additionalProperties": true }, "index_row": { "type": "object", "additionalProperties": true }, "evidence_citations": { "type": "array", "items": { "type": "string", "minLength": 1 } } } } }, "notes": { "type": "array", "items": { "type": "string" } } } }