forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile-directmarketing.schema.json
More file actions
91 lines (91 loc) · 4.03 KB
/
profile-directmarketing.schema.json
File metadata and controls
91 lines (91 loc) · 4.03 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
{
"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/profile-directmarketing",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Profile direct marketing",
"type": "object",
"meta:extensible": true,
"meta:abstract": true,
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/profile"
],
"description": "Use for direct marketing activities such as addresses, emails, and phone numbers.",
"definitions": {
"profile-directmarketing": {
"properties": {
"xdm:directMarketingAddress": {
"title": "Direct marketing address",
"$ref": "https://ns.adobe.com/xdm/context/directmarketing-address",
"description": "Direct marketing postal address.",
"meta:titleId": "profile-directmarketing##xdm:directMarketingAddress##title##80011",
"meta:descriptionId": "profile-directmarketing##xdm:directMarketingAddress##description##81761"
},
"xdm:directMarketingEmail": {
"title": "Direct marketing email",
"$ref": "https://ns.adobe.com/xdm/context/directmarketing-emailaddress",
"description": "Direct marketing email address.",
"meta:titleId": "profile-directmarketing##xdm:directMarketingEmail##title##5111",
"meta:descriptionId": "profile-directmarketing##xdm:directMarketingEmail##description##75171"
},
"xdm:directMarketingPhone": {
"title": "Direct marketing phone",
"$ref": "https://ns.adobe.com/xdm/context/directmarketing-phonenumber",
"description": "Direct marketing phone number.",
"meta:titleId": "profile-directmarketing##xdm:directMarketingPhone##title##53051",
"meta:descriptionId": "profile-directmarketing##xdm:directMarketingPhone##description##72381"
}
}
}
},
"allOf": [
{
"$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context"
},
{
"$ref": "#/definitions/profile-directmarketing"
}
],
"meta:status": "stable",
"meta:createdDate": "2020-08-10",
"meta:titleId": "profile-directmarketing##title##87841",
"meta:descriptionId": "profile-directmarketing##description##16031",
"examples": [
{
"xdm:directMarketingPhone": {
"xdm:primary": true,
"xdm:number": "1-408-888-8888",
"xdm:status": "active",
"xdm:errorCount": 0
},
"xdm:directMarketingAddress": {
"@id": "https://data.adobe.io/entities/address/123",
"xdm:primary": false,
"xdm:street1": "345 Park Ave",
"xdm:city": "San Jose",
"xdm:stateProvince": "US-CA",
"xdm:postalCode": "95110",
"xdm:country": "United States",
"xdm:countryCode": "US",
"schema:latitude": 37.3382,
"schema:longitude": 121.8863,
"xdm:status": "active",
"xdm:lastVerifiedDate": "2018-01-02",
"xdm:errorCount": 0,
"xdm:quality": "Fully-recognized street"
},
"xdm:directMarketingEmail": {
"xdm:primary": false,
"xdm:address": "jsmith@xyzinc.com",
"xdm:label": "John Smith",
"xdm:type": "work",
"xdm:status": "active",
"xdm:errorCount": 0
}
}
]
}