{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/maesn/json-schema/maesn-create-webhook-request-dto-schema.json",
  "title": "CreateWebhookRequestDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/maesn-webhook-api-openapi.yml#/components/schemas/CreateWebhookRequestDto",
  "type": "object",
  "properties": {
    "callbackUrl": {
      "type": "string"
    },
    "eventType": {
      "type": "string",
      "enum": [
        "ACCOUNT",
        "BANK_ACCOUNT",
        "BILL",
        "CONTACT",
        "CREDIT_NOTE",
        "CUSTOMER",
        "DIMENSION",
        "EXPENSE",
        "INVOICE",
        "ITEM",
        "JOURNAL_ENTRY",
        "OFFER",
        "PAYMENT",
        "SALES_ORDER",
        "SUPPLIER",
        "TAX_RATE",
        "TOKEN"
      ]
    },
    "resource": {
      "type": "string",
      "enum": [
        "CREATED",
        "DELETED",
        "REVOKED",
        "UPDATED"
      ]
    }
  }
}