Repository navigation
Expand file tree
/
Copy pathUiAnnotations.schema.json
More file actions
59 lines (59 loc) · 1.96 KB
/
Copy pathUiAnnotations.schema.json
File metadata and controls
59 lines (59 loc) · 1.96 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
{
"$schema": "https://oo-ld.org/latest/meta/oold-meta-schema.json",
"$id": "UiAnnotations.schema.json",
"@context": [
{
"@version": 1.1,
"schema": "http://schema.org/",
"name": "schema:name",
"role": "schema:jobTitle",
"homepage": { "@id": "schema:url", "@type": "@id" },
"notes": "schema:comment",
"internal_id": "schema:identifier"
}
],
"x-oold-uuid": "b1e7a0c2-2d4f-4a1e-9c3a-7f0e5d2b6a11",
"title": "Researcher",
"x-oold-multilang-title": { "en": "Researcher", "de": "Forschende Person" },
"x-oold-sssom": { "schema:Person": { "predicate_id": "skos:exactMatch" } },
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "Name",
"x-oold-ui-default-property": true,
"x-oold-ui-property-order": 1,
"x-oold-ui-property-group": "General",
"x-oold-ui-hint": "Full name",
"x-oold-multilang-ui-hint": { "en": "Full name", "de": "Vollständiger Name" }
},
"role": {
"type": "string",
"title": "Role",
"enum": ["pi", "postdoc", "phd"],
"x-enum-varnames": ["PrincipalInvestigator", "PostDoc", "PhDStudent"],
"x-enum-descriptions": ["Leads the project", "Holds a doctorate", "Doctoral candidate"],
"x-oold-ui-enum-titles": ["Principal investigator", "Postdoc", "PhD student"],
"x-oold-multilang-ui-enum-titles": { "en": ["Principal investigator", "Postdoc", "PhD student"], "de": ["Projektleitung", "Postdoc", "Doktorand"] },
"x-oold-ui-property-order": 2,
"x-oold-ui-property-group": "General"
},
"homepage": {
"type": "string",
"title": "Homepage",
"format": "uri",
"x-oold-ui-property-group": "Contact"
},
"notes": {
"type": "string",
"title": "Notes",
"x-oold-ui-widget": "markdown",
"x-oold-ui-property-group": "Contact"
},
"internal_id": {
"type": "string",
"title": "Internal id",
"x-oold-ui-form-hidden": true
}
}
}