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
The string type.- See Also:
-
TYPE_NUMBER
The number type.- See Also:
-
TYPE_INTEGER
The integer type.- See Also:
-
TYPE_BOOLEAN
The boolean type.- See Also:
-
TYPE_OBJECT
The object type.- See Also:
-
TYPE_ARRAY
The array type.- See Also:
-
TYPE_NULL
The null type.- See Also:
-
TYPE_ANY
Deprecated.removed in JSON schema draft 04Theanytype. -
TYPE
Thetypefield name. -
PROPERTIES
Thepropertiesfield name. -
PATTERNPROPERTIES
ThepatternPropertiesfield name. -
ADDITIONALPROPERTIES
TheadditionalPropertiesfield name. -
ITEMS
Theitemsfield name. -
ADDITIONALITEMS
TheadditionalItemsfield name. -
REQUIRED
Therequiredfield name. -
DEPENDENCIES
Thedependenciesfield name. -
MINIMUM
Theminimumfield name. -
MAXIMUM
Themaximumfield name. -
EXCLUSIVEMINIMUM
TheexclusiveMinimumfield name. -
EXCLUSIVEMAXIMUM
TheexclusiveMaximumfield name. -
MINITEMS
TheminItemsfield name. -
MAXITEMS
ThemaxItemsfield name. -
UNIQUEITEMS
TheuniqueItemsfield name. -
PATTERN
Thepatternfield name. -
MINLENGTH
TheminLengthfield name. -
MAXLENGTH
ThemaxLengthfield name. -
ENUM
Theenumfield name. -
DEFAULT
Thedefaultfield name. -
TITLE
Thetypefield name. -
DESCRIPTION
Thetypefield name. -
FORMAT
Theformatfield name. -
DIVISIBLEBY
Deprecated.renamed to multipleOf in JSON schema draft 04ThedivisibleByfield name. -
MULTIPLEOF
ThemultipleOffield name. -
DISALLOW
Deprecated.removed in JSON schema draft 04Thedisallowfield name. -
EXTENDS
Deprecated.removed in JSON schema draft 04Theextendsfield name. -
ONEOF
TheoneOffield name. -
DEFINITIONS
Thedefinitionsfield name. -
ID
Theidfield name. -
REF
The$reffield name. -
SCHEMA
The$schemafield name. -
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
uri This value SHOULD be a URI.- See Also:
-
FORMAT_EMAIL
email This SHOULD be an email address.- See Also:
-
FORMAT_IP_ADDRESS
ip-address This SHOULD be an ip version 4 address.- See Also:
-
FORMAT_IPV6
ipv6 This SHOULD be an ip version 6 address.- See Also:
-
FORMAT_HOST_NAME
host-name This SHOULD be a host-name.- See Also:
-
ERROR_MSG_TYPE_MISMATCH
Type mismatch. Expected type: {} found: {}.- See Also:
-
ERROR_MSG_REQUIRED_PROPERTY
Required property violation at {}.- See Also:
-
ERROR_MSG_ENUM_VIOLATION
Value at {} does not have a value in the enumeration.- See Also:
-
ERROR_MSG_NULL_TYPE
Value at {} MUST be null.- See Also:
-
ERROR_MSG_ADDITIONAL_PROPERTIES
Value has additional properties.- See Also:
-
ERROR_MSG_
{}- See Also:
-