forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeedbackevent.schema.json
More file actions
316 lines (316 loc) · 20.1 KB
/
feedbackevent.schema.json
File metadata and controls
316 lines (316 loc) · 20.1 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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
{
"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/feedbackevent",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Adobe Delivery Feedback Events",
"type": "object",
"meta:extensible": true,
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/experienceevent"
],
"description": "Contains all delivery event fields.",
"definitions": {
"feedbackevent": {
"properties": {
"https://ns.adobe.com/experience/campaign/feedback/type": {
"title": "Feedback Type",
"type": "string",
"description": "The type of message event.",
"meta:titleId": "feedbackevent##https://ns.adobe.com/experience/campaign/feedback/type##title##87521",
"meta:descriptionId": "feedbackevent##https://ns.adobe.com/experience/campaign/feedback/type##description##66911"
},
"xdm:retryCount": {
"title": "Retry Count",
"type": "integer",
"description": "Number of failed attempts before the current event.",
"meta:titleId": "feedbackevent##xdm:retryCount##title##72331",
"meta:descriptionId": "feedbackevent##xdm:retryCount##description##27701"
},
"https://ns.adobe.com/experience/campaign/feedback/delivery": {
"title": "The campaign activity originating a message to a recipient.",
"type": "object",
"properties": {
"xdm:id": {
"title": "Delivery ID",
"type": "string",
"description": "The campaign activity originating this message.",
"meta:titleId": "feedbackevent##xdm:id##title##9651",
"meta:descriptionId": "feedbackevent##xdm:id##description##13501"
},
"xdm:campaignId": {
"title": "Campaign Id",
"type": "string",
"description": "Campaign of which this delivery was a part.",
"meta:titleId": "feedbackevent##xdm:campaignId##title##44731",
"meta:descriptionId": "feedbackevent##xdm:campaignId##description##8171"
},
"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": "feedbackevent##xdm:from##title##3701",
"meta:descriptionId": "feedbackevent##xdm:from##description##50281"
},
"xdm:type": {
"title": "Delivery Type",
"type": "string",
"description": "Mode of delivery for the messages sent.",
"meta:titleId": "feedbackevent##xdm:type##title##40541",
"meta:descriptionId": "feedbackevent##xdm:type##description##53111"
},
"xdm:label": {
"title": "Delivery Label",
"type": "string",
"description": "A human-friendly name of the campaign activity which is originating this message.",
"meta:titleId": "feedbackevent##xdm:label##title##60961",
"meta:descriptionId": "feedbackevent##xdm:label##description##46681"
},
"xdm:name": {
"title": "Delivery Internal Name",
"type": "string",
"description": "A human-friendly identifier of the campaign activity which is originating this message.",
"meta:titleId": "feedbackevent##xdm:name##title##21761",
"meta:descriptionId": "feedbackevent##xdm:name##description##48161"
}
},
"meta:titleId": "feedbackevent##https://ns.adobe.com/experience/campaign/feedback/delivery##title##36671"
},
"https://ns.adobe.com/experience/campaign/feedback/message": {
"title": "A single message sent to a recipient.",
"type": "object",
"properties": {
"xdm:id": {
"title": "Message Identifier",
"type": "string",
"description": "Identifier of the message.",
"meta:titleId": "feedbackevent##xdm:id##title##58021",
"meta:descriptionId": "feedbackevent##xdm:id##description##4611"
},
"subject": {
"title": "Message Subject",
"type": "string",
"description": "Subject line of the message.",
"meta:titleId": "feedbackevent##subject##title##3701",
"meta:descriptionId": "feedbackevent##subject##description##54981"
},
"size": {
"title": "Message Size",
"type": "integer",
"description": "Size in bytes of the message.",
"meta:titleId": "feedbackevent##size##title##4621",
"meta:descriptionId": "feedbackevent##size##description##10651"
},
"recipient": {
"title": "The recipient of this message",
"type": "object",
"properties": {
"xdm:to": {
"title": "To",
"type": "string",
"description": "Address used as a to/callee 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": "feedbackevent##xdm:to##title##98651",
"meta:descriptionId": "feedbackevent##xdm:to##description##58751"
},
"xdm:type": {
"title": "Type",
"type": "string",
"description": "Whether this message message event describes the BCC, CC or To recipient.",
"meta:titleId": "feedbackevent##xdm:type##title##65901",
"meta:descriptionId": "feedbackevent##xdm:type##description##52831"
}
},
"meta:titleId": "feedbackevent##recipient##title##41241"
}
},
"meta:titleId": "feedbackevent##https://ns.adobe.com/experience/campaign/feedback/message##title##73511"
},
"https://ns.adobe.com/experience/campaign/feedback/messageFailure": {
"title": "Message Failure",
"type": "object",
"properties": {
"xdm:canonicalReason": {
"title": "Canonical Reason",
"type": "string",
"description": "Canonicalized text of the response returned by the remote server due to a failed delivery attempt.",
"meta:titleId": "feedbackevent##xdm:canonicalReason##title##49281",
"meta:descriptionId": "feedbackevent##xdm:canonicalReason##description##72271"
},
"xdm:reason": {
"title": "Reason",
"type": "string",
"description": "Unmodified, exact response returned by the remote server due to a failed delivery attempt.",
"meta:titleId": "feedbackevent##xdm:reason##title##24331",
"meta:descriptionId": "feedbackevent##xdm:reason##description##46081"
},
"xdm:errorCode": {
"title": "Error Code",
"type": "string",
"description": "Error code by which the remote server described a failed delivery attempt.",
"meta:titleId": "feedbackevent##xdm:errorCode##title##62201",
"meta:descriptionId": "feedbackevent##xdm:errorCode##description##9671"
},
"xdm:bounceType": {
"title": "Bounce Type",
"type": "string",
"description": "Classifies whether it is a soft bounce or hard bounce.",
"meta:titleId": "feedbackevent##xdm:bounceType##title##85541",
"meta:descriptionId": "feedbackevent##xdm:bounceType##description##7321"
},
"xdm:bounceClass": {
"title": "Bounce Class",
"type": "string",
"description": "Classification code for a given message.",
"meta:titleId": "feedbackevent##xdm:bounceClass##title##46331",
"meta:descriptionId": "feedbackevent##xdm:bounceClass##description##83171"
}
},
"meta:titleId": "feedbackevent##https://ns.adobe.com/experience/campaign/feedback/messageFailure##title##29901"
},
"https://ns.adobe.com/experience/campaign/feedback/solutionContext": {
"title": "Solution Context",
"type": "array",
"description": "List of solution specific key value pairs.",
"items": {
"$ref": "https://ns.adobe.com/experience/analytics/keyvalue"
},
"meta:titleId": "feedbackevent##https://ns.adobe.com/experience/campaign/feedback/solutionContext##title##48391",
"meta:descriptionId": "feedbackevent##https://ns.adobe.com/experience/campaign/feedback/solutionContext##description##18061"
},
"https://ns.adobe.com/experience/campaign/feedback/channel": {
"title": "Delivery channel",
"type": "object",
"properties": {
"xdm:type": {
"title": "Channel Type",
"type": "string",
"description": "Classifies whether the channel is email, push, sms.",
"meta:titleId": "feedbackevent##xdm:type##title##66621",
"meta:descriptionId": "feedbackevent##xdm:type##description##45761"
},
"email": {
"title": "E-mail Channel",
"type": "object",
"properties": {
"interactions": {
"title": "User Interactions",
"type": "object",
"properties": {
"xdm:spamType": {
"title": "Spam Type",
"type": "string",
"description": "Type of spam report entered against this message (see RFC 5965 § 7.3).",
"meta:titleId": "feedbackevent##xdm:spamType##title##78981",
"meta:descriptionId": "feedbackevent##xdm:spamType##description##90271"
},
"xdm:reportedBy": {
"title": "Reported By",
"type": "string",
"description": "E-mail Address of the entity reporting this message as spam.",
"meta:titleId": "feedbackevent##xdm:reportedBy##title##91731",
"meta:descriptionId": "feedbackevent##xdm:reportedBy##description##38351"
},
"xdm:reportTo": {
"title": "Report To",
"type": "string",
"description": "E-mail Address to which this spam report is to be delivered.",
"meta:titleId": "feedbackevent##xdm:reportTo##title##90131",
"meta:descriptionId": "feedbackevent##xdm:reportTo##description##86451"
},
"xdm:userAgent": {
"title": "User Agent",
"type": "string",
"description": "Value of the browser's User-Agent header.",
"meta:titleId": "feedbackevent##xdm:userAgent##title##85711",
"meta:descriptionId": "feedbackevent##xdm:userAgent##description##76961"
}
},
"meta:titleId": "feedbackevent##interactions##title##39261"
},
"operationalContext": {
"title": "Operational Context",
"type": "object",
"properties": {
"xdm:outboundIP": {
"title": "IP Address",
"type": "string",
"description": "Outbound IP address of the customer used to deliver the message.",
"meta:titleId": "feedbackevent##xdm:outboundIP##title##11691",
"meta:descriptionId": "feedbackevent##xdm:outboundIP##description##32721"
},
"xdm:sendProtocol": {
"title": "Send Protocol",
"type": "string",
"description": "Protocol by which the message is delivered.",
"meta:titleId": "feedbackevent##xdm:sendProtocol##title##77221",
"meta:descriptionId": "feedbackevent##xdm:sendProtocol##description##15751"
},
"xdm:remoteIp": {
"title": "IP Address",
"type": "string",
"oneOf": [
{
"format": "ipv4"
},
{
"format": "ipv6"
}
],
"description": "IP address of the host to which this message is delivered.",
"meta:titleId": "feedbackevent##xdm:remoteIp##title##71451",
"meta:descriptionId": "feedbackevent##xdm:remoteIp##description##62391"
},
"xdm:mtaHost": {
"title": "Node Name",
"type": "string",
"description": "Name of the MTA Instance originating the events.",
"meta:titleId": "feedbackevent##xdm:mtaHost##title##5321",
"meta:descriptionId": "feedbackevent##xdm:mtaHost##description##44431"
},
"xdm:mtaIp": {
"title": "Sending IP Address",
"type": "string",
"oneOf": [
{
"format": "ipv4"
},
{
"format": "ipv6"
}
],
"description": "IP address through which this message was sent.",
"meta:titleId": "feedbackevent##xdm:mtaIp##title##40251",
"meta:descriptionId": "feedbackevent##xdm:mtaIp##description##26591"
},
"xdm:queueTime": {
"title": "Queue time",
"type": "number",
"description": "Delay, expressed in milliseconds, between this message's injection into SparkPost and its delivery to the receiving domain; that is, the length of time this message spent in the outgoing queue.",
"meta:titleId": "feedbackevent##xdm:queueTime##title##78331",
"meta:descriptionId": "feedbackevent##xdm:queueTime##description##16651"
}
},
"meta:titleId": "feedbackevent##operationalContext##title##52921"
}
},
"meta:titleId": "feedbackevent##email##title##44831"
}
},
"meta:titleId": "feedbackevent##https://ns.adobe.com/experience/campaign/feedback/channel##title##91171"
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/feedbackevent"
}
],
"meta:status": "stable",
"meta:titleId": "feedbackevent##title##65261",
"meta:descriptionId": "feedbackevent##description##85631"
}