forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile-privacy.schema.json
More file actions
177 lines (177 loc) · 9.66 KB
/
profile-privacy.schema.json
File metadata and controls
177 lines (177 loc) · 9.66 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"meta:license": [
"Copyright 2019 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/profile-privacy",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "IAB TCF 2.0 Consent Details",
"description": "Record the IAB TCF 2.0 string in a user's profile.",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/profile"
],
"definitions": {
"profile-privacy": {
"properties": {
"xdm:optOutConsentLevel": {
"type": "object",
"title": "Opt-out consent level (deprecated)",
"description": "Opt-out consent level (deprecated).",
"meta:status": "deprecated",
"properties": {
"xdm:privacyOptOuts": {
"title": "Privacy opt-outs (deprecated)",
"description": "Encapsulates different opt-out types for data privacy (deprecated).",
"type": "array",
"items": {
"type": "object",
"properties": {
"xdm:optOutType": {
"title": "Opt-out type",
"type": "string",
"description": "The type of opt-out.",
"enum": [
"general_opt_out",
"sales_sharing_opt_out"
],
"meta:enum": {
"general_opt_out": "General opt-out",
"sales_sharing_opt_out": "Sales sharing opt-out"
},
"meta:titleId": "profile-privacy##xdm:optOutType##title##14671",
"meta:descriptionId": "profile-privacy##xdm:optOutType##description##23971"
},
"xdm:optOutValue": {
"title": "Opt-out value",
"type": "string",
"description": "The value of opt-out signal.",
"enum": [
"not_provided",
"pending",
"in",
"out"
],
"meta:enum": {
"not_provided": "Not provided",
"pending": "Pending verification",
"in": "Opt-in",
"out": "Opt-out"
},
"meta:titleId": "profile-privacy##xdm:optOutValue##title##53741",
"meta:descriptionId": "profile-privacy##xdm:optOutValue##description##20711"
},
"xdm:timestamp": {
"title": "Opt-out timestamp",
"description": "Timestamp of the received opt-out signal.",
"type": "string",
"format": "date-time",
"meta:titleId": "profile-privacy##xdm:timestamp##title##57561",
"meta:descriptionId": "profile-privacy##xdm:timestamp##description##91401"
}
}
},
"meta:titleId": "profile-privacy##xdm:privacyOptOuts##title##30231",
"meta:descriptionId": "profile-privacy##xdm:privacyOptOuts##description##4761"
}
},
"meta:titleId": "profile-privacy##xdm:optOutConsentLevel##title##57691",
"meta:descriptionId": "profile-privacy##xdm:optOutConsentLevel##description##24971"
},
"xdm:identityPrivacyInfo": {
"title": "Identity level privacy information",
"description": "Captured privacy information for identities in profile.",
"type": "object",
"meta:xdmType": "map",
"additionalProperties": {
"title": "User namespace",
"type": "object",
"meta:xdmType": "map",
"additionalProperties": {
"type": "object",
"title": "User Identity",
"properties": {
"xdm:identityIABConsent": {
"type": "object",
"title": "Identity level consent information",
"description": "Consent collected for an identity via consent management services.",
"properties": {
"xdm:consentTimestamp": {
"title": "Timestamp of consent",
"description": "Timestamp (RFC3339) when this identity presented consent information",
"type": "string",
"format": "date-time",
"meta:titleId": "profile-privacy##xdm:consentTimestamp##title##49691",
"meta:descriptionId": "profile-privacy##xdm:consentTimestamp##description##13501"
},
"xdm:consentString": {
"title": "Captured consent information",
"description": "Consent string and its specification. This can help reading application to use appropriate library.",
"$ref": "https://ns.adobe.com/xdm/context/consentstring",
"meta:titleId": "profile-privacy##xdm:consentString##title##46461",
"meta:descriptionId": "profile-privacy##xdm:consentString##description##6731"
}
},
"required": [
"xdm:consentTimestamp"
],
"meta:titleId": "profile-privacy##xdm:identityIABConsent##title##40301",
"meta:descriptionId": "profile-privacy##xdm:identityIABConsent##description##89931"
}
},
"meta:titleId": "profile-privacy##additionalProperties##title##84381"
},
"meta:titleId": "profile-privacy##additionalProperties##title##9011"
},
"meta:titleId": "profile-privacy##xdm:identityPrivacyInfo##title##16881",
"meta:descriptionId": "profile-privacy##xdm:identityPrivacyInfo##description##50281"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/profile-privacy"
}
],
"meta:status": "stable",
"meta:createdDate": "2020-08-10",
"meta:titleId": "profile-privacy##title##10921",
"meta:descriptionId": "profile-privacy##description##86951",
"examples": [
{
"xdm:optOutConsentLevel": {
"xdm:privacyOptOuts": [
{
"xdm:optOutType": "general_opt_out",
"xdm:optOutValue": "out",
"xdm:timestamp": "2019-01-01T15:52:25+00:00"
}
]
},
"xdm:identityPrivacyInfo": {
"ECID": {
"11112222233333444": {
"xdm:identityIABConsent": {
"xdm:consentTimestamp": "2020-04-11T05:05:05Z",
"xdm:consentString": {
"xdm:consentStandard": "IAB TCF",
"xdm:consentStandardVersion": "2.0",
"xdm:consentStringValue": "BObdrPUOevsguAfDqFENCNAAAAAmeAAA.PVAfDObdrA.DqFENCAmeAENCDA",
"xdm:gdprApplies": true,
"xdm:containsPersonalData": false
}
}
}
}
}
}
]
}