{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recurly/json-schema/recurly-webhooks-result-dto-schema.json",
  "title": "WebhooksResultDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recurly-webhooks-api-api-openapi.yml#/components/schemas/WebhooksResultDto",
  "type": "object",
  "properties": {
    "page": {
      "type": "number",
      "description": "Current page number"
    },
    "limit": {
      "type": "number",
      "description": "Number of items per page"
    },
    "totalItems": {
      "type": "number",
      "description": "Total number of items"
    },
    "totalPages": {
      "type": "number",
      "description": "Total number of pages"
    },
    "webhooks": {
      "description": "Array of webhooks for the current page",
      "type": "array",
      "items": {
        "$ref": "#/$defs/WebhookDto"
      }
    }
  },
  "required": [
    "page",
    "limit",
    "totalItems",
    "totalPages",
    "webhooks"
  ],
  "$defs": {
    "WebhookDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "createdAt": {
          "format": "date-time",
          "type": "string"
        },
        "updatedAt": {
          "format": "date-time",
          "type": "string"
        },
        "address": {
          "type": "string"
        },
        "topic": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "createdAt",
        "updatedAt",
        "address",
        "topic"
      ]
    }
  }
}