Package org.eel.kitchen.jsonschema.syntax

Schema syntax validation package

See: Description

Package org.eel.kitchen.jsonschema.syntax Description

Schema syntax validation package

The main class in this package is SyntaxValidator.

Syntax validation has a critically important role in the validation process. An invalid schema will always fail to invalidate a JSON instance.

For this implementation in particular, it also helps to ensure that the KeywordValidator associated with the schema keyword does not need to preoccupy about its arguments being well-formed -- they will be since the syntax validator has verified that they are.

Unlike keyword validators, syntax validators are not built by reflection. It is therefore your responsibility to instantiate it and only then register it.

Copyright © 2012. All Rights Reserved.