On Tue, Jul 29, 2014 at 6:58 PM, Tatu Saloranta <
tsalo...@gmail.com> wrote:
> I don't know the answer off-hand, but Francis might know.
>
> One problem (not the only, I know) with the module is that it supports
> next-to-latest revision of schema spec I think. It is also bit difficult to
> understand the control flow all around; however, having said that, a few
> developers have been able to figure out how to add new features so it should
> be possible to add missing things.
>
"$ref" is a JSON Reference, therefore a URI; an implementation of JSON
Schema will have to be able to handle these URIs.
As far as my implementation is concerned, I use the scheme as a
referrent; therefore, for such a URI as:
"urn:jsonschema:com:example:control:json:Foo"
I'd code a URIResolver for scheme "urn".
The spec only says that a JSON Reference must be a URI; it does not
specify _how_ those URIs are resolved, if at all. This is entirely
implementation dependent.
Regards,
--
Francis Galiegue,
fgal...@gmail.com,
https://github.com/fge
JSON Schema in Java:
http://json-schema-validator.herokuapp.com
Parsers in pure Java:
https://github.com/parboiled1/grappa (redde
Caesaris:
https://github.com/sirthias)