{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentonair-com/json-schema/agentonair-com-webhook-response-schema.json",
  "title": "WebhookResponse",
  "description": "Webhook subscription details.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentonair-com-webhooks-api-openapi.yml#/components/schemas/WebhookResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "url": {
      "type": "string",
      "title": "Url"
    },
    "events": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Events"
    },
    "active": {
      "type": "boolean",
      "title": "Active"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "last_triggered": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Triggered"
    },
    "failure_count": {
      "type": "integer",
      "title": "Failure Count",
      "default": 0
    }
  },
  "type": "object",
  "required": [
    "id",
    "url",
    "events",
    "active",
    "created_at"
  ]
}