-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexperienceevent-consumer.schema.json
177 lines (177 loc) · 7.07 KB
/
experienceevent-consumer.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
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
{
"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/experienceevent-consumer",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Consumer Experience Event",
"type": "object",
"description": "Digital content consumption data from web and mobile applications as well as online and offline purchase data such as channel, commerce, and device information.",
"meta:extensible": true,
"meta:abstract": true,
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/experienceevent"
],
"meta:extends": [
"https://ns.adobe.com/xdm/context/experienceevent-application",
"https://ns.adobe.com/xdm/context/experienceevent-channel",
"https://ns.adobe.com/xdm/context/experienceevent-environment-details",
"https://ns.adobe.com/xdm/context/experienceevent-marketing",
"https://ns.adobe.com/xdm/context/experienceevent-media",
"https://ns.adobe.com/xdm/context/experienceevent-search",
"https://ns.adobe.com/xdm/context/experienceevent-segmentmembership",
"https://ns.adobe.com/xdm/context/experienceevent-technical-details",
"https://ns.adobe.com/xdm/context/experienceevent-web",
"https://ns.adobe.com/xdm/context/experienceevent-commerce"
],
"definitions": {},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-application"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-channel"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-environment-details"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-marketing"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-media"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-search"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-segmentmembership"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-technical-details"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-web"
},
{
"$ref": "https://ns.adobe.com/xdm/context/experienceevent-commerce"
}
],
"meta:status": "stable",
"examples": [
{
"@id": "https://data.adobe.io/experienceid-123456",
"xdm:dataSource": {
"@id": "https://data.adobe.io/datasources/datasource-123",
"xdm:code": "DataSourceIntegrationCode-123"
},
"xdm:timestamp": "2017-09-26T15:52:25+00:00",
"xdm:identityMap": {
"ECID": [
{
"id": "68519882713298129995549973016107434638",
"primary": true
}
],
"AVID": [
{
"id": "2dfb7d8e00003ba4-056de00000000085",
"primary": false
}
]
},
"xdm:channel": {
"@id": "https://ns.adobe.com/xdm/channels/apns",
"@type": "https://ns.adobe.com/xdm/channel-types/mobile"
},
"xdm:environment": {
"xdm:type": "browser",
"xdm:browserDetails": {
"xdm:name": "Chrome",
"xdm:version": "63.0.3239",
"xdm:acceptLanguage": "en",
"xdm:cookiesEnabled": true,
"xdm:javaScriptEnabled": true,
"xdm:javaScriptVersion": "1.8.5",
"xdm:javaEnabled": true,
"xdm:javaVersion": "Java SE 8",
"xdm:viewportHeight": 900,
"xdm:viewportWidth": 1680
},
"xdm:operatingSystem": "MAC OS",
"xdm:operatingSystemVersion": "10.13",
"xdm:connectionType": "cable"
},
"xdm:productListItems": [
{
"xdm:SKU": "1002352692",
"xdm:lineItemId": "12345678",
"xdm:name": "24-Watt 8-Light Chrome Integrated LED Bath Light",
"xdm:currencyCode": "USD",
"xdm:quantity": 1,
"xdm:priceTotal": 159
}
],
"xdm:commerce": {
"xdm:order": {
"xdm:purchaseID": "a8g784hjq1mnp3",
"xdm:purchaseOrderNumber": "123456",
"xdm:payments": [
{
"xdm:transactionID": "transactid-a111",
"xdm:paymentAmount": 59,
"xdm:paymentType": "credit_card",
"xdm:currencyCode": "USD"
},
{
"xdm:transactionId": "transactid-a222",
"xdm:paymentAmount": 100,
"xdm:paymentType": "gift_card",
"xdm:currencyCode": "USD"
}
],
"xdm:currencyCode": "USD",
"xdm:priceTotal": 159
},
"xdm:purchases": {
"xdm:value": 1
}
},
"xdm:placeContext": {
"xdm:localTime": "2017-09-26T15:52:25+13:00",
"xdm:geo": {
"@id": "https://data.adobe.io/entities/geo/tokyo",
"xdm:countryCode": "JP",
"xdm:stateProvince": "JP-13",
"xdm:city": "Tōkyō",
"xdm:postalCode": "141-0032",
"schema:latitude": 35.6185,
"schema:longitude": 139.73237
}
},
"xdm:web": {
"xdm:webPageDetails": {
"xdm:siteSection": "Shopping Cart",
"xdm:server": "example.com",
"xdm:name": "Purchase Confirmation",
"xdm:URL": "https://www.example.com/orderConf",
"xdm:errorPage": false,
"xdm:homePage": false,
"xdm:pageViews": {
"xdm:value": 1
}
},
"xdm:webReferrer": {
"xdm:URL": "https://www.example.com/checkout",
"xdm:referrerType": "internal"
}
},
"xdm:marketing": {
"xdm:trackingCode": "marketingcampaign111"
}
}
]
}