{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "policy-violation-event@draft", "type": "object", "properties": { "event_id": { "type": "string", "minLength": 1 }, "tenant_id": { "type": "string", "minLength": 1 }, "snapshot_id": { "type": "string", "minLength": 1 }, "policy_profile_hash": { "type": "string", "minLength": 1 }, "component_purl": { "type": "string", "minLength": 1 }, "advisory_id": { "type": "string", "minLength": 1 }, "violation_code": { "type": "string", "minLength": 1 }, "severity": { "type": "string", "minLength": 1 }, "status": { "type": "string", "minLength": 1 }, "trace_ref": { "type": "string", "minLength": 1 }, "occurred_at": { "type": "string", "format": "date-time" } }, "required": [ "event_id", "tenant_id", "snapshot_id", "policy_profile_hash", "component_purl", "advisory_id", "violation_code", "severity", "status", "trace_ref", "occurred_at" ], "additionalProperties": false }