Skip to content

Commit e15d7b7

Browse files
authored
Schema fixes/clarifications that came up working on codegen (#196)
1 parent 6f15395 commit e15d7b7

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

Process.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,11 @@ $graph:
759759
extends: [Parameter, InputFormat, LoadContents]
760760
fields:
761761
- name: default
762-
type: Any?
762+
type:
763+
- "null"
764+
- File
765+
- Directory
766+
- Any
763767
jsonldPredicate:
764768
_id: sld:default
765769
noLinkCheck: true
@@ -852,7 +856,10 @@ $graph:
852856
error and the implementation must not attempt to run the process,
853857
unless overridden at user option.
854858
- name: hints
855-
type: Any[]?
859+
type:
860+
- "null"
861+
- type: array
862+
items: [ProcessRequirement, Any]
856863
doc: |
857864
Declares hints applying to either the runtime environment or the
858865
workflow engine that may be helpful in executing this process. It is

Workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,15 @@ $graph:
225225
fields:
226226
- name: outputSource
227227
doc: |
228-
Specifies one or more names of an output from a workflow step (in the form
228+
Specifies one or more names of an output from a workflow step (in the form
229229
`step_name/output_name` with a `/` separator`), or a workflow input name,
230230
that supply their value(s) to the output parameter.
231231
the output parameter. It is valid to reference workflow level inputs
232232
here.
233233
jsonldPredicate:
234234
"_id": "cwl:outputSource"
235235
"_type": "@id"
236-
refScope: 0
236+
refScope: 1
237237
type:
238238
- string?
239239
- string[]?

0 commit comments

Comments
 (0)