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
Modifier and TypeFieldDescriptionstatic final String
TheadditionalItems
field name.static final String
TheadditionalProperties
field name.static final String
Thedefault
field name.static final String
Thedefinitions
field name.static final String
Thedependencies
field name.static final String
Thetype
field name.static final String
Deprecated.removed in JSON schema draft 04static final String
Deprecated.renamed to multipleOf in JSON schema draft 04static final String
Theenum
field name.static final String
{}static final String
Value has additional properties.static final String
Value at {} does not have a value in the enumeration.static final String
Value at {} MUST be null.static final String
Required property violation at {}.static final String
Type mismatch.static final String
TheexclusiveMaximum
field name.static final String
TheexclusiveMinimum
field name.static final String
Deprecated.removed in JSON schema draft 04static final String
Theformat
field name.static final String
color This is a CSS color (like "#FF0000" or "red"), based on CSS 2.1 [W3C.CR-CSS21-20070719].static final String
date This SHOULD be a date in the format of YYYY-MM-DD.static final String
date-time This SHOULD be a date in ISO 8601 format of YYYY-MM- DDThh:mm:ssZ in UTC time.static final String
email This SHOULD be an email address.static final String
host-name This SHOULD be a host-name.static final String
ip-address This SHOULD be an ip version 4 address.static final String
ipv6 This SHOULD be an ip version 6 address.static final String
phone This SHOULD be a phone number (format MAY follow E.123).static final String
regex A regular expression, following the regular expression specification from ECMA 262/Perl 5.static final String
style This is a CSS style definition (like "color: red; background- color:#FFF"), based on CSS 2.1 [W3C.CR-CSS21-20070719].static final String
time This SHOULD be a time in the format of hh:mm:ss.static final String
uri This value SHOULD be a URI.static final String
utc-millisec This SHOULD be the difference, measured in milliseconds, between the specified time and midnight, 00:00 of January 1, 1970 UTC.static final String
Theid
field name.static final String
Theitems
field name.static final URI
The hyper schema latest draft URI.static final URI
The hyper schema draft 03 URI.static final URI
The hyper schema draft 04 URI.static final URI
The schema links latest draft URI.static final URI
The schema links draft 03 URI.static final URI
The schema links draft 04 URI.static final URI
The schema latest draft URI.static final URI
The schema draft 03 URI.static final URI
The schema draft 04 URI.static final String
Themaximum
field name.static final String
ThemaxItems
field name.static final String
ThemaxLength
field name.static final String
Theminimum
field name.static final String
TheminItems
field name.static final String
TheminLength
field name.static final String
ThemultipleOf
field name.static final String
TheoneOf
field name.static final String
Thepattern
field name.static final String
ThepatternProperties
field name.static final String
Theproperties
field name.static final String
The$ref
field name.static final String
Therequired
field name.static final String
The$schema
field name.static final String
Thetype
field name.static final String
Thetype
field name.static final String
Deprecated.removed in JSON schema draft 04static final String
The array type.static final String
The boolean type.static final String
The integer type.static final String
The null type.static final String
The number type.static final String
The object type.static final String
The string type.static final String
TheuniqueItems
field 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 04Theany
type. -
TYPE
Thetype
field name. -
PROPERTIES
Theproperties
field name. -
PATTERNPROPERTIES
ThepatternProperties
field name. -
ADDITIONALPROPERTIES
TheadditionalProperties
field name. -
ITEMS
Theitems
field name. -
ADDITIONALITEMS
TheadditionalItems
field name. -
REQUIRED
Therequired
field name. -
DEPENDENCIES
Thedependencies
field name. -
MINIMUM
Theminimum
field name. -
MAXIMUM
Themaximum
field name. -
EXCLUSIVEMINIMUM
TheexclusiveMinimum
field name. -
EXCLUSIVEMAXIMUM
TheexclusiveMaximum
field name. -
MINITEMS
TheminItems
field name. -
MAXITEMS
ThemaxItems
field name. -
UNIQUEITEMS
TheuniqueItems
field name. -
PATTERN
Thepattern
field name. -
MINLENGTH
TheminLength
field name. -
MAXLENGTH
ThemaxLength
field name. -
ENUM
Theenum
field name. -
DEFAULT
Thedefault
field name. -
TITLE
Thetype
field name. -
DESCRIPTION
Thetype
field name. -
FORMAT
Theformat
field name. -
DIVISIBLEBY
Deprecated.renamed to multipleOf in JSON schema draft 04ThedivisibleBy
field name. -
MULTIPLEOF
ThemultipleOf
field name. -
DISALLOW
Deprecated.removed in JSON schema draft 04Thedisallow
field name. -
EXTENDS
Deprecated.removed in JSON schema draft 04Theextends
field name. -
ONEOF
TheoneOf
field name. -
DEFINITIONS
Thedefinitions
field name. -
ID
Theid
field name. -
REF
The$ref
field name. -
SCHEMA
The$schema
field 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:
-