Skip to content

Roadmap

fge edited this page Aug 23, 2012 · 127 revisions

In 0.5

Add namespace support

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"));

Re-introduce missing features from 0.4.x, but not all

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.

And one or more from below

SMILE/BSON support

To be considered... SMILE is a "binary JSON" format, BSON is MongoDB's own JSON representation.

Untangle the type/disallow/extends/dependencies mess

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.

Clone this wiki locally