{
"id": "rl-region",
"type": "rule",
"data": {
"label": "Region Two-Layer Check",
"outputFields": ["region_check", "region_reason"],
"description": "...",
"conditions": [
{
"id": "cond-allow",
"logicOperator": "AND",
"clauses": [
{
"variable": "input.declared_country",
"operator": "in",
"value": "BR,US,GB,DE,FR,...",
},
{
"variable": "input.declared_country",
"operator": "not_in",
"value": "IR,KP,SY,...",
},
],
"outputValues": {
"region_check": "pass",
"region_reason": "On commercial allowlist and not on prohibitions list",
},
},
{
"id": "cond-fatf",
"logicOperator": "OR",
"clauses": [
{
"variable": "input.declared_country",
"operator": "in",
"value": "TR,VN,PH,NG,KH",
},
],
"outputValues": {
"region_check": "manual_review",
"region_reason": "FATF grey list — handle via compliance review",
},
},
],
"elseValues": {
"region_check": "reject",
"region_reason": "Country not supported or prohibited by policy",
},
},
}