Skip to content

Commit

Permalink
adding oneOf per instances
Browse files Browse the repository at this point in the history
  • Loading branch information
costero-e committed Feb 21, 2025
1 parent 494cf6f commit 8974518
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions framework/json/responses/sections/beaconResultsets.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,29 @@
"$ref": "../../common/beaconCommonComponents.json#/$defs/$schema"
},
"resultSets": {
"items": {
"$ref": "#/$defs/ResultsetInstance"
},
"minItems": 0,
"type": "array"
"oneOf":[
{
"items": {
"$ref": "#/$defs/ResultsetInstance"
},
"minItems": 0,
"type": "array"
},
{
"items": {
"$ref": "#/$defs/CountInstance"
},
"minItems": 0,
"type": "array"
},
{
"items": {
"$ref": "#/$defs/BooleanInstance"
},
"minItems": 0,
"type": "array"
}
]
}
},
"required": [
Expand Down

0 comments on commit 8974518

Please sign in to comment.