{ "$id": "https://stella-ops.org/schemas/zastava/observer_event.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "properties": { "event_type": { "enum": [ "runtime_fact", "drift", "policy_violation", "heartbeat" ] }, "firmware_version": { "minLength": 1, "type": "string" }, "graph_revision_id": { "minLength": 1, "type": "string" }, "ledger_id": { "type": "string" }, "monotonic_nanos": { "type": "integer" }, "observed_at": { "format": "date-time", "type": "string" }, "payload": { "description": "Canonical runtime payload (JCS) used for hashing.", "type": "object" }, "payload_hash": { "description": "sha256 over canonical JSON (JCS) of payload", "pattern": "^sha256:[0-9a-f]{64}$", "type": "string" }, "policy_hash": { "minLength": 1, "type": "string" }, "project_id": { "minLength": 1, "type": "string" }, "replay_manifest": { "type": "string" }, "sensor_id": { "minLength": 1, "type": "string" }, "signature": { "description": "DSSE envelope reference", "pattern": "^dsse://[A-Za-z0-9._:/-]+$", "type": "string" }, "tenant_id": { "minLength": 1, "type": "string" } }, "required": [ "tenant_id", "project_id", "sensor_id", "firmware_version", "policy_hash", "graph_revision_id", "event_type", "observed_at", "payload", "payload_hash", "signature" ], "title": "Zastava Observer Event", "type": "object" }