-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJsonSchema_OEBSubmission
87 lines (86 loc) · 2.82 KB
/
JsonSchema_OEBSubmission
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
{
"id": "https://github.com/inab/submission-form-json-schemas",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Schema that defines the set of fields to be filled for a submission to OpenEBench database",
"type": "object",
"properties": {
"consolidated_oeb_data": {
"title": "Consolidated dataset path",
"description": "Path to the consolidated dataset, coming from an OpenEBench standardized benchmarking workflow (e.g.https://github.com/inab/TCGA_benchmarking_workflow",
"type": "string",
"readonly": true
},
"visibility": {
"title": "Datasets visibility",
"description": "The desired visibility of the submitted datasets, which must be acknowledged by the APIs",
"type": "string",
"enum": ["public", "community", "challenge", "participant"]
},
"type": {
"title": "Dataset type",
"description": "Type of dataset to be submitted. See official benchmarking data model for more info",
"type": "string",
"mingLength": 1,
"enum": ["public_reference", "metrics_reference", "input", "participant", "workflow_results"]
},
"benchmarking_event_id": {
"title": "Benchmarking event",
"description": "The unique id of the benchmarking event the dataset belongs to, as is returned by the API",
"type": "string",
"pattern": "^OEBE[0-9]{3}[A-Z0-9]{7}$"
},
"participant_file": {
"title": "Participant file associated",
"description": "Path to the participant file associated with the consolidated results",
"type": "string"
},
"community_id": {
"title": "OEB community",
"description": "The unique id of the community where the data should be uploaded. Should come from VRE workflow",
"type": "string",
"pattern": "^OEBC[0-9]{3}$"
},
"tool_id": {
"title": "Participant Tool",
"description": "The id of the tool used to generate the dataset. Should be selected by uploader, using API",
"type": "string",
"pattern": "^OEBT[0-9]{3}[A-Z0-9]{7}$"
},
"data_version": {
"title": "Version",
"description": "Version (or release date) of the dataset",
"minLength": 1,
"type": "string"
},
"workflow_oeb_id": {
"title": "OEB Workflow",
"description": "The id of the workflow (as a tool) used to compute the assessment metrics. Should be associated to VRE tool",
"type": "string",
"pattern": "^OEBT[0-9]{3}[A-Z0-9]{7}$"
},
"data_contacts": {
"title": "Contacts",
"description": "Emails of the dataset contact(s). Should be registered in Mongo and OIDC",
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string"
}
}
},
"required": [
"consolidated_oeb_data",
"visibility",
"type",
"benchmarking_event_id",
"participant_file",
"community_id",
"tool_id",
"data_version",
"workflow_oeb_id",
"data_contacts"
],
"additionalProperties": false,
"show_errors": "interaction"
}