You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1768,8 +1768,8 @@ definition "id" must be a constant value.
1768
1768
| description | Workflow description | string | no |
1769
1769
| version | Workflow version. MUST respect the [semantic versioning](https://semver.org/) format | string | no |
1770
1770
| annotations | List of helpful terms describing the workflows intended purpose, subject areas, or other important qualities | array | no |
1771
-
| inputDataSchema | Used to validate the workflow data input against a defined JSON Schema| string or object | no |
1772
-
| outputDataSchema | Used to validate the workflow data output against a defined JSON Schema| string or object | no |
1771
+
| dataInputSchema | Used to validate the workflow data input against a defined JSON Schema| string or object | no |
1772
+
| dataOutputSchema | Used to validate the workflow data output against a defined JSON Schema| string or object | no |
1773
1773
| [constants](#Workflow-Constants) | Workflow constants | string or object | no |
1774
1774
| [secrets](#Workflow-Secrets) | Workflow secrets | string or array | no |
1775
1775
| [start](#Start-Definition) | Workflow start definition | string or object | no |
@@ -1860,12 +1860,12 @@ The `version` property can be used to provide a specific workflow version. It mu
1860
1860
The `annotations` property defines a list of helpful terms describing the workflows intended purpose, subject areas, or other important qualities,
1861
1861
for example "machine learning", "monitoring", "networking", etc
1862
1862
1863
-
The `inputDataSchema` and `outputDataSchema` properties can be used to validate input and output data against a defined JSON Schema.
1863
+
The `dataInputSchema` and `dataOutputSchema` properties can be used to validate input and output data against a defined JSON Schema.
1864
1864
1865
-
The `inputDataSchema` property validates the [workflow data input](#Workflow-Data-Input). Validation should be performed before any states are executed. In case of
1865
+
The `dataInputSchema` property validates the [workflow data input](#Workflow-Data-Input). Validation should be performed before any states are executed. In case of
1866
1866
a start [Event state](#Event-state) the input schema is ignored, if present. The `failOnValidationErrors` property determines if workflow execution should continue in case of validation errors.
1867
1867
1868
-
The `outputDataSchema` property validates the [Workflow data output](#workflow-data-output). Validation is performed on the output of the workflow execution.
1868
+
The `dataOutputSchema` property validates the [Workflow data output](#workflow-data-output). Validation is performed on the output of the workflow execution.
1869
1869
The `failOnValidationErrors` property determines what should be done when the workflow output does not match the provided schema.
1870
1870
If `failOnValidationErrors` is true, an error should be thrown. If executed within a subprocess, that error can be be handled by the parent workflow.
1871
1871
If `failOnValidationErrors` is false, the error should not be propagated. It is up to the implementor to warn the user about that fact. For example, printing a log.
@@ -1877,7 +1877,7 @@ If using object type, their `schema` property might be an URI, which points to t
1877
1877
Example for Json schema reference
1878
1878
1879
1879
```json
1880
-
"inputDataSchema": {
1880
+
"dataInputSchema": {
1881
1881
"schema": "URI to json schema",
1882
1882
"failOnValidationErrors": false
1883
1883
}
@@ -1886,7 +1886,7 @@ Example for Json schema reference
1886
1886
Example for Json schema included in the workflow file
1887
1887
1888
1888
```json
1889
-
"outputDataSchema": {
1889
+
"dataOutputSchema": {
1890
1890
"schema": {
1891
1891
"title": "MyJSONSchema",
1892
1892
"properties":{
@@ -1908,7 +1908,7 @@ If using string type, then the string value is the external schema URI and `fail
1908
1908
Example using string type
1909
1909
1910
1910
```json
1911
-
"inputDataSchema": "URI_to_json_schema"
1911
+
"dataInputSchema": "URI_to_json_schema"
1912
1912
```
1913
1913
1914
1914
The `secrets` property allows you to use sensitive information such as passwords, OAuth tokens, ssh keys, etc. inside your
0 commit comments