Skip to content

Commit

Permalink
Generalize ResultsetInstance
Browse files Browse the repository at this point in the history
Provide generic type for results via $dynamicRef / $dynamicAnchor.
(ga4gh-beacon#162)
  • Loading branch information
redmitry authored Sep 12, 2024
1 parent efec4c3 commit e49a05a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions framework/json/responses/sections/beaconResultsets.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@
"type": "object"
},
"results": {
"$defs": {
"$dynamicAnchor": "entry",
"type": "object”
},
"items": {
"type": "object"
"$dynamicRef": "#entry"
},
"minItems": 0,
"type": "array"
Expand Down Expand Up @@ -65,4 +69,4 @@
],
"title": "Beacon ResultSet",
"type": "object"
}
}

0 comments on commit e49a05a

Please sign in to comment.