{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentonair-com/json-schema/agentonair-com-webhook-event-catalog-response-schema.json",
  "title": "WebhookEventCatalogResponse",
  "description": "Webhook receiver payload examples and compatibility notes.",
  "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/WebhookEventCatalogResponse",
  "properties": {
    "envelope": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Envelope"
    },
    "signature": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Signature"
    },
    "delivery_headers": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Delivery Headers"
    },
    "events": {
      "items": {
        "$ref": "#/$defs/WebhookEventCatalogEntry"
      },
      "type": "array",
      "title": "Events"
    }
  },
  "type": "object",
  "required": [
    "envelope",
    "signature",
    "delivery_headers",
    "events"
  ],
  "$defs": {
    "WebhookEventCatalogEntry": {
      "properties": {
        "event": {
          "type": "string",
          "title": "Event"
        },
        "emitted": {
          "type": "boolean",
          "title": "Emitted",
          "description": "True when current production code emits this event on a live workflow."
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "payload_shape": {
          "type": "string",
          "title": "Payload Shape"
        },
        "sample_payload": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Sample Payload"
        },
        "recommended_action": {
          "type": "string",
          "title": "Recommended Action"
        }
      },
      "type": "object",
      "required": [
        "event",
        "emitted",
        "description",
        "payload_shape",
        "recommended_action"
      ],
      "title": "WebhookEventCatalogEntry",
      "description": "Machine-readable webhook event payload contract."
    }
  }
}