[
  {
    "type": "aggregate",
    "fieldPath": "amount",
    "timeWindow": "24h",
    "aggregateLimit": 100,
    "decision": "REQUIRE_APPROVAL",
    "reason": "Refunds that went through on their own in the last 24 hours would go over 100, so a person approves this one"
  },
  {
    "type": "threshold",
    "fieldPath": "amount",
    "op": ">",
    "value": 250,
    "decision": "DENY",
    "reason": "Over the single-refund ceiling of 250"
  },
  {
    "type": "allowlist",
    "fieldPath": "amount_valid",
    "allowedValues": [
      "true"
    ],
    "otherwiseDecision": "DENY",
    "reason": "No valid amount",
    "matchMessage": "Amount is a number above 0",
    "otherwiseMessage": "No valid amount, refund blocked"
  }
]