Skip to content

Roadmap

fge edited this page Aug 24, 2012 · 127 revisions

In 0.5

Add namespace support

Add the ability to assign a namespace to a JsonSchemaFactory (via its builder): this would allow to retrieve schemas with relative URIs if need be. The schema registry would still only ever accept absolute URIs.

DONE

Add schema URI "redirections"

That is, allow to tell a schema factory that retrieving a particular URI would silently be redirected to another locator.

That would allow for instance to retrieve schemas bundled by the library, such as the main draft v3 schema, via its URL and have it silently redirected to fetch it from a local resource instead.

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