{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hatchet/json-schema/hatchet-list-slack-webhooks-schema.json",
  "title": "ListSlackWebhooks",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hatchet-slack-api-openapi.yml#/components/schemas/ListSlackWebhooks",
  "type": "object",
  "properties": {
    "pagination": {
      "$ref": "#/$defs/PaginationResponse"
    },
    "rows": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SlackWebhook"
      }
    }
  },
  "required": [
    "pagination",
    "rows"
  ],
  "$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"
        }
      }
    },
    "SlackWebhook": {
      "type": "object",
      "properties": {
        "metadata": {
          "$ref": "#/$defs/APIResourceMeta"
        },
        "tenantId": {
          "type": "string",
          "format": "uuid",
          "description": "The unique identifier for the tenant that the SNS integration belongs to."
        },
        "teamName": {
          "type": "string",
          "description": "The team name associated with this slack webhook."
        },
        "teamId": {
          "type": "string",
          "description": "The team id associated with this slack webhook."
        },
        "channelName": {
          "type": "string",
          "description": "The channel name associated with this slack webhook."
        },
        "channelId": {
          "type": "string",
          "description": "The channel id associated with this slack webhook."
        }
      },
      "required": [
        "metadata",
        "tenantId",
        "teamName",
        "teamId",
        "channelName",
        "channelId"
      ]
    }
  }
}