|
| 1 | +{ |
| 2 | + "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | + "$id": "https://schemas.srcos.ai/v2/RedactionTombstone.json", |
| 4 | + "title": "RedactionTombstone", |
| 5 | + "description": "Governance event requiring invalidation or suppression of previously propagated OpsHistory, memory, artifact, or context-pack material.", |
| 6 | + "type": "object", |
| 7 | + "additionalProperties": false, |
| 8 | + "required": ["tombstoneId", "specVersion", "issuedAt", "issuerRef", "targetRefs", "reasonClass", "priority", "policyDecisionRefs"], |
| 9 | + "properties": { |
| 10 | + "tombstoneId": { "type": "string", "pattern": "^urn:srcos:redaction-tombstone:" }, |
| 11 | + "specVersion": { "type": "string" }, |
| 12 | + "issuedAt": { "type": "string", "format": "date-time" }, |
| 13 | + "issuerRef": { "type": "string" }, |
| 14 | + "targetRefs": { "type": "array", "minItems": 1, "items": { "type": "string" } }, |
| 15 | + "reasonClass": { |
| 16 | + "type": "string", |
| 17 | + "enum": ["user-request", "policy-violation", "credential-exposure", "sensitive-context", "retention-expiry", "legal-hold-exception", "operator-correction"] |
| 18 | + }, |
| 19 | + "priority": { "type": "string", "enum": ["high", "critical"] }, |
| 20 | + "propagation": { |
| 21 | + "type": "object", |
| 22 | + "additionalProperties": false, |
| 23 | + "properties": { |
| 24 | + "targetPropagationSeconds": { "type": "integer", "minimum": 0 }, |
| 25 | + "invalidateContextPacks": { "type": "boolean" }, |
| 26 | + "invalidateMemoryWritebacks": { "type": "boolean" }, |
| 27 | + "invalidateArtifactExports": { "type": "boolean" }, |
| 28 | + "notifyAgents": { "type": "boolean" } |
| 29 | + } |
| 30 | + }, |
| 31 | + "replacementRef": { "type": ["string", "null"] }, |
| 32 | + "policyDecisionRefs": { "type": "array", "items": { "type": "string" } }, |
| 33 | + "evidenceRefs": { "type": "array", "items": { "type": "string" }, "default": [] } |
| 34 | + } |
| 35 | +} |
0 commit comments