Skip to content

What's new

fge edited this page Feb 26, 2013 · 14 revisions

Introduction

This page mentions what is new in version 2.0.x compared to the latest stable 1.6.x

Dependency on json-schema-core

This is the main and more impacting change. It means you have the full power of what json-schema-core offers at your disposal. See <a href="https://github.com/fge/json-schema-core/wiki/Architecture>here for more information.

Note that the validation processor being a processor, it means you can use this processor (which you can retrieve using the .getProcessor() method of JsonSchemaFactory in your own chains.

Separate syntax validation

You can now validate schemas using a dedicated validator. This was not possible with 1.x.

format validation can be disabled

The validation draft requires that it be possible. This library offers this possibility.

Draft v4 is now the default

In 1.x, it was draft v3.

Clone this wiki locally