Skip to content

Commit e49a05a

Browse files
authored
Generalize ResultsetInstance
Provide generic type for results via $dynamicRef / $dynamicAnchor. (ga4gh-beacon#162)
1 parent efec4c3 commit e49a05a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

framework/json/responses/sections/beaconResultsets.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@
1818
"type": "object"
1919
},
2020
"results": {
21+
"$defs": {
22+
"$dynamicAnchor": "entry",
23+
"type": "object”
24+
},
2125
"items": {
22-
"type": "object"
26+
"$dynamicRef": "#entry"
2327
},
2428
"minItems": 0,
2529
"type": "array"
@@ -65,4 +69,4 @@
6569
],
6670
"title": "Beacon ResultSet",
6771
"type": "object"
68-
}
72+
}

0 commit comments

Comments
 (0)