{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"definitions": {
"A": {
"$id": "#foo"
},
"B": {
"$id": "other.json",
"definitions": {
"X": {
"$id": "#bar",
"definitions": {
"Z": {
"type": "integer"
}
}
},
"Y": {
"$id": "t/inner.json"
}
}
},
"C": {
"$id": "urn:uuid:ee564b8a-7a87-4125-8c96-e9f123d6766f"
}
}
}
#/definitions/B/definitions/X http://example.com/other.json#bar http://example.com/other.json#/definitions/X http://example.com/root.json#/definitions/B/definitions/X
#/definitions/B/definitions/X/definitions/Z http://example.com/other.json#bar/definitions/Z - not at all sure about this http://example.com/other.json#/definitions/X/definitions/Z - this seesms like a logical progression http://example.com/root.json#/definitions/B/definitions/X/definitions/Z - Happy with this one