forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexperienceevent-proposition-interaction.schema.json
More file actions
124 lines (124 loc) · 5.72 KB
/
experienceevent-proposition-interaction.schema.json
File metadata and controls
124 lines (124 loc) · 5.72 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
{
"meta:license": [
"Copyright 2020 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/experience/decisioning/proposition-interaction",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Experience Event - Proposition Interactions",
"type": "object",
"meta:abstract": true,
"meta:extensible": true,
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/experienceevent"
],
"description": "Captures information regarding an action taken for one or more prior propositions. Each decision has a unique ID that is sent back with an experience event. The decision is assumed to have contributed to the experience event and is now associated with it.",
"definitions": {
"decisioning-experienceevent-all": {
"type": "object",
"properties": {
"https://ns.adobe.com/experience/decisioning/propositionEventType": {
"title": "Proposition Event",
"description": "A record of how the user interacted with the proposition. All propositions recorded on this event will be associated with the same event that is recorded here.",
"$ref": "https://ns.adobe.com/experience/decisioning/proposition-event-type"
},
"https://ns.adobe.com/experience/decisioning/propositionAction": {
"title": "Proposition Action",
"description": "The specific element that was interacted with which caused the proposition event to be triggered.",
"$ref": "https://ns.adobe.com/experience/decisioning/proposition-action"
},
"https://ns.adobe.com/experience/decisioning/propositions": {
"title": "Involved Propositions",
"type": "array",
"description": "An array of decision propositions that contributed to the experience event. The experience event is attributed (at least partially) to those prior decisions/propositions. An individual profile's proposition-response history is maintained with these decision identifiers.",
"items": {
"$ref": "https://ns.adobe.com/experience/decisioning/proposition-interaction-details"
},
"meta:titleId": "proposition-interaction##https://ns.adobe.com/experience/decisioning/propositions##title##37861",
"meta:descriptionId": "proposition-interaction##https://ns.adobe.com/experience/decisioning/propositions##description##42611"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "https://ns.adobe.com/xdm/context/identitymap"
},
{
"$ref": "#/definitions/decisioning-experienceevent-all"
}
],
"meta:status": "stable",
"meta:titleId": "proposition-interaction##title##38171",
"meta:descriptionId": "proposition-interaction##description##45571",
"examples": [
{
"https://ns.adobe.com/experience/decisioning/propositions": [
{
"xdm:items": [
{
"xdm:id": "experience1"
}
]
},
{
"xdm:items": [
{
"xdm:id": "personalized-offer:f67bab756ed6ee4"
}
]
}
]
},
{
"@id": "a7864a96-1eac-4934-ab44-54ad037b4f2b",
"xdm:timestamp": "2020-09-26T15:52:25+00:00",
"xdm:eventType": "web.webinteraction.contentDisplay",
"https://ns.adobe.com/experience/decisioning/propositions": [
{
"xdm:items": [
{
"xdm:id": "item1"
},
{
"xdm:id": "item2"
}
],
"xdm:id": "AT:eyJhY3Rpdml0eUlkIjoiMzg0NDU5IiwiZXhwZXJpZW5jZUlkIjoiMSJ9",
"xdm:scope": "home",
"xdm:scopeDetails": {
"xdm:activity": {
"xdm:id": "384459",
"repo:etag": "8"
},
"xdm:strategies": [
{
"xdm:step": "targeting",
"xdm:algorithmID": "randomuniform",
"xdm:trafficType": "noncontextual"
}
]
}
},
{
"xdm:items": [
{
"xdm:id": "personalized-offer:f67bab756ed6ee4",
"xdm:data": {
"xdm:id": "urn:aaid:sc:US:6dc33479-13ca-4b19-b25d-c805eff8a69e",
"xdm:content": "30% off on your next reservation"
}
}
],
"xdm:id": "3cc33a7e-13ca-4b19-b25d-c816eff9a70a",
"xdm:scope": "scope:12cfc3fa94281acb"
}
]
}
]
}