-
Notifications
You must be signed in to change notification settings - Fork 1
/
segmentation.schema.json
89 lines (89 loc) · 3.73 KB
/
segmentation.schema.json
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
{
"meta:license": [
"Copyright 2018 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-segmentation",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Segment Membership Details",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/profile",
"https://ns.adobe.com/xdm/context/account"
],
"description": "Segment membership information such as including which segments the individual belongs to, the last qualification time, and when the membership is valid until.",
"definitions": {
"profile-segmentation": {
"properties": {
"xdm:segments": {
"title": "Segment membership",
"meta:status": "deprecated",
"type": "array",
"items": {
"$ref": "https://ns.adobe.com/xdm/context/segmentmembership"
},
"meta:titleId": "profile-segmentation##xdm:segments##title##85251"
},
"xdm:segmentMembership": {
"title": "Segment membership map",
"type": "object",
"meta:xdmType": "map",
"additionalProperties": {
"title": "Segment membership per namespace",
"type": "object",
"meta:xdmType": "map",
"additionalProperties": {
"$ref": "https://ns.adobe.com/xdm/context/segmentmembership"
},
"meta:titleId": "profile-segmentation##additionalProperties##title##73981"
},
"meta:titleId": "profile-segmentation##xdm:segmentMembership##title##24061"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/profile-segmentation"
}
],
"meta:status": "stable",
"meta:createdDate": "2020-08-10",
"meta:titleId": "profile-segmentation##title##98301",
"meta:descriptionId": "profile-segmentation##description##95051",
"examples": [
{
"xdm:segmentMembership": {
"AAM": {
"04a81716-43d6-4e7a-a49c-f1d8b3129ba9": {
"xdm:version": "15",
"xdm:timestamp": "2018-04-26T15:52:25+00:00",
"xdm:validUntil": "2019-04-26T15:52:25+00:00",
"xdm:status": "existing"
},
"53cba6b2-a23b-454a-8069-fc41308f1c0f": {
"xdm:version": "3",
"xdm:lastQualificationTime": "2018-04-26T15:52:25+00:00",
"xdm:validUntil": "2018-04-27T15:52:25+00:00",
"xdm:status": "realized"
}
},
"Email": {
"[email protected]": {
"xdm:version": "1",
"xdm:lastQualificationTime": "2017-09-26T15:52:25+00:00",
"xdm:validUntil": "2017-12-26T15:52:25+00:00",
"xdm:status": "exited"
}
}
}
}
]
}