| Class | Description |
|---|---|
| AbstractDateFormatAttribute |
Specialized format validator for date/time checking
|
| DateTimeFormatAttribute |
Validator for the
date-time format specification |
| EmailFormatAttribute |
Validator for the
email format specification. |
| FormatAttribute |
Base class for a format attribute
|
| HostnameFormatAttribute |
Validator for the
host-name format specification |
| IPV4FormatAttribute |
Validator for the
ip-address format specification, ie an IPv4 address |
| IPV6FormatAttribute |
Validator for the
ipv6 format specification |
| RegexFormatAttribute |
Validator for the
regex format specification |
| URIFormatAttribute |
Validator for the
uri format specification |
The format keyword is defined by section 5.23 of the current
draft. This particular package supports the following format attributes:
date-time;email;host-name;ip-address;ipv6;regex;uri.All other format attributes defined by the draft (except color and
style, for which support is deliberately omitted) are now in a
separate package: json-schema-formats
.
Copyright © 2012. All Rights Reserved.