-
Notifications
You must be signed in to change notification settings - Fork 1
/
experienceevent-contact-request-details.schema.json
167 lines (167 loc) · 9.53 KB
/
experienceevent-contact-request-details.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
{
"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/xdm/mixins/experienceevent-contact-request-details",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Contact Request Details",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:tags": {
"industry": [
"retail",
"financial_services",
"travel_and_hospitality",
"telecom",
"automotive",
"education",
"health_and_life_sciences",
"high_tech",
"manufacturing",
"media_and_entertainment",
"public_sector"
]
},
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/experienceevent"
],
"description": "Visitor contact details such as chat start and end, as well as click to email, text, and call counts. ",
"definitions": {
"contact-request-details": {
"properties": {
"xdm:customerFeedback": {
"type": "object",
"description": "Customer interaction information such as chat, click to call, email and survey questions/answers.",
"properties": {
"xdm:chatDeclined": {
"title": "Chat Declined",
"type": "integer",
"description": "Captured when an offered chat is declined by a visitor.",
"meta:titleId": "experienceevent-contact-request-details##xdm:chatDeclined##title##30441",
"meta:descriptionId": "experienceevent-contact-request-details##xdm:chatDeclined##description##79991"
},
"xdm:chatEnd": {
"title": "Chat End",
"type": "integer",
"description": "Captured when a chat is ended with a visitor.",
"meta:titleId": "experienceevent-contact-request-details##xdm:chatEnd##title##44681",
"meta:descriptionId": "experienceevent-contact-request-details##xdm:chatEnd##description##48591"
},
"xdm:chatOffered": {
"title": "Chat Offered",
"type": "integer",
"description": "Captures the number of times a chat session has been offered to a visitor.",
"meta:titleId": "experienceevent-contact-request-details##xdm:chatOffered##title##39721",
"meta:descriptionId": "experienceevent-contact-request-details##xdm:chatOffered##description##32941"
},
"xdm:chatSessionID": {
"title": "Chat Session ID",
"type": "string",
"description": "Captures the chat session identifier, if available.",
"meta:titleId": "experienceevent-contact-request-details##xdm:chatSessionID##title##72531",
"meta:descriptionId": "experienceevent-contact-request-details##xdm:chatSessionID##description##81701"
},
"xdm:chatStart": {
"title": "Chat Start",
"type": "integer",
"description": "Captured when a chat is initiated with a visitor.",
"meta:titleId": "experienceevent-contact-request-details##xdm:chatStart##title##63141",
"meta:descriptionId": "experienceevent-contact-request-details##xdm:chatStart##description##39681"
},
"xdm:clickToCall": {
"title": "Click to Call",
"type": "integer",
"description": "Visitor initiates a call to the client from a telephone number link on the site/app.",
"meta:titleId": "experienceevent-contact-request-details##xdm:clickToCall##title##67671",
"meta:descriptionId": "experienceevent-contact-request-details##xdm:clickToCall##description##99101"
},
"xdm:clickToDirectMessage": {
"title": "Click to Direct Message",
"type": "integer",
"description": "Visitor initiates a direct message or feedback to the client from a direct message form on the site/app.",
"meta:titleId": "experienceevent-contact-request-details##xdm:clickToDirectMessage##title##9371",
"meta:descriptionId": "experienceevent-contact-request-details##xdm:clickToDirectMessage##description##72201"
},
"xdm:clickToEmail": {
"title": "Click to Email",
"type": "integer",
"description": "Visitor initiates an email to the client from an email link on the site/app.",
"meta:titleId": "experienceevent-contact-request-details##xdm:clickToEmail##title##46161",
"meta:descriptionId": "experienceevent-contact-request-details##xdm:clickToEmail##description##81721"
},
"xdm:clickToText": {
"title": "Click to Text",
"type": "integer",
"description": "Visitor initiates a SMS/text message to the client from a SMS/text link on the site/app.",
"meta:titleId": "experienceevent-contact-request-details##xdm:clickToText##title##59921",
"meta:descriptionId": "experienceevent-contact-request-details##xdm:clickToText##description##67811"
},
"xdm:subject": {
"title": "Subject",
"type": "string",
"description": "Subject of contact requested by the visitor, such as in-store purchase support, online order support, credit customer service, etc.",
"meta:titleId": "experienceevent-contact-request-details##xdm:subject##title##51731",
"meta:descriptionId": "experienceevent-contact-request-details##xdm:subject##description##22031"
},
"xdm:callBackNumber": {
"title": "Call Back Contact Information",
"$ref": "https://ns.adobe.com/xdm/context/phonenumber",
"description": "The contact phone number the visitor uses for responses to contact requests.",
"meta:titleId": "experienceevent-contact-request-details##xdm:callBackNumber##title##80901",
"meta:descriptionId": "experienceevent-contact-request-details##xdm:callBackNumber##description##85201"
},
"xdm:replyToEmailAddress": {
"title": "Reply to Email Address",
"$ref": "https://ns.adobe.com/xdm/context/emailaddress",
"description": "The email address the visitor uses for responses to contact requests.",
"meta:titleId": "experienceevent-contact-request-details##xdm:replyToEmailAddress##title##50301",
"meta:descriptionId": "experienceevent-contact-request-details##xdm:replyToEmailAddress##description##26831"
}
},
"meta:descriptionId": "experienceevent-contact-request-details##xdm:customerFeedback##description##54581"
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/contact-request-details"
}
],
"meta:status": "stable",
"meta:createdDate": "2021-02-19",
"meta:titleId": "experienceevent-contact-request-details##title##23611",
"meta:descriptionId": "experienceevent-contact-request-details##description##60301",
"examples": [
{
"xdm:customerFeedback": {
"xdm:chatDeclined": 1,
"xdm:chatEnd": 1,
"xdm:chatOffered": 1,
"xdm:chatSessionID": "C0192910",
"xdm:chatStart": 1,
"xdm:clickToCall": 1,
"xdm:clickToDirectMessage": 1,
"xdm:clickToEmail": 1,
"xdm:clickToText": 1,
"xdm:subject": "Service Request",
"xdm:callBackNumber": {
"xdm:primary": true,
"xdm:number": "1-408-888-8888",
"xdm:status": "active"
},
"xdm:replyToEmailAddress": {
"xdm:primary": false,
"xdm:address": "[email protected]",
"xdm:label": "John Smith",
"xdm:type": "work",
"xdm:status": "active"
}
}
}
]
}