{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/honkio-ca/json-schema/honkio-ca-webhook-delivery-schema.json",
  "title": "WebhookDelivery",
  "description": "One delivery attempt of one event.",
  "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/WebhookDelivery",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "id",
    "event_id",
    "event_type",
    "attempt",
    "success",
    "http_status",
    "error_reason",
    "duration_ms",
    "occurred_at"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "event_id": {
      "type": "string"
    },
    "event_type": {
      "type": "string"
    },
    "attempt": {
      "type": "integer"
    },
    "success": {
      "type": "boolean"
    },
    "http_status": {
      "type": [
        "integer",
        "null"
      ]
    },
    "error_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "duration_ms": {
      "type": [
        "integer",
        "null"
      ]
    },
    "occurred_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}