Skip to content

Commit d5c4ef4

Browse files
author
Peter Amstutz
committed
Add CWLVersions to draft-2, and change cwlVersion field to ref CWLVersions enum
instead.
1 parent fd37b4b commit d5c4ef4

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

draft-2/CommonWorkflowLanguage.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,11 @@ $graph:
587587
type: documentation
588588
doc: This section specifies the core object types that make up a CWL document.
589589

590+
- type: enum
591+
name: CWLVersions
592+
doc: "Version symbols for published CWL document versions."
593+
symbols:
594+
- cwl:draft-2
590595

591596
- name: Datatype
592597
type: enum
@@ -1066,13 +1071,12 @@ $graph:
10661071
- name: cwlVersion
10671072
type:
10681073
- "null"
1069-
- string
1074+
- "#CWLVersions"
10701075
doc: "CWL document version"
10711076
jsonldPredicate:
10721077
"_id": "cwl:cwlVersion"
10731078
"_type": "@vocab"
10741079

1075-
10761080
- type: record
10771081
name: CommandLineBinding
10781082
extends: "#Binding"

draft-3/Process.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ $graph:
2525
name: CWLVersions
2626
doc: "Version symbols for published CWL document versions."
2727
symbols:
28+
- cwl:draft-2
2829
- cwl:draft-3.dev1
2930
- cwl:draft-3.dev2
3031
- cwl:draft-3.dev3
@@ -507,7 +508,7 @@ $graph:
507508
- name: cwlVersion
508509
type:
509510
- "null"
510-
- string
511+
- "#CWLVersions"
511512
doc: "CWL document version"
512513
jsonldPredicate:
513514
"_id": "cwl:cwlVersion"

draft-4/Process.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ $graph:
2424
name: CWLVersions
2525
doc: "Version symbols for published CWL document versions."
2626
symbols:
27+
- cwl:draft-2
2728
- cwl:draft-3.dev1
2829
- cwl:draft-3.dev2
2930
- cwl:draft-3.dev3
@@ -545,7 +546,7 @@ $graph:
545546
- name: cwlVersion
546547
type:
547548
- "null"
548-
- string
549+
- "#CWLVersions"
549550
doc: "CWL document version"
550551
jsonldPredicate:
551552
"_id": "cwl:cwlVersion"

0 commit comments

Comments
 (0)