-
Notifications
You must be signed in to change notification settings - Fork 7
/
community.json
168 lines (167 loc) · 4.18 KB
/
community.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
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"id": "https://www.elixir-europe.org/excelerate/WP2/json-schemas/0.4/Community",
"$schema": "http://json-schema.org/draft-04/hyper-schema#",
"title": "Community concept (ELIXIR-EXCELERATE WP2 Benchmarking schemas)",
"type": "object",
"properties": {
"_id": {
"title": "The unique id of the community, according to the rules",
"type": "string",
"pattern": "^OEBC[0-9]{3}$"
},
"_schema": {
"title": "The JSON schema absolute URI. It must match the value of 'id' in the JSON schema",
"type": "string",
"format": "uri",
"enum": [ "https://www.elixir-europe.org/excelerate/WP2/json-schemas/0.4/Community" ]
},
"name": {
"title": "Short community name",
"minLength": 1,
"type": "string"
},
"acronym": {
"title": "Unique community acronym",
"minLength": 1,
"type": "string"
},
"status": {
"title": "_id(s) of the current community status(es)",
"type": "string",
"enum": [ "abandoned","active","unknown" ]
},
"description": {
"title": "Long community name or description",
"type": "string"
},
"keywords": {
"title": "A list of keywords defining the community. They can be either strings or URIs of ontology terms",
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minLength": 1
},
"links": {
"title": "Optional links related to the community",
"type": "array",
"minLength": 1,
"items": {
"type": "object",
"properties": {
"uri": {
"title": "The URI of the link related to the community",
"type": "string",
"format": "uri"
},
"label": {
"title": "The type of URI",
"type": "string",
"enum": ["PublicationDOI","LinkedInGroup","MainSite","DataSite"]
}
},
"additionalProperties": false,
"required": [
"uri",
"label"
]
}
},
"community_contacts": {
"title": "_id of the contacts of the responsible researchers in charge of the community coordination",
"type": "array",
"minLength": 1,
"items": {
"type": "string",
"foreign_keys": [
{
"schema_id": "Contact",
"members": [ "." ]
}
],
"minLength": 1
}
},
"metrics_categories": {
"title": "The metric(s) (defined as tools) which must be run over all the results provided by the participants",
"type": "array",
"minLength": 1,
"items": {
"title": "The metrics (and maybe the tool) for this challenge",
"type": "object",
"properties": {
"category_id": {
"title": "The local metrics category id, composed by 1 or more metrics",
"type": "string"
},
"description": {
"title": "The optional category description",
"type": "string"
},
"metrics": {
"title": "The list of metrics in this category",
"type": "array",
"minLength": 1,
"items": {
"type": "object",
"properties": {
"metrics_id": {
"title": "The metrics id",
"type": "string",
"foreign_keys": [
{
"schema_id": "Metrics",
"members": [ "." ]
}
]
},
"tool_id": {
"title": "The optional tool id which computes this metric(s)",
"type": "string",
"foreign_keys": [
{
"schema_id": "Tool",
"members": [ "." ]
}
]
}
},
"required": [ "metrics_id" ]
}
}
},
"required": [ "category_id", "metrics" ]
}
},
"reference_tools": {
"title": "The tools which are considered as reference/baseline on this community",
"type": "array",
"items": {
"type": "object",
"properties": {
"tool_id": {
"title": "The tool id",
"type": "string",
"foreign_keys": [
{
"schema_id": "Tool",
"members": [ "." ]
}
],
"minLength": 1
},
"description": {
"title": "An optional, brief description about why this tool is a baseline or reference in this community",
"type": "string"
}
},
"required": [ "tool_id" ]
}
}
},
"additionalProperties": true,
"required": ["_id","_schema","name","acronym","status","community_contacts"],
"primary_key": ["_id"],
"dependencies": {}
}