{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/argyle9a25/json-schema/argyle9a25-webhook-list-response-schema.json",
  "title": "WebhookListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/argyle9a25-webhook-management-api-openapi.yml#/components/schemas/WebhookListResponse",
  "type": "object",
  "properties": {
    "next": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "URL for the next page of results, if available."
    },
    "previous": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "URL for the previous page of results, if available."
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Webhook"
      }
    }
  },
  "$defs": {
    "Webhook": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "ID of the webhook subscription."
        },
        "name": {
          "type": "string",
          "description": "Name of the webhook subscription."
        },
        "events": {
          "type": "array",
          "description": "Webhook events included in the webhook subscription.",
          "items": {
            "type": "string"
          }
        },
        "config": {
          "type": "object",
          "description": "Event-specific configuration for the webhook subscription.",
          "additionalProperties": true
        },
        "secret": {
          "type": [
            "string",
            "null"
          ],
          "description": "Secret used to verify webhooks, if provided."
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "URL where webhook deliveries are sent."
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "Time when the webhook subscription was created."
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "description": "Time when the webhook subscription was last updated."
        },
        "last_sent_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Last time Argyle sent the webhook. A null value means the webhook has not been sent."
        }
      }
    }
  }
}