{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/philidor-io/json-schema/philidor-io-curator-event-schema.json",
  "title": "CuratorEvent",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/philidor-io-curators-api-openapi.yml#/components/schemas/CuratorEvent",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "vault_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "vault_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "curator_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "protocol_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "chain_id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "event_type": {
      "type": "string"
    },
    "severity": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "occurred_at": {
      "type": "string"
    },
    "detected_at": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string"
    },
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "provisional": {
      "type": "boolean"
    },
    "affects_tracked_universe": {
      "type": "boolean"
    },
    "incident_key": {
      "type": [
        "string",
        "null"
      ]
    },
    "loss_amount_usd": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "tx_hash": {
      "type": [
        "string",
        "null"
      ]
    },
    "links": {},
    "data": {}
  },
  "required": [
    "id",
    "vault_id",
    "vault_name",
    "curator_id",
    "protocol_id",
    "chain_id",
    "event_type",
    "severity",
    "title",
    "description",
    "occurred_at",
    "detected_at",
    "status",
    "source",
    "provisional",
    "affects_tracked_universe",
    "incident_key",
    "loss_amount_usd",
    "tx_hash"
  ]
}