File tree Expand file tree Collapse file tree 2 files changed +46
-3
lines changed Expand file tree Collapse file tree 2 files changed +46
-3
lines changed Original file line number Diff line number Diff line change 12
12
_MINIMAL : Dict [str , Any ] = {
13
13
"kind" : "DataManagerWorkflow" ,
14
14
"kind-version" : "2024.1" ,
15
- "name" : "test-minimal" ,
15
+ "name" : "workflow-minimal" ,
16
+ "steps" : [
17
+ {
18
+ "name" : "step-1" ,
19
+ "specification" : "{}" ,
20
+ }
21
+ ],
16
22
}
17
23
18
24
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ title: Data Manager Workflow Schema
9
9
description : >-
10
10
The Schema for Data Manager Workflows
11
11
12
+ # The root-level object -------------------------------------------------------
13
+
12
14
type : object
13
15
properties :
14
16
kind :
@@ -17,12 +19,47 @@ properties:
17
19
enum :
18
20
- ' 2024.1'
19
21
name :
20
- type : string
21
- description : The name of the workflow
22
+ $ref : ' #/definitions/rfc1035-label-name'
22
23
description :
23
24
type : string
24
25
description : A description of the workflow
26
+ author :
27
+ type : string
28
+ description : The author of the workflow
29
+ last-editor :
30
+ type : string
31
+ description : The last person to modify the workflow
32
+ steps :
33
+ type : array
34
+ items :
35
+ $ref : " #/definitions/step"
25
36
required :
26
37
- kind
27
38
- kind-version
28
39
- name
40
+ - steps
41
+
42
+ # Sub-object definitions ------------------------------------------------------
43
+
44
+ definitions :
45
+
46
+ # RFC 1035 Label Names (as used in Kubernetes)
47
+ # See https://kubernetes.io/docs/concepts/overview/working-with-objects/names/
48
+ rfc1035-label-name :
49
+ type : string
50
+ pattern : ^[a-z][a-z0-9-]{,63}(?<!-)$
51
+
52
+ step :
53
+ type : object
54
+ properties :
55
+ name :
56
+ $ref : ' #/definitions/rfc1035-label-name'
57
+ description :
58
+ type : string
59
+ description : A description of the step
60
+ specification :
61
+ type : string
62
+ description : The Data Manager Job Specification, a JSON string
63
+ required :
64
+ - name
65
+ - specification
You can’t perform that action at this time.
0 commit comments