forked from adobe/xdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
organization.schema.json
127 lines (127 loc) · 4.92 KB
/
organization.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
{
"meta:license": [
"Copyright 2017 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/organization",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Organization",
"type": "object",
"description": "",
"definitions": {
"organization": {
"properties": {
"@id": {
"title": "Organization ID",
"type": "string",
"format": "uri",
"description": "A unique identifier for the organization."
},
"xdm:legalName": {
"title": "Organization Name",
"type": "string",
"description": "The official name of the organization."
},
"schema:description": {
"title": "Organization Description",
"type": "string",
"description": "A description of the organization."
},
"schema:numberOfEmployees": {
"title": "Number of Employees",
"type": "number",
"description": "The number of employees the organization has."
},
"xdm:industry": {
"title": "Industry",
"type": "string",
"description":
"The the industry that this organization is a part of. This is a free-form field, and it is advisable to use a structured value for queries or to use the `xdm:classifier` property."
},
"xdm:website": {
"title": "Web Site",
"type": "string",
"format": "uri",
"description": "The URL of the organization's website."
},
"xdm:marketSegment": {
"title": "Market Segment",
"type": "string",
"description":
"The named market segment that the organization participates in. This is a free-form field, and it is advisable to use a structured value for queries or to use the `xdm:identifier` property."
},
"xdm:location": {
"title": "Location",
"$ref": "https://ns.adobe.com/xdm/context/place",
"description": "The location of the organization's main office."
},
"xdm:rating": {
"title": "Rating",
"type": "number",
"minimum": 0,
"maximum": 1,
"description":
"The calculated score or star rating for this organization. `1` indicates the maximum possible rating, `0` the minumum possible rating."
},
"xdm:identifier": {
"title": "Organization Identifier",
"type": "object",
"meta:keys": {
"https://ns.adobe.com/xdm/external/dnb": "Dun & Bradstreet",
"https://ns.adobe.com/xdm/external/angellist": "Angellist"
},
"patternProperties": {
".+://.+": {
"type": "string",
"description": "ID of the organization according to the service."
}
},
"examples": [
{
"https://ns.adobe.com/xdm/external/dnb": "1234",
"https://ns.adobe.com/xdm/external/angellist":
"https://angel.co/adobe"
}
],
"description":
"This object contains unambiguous identifiers for the organization. Each key is the URI of an identification service, each value is the unique ID (or preferrably URI) of the organization as defined by the identification service."
},
"xdm:classifier": {
"title": "Market/Industry Classifier",
"type": "object",
"meta:keys": {
"https://ns.adobe.com/xdm/external/isic4":
"International Standard of Industrial Classification of All Economic Activities (ISIC)",
"https://ns.adobe.com/xdm/external/sic":
"Standard Industrial Classification",
"https://ns.adobe.com/xdm/external/naics":
"North American Industry Classification System"
},
"patternProperties": {
".+://.+": {
"type": "string",
"description":
"ID of the market or industry according to the service."
}
},
"examples": [
{
"https://ns.adobe.com/xdm/external/sic": "1234",
"https://ns.adobe.com/xdm/external/naics": "1234"
}
],
"description":
"This object contains unambiguous classifiers for the organization. Each key is the URI of an classification service or standard, each value is the unique ID (or preferrably URI) of the organization as defined by the classification service."
}
}
}
},
"allOf": [
{
"$ref": "#/definitions/organization"
}
],
"meta:status": "stabilizing"
}