github.com/cloudflare/circl@v1.5.0/abe/cpabe/tkn20/testdata/policies.json (about) 1 [ 2 { 3 "policy": "region: US", 4 "success": false, 5 "attributes": { 6 "region": "EU" 7 } 8 }, 9 { 10 "policy": "not region: US", 11 "success": true, 12 "attributes": { 13 "region": "EU" 14 } 15 }, 16 { 17 "policy": "region: US or region: EU or tier: 1 or tier: 2 or tier: 3 and owner: cloudflare", 18 "success": true, 19 "attributes": { 20 "region": "AZ", 21 "tier": "2", 22 "owner": "cloudflare" 23 } 24 }, 25 { 26 "policy": "(region: US or region: EU) or (tier: 1 or tier: 2 or tier: 3) and (owner: cloudflare)", 27 "success": true, 28 "attributes": { 29 "region": "AZ", 30 "tier": "1", 31 "owner": "cloudflare" 32 } 33 }, 34 { 35 "policy": "((region: US or region: EU) and (not (tier: 3)))", 36 "success": true, 37 "attributes": { 38 "region": "EU", 39 "tier": "2", 40 "owner": "cloudflare" 41 } 42 }, 43 { 44 "policy": "not (region: US or region: EU)", 45 "success": false, 46 "attributes": { 47 "region": "EU" 48 } 49 }, 50 { 51 "policy": "not not region: US", 52 "success": false, 53 "attributes": { 54 "region": "EU" 55 } 56 }, 57 { 58 "policy": "region: US or region: US", 59 "success": false, 60 "attributes": { 61 "region": "AZ" 62 } 63 }, 64 { 65 "policy": "region: US and region: EU or region: ASIA", 66 "success": false, 67 "attributes": { 68 "region": "US" 69 } 70 } 71 ]