The following schema fails with an URI is not absolute error (based on my java validator, the reference should be good like this):
{
"type": "object",
"definitions":
{
"location":
{
"type": "object",
"properties":
{
"lat":
{
"type": "number"
},
"lon":
{
"type": "number"
}
}
}
},
"properties":
{
"location":
{
"$ref": "#/definitions/location"
}
}
}
The following schema fails with an URI is not absolute error (based on my java validator, the reference should be good like this):