GCC Build OSv0
/api

RiskClosedevent type

Risk closed (mitigated, accepted, or no longer applicable).

Full spec

{
  "name": "RiskClosed",
  "description": "Risk closed (mitigated, accepted, or no longer applicable).",
  "current_version": 1,
  "actor_type_allowed": [
    "human"
  ],
  "object_type": "Risk",
  "payload_versions": {
    "v1": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "risk_id",
        "closure_reason",
        "closed_by"
      ],
      "properties": {
        "risk_id": {
          "type": "string",
          "format": "uuid"
        },
        "closure_reason": {
          "type": "string",
          "enum": [
            "mitigated",
            "accepted",
            "transferred",
            "no_longer_applicable",
            "materialised_as_issue"
          ]
        },
        "closure_note": {
          "type": "string"
        },
        "closed_by": {
          "type": "string",
          "format": "uuid"
        }
      }
    }
  },
  "projections_consuming": [
    "raid_view",
    "risk_heatmap_view",
    "audit_log"
  ],
  "canonicalizer_module": "event-canonicalizers/risk_closed.ts"
}