{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/quant/json-schema/quant-webhook-event-schema.json",
  "title": "WebhookEvent",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/quant-flow-webhooks-api-openapi.yml#/components/schemas/WebhookEvent",
  "type": "object",
  "required": [
    "eventId",
    "eventType",
    "sessionId",
    "payload",
    "status",
    "createdAt"
  ],
  "properties": {
    "eventId": {
      "type": "string"
    },
    "eventType": {
      "type": "string"
    },
    "sessionId": {
      "type": "string"
    },
    "payload": {
      "type": "object",
      "additionalProperties": true
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "delivered",
        "failed"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}