Package com.github.fge.jsonschema.syntax

Schema syntax validation package

See: Description

Package com.github.fge.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 validate 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: it is the contract of syntax validation that a keyword validator needs not preoccupy about this when it is instantiated.

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

See Also:
com.github.fge.jsonschema.examples

Copyright © 2013. All Rights Reserved.