Skip to content

Commit 1aa4a87

Browse files
fmigneaultmr-c
authored andcommitted
add missing Any? and Any[]? CWL types to JSON schema
1 parent c6c9be6 commit 1aa4a87

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

json-schema/cwl.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,10 +1278,15 @@ $defs:
12781278
title: CWL type string definition
12791279
summary: CWL type string definition.
12801280
description: Field type definition.
1281+
$comment: |
1282+
Note that 'Any' is equivalent to any of the non-null types.
1283+
Therefore, a nullable 'Any' explicitly specified by 'Any?' or its array-nullable form 'Any[]?' are not equivalent.
12811284
enum:
12821285
- 'null'
12831286
- Any
1287+
- Any?
12841288
- Any[]
1289+
- Any[]?
12851290
- Directory
12861291
- Directory?
12871292
- Directory[]

0 commit comments

Comments
 (0)