{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/transfer-webhooks-transaction-event-violation-schema.json",
  "title": "TransactionEventViolation",
  "description": "TransactionEventViolation schema from Adyen API",
  "type": "object",
  "properties": {
    "reason": {
      "description": "An explanation about why the transaction rule failed.",
      "type": "string"
    },
    "transactionRule": {
      "description": "Contains information about the transaction rule.",
      "$ref": "#/components/schemas/TransactionRuleReference"
    },
    "transactionRuleSource": {
      "description": "Contains the type and ID of the resource to which the transaction rule is linked.",
      "$ref": "#/components/schemas/TransactionRuleSource"
    }
  }
}