30 lines
620 B
JSON
30 lines
620 B
JSON
{
|
|
"id": "http://example.com/root.json",
|
|
"definitions": {
|
|
"A": { "id": "#foo" },
|
|
"B": {
|
|
"id": "other.json",
|
|
"definitions": {
|
|
"X": { "id": "#bar" },
|
|
"Y": { "id": "t/inner.json" }
|
|
}
|
|
},
|
|
"C": {
|
|
"id": "urn:uuid:ee564b8a-7a87-4125-8c96-e9f123d6766f"
|
|
},
|
|
"single": {
|
|
"id": "#item",
|
|
"type": "integer"
|
|
},
|
|
"a": {"type": "integer"},
|
|
"b": {"$ref": "#/definitions/a"},
|
|
"c": {"$ref": "#/definitions/b"},
|
|
"remote": { "$ref": "http://localhost:1234/subSchemas.json#/refToInteger" }
|
|
},
|
|
|
|
"items": {
|
|
"type": "array",
|
|
"items": [ { "$ref": "#item" }, { "$ref": "other.json#bar" } ]
|
|
}
|
|
}
|