@@ -53,7 +53,7 @@ $graph:
53
53
54
54
- type : record
55
55
name : ExpressionTool
56
- extends : " # Process"
56
+ extends : Process
57
57
documentRoot : true
58
58
doc : |
59
59
Execute an expression as a process step.
@@ -64,7 +64,7 @@ $graph:
64
64
" _type " : " @vocab"
65
65
type : string
66
66
- name : expression
67
- type : [string, "# Expression" ]
67
+ type : [string, Expression]
68
68
doc : |
69
69
The expression to execute. The expression must return a JSON object which
70
70
matches the output parameters of the ExpressionTool.
@@ -80,12 +80,30 @@ $graph:
80
80
81
81
- name : WorkflowOutputParameter
82
82
type : record
83
- extends : ["# OutputParameter", "#Sink"]
83
+ extends : OutputParameter
84
84
docParent : " #Workflow"
85
85
doc : |
86
86
Describe an output parameter of a workflow. The parameter must be
87
87
connected to one or more parameters defined in the workflow that will
88
88
provide the value of the output parameter.
89
+ fields :
90
+ - name : outputSource
91
+ doc : |
92
+ Specifies one or more workflow parameters that supply the value of to
93
+ the output parameter.
94
+ jsonldPredicate :
95
+ " _id " : " cwl:outputSource"
96
+ " _type " : " @id"
97
+ refScope : 0
98
+ type :
99
+ - string?
100
+ - string[]?
101
+ - name : linkMerge
102
+ type : ["null", "#LinkMergeMethod"]
103
+ jsonldPredicate : " cwl:linkMerge"
104
+ doc : |
105
+ The method to use to merge multiple sources into a single array.
106
+ If not specified, the default method is "merge_nested".
89
107
90
108
91
109
- name : Sink
@@ -99,21 +117,21 @@ $graph:
99
117
jsonldPredicate :
100
118
" _id " : " cwl:source"
101
119
" _type " : " @id"
120
+ refScope : 2
102
121
type :
103
- - " null"
104
- - string
105
- - type : array
106
- items : string
122
+ - string?
123
+ - string[]?
107
124
- name : linkMerge
108
- type : ["null", "#LinkMergeMethod"]
125
+ type : LinkMergeMethod?
126
+ jsonldPredicate : " cwl:linkMerge"
109
127
doc : |
110
128
The method to use to merge multiple inbound links into a single array.
111
129
If not specified, the default method is "merge_nested".
112
130
113
131
114
132
- type : record
115
133
name : WorkflowStepInput
116
- extends : " # Sink"
134
+ extends : Sink
117
135
docParent : " #WorkflowStep"
118
136
doc : |
119
137
The input of a workflow step connects an upstream parameter (from the
@@ -278,9 +296,7 @@ $graph:
278
296
jsonldPredicate : " @id"
279
297
doc : " The unique identifier for this workflow step."
280
298
- name : in
281
- type :
282
- type : array
283
- items : " #WorkflowStepInput"
299
+ type : WorkflowStepInput[]
284
300
jsonldPredicate :
285
301
_id : " cwl:in"
286
302
mapSubject : id
@@ -294,7 +310,7 @@ $graph:
294
310
- name : out
295
311
type :
296
312
- type : array
297
- items : [string, "# WorkflowStepOutput" ]
313
+ items : [string, WorkflowStepOutput]
298
314
jsonldPredicate :
299
315
_id : " cwl:out"
300
316
_type : " @id"
@@ -303,10 +319,7 @@ $graph:
303
319
Defines the parameters representing the output of the process. May be
304
320
used to generate and/or validate the output object.
305
321
- name : requirements
306
- type :
307
- - " null"
308
- - type : array
309
- items : " #ProcessRequirement"
322
+ type : ProcessRequirement[]?
310
323
jsonldPredicate :
311
324
_id : " cwl:requirements"
312
325
mapSubject : class
@@ -318,10 +331,7 @@ $graph:
318
331
error and the implementation must not attempt to run the process,
319
332
unless overridden at user option.
320
333
- name : hints
321
- type :
322
- - " null"
323
- - type : array
324
- items : " Any"
334
+ type : Any[]?
325
335
jsonldPredicate :
326
336
_id : " cwl:hints"
327
337
noLinkCheck : true
@@ -332,40 +342,33 @@ $graph:
332
342
not an error if an implementation cannot satisfy all hints, however
333
343
the implementation may report a warning.
334
344
- name : label
335
- type :
336
- - " null"
337
- - string
345
+ type : string?
338
346
jsonldPredicate : " rdfs:label"
339
347
doc : " A short, human-readable label of this process object."
340
348
- name : description
341
- type :
342
- - " null"
343
- - string
349
+ type : string?
344
350
jsonldPredicate : " rdfs:comment"
345
351
doc : " A long, human-readable description of this process object."
346
352
- name : run
347
- type : [string, "# Process" ]
353
+ type : [string, Process]
348
354
jsonldPredicate :
349
355
" _id " : " cwl:run"
350
356
" _type " : " @id"
351
357
doc : |
352
358
Specifies the process to run.
353
359
- name : scatter
354
360
type :
355
- - " null"
356
- - string
357
- - type : array
358
- items : string
361
+ - string?
362
+ - string[]?
359
363
jsonldPredicate :
360
364
" _id " : " cwl:scatter"
361
365
" _type " : " @id"
362
366
" _container " : " @list"
367
+ refScope : 0
363
368
- name : scatterMethod
364
369
doc : |
365
370
Required if `scatter` is an array of more than one element.
366
- type :
367
- - " null"
368
- - " #ScatterMethod"
371
+ type : ScatterMethod?
369
372
jsonldPredicate :
370
373
" _id " : " cwl:scatterMethod"
371
374
" _type " : " @vocab"
@@ -445,28 +448,28 @@ $graph:
445
448
446
449
- type : record
447
450
name : SubworkflowFeatureRequirement
448
- extends : " # ProcessRequirement"
451
+ extends : ProcessRequirement
449
452
doc : |
450
453
Indicates that the workflow platform must support nested workflows in
451
454
the `run` field of (WorkflowStep)(#WorkflowStep).
452
455
453
456
- name : ScatterFeatureRequirement
454
457
type : record
455
- extends : " # ProcessRequirement"
458
+ extends : ProcessRequirement
456
459
doc : |
457
460
Indicates that the workflow platform must support the `scatter` and
458
461
`scatterMethod` fields of [WorkflowStep](#WorkflowStep).
459
462
460
463
- name : MultipleInputFeatureRequirement
461
464
type : record
462
- extends : " # ProcessRequirement"
465
+ extends : ProcessRequirement
463
466
doc : |
464
467
Indicates that the workflow platform must support multiple inbound data links
465
468
listed in the `source` field of [WorkflowStepInput](#WorkflowStepInput).
466
469
467
470
- type : record
468
471
name : StepInputExpressionRequirement
469
- extends : " # ProcessRequirement"
472
+ extends : ProcessRequirement
470
473
doc : |
471
474
Indicate that the workflow platform must support the `valueFrom` field
472
475
of [WorkflowStepInput](#WorkflowStepInput).
0 commit comments