forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaccount-details.schema.json
More file actions
181 lines (181 loc) · 10.2 KB
/
account-details.schema.json
File metadata and controls
181 lines (181 loc) · 10.2 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
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
178
179
180
181
{
"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/account-details",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "XDM Business Account Details",
"type": "object",
"meta:tags": {
"b2bSchema": true
},
"meta:extensible": true,
"meta:abstract": true,
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/account"
],
"description": "Collects all details related to a customer's user account including contact details and account preferences.",
"meta:sensitive-data": true,
"definitions": {
"account-details": {
"properties": {
"xdm:accountName": {
"title": "Account Name",
"description": "name of company. Up to 255 characters are allowed in this field.",
"type": "string",
"meta:titleId": "account-details##xdm:accountName##title##76801",
"meta:descriptionId": "account-details##xdm:accountName##description##95101"
},
"xdm:accountTerritoryID": {
"title": "Account Territory Id",
"description": "The territory to which the account has been assigned.",
"type": "string",
"meta:titleId": "account-details##xdm:accountTerritoryID##title##41191",
"meta:descriptionId": "account-details##xdm:accountTerritoryID##description##93821"
},
"xdm:accountScore": {
"title": "Account Score",
"type": "number",
"meta:titleId": "account-details##xdm:accountScore##title##13421"
},
"xdm:accountBillingAddress": {
"title": "Account Billing Address",
"$ref": "https://ns.adobe.com/xdm/common/address",
"meta:titleId": "account-details##xdm:accountBillingAddress##title##39071"
},
"xdm:accountShippingAddress": {
"title": "Account Shipping Address",
"$ref": "https://ns.adobe.com/xdm/common/address",
"meta:titleId": "account-details##xdm:accountShippingAddress##title##77991"
},
"xdm:accountPhysicalAddress": {
"title": "Account Physical Address",
"description": "Actual physical address of the account. Could be the HQ address or any preffered business address for communication.",
"$ref": "https://ns.adobe.com/xdm/common/address",
"meta:titleId": "account-details##xdm:accountPhysicalAddress##title##97131",
"meta:descriptionId": "account-details##xdm:accountPhysicalAddress##description##65881"
},
"xdm:accountOrganization": {
"title": "Account Organization",
"$ref": "https://ns.adobe.com/xdm/datatypes/b2b-account-organization",
"meta:titleId": "account-details##xdm:accountOrganization##title##36981"
},
"xdm:accountParentID": {
"title": "Parent Account",
"description": "Parent company for companies that are subsidiaries of a larger company or organization. The parent account must be an existing account in salesforce. You can enter the account name, or select (or optionally, create) the account using the lookup icon.",
"type": "string",
"meta:titleId": "account-details##xdm:accountParentID##title##80371",
"meta:descriptionId": "account-details##xdm:accountParentID##description##84671"
},
"xdm:accountParentKey": {
"title": "Parent Account Key",
"description": "Unique identifier of the Parent Account of the account, used to show hierarchies or subsidiaries.",
"$ref": "https://ns.adobe.com/xdm/datatypes/b2b-source",
"meta:titleId": "account-details##xdm:accountParentKey##title##4871",
"meta:descriptionId": "account-details##xdm:accountParentKey##description##56171"
},
"xdm:partnerAccountID": {
"title": "Partner Account Id",
"description": "Partner accounts are accounts that a channel manager uses to manage partner organizations, partner users, and activities when using a partner community or partner portal.",
"meta:sensitive-data": true,
"type": "string",
"meta:titleId": "account-details##xdm:partnerAccountID##title##2721",
"meta:descriptionId": "account-details##xdm:partnerAccountID##description##96561"
},
"xdm:accountNumber": {
"title": "Account Number",
"description": "Tracking or reference number for account. Up to 40 characters are allowed in this field.",
"type": "string",
"meta:titleId": "account-details##xdm:accountNumber##title##5331",
"meta:descriptionId": "account-details##xdm:accountNumber##description##70351"
},
"xdm:accountDescription": {
"title": "Account Description",
"description": "Text description of the account.",
"meta:sensitive-data": true,
"type": "string",
"meta:titleId": "account-details##xdm:accountDescription##title##74151",
"meta:descriptionId": "account-details##xdm:accountDescription##description##3761"
},
"xdm:accountSite": {
"title": "Account Site Details",
"description": "Information about the account’s location, such as single location, headquarters, or branch. Up to 80 characters are allowed in this field.",
"type": "string",
"meta:titleId": "account-details##xdm:accountSite##title##57791",
"meta:descriptionId": "account-details##xdm:accountSite##description##13291"
},
"xdm:accountType": {
"title": "Account Type",
"description": "Account Type.",
"meta:sensitive-data": true,
"type": "string",
"meta:titleId": "account-details##xdm:accountType##title##60831",
"meta:descriptionId": "account-details##xdm:accountType##description##2451"
},
"xdm:accountSourceType": {
"title": "Account Source Type",
"description": "Source type for the account.",
"type": "string",
"meta:titleId": "account-details##xdm:accountSourceType##title##89431",
"meta:descriptionId": "account-details##xdm:accountSourceType##description##48341"
},
"xdm:defaultCurrencyCode": {
"title": "Default Currency Code",
"type": "string",
"examples": [
"USD",
"EUR"
],
"pattern": "^[A-Z]{3}$",
"description": "The ISO 4217 currency code.",
"meta:sensitive-data": true,
"meta:titleId": "account-details##xdm:defaultCurrencyCode##title##40311",
"meta:descriptionId": "account-details##xdm:defaultCurrencyCode##description##24611"
},
"xdm:accountOwnership": {
"title": "Ownership",
"description": "Ownership of company, for example, public or private. Entry is selected from a picklist of available values, which a salesforce admin sets. Each picklist value can have up to 40 characters.",
"type": "string",
"meta:titleId": "account-details##xdm:accountOwnership##title##34951",
"meta:descriptionId": "account-details##xdm:accountOwnership##description##34291"
},
"xdm:accountTradeStyle": {
"title": "Account Trade Style",
"description": "A name, different from its legal name, that an organization may use for conducting business. Similar to (Doing business as) or (DBA).",
"type": "string",
"meta:titleId": "account-details##xdm:accountTradeStyle##title##84551",
"meta:descriptionId": "account-details##xdm:accountTradeStyle##description##15121"
},
"xdm:accountPhone": {
"title": "Account Phone Number",
"description": "Phone number for the account.",
"$ref": "https://ns.adobe.com/xdm/context/phonenumber",
"meta:titleId": "account-details##xdm:accountPhone##title##83391",
"meta:descriptionId": "account-details##xdm:accountPhone##description##44571"
},
"xdm:accountFax": {
"title": "Account Fax Number",
"description": "Fax number for the account.",
"$ref": "https://ns.adobe.com/xdm/context/phonenumber",
"meta:titleId": "account-details##xdm:accountFax##title##15291",
"meta:descriptionId": "account-details##xdm:accountFax##description##43381"
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/account-details"
}
],
"meta:status": "stable",
"meta:createdDate": "2020-08-27",
"meta:titleId": "account-details##title##16521",
"meta:descriptionId": "account-details##description##72981",
"examples": [
{}
]
}