remove wrapped refs
as done in
{
"description": "Location-independent identifier",
"schema": {
- "allOf": [{
- "$ref": "#foo"
- }],
+ "$ref": "#foo",
"$defs": {
"A": {
"$anchor": "foo",
{
"description": "Location-independent identifier with absolute URI",
"schema": {
- "allOf": [{
- "$ref": "http://localhost:1234/bar#foo"
- }],
+ "$ref": "http://localhost:1234/bar#foo",
"$defs": {
"A": {
"$id": "http://localhost:1234/bar",
"description": "Location-independent identifier with base URI change in subschema",
"schema": {
"$id": "http://localhost:1234/root",
- "allOf": [{
- "$ref": "http://localhost:1234/nested.json#foo"
- }],
+ "$ref": "http://localhost:1234/nested.json#foo",
"$defs": {
"A": {
"$id": "nested.json",
