@@ -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 : ["null", string, Expression]
68
+ type : string?
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
@@ -82,8 +82,6 @@ $graph:
82
82
If the `path` field is provided but the `location` field is not, an
83
83
implementation may assign the value of the `path` field to `location`,
84
84
then follow the rules above.
85
-
86
- Must be evaluated as an expression only when appearing in InitialWorkDirRequirement.
87
85
jsonldPredicate :
88
86
_id : " @id"
89
87
_type : " @id"
@@ -104,7 +102,7 @@ $graph:
104
102
" _id " : " cwl:path"
105
103
" _type " : " @id"
106
104
- name : basename
107
- type : [ string, Expression]
105
+ type : string
108
106
doc : |
109
107
The base name of the file, that is, the name of the file without any
110
108
leading directory path. The base name must not contain a slash `/`.
@@ -117,8 +115,6 @@ $graph:
117
115
When this file is made available to a CommandLineTool, it must be named
118
116
with `basename`, i.e. the final component of the `path` field must match
119
117
`basename`.
120
-
121
- Must be evaluated as an expression only when appearing in InitialWorkDirRequirement.
122
118
jsonldPredicate : " cwl:basename"
123
119
- name : dirname
124
120
type : string?
@@ -194,7 +190,7 @@ $graph:
194
190
root of the document. If no ontologies are specified in `$schema`, the
195
191
runtime may perform exact file format matches.
196
192
- name : contents
197
- type : ["null", string, Expression]
193
+ type : string?
198
194
doc : |
199
195
File contents literal. Maximum of 64 KiB.
200
196
@@ -258,7 +254,7 @@ $graph:
258
254
_id : " cwl:path"
259
255
_type : " @id"
260
256
- name : basename
261
- type : [ string, Expression]
257
+ type : string
262
258
doc : |
263
259
The base name of the directory, that is, the name of the file without any
264
260
leading directory path. The base name must not contain a slash `/`.
@@ -271,16 +267,12 @@ $graph:
271
267
When this file is made available to a CommandLineTool, it must be named
272
268
with `basename`, i.e. the final component of the `path` field must match
273
269
`basename`.
274
-
275
- Must be evaluated as an expression only when appearing in InitialWorkDirRequirement.
276
270
jsonldPredicate : " cwl:basename"
277
271
- name : listing
278
272
type :
279
273
- " null"
280
274
- type : array
281
275
items : [File, Directory]
282
- - string
283
- - Expression
284
276
doc : |
285
277
List of files or subdirectories contained in this directory. The name
286
278
of each file or subdirectory is determined by the `basename` field of
@@ -289,8 +281,6 @@ $graph:
289
281
`Directory` object share the same `basename`, this must be treated as
290
282
equivalent to a single subdirectory with the listings recursively
291
283
merged.
292
-
293
- Must be evaluated as an expression only when appearing in InitialWorkDirRequirement.
294
284
jsonldPredicate :
295
285
_id : " cwl:listing"
296
286
0 commit comments