Skip to content

Commit a34a104

Browse files
committed
Tihos comments
Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
1 parent 4e7f93d commit a34a104

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specification.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,10 +1865,10 @@ The `inputDataSchema` and `outputDataSchema` properties can be used to validate
18651865
The `inputDataSchema` property validates the [workflow data input](#Workflow-Data-Input). Validation should be performed before any states are executed. In case of
18661866
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.
18671867

1868-
The `outputDataSchema` property validates the [Workflow data output](#workflow-data-output). Validation should be performed after workflow execution has finished successfully. Successfully means that the workflow has completed an end state without errors.
1868+
The `outputDataSchema` property validates the [Workflow data output](#workflow-data-output). Validation is performed on the output of the workflow execution.
18691869
The `failOnValidationErrors` property determines what should be done when the workflow output does not match the provided schema.
1870-
If `failOnValidationErrors` is true, an error should be thrown. If executed within a subprocess, that error might be handled by the parent workflow.
1871-
If `failOnValidationErrors` is false, it is up to the implementor to warn the user about that fact using any mean, except throwing an error. For example, printing a log.
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+
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.
18721872

18731873
Both properties can be expressed as object or string type.
18741874

@@ -1878,7 +1878,7 @@ Example for Json schema reference
18781878

18791879
```json
18801880
"inputDataSchema": {
1881-
"schema": "URI_to_json_schema",
1881+
"schema": "URI to json schema",
18821882
"failOnValidationErrors": false
18831883
}
18841884
```

0 commit comments

Comments
 (0)