{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/philidor-io/json-schema/philidor-io-event-list-item-schema.json",
  "title": "EventListItem",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/philidor-io-events-api-openapi.yml#/components/schemas/EventListItem",
  "type": "object",
  "properties": {
    "id": {
      "type": "number"
    },
    "event_type": {
      "type": "string"
    },
    "severity": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "occurred_at": {
      "type": "string"
    },
    "protocol_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "protocol_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "chain_id": {
      "type": [
        "number",
        "null"
      ]
    },
    "chain_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "curator_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "curator_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "vault_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "vault_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "incident_severity": {
      "type": [
        "string",
        "null"
      ]
    },
    "loss_amount_usd": {
      "type": [
        "number",
        "null"
      ]
    },
    "remediation_status": {
      "type": [
        "string",
        "null"
      ]
    },
    "affected_asset": {
      "type": [
        "string",
        "null"
      ]
    },
    "links": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "url"
        ]
      }
    },
    "provisional": {
      "type": "boolean"
    },
    "confirmations_required": {
      "type": [
        "number",
        "null"
      ]
    },
    "retracted_at": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "tx_hash": {
      "type": [
        "string",
        "null"
      ]
    },
    "block_number": {
      "type": [
        "number",
        "null"
      ]
    },
    "occurrence_count": {
      "type": "number"
    },
    "group_key": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "event_type",
    "severity",
    "title",
    "description",
    "occurred_at",
    "protocol_id",
    "protocol_name",
    "chain_id",
    "chain_name",
    "curator_id",
    "curator_name",
    "incident_severity",
    "loss_amount_usd",
    "remediation_status",
    "affected_asset",
    "links"
  ]
}