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 is defined by section 5.23 of JSON Schema draft v3, and (currently) section 7 of the next validation draft.

Draft v4 defines a narrower subset 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 IP addresses. This implementation also adds media-type to allow further self-validation of draft v3's links schema.

Other format attributes not defined by any of these drafts can be found in a sister project: json-schema-formats.

Copyright © 2013. All Rights Reserved.