File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ $graph:
65
65
_type : " @vocab"
66
66
doc : Must be `File` to indicate this object describes a file.
67
67
- name : location
68
- type : [string, Expression]
68
+ type : ["null", string, Expression]
69
69
doc : |
70
70
A URI that identifies the file resource. This may be a relative
71
71
reference, in which case it must be resolved using the base URI of the
@@ -256,6 +256,23 @@ $graph:
256
256
jsonldPredicate :
257
257
_id : " cwl:path"
258
258
_type : " @id"
259
+ - name : basename
260
+ type : [string, Expression]
261
+ doc : |
262
+ The base name of the directory, that is, the name of the file without any
263
+ leading directory path. The base name must not contain a slash `/`.
264
+
265
+ If not provided, the implementation must set this field based on the
266
+ `location` field by taking the final path component after parsing
267
+ `location` as an IRI. If `basename` is provided, it is not required to
268
+ match the value from `location`.
269
+
270
+ When this file is made available to a CommandLineTool, it must be named
271
+ with `basename`, i.e. the final component of the `path` field must match
272
+ `basename`.
273
+
274
+ Must be evaluated as an expression only when appearing in InitialWorkDirRequirement.
275
+
259
276
- name : listing
260
277
type :
261
278
- " null"
You can’t perform that action at this time.
0 commit comments