forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproposition-response-detail.schema.json
More file actions
69 lines (69 loc) · 3.31 KB
/
proposition-response-detail.schema.json
File metadata and controls
69 lines (69 loc) · 3.31 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
{
"meta:license": [
"Copyright 2019 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/offer-management/proposition-response-detail",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Offer Response Detail",
"type": "object",
"meta:abstract": true,
"meta:extensible": true,
"description": "A proposition response detail is used to capture the Response to an offer proposition. Proposition responses are enriched with the properties of the activity and offer at the time the decision was made.",
"definitions": {
"response-detail-datatype": {
"properties": {
"xdm:activity": {
"title": "Offer Activity",
"description": "Snapshot of the activity for which the proposition was made. The object contains at least the xdm:id property value which is the identifier of the decision activity.",
"$ref": "https://ns.adobe.com/experience/offer-management/offer-activity-detail",
"meta:titleId": "proposition-response-detail##xdm:activity##title##94501",
"meta:descriptionId": "proposition-response-detail##xdm:activity##description##57821"
},
"xdm:offer": {
"title": "Offer",
"description": "Snapshot of the offer that the recipient responded to. The object contains a at least the xdm:id property value which is the identifier of an offer.",
"$ref": "https://ns.adobe.com/experience/offer-management/offer-detail",
"meta:titleId": "proposition-response-detail##xdm:offer##title##23391",
"meta:descriptionId": "proposition-response-detail##xdm:offer##description##72031"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/response-detail-datatype"
}
],
"meta:status": "stable",
"meta:titleId": "proposition-response-detail##title##18071",
"meta:descriptionId": "proposition-response-detail##description##32231",
"examples": [
{
"xdm:activity": {
"xdm:id": "xcore:offer-activity:f66f792de3c0ba9",
"xdm:name": "Email - Next Best Offer",
"xdm:placement": "xcore:offer-placement:f6524d27c2d6edd",
"xdm:filter": "xcore:offer-filter:f66f792de3c0ba9"
},
"xdm:offer": {
"xdm:id": "xcore:personalized-offer:f67bab756ed6ee4",
"xdm:name": "Beach Vacations",
"xdm:tags": [
"xcore:tag:f68535bc217322e",
"xcore:tag:f66f67dbe6d6ee1"
],
"xdm:characteristics": {
"cost": "$2400",
"inventoryId": "BORA04",
"country": "French Polynesia"
}
}
}
]
}