diff --git a/schema/workflow.json b/schema/workflow.json index fc84c66ba..5aeffb068 100644 --- a/schema/workflow.json +++ b/schema/workflow.json @@ -26,7 +26,7 @@ "items": { "oneOf": [ { - "$ref": "workflow/unit/subworkflowUnit.json" + "$ref": "workflow/unit.json" }, { "$ref": "workflow/unit/io.json" diff --git a/schema/workflow/unit/subworkflowUnit.json b/schema/workflow/unit/subworkflowUnit.json deleted file mode 100644 index 946566d82..000000000 --- a/schema/workflow/unit/subworkflowUnit.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$id": "workflow/unit/subworkflow", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "subworkflow unit schema", - "type": "object", - "allOf": [ - { - "$ref": "../unit.json" - } - ], - "properties": { - "type": { - "enum": [ - "subworkflow" - ] - } - }, - "required": [ - "name" - ] -}