I'm unclear how the resolution logic should be performed.
Give a schema in a file located at "http://server.com/myschemas/root.json"
{
"$id": "NewScope.json",
"definitions": {
"A": { }
"B": { $ref="../Other.json#/definitions/C" }
}
}
I would expect the qualified path to A to be "http://server.com/myschemas/NewScope.json#/definitions/A"
It then follows that the $ref in B would resolve to "http://server.com/Other.json#/definitions/C"However its been suggested that the qualified path to A is "NewScope.json" (a relative URL)
So it is not possible to resolve "../other.json" from this as its a relative Url.
Thanks
Simon
$ref="../Other.json#/definitions/C"
unresolvable in my example?
Thanks Simon