See: Description
One schema keyword consists, apart from its name, of three elements:
SyntaxChecker
which checks whether the keyword has the correct syntax in a JSON schema;
Digester
which
digests the schema for a specific keyword so as to use a more efficient
form when building the validator;KeywordValidator
which
validates an instance against the schema.All these elements are run in this order. Note that keyword validators
are always built by reflection. You can create your own custom keyword by
providing its name and these three elements wrapped into a Keyword
to inject into a Library
, which you will then submit to a
ValidationConfiguration
.
Copyright © 2014. All Rights Reserved.