Commit 06ac41cf authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[schema][algorithm][v3] Corrected definition of loop entry

Now the request and answer fields are properly defined.
parent c6e122e6
...@@ -12,6 +12,22 @@ ...@@ -12,6 +12,22 @@
"definitions": { "definitions": {
"loop_io_group": {
"type": "object",
"properties": {
"request": { "$ref": "common.json#/definitions/endpoint" },
"answer": { "$ref": "common.json#/definitions/endpoint" }
},
"required": [
"request",
"answer"
],
"additionalProperties": false
},
"loop_user_io_group": { "loop_user_io_group": {
"type": "object", "type": "object",
...@@ -20,7 +36,7 @@ ...@@ -20,7 +36,7 @@
"name": { "type": "string" }, "name": { "type": "string" },
"inputs": { "$ref": "common.json#/definitions/endpoints" }, "inputs": { "$ref": "common.json#/definitions/endpoints" },
"outputs": { "$ref": "common.json#/definitions/endpoints" }, "outputs": { "$ref": "common.json#/definitions/endpoints" },
"loop": { "$ref": "common.json#/definitions/endpoints" } "loop": { "$ref": "#/definitions/loop_io_group" }
}, },
"required": [ "required": [
...@@ -55,7 +71,7 @@ ...@@ -55,7 +71,7 @@
"properties": { "properties": {
"name": { "type": "string" }, "name": { "type": "string" },
"inputs": { "$ref": "common.json#/definitions/endpoints" }, "inputs": { "$ref": "common.json#/definitions/endpoints" },
"loop": { "$ref": "common.json#/definitions/endpoints" } "loop": { "$ref": "#/definitions/loop_io_group" }
}, },
"required": [ "required": [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment