{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/honkio-ca/json-schema/honkio-ca-webhook-dead-letter-schema.json",
  "title": "WebhookDeadLetter",
  "description": "An event that failed every delivery attempt.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/honkio-ca-webhooks-api-openapi.yml#/components/schemas/WebhookDeadLetter",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "id",
    "event_id",
    "event_type",
    "failed_reason",
    "created_at",
    "replayed_at",
    "payload"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "event_id": {
      "type": "string"
    },
    "event_type": {
      "type": "string"
    },
    "failed_reason": {
      "type": "string",
      "description": "Why the event stopped being retried: the last attempt's failure with the attempt count after about 24 hours of retries (e.g. \"HTTP_500 after 8 attempts\"), the same with \"; endpoint disabled\" when the endpoint was disabled while it was owed, ENDPOINT_DISABLED when you had switched the endpoint off, SSRF_BLOCKED, or queue_full."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "replayed_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "payload": {
      "description": "The event body that failed to deliver: { id, type, created, account_id, data }."
    }
  }
}