forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact-lead.schema.json
More file actions
98 lines (98 loc) · 4.1 KB
/
contact-lead.schema.json
File metadata and controls
98 lines (98 loc) · 4.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
{
"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/common/contact-lead",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "XDM Contact and Lead common B2B attributes",
"type": "object",
"description": "Common B2B attributes for contacts and leads.",
"definitions": {
"contact-lead": {
"properties": {
"xdm:type": {
"title": "Contact/Lead Type",
"description": "Type of the contact/lead.",
"type": "string"
},
"xdm:sourceType": {
"title": "Source Type",
"description": "Type of Source system. It could be CRM or a in house system.",
"type": "string"
},
"xdm:description": {
"title": "Contact/Lead Description",
"description": "Detailed description of Contact/Lead.",
"type": "string"
},
"xdm:isDeleted": {
"title": "Deleted Indicator",
"description": "Indicator whether the instance was deleted.",
"type": "boolean"
},
"xdm:ownerID": {
"title": "Owner ID",
"description": "The unique identofier for the Owner of the contact/lead record.",
"type": "string"
},
"xdm:isEmailBounced": {
"title": "Email Bounced Indicator",
"description": "If bounce management is activated and an email is sent to a contact/lead, indicates whether the email bounced (true) or not (false).",
"type": "boolean"
},
"xdm:emailBouncedDate": {
"title": "Email Bounced Date",
"description": "If bounce management is activated and an email is sent to a contact/lead, provides the date when the email was bounced.",
"type": "string",
"format": "date-time"
},
"xdm:emailBouncedReason": {
"title": "Email Bounced Reason",
"description": "If bounce management is activated and an email is sent to a contact/lead, provides the reason for bounced email.",
"type": "string"
},
"xdm:status": {
"title": "Lead/Contact Status",
"description": "Field recording the current marketing/sales status of the lead/contact.",
"type": "string"
},
"xdm:timezone": {
"title": "Timezone",
"description": "Timezone of the contact's/lead's location.",
"type": "string"
},
"xdm:jigsaw": {
"title": "Jigsaw",
"description": "Data.com key",
"type": "string"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/contact-lead"
}
],
"meta:status": "experimental",
"examples": [
{
"xdm:type": "",
"xdm:ownerID": "",
"xdm:isDeleted": false,
"xdm:emailBouncedDate": "2018-12-20T15:52:25+00:00",
"xdm:emailBouncedReason": "Bounced Reason Here",
"xdm:isEmailBounced": true,
"xdm:description": "Contact/Lead description here",
"xdm:status": "Status",
"xdm:timezone": "",
"xdm:jigsaw": "12345"
}
]
}