-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathworkflow.schema.json
More file actions
111 lines (111 loc) · 2.64 KB
/
workflow.schema.json
File metadata and controls
111 lines (111 loc) · 2.64 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
108
109
110
111
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Workflow",
"type": "object",
"properties": {
"schemaVersion": {
"type": "string",
"default": "0.0.1"
},
"tasks": {
"type": "array",
"items": {
"$ref": "#/definitions/Task"
},
"description": "Worfklow tasks."
},
"name": {
"type": "string",
"description": "The name of the workflow."
},
"parameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Optional parameters for the workflow."
},
"schedule": {
"type": "string",
"description": "Optional schedule in cron format."
},
"timezone": {
"type": "string",
"description": "Timezone for the schedule."
}
},
"required": [
"tasks",
"name"
],
"definitions": {
"Task": {
"type": "object",
"properties": {
"input_uri": {
"type": "string",
"description": "The URI of the input file."
},
"runtime_environment_name": {
"type": "string",
"description": "Name of the runtime environment."
},
"runtime_environment_parameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Parameters for the runtime environment."
},
"output_formats": {
"type": "array",
"items": {
"type": "string"
}
},
"parameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Task-specific parameters."
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tags for categorizing the job."
},
"name": {
"type": "string",
"description": "Name of the job."
},
"compute_type": {
"type": "string",
"description": "Type of compute resource to use."
},
"package_input_folder": {
"type": "boolean",
"description": "Whether to package the input folder."
},
"depends_on": {
"type": "array",
"items": {
"type": "string"
},
"description": "DAG node IDs of tasks this task depends on."
},
"node_id": {
"type": "string",
"description": "DAG node ID of this task."
}
},
"required": [
"input_uri",
"name",
"node_id"
]
}
}
}