-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsegmentmembership.schema.json
60 lines (59 loc) · 2.34 KB
/
segmentmembership.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
{
"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/segmentmembership",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Segment Membership",
"type": "object",
"description": "Details about a segment membership.",
"definitions": {
"segmentMembership": {
"properties": {
"xdm:segmentID": {
"title": "Segment ID",
"$ref": "https://ns.adobe.com/xdm/context/segmentidentity",
"description": "The identity of the segment or snapshot definition in with the domain of the specific system that processes that type of segment."
},
"xdm:version": {
"title": "Version",
"type": "string",
"description": "The version of the segment definition used in this segment assertion. Version can be omitted in audience lists when all memberships versions are the same."
},
"xdm:lastQualificationTime": {
"title": "Last Qualification Time",
"type": "string",
"format": "date-time",
"description": "The timestamp when the assertion of segment membership was made."
},
"xdm:validUntil": {
"title": "Valid Until",
"type": "string",
"format": "date-time",
"description": "The timestamp for when the segment assertion should nolonger be assumed to be valid and should either be ignored or revalidated."
},
"xdm:status": {
"title": "Status",
"type": "string",
"description": "Is the segment participation realized as part of the current request.",
"default": "realized",
"enum": ["existing", "realized", "exited"],
"meta:enum": {
"existing": "Entity continues to be in the segment",
"realized": "Entity is entering the segment",
"exited": "Entity is exiting the segment"
}
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/segmentMembership"
}
],
"meta:status": "experimental"
}