Open
Description
Hello!
I'm trying to achieve resolving of references outside of current schema file using "id" property as described in schema v4, however, the editor keeps trying to fetch the referred file from an URL relative to the editor's URL.
{
"$schema": "http://json-schema.org/draft-04/schema",
"id": "http://localhost/json-editor/schema/function.json",
"title": "Function",
"oneOf": [
{
"$ref": "./fn_md5.json"
},
{
"$ref": "fn_sha1.json"
}
]
}
In this schema, both of the references should be fetched from http://localhost/json-editor/schema/fn_md5.json
(or ..._sha1.json
respectively, of course), however, the url is resolved wrong and the editor tries to download it from wherever the editor demo's html page is, e.g.: http://jeremydorn.com/json-editor/fn_md5.json
.
Metadata
Metadata
Assignees
Labels
No labels