{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/duve/main/json-schema/duve-get-api-openapi-v1-webhooks-id-response-schema.json",
  "title": "GetApiOpenapiV1WebhooksIdResponse",
  "x-generated": "2026-10-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/duve-openapi-generated.yml#/components/schemas/GetApiOpenapiV1WebhooksIdResponse",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "event": {
      "type": "string",
      "description": "Event key. See Appendix - Webhook events."
    },
    "url": {
      "type": "string"
    },
    "conditions": {
      "type": "array",
      "description": "list of WebhookCondition"
    },
    "dataPoints": {
      "type": "array",
      "description": "list of string – See Appendix - Webhook data points."
    },
    "isEnabled": {
      "type": "boolean",
      "description": "default: true"
    },
    "headers": {
      "type": "array",
      "description": "list of WebhookHeader"
    },
    "brands": {
      "type": "array",
      "description": "list of string – Brand ids (ObjectId as string) to limit delivery"
    },
    "valueNameToCompare": {
      "type": "string"
    },
    "notifyOnWebhookFailures": {
      "type": "boolean"
    },
    "failureNotificationEmails": {
      "type": "array",
      "description": "list of string – Email addresses to notify on webhook failures"
    }
  }
}