forked from sapporo-wes/sapporo-service
/
executable_workflows.schema.json
66 lines (66 loc) · 1.83 KB
/
executable_workflows.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "The schema for the sapporo's executable workflows",
"type": "object",
"additionalProperties": false,
"required": ["trs_endpoint", "workflow"],
"properties": {
"trs_endpoint": {
"type": "array",
"additionalItems": false,
"description": "The endpoint of the TRS (e.g. https://ddbj.github.io/workflow-registry/)",
"items": {
"type": "string"
}
},
"workflow": {
"type": "array",
"additionalItems": false,
"description": "Executable workflows (Merged with TRS endpoint)",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"workflow_name",
"workflow_url",
"workflow_type",
"workflow_type_version",
"workflow_attachment"
],
"properties": {
"workflow_name": {
"type": "string"
},
"workflow_url": {
"type": "string"
},
"workflow_type": {
"type": "string",
"description": "e.g., CWL, WDL, SMK, NFL, etc. (see service.info.json)"
},
"workflow_type_version": {
"type": "string",
"description": "e.g., 1.0, 1.1, etc. (see service.info.json)"
},
"workflow_attachment": {
"type": "array",
"additionalItems": false,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["file_name", "file_url"],
"properties": {
"file_name": {
"type": "string"
},
"file_url": {
"type": "string"
}
}
}
}
}
}
}
}
}