Skip to content

Commit 8669561

Browse files
authored
Merge pull request #151 from tsurdilo/updateschema23
update 09 schema
2 parents 6017f88 + fbe7228 commit 8669561

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

schemas/0.9/workflow.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,18 @@
4949
"description": "Workflow data input schema definition",
5050
"properties": {
5151
"schema": {
52-
"type": "string",
53-
"description": "URI of the JSON Schema used to validate the workflow data input",
54-
"minLength": 1
52+
"oneof":[
53+
{
54+
"type": "string",
55+
"description": "URI of the JSON Schema used to validate the workflow data input",
56+
"minLength": 1
57+
},
58+
{
59+
"type": "object",
60+
"description": "The JSON Schema object used to validate the workflow data input",
61+
"$schema": "http://json-schema.org/draft-07/schema#"
62+
}
63+
]
5564
},
5665
"failOnValidationErrors": {
5766
"type": "boolean",
@@ -61,8 +70,7 @@
6170
},
6271
"additionalProperties": false,
6372
"required": [
64-
"schema",
65-
"failOnValidationErrors"
73+
"schema"
6674
]
6775
}
6876
]

0 commit comments

Comments
 (0)