-
Notifications
You must be signed in to change notification settings - Fork 397
Roadmap
fge edited this page Aug 23, 2012
·
127 revisions
Add the ability to assign a namespace to a JsonSchemaFactory (via its builder); this URI MUST be absolute.
It can allow to, for instance, get content from an URI using a relative URI:
final URI ns = URI.create("file:///some/where/on/disk");
final JSONSchemaFactory factory = new JSONSChemaFactory.Builder()
.setNameSpace(ns).build();
// Now you can do (should probably allow a String as an input):
final SchemaContainer container = factory.get(URI.create("../x/y"));
To be reintroduced:
- schema switching,
- fail-fast validation.
Draft v4 support is a next step but not just yet: there is still a lot of strife going on about what must really go in. I'll probably take the plunge and submit a draft for discussion.
To be considered... SMILE is a "binary JSON" format, BSON is MongoDB's own JSON representation.
These 4 keywords can potentially spawn other validators from within themselves. The draft is written like this... Try and find a more generic way to spawn validators: array and object validation in general also spawn validators.