diff --git a/schema/definitions/0.8.0/schema/fmu_results.json b/schema/definitions/0.8.0/schema/fmu_results.json index cf7e3207c..f38aae621 100644 --- a/schema/definitions/0.8.0/schema/fmu_results.json +++ b/schema/definitions/0.8.0/schema/fmu_results.json @@ -1370,30 +1370,25 @@ ] } }, - "allOf": [ - { - "$comment": "Require data.spec for table and surface objects", - "if": { - "properties": { - "class": { - "enum": [ - "table", - "surface" - ] - } - } - }, - "then": { - "properties": { - "data": { - "required": [ - "spec" - ] - } - } + "if": { + "properties": { + "class": { + "enum": [ + "table", + "surface" + ] } } - ] + }, + "then": { + "properties": { + "data": { + "required": [ + "spec" + ] + } + } + } } ] } \ No newline at end of file