forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconsentstring.schema.json
More file actions
67 lines (67 loc) · 2.85 KB
/
consentstring.schema.json
File metadata and controls
67 lines (67 loc) · 2.85 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"meta:license": [
"Copyright 2017 Adobe Systems Incorporated. All rights reserved.",
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license",
"you may not use this file except in compliance with the License. You may obtain a copy",
"of the License at https://creativecommons.org/licenses/by/4.0/"
],
"$id": "https://ns.adobe.com/xdm/context/consentstring",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Consent String",
"type": "object",
"meta:extensible": true,
"description": "Consent String as presented by user along with standard information to help consent enforcer to parse the String.",
"definitions": {
"consentstring": {
"properties": {
"xdm:consentStandard": {
"title": "Standard for the consent",
"type": "string",
"description": "This helps determine the format of the consent string as set by consent management services."
},
"xdm:consentStandardVersion": {
"title": "Standards Version",
"type": "string",
"description": "Standards version to accurately define the format of the consent string as set by consent management services."
},
"xdm:consentStringValue": {
"title": "Consent String",
"type": "string",
"description": "Full consent string as provided by consent management services. Standard and Version help define how to parse this string."
},
"xdm:gdprApplies": {
"title": "GDPR Applies",
"type": "boolean",
"default": false,
"description": "If this is true, it means this consent string needs to be processed for consent enforcement."
},
"xdm:containsPersonalData": {
"title": "Contains personal data",
"type": "boolean",
"description": "If this is true, it means consent is coming with personal data."
}
},
"required": [
"xdm:gdprApplies"
]
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/consentstring"
}
],
"meta:status": "stable",
"examples": [
{
"xdm:consentStandard": "IAB TCF",
"xdm:consentStandardVersion": "2.0",
"xdm:consentStringValue": "BObdrPUOevsguAfDqFENCNAAAAAmeAAA.PVAfDObdrA.DqFENCAmeAENCDA",
"xdm:gdprApplies": true,
"xdm:containsPersonalData": false
}
]
}