-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathschema.json
More file actions
107 lines (107 loc) · 2.73 KB
/
schema.json
File metadata and controls
107 lines (107 loc) · 2.73 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
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": ["creators", "access_right"],
"properties": {
"title": { "type": "string" },
"description": { "type": "string" },
"version": { "type": "string" },
"language": { "type": "string" },
"license": {
"oneOf": [
{ "type": "string" },
{
"type": "object",
"additionalProperties": false,
"required": ["id"],
"properties": {
"id": { "type": "string" }
}
}
]
},
"upload_type": {
"type": "string",
"enum": ["publication", "poster", "presentation", "dataset", "image", "video", "software", "lesson", "other"]
},
"publication_type": { "type": "string" },
"access_right": {
"type": "string",
"enum": ["open", "embargoed", "restricted", "closed"]
},
"creators": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["name"],
"properties": {
"name": { "type": "string" },
"affiliation": { "type": "string" },
"orcid": { "type": "string" },
"type": { "type": "string" }
}
}
},
"contributors": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["name"],
"properties": {
"name": { "type": "string" },
"affiliation": { "type": "string" },
"orcid": { "type": "string" },
"type": { "type": "string" }
}
}
},
"keywords": {
"type": "array",
"items": { "type": "string" }
},
"references": {
"type": "array",
"items": { "type": "string" }
},
"related_identifiers": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["identifier", "relation"],
"properties": {
"identifier": { "type": "string" },
"relation": { "type": "string" },
"resource_type": { "type": "string" },
"scheme": { "type": "string" }
}
}
},
"grants": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": { "type": "string" }
}
}
},
"communities": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"identifier": { "type": "string" }
}
}
},
"doi": { "type": "string" },
"prereserve_doi": { "type": "boolean" },
"notes": { "type": "string" }
}
}