Skip to content

Commit 0412d40

Browse files
committed
IANA Media Types, +yaml is now official, but not yet for application/cwl+yaml
1 parent 4d99009 commit 0412d40

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CommandLineTool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $graph:
5757
for either JSON or YAML format. For JSON formatted CWL documents, [`application/cwl+json`](https://www.iana.org/assignments/media-types/application/cwl+json)
5858
has also been assigned and can be used. For specifying a YAML formatted
5959
CWL document, one can use `application/cwl+yaml` but that is not an official
60-
IANA media-type yet; as of 2023-07-23 the `+yaml` suffix has yet to be approved.
60+
IANA media-type yet.
6161
The above has been documented in the [Syntax](#Syntax) section.
6262
* There is now an unofficial [JSON Schema for CWL documents](https://github.com/common-workflow-language/cwl-v1.2/blob/1.2.1_proposed/json-schema/cwl.yaml),
6363
donated by Francis Charette-Migneault. This schema captures much, but not

Workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $graph:
5656
for either JSON or YAML format. For JSON formatted CWL documents, [`application/cwl+json`](https://www.iana.org/assignments/media-types/application/cwl+json)
5757
has also been assigned and can be used. For specifying a YAML formatted
5858
CWL document, one can use `application/cwl+yaml` but that is not an official
59-
IANA media-type yet; as of 2023-07-23 the `+yaml` suffix has yet to be approved.
59+
IANA media-type yet.
6060
The above has been documented in the [Syntax](#Syntax) section.
6161
* There is now an unofficial [JSON Schema for CWL documents](https://github.com/common-workflow-language/cwl-v1.2/blob/1.2.1_proposed/json-schema/cwl.yaml),
6262
donated by Francis Charette-Migneault. This schema captures much, but not

concepts.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ The official IANA media-type for CWL documents is [`application/cwl`](https://ww
104104
for either JSON or YAML format. For JSON formatted CWL documents,
105105
[`application/cwl+json`](https://www.iana.org/assignments/media-types/application/cwl+json)
106106
can be used. For specifying a YAML formatted CWL document, one can use
107-
`application/cwl+yaml` but that is not an official IANA media-type yet; as of
108-
2023-07-23 the `+yaml` suffix has yet to be approved.
107+
`application/cwl+yaml` but that is not an official IANA media-type yet.
109108

110109
CWL documents commonly reference other CWL documents. Each document
111110
must declare the `cwlVersion` of that document. Implementations must

cwl-runner.cwl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ inputs:
2929

3030
processfile:
3131
type: File?
32+
format: [iana:application/cwl, iana:application/cwl+json, iana:application/cwl+yaml]
3233
doc: |
3334
The CommandLineTool, ExpressionTool, or Workflow description to run.
3435
Optional if the jobfile has a `cwl:tool` field to indicate which process

0 commit comments

Comments
 (0)