Class Constants
java.lang.Object
org.forgerock.json.schema.validator.Constants
Constants is the collection of all constant values used by the object validator implementation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTheadditionalItemsfield name.static final StringTheadditionalPropertiesfield name.static final StringThedefaultfield name.static final StringThedefinitionsfield name.static final StringThedependenciesfield name.static final StringThetypefield name.static final StringDeprecated.removed in JSON schema draft 04static final StringDeprecated.renamed to multipleOf in JSON schema draft 04static final StringTheenumfield name.static final String{}static final StringValue has additional properties.static final StringValue at {} does not have a value in the enumeration.static final StringValue at {} MUST be null.static final StringRequired property violation at {}.static final StringType mismatch.static final StringTheexclusiveMaximumfield name.static final StringTheexclusiveMinimumfield name.static final StringDeprecated.removed in JSON schema draft 04static final StringTheformatfield name.static final Stringcolor This is a CSS color (like "#FF0000" or "red"), based on CSS 2.1 [W3C.CR-CSS21-20070719].static final Stringdate This SHOULD be a date in the format of YYYY-MM-DD.static final Stringdate-time This SHOULD be a date in ISO 8601 format of YYYY-MM- DDThh:mm:ssZ in UTC time.static final Stringemail This SHOULD be an email address.static final Stringhost-name This SHOULD be a host-name.static final Stringip-address This SHOULD be an ip version 4 address.static final Stringipv6 This SHOULD be an ip version 6 address.static final Stringphone This SHOULD be a phone number (format MAY follow E.123).static final Stringregex A regular expression, following the regular expression specification from ECMA 262/Perl 5.static final Stringstyle This is a CSS style definition (like "color: red; background- color:#FFF"), based on CSS 2.1 [W3C.CR-CSS21-20070719].static final Stringtime This SHOULD be a time in the format of hh:mm:ss.static final Stringuri This value SHOULD be a URI.static final Stringutc-millisec This SHOULD be the difference, measured in milliseconds, between the specified time and midnight, 00:00 of January 1, 1970 UTC.static final StringTheidfield name.static final StringTheitemsfield name.static final URIThe hyper schema latest draft URI.static final URIThe hyper schema draft 03 URI.static final URIThe hyper schema draft 04 URI.static final URIThe schema links latest draft URI.static final URIThe schema links draft 03 URI.static final URIThe schema links draft 04 URI.static final URIThe schema latest draft URI.static final URIThe schema draft 03 URI.static final URIThe schema draft 04 URI.static final StringThemaximumfield name.static final StringThemaxItemsfield name.static final StringThemaxLengthfield name.static final StringTheminimumfield name.static final StringTheminItemsfield name.static final StringTheminLengthfield name.static final StringThemultipleOffield name.static final StringTheoneOffield name.static final StringThepatternfield name.static final StringThepatternPropertiesfield name.static final StringThepropertiesfield name.static final StringThe$reffield name.static final StringTherequiredfield name.static final StringThe$schemafield name.static final StringThetypefield name.static final StringThetypefield name.static final StringDeprecated.removed in JSON schema draft 04static final StringThe array type.static final StringThe boolean type.static final StringThe integer type.static final StringThe null type.static final StringThe number type.static final StringThe object type.static final StringThe string type.static final StringTheuniqueItemsfield name. -
Method Summary
-
Field Details
-
JSON_SCHEMA_DRAFT03
The schema draft 03 URI. -
JSON_HYPER_SCHEMA_DRAFT03
The hyper schema draft 03 URI. -
JSON_LINKS_DRAFT03
The schema links draft 03 URI. -
JSON_SCHEMA_DRAFT04
The schema draft 04 URI. -
JSON_HYPER_SCHEMA_DRAFT04
The hyper schema draft 04 URI. -
JSON_LINKS_DRAFT04
The schema links draft 04 URI. -
JSON_SCHEMA
The schema latest draft URI. -
JSON_HYPER_SCHEMA
The hyper schema latest draft URI. -
JSON_LINKS
The schema links latest draft URI. -
TYPE_STRING
-
TYPE_NUMBER
-
TYPE_INTEGER
-
TYPE_BOOLEAN
-
TYPE_OBJECT
-
TYPE_ARRAY
-
TYPE_NULL
-
TYPE_ANY
Deprecated.removed in JSON schema draft 04Theanytype.- See Also:
-
TYPE
-
PROPERTIES
-
PATTERNPROPERTIES
-
ADDITIONALPROPERTIES
-
ITEMS
-
ADDITIONALITEMS
-
REQUIRED
-
DEPENDENCIES
-
MINIMUM
-
MAXIMUM
-
EXCLUSIVEMINIMUM
-
EXCLUSIVEMAXIMUM
-
MINITEMS
-
MAXITEMS
-
UNIQUEITEMS
-
PATTERN
-
MINLENGTH
-
MAXLENGTH
-
ENUM
-
DEFAULT
-
TITLE
-
DESCRIPTION
-
FORMAT
-
DIVISIBLEBY
Deprecated.renamed to multipleOf in JSON schema draft 04ThedivisibleByfield name.- See Also:
-
MULTIPLEOF
-
DISALLOW
Deprecated.removed in JSON schema draft 04Thedisallowfield name.- See Also:
-
EXTENDS
Deprecated.removed in JSON schema draft 04Theextendsfield name.- See Also:
-
ONEOF
-
DEFINITIONS
-
ID
-
REF
-
SCHEMA
-
FORMAT_DATE_TIME
date-time This SHOULD be a date in ISO 8601 format of YYYY-MM- DDThh:mm:ssZ in UTC time. This is the recommended form of date/timestamp.- See Also:
-
FORMAT_DATE
date This SHOULD be a date in the format of YYYY-MM-DD. It is recommended that you use the "date-time" format instead of "date" unless you need to transfer only the date part.- See Also:
-
FORMAT_TIME
time This SHOULD be a time in the format of hh:mm:ss. It is recommended that you use the "date-time" format instead of "time" unless you need to transfer only the time part.- See Also:
-
FORMAT_UTC_MILLISEC
utc-millisec This SHOULD be the difference, measured in milliseconds, between the specified time and midnight, 00:00 of January 1, 1970 UTC. The value SHOULD be a number (integer or float).- See Also:
-
FORMAT_REGEX
regex A regular expression, following the regular expression specification from ECMA 262/Perl 5.- See Also:
-
FORMAT_COLOR
color This is a CSS color (like "#FF0000" or "red"), based on CSS 2.1 [W3C.CR-CSS21-20070719].- See Also:
-
FORMAT_STYLE
style This is a CSS style definition (like "color: red; background- color:#FFF"), based on CSS 2.1 [W3C.CR-CSS21-20070719].- See Also:
-
FORMAT_PHONE
phone This SHOULD be a phone number (format MAY follow E.123).- See Also:
-
FORMAT_URI
-
FORMAT_EMAIL
-
FORMAT_IP_ADDRESS
ip-address This SHOULD be an ip version 4 address.- See Also:
-
FORMAT_IPV6
-
FORMAT_HOST_NAME
-
ERROR_MSG_TYPE_MISMATCH
Type mismatch. Expected type: {} found: {}.- See Also:
-
ERROR_MSG_REQUIRED_PROPERTY
-
ERROR_MSG_ENUM_VIOLATION
Value at {} does not have a value in the enumeration.- See Also:
-
ERROR_MSG_NULL_TYPE
-
ERROR_MSG_ADDITIONAL_PROPERTIES
Value has additional properties.- See Also:
-
ERROR_MSG_
-