-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconsent-schema.avsc
53 lines (53 loc) · 1.01 KB
/
consent-schema.avsc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"namespace": "de.philip-schmitt",
"type": "record",
"name": "Consent",
"fields": [
{
"name": "customerId",
"type": {
"type": "string",
"arg.properties": {
"regex": "user_[1-9]"
}
}
},
{
"name": "hashedCustomerId",
"type": {
"type": "string",
"arg.properties": {
"regex": "[a-zA-Z]{20}"
}
}
},
{
"name": "consents",
"type": {
"type": "map",
"values": "boolean",
"arg.properties": {
"options": [
{
"retargeter1": true,
"retargeter2": true
},
{
"retargeter1": true,
"retargeter2": false
},
{
"retargeter1": false,
"retargeter2": true
},
{
"retargeter1": false,
"retargeter2": false
}
]
}
},
"default": {}
}
]
}