forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexperienceevent-all.schema.json
More file actions
276 lines (276 loc) · 19 KB
/
experienceevent-all.schema.json
File metadata and controls
276 lines (276 loc) · 19 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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
{
"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/experience/campaign/experienceevent-all",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Adobe Campaign ExperienceEvent Full Extension",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/experienceevent"
],
"description": "Adobe Campaign ExperienceEvent full extension. Contains all Solution added fields.",
"definitions": {
"campaign-experienceevent-all": {
"properties": {
"https://ns.adobe.com/experience/campaign/message": {
"title": "A single message sent to a recipient.",
"meta:titleId": "experienceevent-all##https://ns.adobe.com/experience/campaign/message##title##80311",
"$ref": "https://ns.adobe.com/experience/campaign/message"
},
"https://ns.adobe.com/experience/campaign/delivery": {
"title": "The campaign activity originating a message to a recipient.",
"type": "object",
"properties": {
"xdm:id": {
"title": "Delivery ID",
"type": "integer",
"description": "The campaign activity originating this message.",
"meta:titleId": "experienceevent-all##xdm:id##title##47561",
"meta:descriptionId": "experienceevent-all##xdm:id##description##86251"
},
"xdm:from": {
"title": "From",
"type": "string",
"description": "Address used as a from/sender/caller address. Depending on the communication channel, the `address` has a different format.\n\n * `email`: an email address.\n * `textMessage` or `phone`: a shortcode or phone number.",
"meta:titleId": "experienceevent-all##xdm:from##title##62461",
"meta:descriptionId": "experienceevent-all##xdm:from##description##7591"
},
"xdm:testEnabled": {
"title": "Test Enabled",
"type": "boolean",
"description": "Specify whether campaign activity is of type A/B testing.",
"default": false,
"meta:titleId": "experienceevent-all##xdm:testEnabled##title##16851",
"meta:descriptionId": "experienceevent-all##xdm:testEnabled##description##27301"
},
"xdm:messageClass": {
"title": "Message Class",
"type": "string",
"meta:enum": {
"one_time": "Marketing (One Time)",
"continuous": "Recurring",
"event_based": "Transactional (Event-based)"
},
"description": "Mode of delivery for the messages sent.\n",
"default": "one_time",
"meta:titleId": "experienceevent-all##xdm:messageClass##title##99511",
"meta:descriptionId": "experienceevent-all##xdm:messageClass##description##56471"
},
"xdm:templateName": {
"title": "Delivery Template's Internal Name",
"type": "string",
"description": "A human-friendly identifier of the the parent entity (in case of event_based or continuous message Class) of the campaign activity originating this message.",
"meta:titleId": "experienceevent-all##xdm:templateName##title##18081",
"meta:descriptionId": "experienceevent-all##xdm:templateName##description##39061"
},
"xdm:templateID": {
"title": "Identifier of the Template",
"type": "integer",
"description": "The delivery template's ID used to initialize this delivery.\n\nThe type the template used in Adobe Campaign can be identified using the `messageClass`.\n\n* `messageClass` = `oneTime`: the template is standard delivery template.\n* `messageClass` = `continuous`: the template is a recurring delivery.\n* `messageClass` = `transactional`: the template is a transactional message template.\n",
"meta:titleId": "experienceevent-all##xdm:templateID##title##82871",
"meta:descriptionId": "experienceevent-all##xdm:templateID##description##40091"
},
"xdm:deliveryLabel": {
"title": "Delivery Label",
"type": "string",
"description": "A human-friendly name of the campaign activity which is originating this message.",
"meta:titleId": "experienceevent-all##xdm:deliveryLabel##title##59081",
"meta:descriptionId": "experienceevent-all##xdm:deliveryLabel##description##11121"
},
"xdm:deliveryName": {
"title": "Delivery Internal Name",
"type": "string",
"description": "A human-friendly identifier of the campaign activity which is originating this message.",
"meta:titleId": "experienceevent-all##xdm:deliveryName##title##93021",
"meta:descriptionId": "experienceevent-all##xdm:deliveryName##description##34981"
}
},
"meta:titleId": "experienceevent-all##https://ns.adobe.com/experience/campaign/delivery##title##37871"
},
"https://ns.adobe.com/experience/campaign/marketingCampaign": {
"title": "The campaign activity originating a message to a recipient.",
"type": "object",
"properties": {
"xdm:id": {
"title": "Campaign ID",
"type": "integer",
"description": "Identifier of the marketing campaign to which activity originating this message belongs to.",
"meta:titleId": "experienceevent-all##xdm:id##title##85001",
"meta:descriptionId": "experienceevent-all##xdm:id##description##14531"
},
"xdm:campaignName": {
"title": "Campaign Internal Name",
"type": "string",
"description": "A human-friendly identifier of the marketing campaign which is originating this message.",
"meta:titleId": "experienceevent-all##xdm:campaignName##title##9021",
"meta:descriptionId": "experienceevent-all##xdm:campaignName##description##38781"
}
},
"meta:titleId": "experienceevent-all##https://ns.adobe.com/experience/campaign/marketingCampaign##title##70861"
},
"https://ns.adobe.com/experience/campaign/link": {
"title": "The campaign activity originating a message to a recipient.",
"type": "object",
"properties": {
"xdm:id": {
"title": "Tracking URL ID",
"type": "string",
"description": "Unique Identifier of the Link",
"meta:titleId": "experienceevent-all##xdm:id##title##67931",
"meta:descriptionId": "experienceevent-all##xdm:id##description##34001"
},
"xdm:description": {
"title": "Tracking URL Description",
"type": "string",
"description": "A human-friendly description of the link.",
"meta:titleId": "experienceevent-all##xdm:description##title##89741",
"meta:descriptionId": "experienceevent-all##xdm:description##description##1971"
},
"xdm:url": {
"title": "URL",
"format": "uri",
"type": "string",
"description": "URL of the Link.",
"meta:titleId": "experienceevent-all##xdm:url##title##8501",
"meta:descriptionId": "experienceevent-all##xdm:url##description##38091"
},
"xdm:occurrence": {
"title": "Occurrence",
"type": "integer",
"description": "URL occurrence index in the content (first is 1). When the same URL is available several times in the same content, its is necessary to track which occurrence of the URL has been clicked on.",
"default": 1,
"minimum": 1,
"maximum": 32767,
"meta:titleId": "experienceevent-all##xdm:occurrence##title##90221",
"meta:descriptionId": "experienceevent-all##xdm:occurrence##description##78441"
},
"xdm:label": {
"title": "URL Label",
"type": "string",
"description": "The user-friendly label clicking on which the link opens.",
"meta:titleId": "experienceevent-all##xdm:label##title##42791",
"meta:descriptionId": "experienceevent-all##xdm:label##description##58721"
},
"xdm:category": {
"title": "URL Category",
"type": "string",
"description": "The category of the link. It may be `subscription`, or a user-defined category.",
"meta:titleId": "experienceevent-all##xdm:category##title##91221",
"meta:descriptionId": "experienceevent-all##xdm:category##description##13401"
},
"xdm:inAppMessageAction": {
"title": "In-App Message Action",
"type": "string",
"meta:enum": {
"primary": "Primary action",
"secondary": "Secondary action",
"dismiss": "Dismiss action"
},
"description": "Actions on the In-App message delivered, e.g. action on primary button, secondary button or close button.",
"meta:titleId": "experienceevent-all##xdm:inAppMessageAction##title##80281",
"meta:descriptionId": "experienceevent-all##xdm:inAppMessageAction##description##93151"
},
"xdm:inAppMessageButtonText": {
"title": "In-App Message Button Text",
"type": "string",
"description": "The user-friendly text on the button.",
"meta:titleId": "experienceevent-all##xdm:inAppMessageButtonText##title##15291",
"meta:descriptionId": "experienceevent-all##xdm:inAppMessageButtonText##description##83261"
}
},
"meta:titleId": "experienceevent-all##https://ns.adobe.com/experience/campaign/link##title##17511"
},
"https://ns.adobe.com/experience/campaign/orchestration": {
"title": "Campaign Orchestration for creating user journey.",
"meta:titleId": "experienceevent-all##https://ns.adobe.com/experience/campaign/orchestration##title##73361",
"$ref": "https://ns.adobe.com/experience/campaign/orchestration"
},
"https://ns.adobe.com/experience/campaign/containerID": {
"title": "Container Identifier",
"type": "string",
"description": "The identifier denoting the container with which Campaign ExperienceEvent is associated.",
"meta:titleId": "experienceevent-all##https://ns.adobe.com/experience/campaign/containerID##title##12871",
"meta:descriptionId": "experienceevent-all##https://ns.adobe.com/experience/campaign/containerID##description##22331"
},
"https://ns.adobe.com/experience/campaign/eventSource": {
"title": "Event Source",
"type": "string",
"meta:enum": {
"replay-pipelined-mta": "This event was generated via Replay Utility tool generated from Pipelined",
"replay-pipelined-inMail": "This event was generated via Replay Utility tool generated from Pipelined",
"replay-pipelined-trackinglogd": "This event was generated via Replay Utility tool generated from Pipelined",
"replay-pipelined-pipelined": "This event was generated via Replay Utility tool generated from Pipelined",
"pipelined-mta": "This event was generated via Pipelined generated from mta",
"pipelined-inMail": "This event was generated via Pipelined generated from inMail",
"pipelined-trackinglogd": "This event was generated via Pipelined generated from trackinglogd",
"pipelined-pipelined": "This event was generated via Pipelined generated from Pipelined",
"replay": "This event was generated via Replay Utility tool which did not have any event source",
"pipelined-tracker": "This event was generated via Pipelined generated from TrackeR"
},
"description": "A human-friendly name of the campaign activity which is originating this message.",
"meta:titleId": "experienceevent-all##https://ns.adobe.com/experience/campaign/eventSource##title##11101",
"meta:descriptionId": "experienceevent-all##https://ns.adobe.com/experience/campaign/eventSource##description##30301"
},
"https://ns.adobe.com/experience/campaign/offerOpened": {
"title": "Offer Opened",
"description": "The offer in the message for an 'offer opened' event.",
"$ref": "https://ns.adobe.com/experience/campaign/offer-response-detail",
"meta:titleId": "experienceevent-all##https://ns.adobe.com/experience/campaign/offerOpened##title##6611",
"meta:descriptionId": "experienceevent-all##https://ns.adobe.com/experience/campaign/offerOpened##description##41161"
},
"https://ns.adobe.com/experience/campaign/offersProposed": {
"title": "Offer Propositions",
"description": "The offers in the message of a 'email-send' event.",
"type": "array",
"items": {
"$ref": "https://ns.adobe.com/experience/campaign/offer-proposition-detail"
},
"meta:titleId": "experienceevent-all##https://ns.adobe.com/experience/campaign/offersProposed##title##1411",
"meta:descriptionId": "experienceevent-all##https://ns.adobe.com/experience/campaign/offersProposed##description##91571"
},
"https://ns.adobe.com/experience/campaign/medium": {
"title": "Medium",
"type": "string",
"description": "The medium is a combination of the source of the event (message, web, ...) and its format if applicable.",
"meta:enum": {
"message_text": "The source of the event is message in a text format.",
"message_html": "The source of the event is message in a html format.",
"message_line": "The source of the event is a line message.",
"web": "The source of the event is web tracking tag in a web page.",
"offer": "The source of the event is an offer."
},
"meta:titleId": "experienceevent-all##https://ns.adobe.com/experience/campaign/medium##title##69711",
"meta:descriptionId": "experienceevent-all##https://ns.adobe.com/experience/campaign/medium##description##36751"
}
}
},
"mutation": {
"properties": {
"https://ns.adobe.com/experience/campaign/mutation": {
"title": "Mutated Fields from Previous ExperienceEvent.",
"description": "Information of the fields that have changed since the previous ExperienceEvent to keep track of the state changes across events. For e.g. if when an email gets sent, an ExperienceEvent with metric `sends` will be sent. This may get bounced and an ExperienceEvent with metric `bounces` will be sent then. It may be important for a downstream application to know that the previous ExperienceEvent with metric `sends` is now to be invalidated. This field will contain the values from the previous ExperienceEvent that have a different value in the current ExperienceEvent.",
"$ref": "https://ns.adobe.com/experience/campaign/mutationevent",
"meta:titleId": "experienceevent-all##https://ns.adobe.com/experience/campaign/mutation##title##59221",
"meta:descriptionId": "experienceevent-all##https://ns.adobe.com/experience/campaign/mutation##description##44981"
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/campaign-experienceevent-all"
},
{
"$ref": "#/definitions/mutation"
}
],
"meta:status": "stable",
"meta:titleId": "experienceevent-all##title##85301",
"meta:descriptionId": "experienceevent-all##description##53321"
}