Skip to content

Commit

Permalink
IANA Media Types, +yaml is now official, but not yet for application/…
Browse files Browse the repository at this point in the history
…cwl+yaml
  • Loading branch information
mr-c committed May 17, 2024
1 parent 4d99009 commit 0412d40
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CommandLineTool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ $graph:
for either JSON or YAML format. For JSON formatted CWL documents, [`application/cwl+json`](https://www.iana.org/assignments/media-types/application/cwl+json)
has also been assigned and can be used. For specifying a YAML formatted
CWL document, one can use `application/cwl+yaml` but that is not an official
IANA media-type yet; as of 2023-07-23 the `+yaml` suffix has yet to be approved.
IANA media-type yet.
The above has been documented in the [Syntax](#Syntax) section.
* 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),
donated by Francis Charette-Migneault. This schema captures much, but not
Expand Down
2 changes: 1 addition & 1 deletion Workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $graph:
for either JSON or YAML format. For JSON formatted CWL documents, [`application/cwl+json`](https://www.iana.org/assignments/media-types/application/cwl+json)
has also been assigned and can be used. For specifying a YAML formatted
CWL document, one can use `application/cwl+yaml` but that is not an official
IANA media-type yet; as of 2023-07-23 the `+yaml` suffix has yet to be approved.
IANA media-type yet.
The above has been documented in the [Syntax](#Syntax) section.
* 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),
donated by Francis Charette-Migneault. This schema captures much, but not
Expand Down
3 changes: 1 addition & 2 deletions concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ The official IANA media-type for CWL documents is [`application/cwl`](https://ww
for either JSON or YAML format. For JSON formatted CWL documents,
[`application/cwl+json`](https://www.iana.org/assignments/media-types/application/cwl+json)
can be used. For specifying a YAML formatted CWL document, one can use
`application/cwl+yaml` but that is not an official IANA media-type yet; as of
2023-07-23 the `+yaml` suffix has yet to be approved.
`application/cwl+yaml` but that is not an official IANA media-type yet.

CWL documents commonly reference other CWL documents. Each document
must declare the `cwlVersion` of that document. Implementations must
Expand Down
1 change: 1 addition & 0 deletions cwl-runner.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ inputs:

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

0 comments on commit 0412d40

Please sign in to comment.