Package com.github.fge.jsonschema.format

Format attribute base classes

See: Description

Package com.github.fge.jsonschema.format Description

Format attribute base classes

The format keyword plays a particular role in JSON Schema validation, since it is the only keyword performing semantic validation. Note that supporting it is optional, and that implementations are asked to provide a way to deactivate format checking on demand. This implementation offers this option.

Draft v4 defines a narrower subset of format attributes than draft v3. The following format attributes are common to both draft v3 and draft v4:

Draft v3 defines the following additional attributes:

Additionally, there is an attribute named ip-address in draft v3, and ipv4 in draft v4, which can validate IPv4 addresses.

Copyright © 2013. All Rights Reserved.