diff --git a/openapi.truth-plane.patch.yaml b/openapi.truth-plane.patch.yaml index bbc7889..4c69763 100644 --- a/openapi.truth-plane.patch.yaml +++ b/openapi.truth-plane.patch.yaml @@ -63,7 +63,7 @@ paths: required: true content: application/json: - schema: { $ref: './schemas/control-plane/incident-events.schema.json' } + schema: { $ref: './schemas/control-plane/IncidentEvent.json' } responses: '200': description: IncidentEvent recorded successfully. diff --git a/schemas/control-plane/incident-events.schema.json b/schemas/control-plane/incident-events.schema.json index aff4abe..e44a996 100644 --- a/schemas/control-plane/incident-events.schema.json +++ b/schemas/control-plane/incident-events.schema.json @@ -1,8 +1,8 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://schemas.srcos.ai/v2/control-plane/IncidentEvent.json", + "$id": "https://socioprophet.org/schemas/events/incident-events.schema.json", "title": "IncidentEvent", - "description": "Control-plane incident lifecycle events (Freeze/Fork/Kill). Uses the same actor/run/refs/payload conventions as other control-plane lifecycle events.", + "description": "Control-plane incident lifecycle events (Freeze/Fork/Kill). Legacy schema identity; prefer schemas/control-plane/IncidentEvent.json for canonical srcos $id.", "type": "object", "additionalProperties": false, "required": ["event_id", "event_name", "occurred_at", "actor", "status"],