-
Notifications
You must be signed in to change notification settings - Fork 0
/
workflow-submission.schema.json
45 lines (45 loc) · 1.35 KB
/
workflow-submission.schema.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/qbicsoftware/workflow-submission-schema/master/workflow-submission.schema.json",
"title": "Workflow Submission Request Schema",
"description": "Defines the necessary fields a workflow submission request JSON needs to provide.",
"type": "object",
"properties": {
"user": {
"description": "The user that requested the workflow submission",
"type": "string"
},
"data": {
"description": "A list of input files",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
},
"workflow": {
"description": "Github repo slug for a nf-core pipeline",
"type": "string"
},
"params": {
"description": "A Nextflow params object",
"type": "object"
},
"projectId": {
"description": "A project identifier",
"type": "string"
},
"resource": {
"description": "A HPC resource identifier",
"type": "string",
"enum": ["cfc", "binac"]
},
"submissionToken": {
"description": "A registered token that enables workflow submission for the requested HPC resource ",
"type": "string",
"pattern": "[A-Z0-9]{40}"
}
},
"required": [ "data", "workflow", "params", "resource", "submissionToken" ]
}