UNPKG

9.58 kBJSONView Raw
1{
2 "title": "Organization",
3 "@id": "schema:Organization",
4 "extends": "Thing",
5 "role": "secondary",
6 "status": "stable",
7 "category": "other",
8 "description": "An organization such as a school, NGO, corporation, club, etc.",
9 "$comment": "This is an implementation of schema.org [`Organization`](https://schema.org/Organization).\n\nAn `Organization` node is analogous, and structurally similar to:\n- Crossref Organization element [`<crossref:organization>`](https://data.crossref.org/reports/help/schema_doc/4.4.0/relations_xsd.html#http___www.crossref.org_relations.xsd_organization)\n- JATS XML [`<institution-wrap>`](https://jats.nlm.nih.gov/archiving/tag-library/1.1/element/institution-wrap.html)\n- Open Document [`<text:organizations>`](http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1419060_253892949) and [`<text:institutions>`](http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1418948_253892949)\n",
10 "properties": {
11 "type": {
12 "@id": "schema:type",
13 "description": "The name of the type.",
14 "type": "string",
15 "enum": [
16 "Organization"
17 ],
18 "default": "Organization",
19 "from": "Entity"
20 },
21 "id": {
22 "@id": "schema:id",
23 "description": "The identifier for this item.",
24 "type": "string",
25 "from": "Entity"
26 },
27 "meta": {
28 "@id": "stencila:meta",
29 "description": "Metadata associated with this item.",
30 "type": "object",
31 "from": "Entity"
32 },
33 "alternateNames": {
34 "@id": "schema:alternateName",
35 "description": "Alternate names (aliases) for the item.",
36 "type": "array",
37 "items": {
38 "type": "string"
39 },
40 "from": "Thing",
41 "isArray": true,
42 "isPlural": true,
43 "aliases": [
44 "alternateName"
45 ]
46 },
47 "description": {
48 "@id": "schema:description",
49 "description": "A description of the item.",
50 "$comment": "Allows for the description to be an array of nodes (e.g. an array of inline content,\nor a couple of paragraphs), or a string. The `minItems` restriction avoids a string\nbeing coerced into an array with a single string item.\n",
51 "anyOf": [
52 {
53 "type": "array",
54 "items": {
55 "$ref": "BlockContent.schema.json"
56 }
57 },
58 {
59 "type": "array",
60 "items": {
61 "$ref": "InlineContent.schema.json"
62 },
63 "minItems": 2
64 },
65 {
66 "type": "string"
67 }
68 ],
69 "from": "Thing"
70 },
71 "identifiers": {
72 "@id": "schema:identifier",
73 "description": "Any kind of identifier for any kind of Thing.",
74 "$comment": "Some identifiers have specific properties e.g the `issn` property for\nthe `Periodical` type. These should be used in preference to this\nproperty which is intended for identifiers that do not yet have a\nspecific property. Identifiers can be represented as strings, but\nusing a `PropertyValue` will usually be better because it allows\nfor `propertyID` (i.e. the type of identifier).\n",
75 "type": "array",
76 "items": {
77 "anyOf": [
78 {
79 "$ref": "PropertyValue.schema.json"
80 },
81 {
82 "type": "string"
83 }
84 ]
85 },
86 "from": "Thing",
87 "isArray": true,
88 "isPlural": true,
89 "aliases": [
90 "identifier"
91 ]
92 },
93 "images": {
94 "@id": "schema:image",
95 "description": "Images of the item.",
96 "type": "array",
97 "items": {
98 "anyOf": [
99 {
100 "$ref": "ImageObject.schema.json"
101 },
102 {
103 "type": "string",
104 "format": "uri"
105 }
106 ]
107 },
108 "from": "Thing",
109 "isArray": true,
110 "isPlural": true,
111 "aliases": [
112 "image"
113 ]
114 },
115 "name": {
116 "@id": "schema:name",
117 "description": "The name of the item.",
118 "type": "string",
119 "from": "Thing"
120 },
121 "url": {
122 "@id": "schema:url",
123 "description": "The URL of the item.",
124 "type": "string",
125 "format": "uri",
126 "from": "Thing"
127 },
128 "address": {
129 "@id": "schema:address",
130 "description": "Postal address for the organization.\n",
131 "anyOf": [
132 {
133 "$ref": "PostalAddress.schema.json"
134 },
135 {
136 "type": "string"
137 }
138 ],
139 "from": "Organization"
140 },
141 "brands": {
142 "@id": "schema:brand",
143 "description": "Brands that the organization is connected with.\n",
144 "type": "array",
145 "items": {
146 "$ref": "Brand.schema.json"
147 },
148 "from": "Organization",
149 "isArray": true,
150 "isPlural": true,
151 "aliases": [
152 "brand"
153 ]
154 },
155 "contactPoints": {
156 "@id": "schema:contactPoint",
157 "description": "Correspondence/Contact points for the organization.\n",
158 "type": "array",
159 "items": {
160 "$ref": "ContactPoint.schema.json"
161 },
162 "from": "Organization",
163 "isArray": true,
164 "isPlural": true,
165 "aliases": [
166 "contactPoint"
167 ]
168 },
169 "departments": {
170 "@id": "schema:department",
171 "description": "Departments within the organization. For example, Department of Computer Science, Research & Development etc.\n",
172 "type": "array",
173 "items": {
174 "$ref": "Organization.schema.json"
175 },
176 "from": "Organization",
177 "isArray": true,
178 "isPlural": true,
179 "aliases": [
180 "department"
181 ]
182 },
183 "funders": {
184 "@id": "schema:funder",
185 "description": "Organization(s) or person(s) funding the organization.\n",
186 "type": "array",
187 "items": {
188 "anyOf": [
189 {
190 "$ref": "Organization.schema.json"
191 },
192 {
193 "$ref": "Person.schema.json"
194 }
195 ]
196 },
197 "from": "Organization",
198 "isArray": true,
199 "isPlural": true,
200 "aliases": [
201 "funder"
202 ]
203 },
204 "legalName": {
205 "@id": "schema:legalName",
206 "description": "Legal name for the Organization. Should only include letters and spaces.\n",
207 "type": "string",
208 "pattern": "[a-zA-Z]",
209 "from": "Organization"
210 },
211 "logo": {
212 "@id": "schema:logo",
213 "description": "The logo of the organization.",
214 "$comment": "This is a singleton property because, at any one time, an organization\nwill usually only have one logo.\n",
215 "anyOf": [
216 {
217 "$ref": "ImageObject.schema.json"
218 },
219 {
220 "type": "string",
221 "format": "uri"
222 }
223 ],
224 "from": "Organization"
225 },
226 "members": {
227 "@id": "schema:member",
228 "description": "Person(s) or organization(s) who are members of this organization.\n",
229 "type": "array",
230 "items": {
231 "anyOf": [
232 {
233 "$ref": "Organization.schema.json"
234 },
235 {
236 "$ref": "Person.schema.json"
237 }
238 ]
239 },
240 "from": "Organization",
241 "isArray": true,
242 "isPlural": true,
243 "aliases": [
244 "member"
245 ]
246 },
247 "parentOrganization": {
248 "@id": "schema:parentOrganization",
249 "description": "Entity that the Organization is a part of. For example, parentOrganization to a department is a university.\n",
250 "allOf": [
251 {
252 "$ref": "Organization.schema.json"
253 }
254 ],
255 "from": "Organization"
256 }
257 },
258 "examples": [
259 {
260 "type": "Organization",
261 "address": "Sciences Building, Dunedin, New Zealand",
262 "legalName": "Department of Natural Sciences",
263 "parentOrganization": {
264 "type": "Organization",
265 "legalName": "The University of Otago"
266 }
267 },
268 {
269 "type": "Organization",
270 "address": "362 Leith Street, Dunedin 9054, New Zealand",
271 "brands": [
272 {
273 "type": "Brand",
274 "logo": "http://www.otago.ac.nz/logo"
275 }
276 ],
277 "contactPoints": [
278 {
279 "type": "ContactPoint",
280 "availableLanguages": [
281 "English",
282 "Māori"
283 ],
284 "emails": [
285 "office@otago.ac.nz"
286 ],
287 "telephone": "00641234567"
288 }
289 ],
290 "departments": [
291 {
292 "type": "Organization",
293 "legalName": "Commerce"
294 },
295 {
296 "type": "Organization",
297 "legalName": "Health_Sciences"
298 },
299 {
300 "type": "Organization",
301 "legalName": "Humanities"
302 }
303 ],
304 "funders": [
305 {
306 "type": "Organization",
307 "legalName": "MBIE"
308 },
309 {
310 "type": "Organization",
311 "legalName": "CancerSociety"
312 }
313 ],
314 "legalName": "The University of Otago"
315 }
316 ],
317 "file": "Organization.schema.yaml",
318 "children": [],
319 "descendants": [],
320 "$schema": "http://json-schema.org/draft-07/schema#",
321 "$id": "https://schema.stenci.la/v1/Organization.schema.json",
322 "source": "https://github.com/stencila/schema/blob/master/schema/Organization.schema.yaml",
323 "type": "object",
324 "propertyAliases": {
325 "alternateName": "alternateNames",
326 "identifier": "identifiers",
327 "image": "images",
328 "brand": "brands",
329 "contactPoint": "contactPoints",
330 "department": "departments",
331 "funder": "funders",
332 "member": "members"
333 },
334 "additionalProperties": false,
335 "required": [
336 "type"
337 ]
338}