Skip to content

Commit

Permalink
remove unnecessary allOf
Browse files Browse the repository at this point in the history
  • Loading branch information
adnejacobsen committed Sep 8, 2023
1 parent df05aca commit 1e8e1f3
Showing 1 changed file with 17 additions and 22 deletions.
39 changes: 17 additions & 22 deletions schema/definitions/0.8.0/schema/fmu_results.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
}
}
}
]
}

0 comments on commit 1e8e1f3

Please sign in to comment.