Debian Codegraph @

externals/OPTIMADE/schemas/src/defs/v1.2/properties/optimade/common/person.yaml

raw
1 $$schema: "https://schemas.optimade.org/meta/v1.2/optimade/property_definition"
2 $id: "https://schemas.optimade.org/defs/v1.2/properties/optimade/common/person"
3 title: "person"
4 x-optimade-type: "dictionary"
5 x-optimade-definition:
6 label: "person_optimade_common"
7 kind: "property"
8 version: "1.2.0"
9 format: "1.2"
10 name: "person"
11 type:
12 - "object"
13 - "null"
14 description: |-
15 A dictionary with name information about a person.
16
17 **Requirements/Conventions**:
18
19 - The dictionary MUST adhere to the following format:
20
21 - **name**: Full name of the person, REQUIRED.
22 - **firstname**, **lastname**: Parts of the person's name, OPTIONAL.
23 required: ["name"]
24 properties:
25 name:
26 x-optimade-type: "string"
27 x-optimade-unit: "inapplicable"
28 type:
29 - string
30 firstname:
31 x-optimade-type: "string"
32 x-optimade-unit: "inapplicable"
33 type:
34 - string
35 lastname:
36 x-optimade-type: "string"
37 x-optimade-unit: "inapplicable"
38 type:
39 - string
40 examples:
41 - {"name": "John Smith"}
42 - {"name": "Arthur Dent", "firstname": "Arthur", "lastname": "Dent"}
43 x-optimade-unit: "inapplicable"