-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathperson.json
55 lines (55 loc) · 1.58 KB
/
person.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
{
"$id": "https://schemas.optimade.org/defs/v1.2/properties/optimade/common/person",
"$schema": "https://schemas.optimade.org/meta/v1.2/optimade/property_definition.json",
"title": "person",
"x-optimade-type": "dictionary",
"x-optimade-definition": {
"label": "person_optimade_common",
"kind": "property",
"version": "1.2.0",
"format": "1.2",
"name": "person"
},
"type": [
"object",
"null"
],
"description": "A dictionary with name information about a person.\n\n**Requirements/Conventions**:\n\n- The dictionary MUST adhere to the following format:\n\n - **name**: Full name of the person, REQUIRED.\n - **firstname**, **lastname**: Parts of the person's name, OPTIONAL.",
"required": [
"name"
],
"properties": {
"name": {
"x-optimade-type": "string",
"x-optimade-unit": "inapplicable",
"type": [
"string"
]
},
"firstname": {
"x-optimade-type": "string",
"x-optimade-unit": "inapplicable",
"type": [
"string"
]
},
"lastname": {
"x-optimade-type": "string",
"x-optimade-unit": "inapplicable",
"type": [
"string"
]
}
},
"examples": [
{
"name": "John Smith"
},
{
"name": "Arthur Dent",
"firstname": "Arthur",
"lastname": "Dent"
}
],
"x-optimade-unit": "inapplicable"
}