{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hatchet/json-schema/hatchet-webhook-worker-list-response-schema.json",
  "title": "WebhookWorkerListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hatchet-tenants-api-openapi.yml#/components/schemas/WebhookWorkerListResponse",
  "properties": {
    "pagination": {
      "$ref": "#/$defs/PaginationResponse"
    },
    "rows": {
      "items": {
        "$ref": "#/$defs/WebhookWorker"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "APIResourceMeta": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "the id of this resource, in UUID format",
          "minLength": 0,
          "maxLength": 36
        },
        "createdAt": {
          "type": "string",
          "description": "the time that this resource was created",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "description": "the time that this resource was last updated",
          "format": "date-time"
        }
      },
      "required": [
        "id",
        "createdAt",
        "updatedAt"
      ]
    },
    "PaginationResponse": {
      "type": "object",
      "properties": {
        "current_page": {
          "type": "integer",
          "description": "the current page",
          "format": "int64"
        },
        "next_page": {
          "type": "integer",
          "description": "the next page",
          "format": "int64"
        },
        "num_pages": {
          "type": "integer",
          "description": "the total number of pages for listing",
          "format": "int64"
        }
      }
    },
    "WebhookWorker": {
      "properties": {
        "metadata": {
          "$ref": "#/$defs/APIResourceMeta"
        },
        "name": {
          "type": "string",
          "description": "The name of the webhook worker."
        },
        "url": {
          "type": "string",
          "description": "The webhook url."
        }
      },
      "required": [
        "metadata",
        "name",
        "url"
      ],
      "type": "object"
    }
  }
}