{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/feedback1-ai/json-schema/feedback1-ai-webhook-delivery-list-schema.json",
  "title": "WebhookDeliveryList",
  "description": "List of webhook deliveries",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/feedback1-ai-webhooks-api-openapi.yml#/components/schemas/WebhookDeliveryList",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/WebhookDeliveryResponse"
      },
      "type": "array",
      "title": "Items"
    },
    "total": {
      "type": "integer",
      "title": "Total"
    },
    "has_more": {
      "type": "boolean",
      "title": "Has More"
    }
  },
  "type": "object",
  "required": [
    "items",
    "total",
    "has_more"
  ],
  "$defs": {
    "WebhookDeliveryResponse": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "webhook_id": {
          "type": "string",
          "title": "Webhook Id"
        },
        "event_type": {
          "type": "string",
          "title": "Event Type"
        },
        "payload": {
          "additionalProperties": true,
          "type": "object",
          "title": "Payload"
        },
        "response_status": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Status"
        },
        "response_body": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Body"
        },
        "duration_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Duration Ms"
        },
        "attempt": {
          "type": "integer",
          "title": "Attempt"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "error_message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error Message"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "completed_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Completed At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "webhook_id",
        "event_type",
        "payload",
        "response_status",
        "response_body",
        "duration_ms",
        "attempt",
        "status",
        "error_message",
        "created_at",
        "completed_at"
      ],
      "title": "WebhookDeliveryResponse",
      "description": "Webhook delivery attempt details"
    }
  }
}