{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hatchet/json-schema/hatchet-webhook-worker-created-schema.json",
  "title": "WebhookWorkerCreated",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hatchet-tenants-api-openapi.yml#/components/schemas/WebhookWorkerCreated",
  "properties": {
    "metadata": {
      "$ref": "#/$defs/APIResourceMeta"
    },
    "name": {
      "type": "string",
      "description": "The name of the webhook worker."
    },
    "url": {
      "type": "string",
      "description": "The webhook url."
    },
    "secret": {
      "type": "string",
      "description": "The secret key for validation."
    }
  },
  "required": [
    "metadata",
    "name",
    "url",
    "secret"
  ],
  "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"
      ]
    }
  }
}