Package | Description |
---|---|
com.github.fge.jsonschema.format |
Format attribute base classes
|
com.github.fge.jsonschema.format.common |
Common format attribute classes for draft v3 and draft v4
|
com.github.fge.jsonschema.format.draftv3 |
Format attributes specific to draft v3
|
com.github.fge.jsonschema.metaschema |
Metaschema data
|
com.github.fge.jsonschema.validator |
Core validation process
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDateFormatAttribute
Abstract class for date/time related format attributes
|
class |
IPV4FormatAttribute
Validator for both the
ip-address (draft v3) and ipv4 (draft
v4) format attributes. |
Modifier and Type | Method and Description |
---|---|
static FormatAttribute |
IPV4FormatAttribute.getInstance() |
Modifier and Type | Class and Description |
---|---|
class |
DateTimeFormatAttribute
Validator for the
date-time format attribute |
class |
EmailFormatAttribute
Validator for the
email format attribute. |
class |
HostnameFormatAttribute
Validator for the
host-name format attribute. |
class |
IPV6FormatAttribute
Validator for the
ipv6 format attribute. |
class |
RegexFormatAttribute
Validator for the
regex format attribute. |
class |
URIFormatAttribute
Validator for the
uri format attribute. |
Modifier and Type | Method and Description |
---|---|
static FormatAttribute |
URIFormatAttribute.getInstance() |
static FormatAttribute |
RegexFormatAttribute.getInstance() |
static FormatAttribute |
IPV6FormatAttribute.getInstance() |
static FormatAttribute |
HostnameFormatAttribute.getInstance() |
static FormatAttribute |
EmailFormatAttribute.getInstance() |
static FormatAttribute |
DateTimeFormatAttribute.getInstance() |
Modifier and Type | Class and Description |
---|---|
class |
DateFormatAttribute
Validator for the
date format attribute. |
class |
MediaTypeFormatAttribute
media-type format attribute |
class |
PhoneNumberFormatAttribute
Attempt to validate the
phone format attribute. |
class |
TimeFormatAttribute
Validator for the
time format attribute. |
class |
UnixEpochFormatAttribute
Validator for the
utc-millisec format attribute. |
Modifier and Type | Method and Description |
---|---|
static FormatAttribute |
UnixEpochFormatAttribute.getInstance() |
static FormatAttribute |
TimeFormatAttribute.getInstance() |
static FormatAttribute |
PhoneNumberFormatAttribute.getInstance() |
static FormatAttribute |
MediaTypeFormatAttribute.getInstance() |
static FormatAttribute |
DateFormatAttribute.getInstance() |
Modifier and Type | Method and Description |
---|---|
Map<String,FormatAttribute> |
MetaSchema.getFormatAttributes()
Return the list of format attributes for that metaschema
|
Map<String,FormatAttribute> |
KeywordRegistry.getFormatAttributes()
Return an immutable map of format attributes for this registry
|
Modifier and Type | Method and Description |
---|---|
MetaSchema.Builder |
MetaSchema.Builder.addFormatAttribute(String fmt,
FormatAttribute formatAttribute)
Add a format attribute to the metaschema
|
void |
KeywordRegistry.addFormatAttribute(String name,
FormatAttribute formatAttribute)
Add a format attribute
|
Modifier and Type | Method and Description |
---|---|
FormatAttribute |
ValidationContext.getFormat(String fmt)
Return a format attribute for a given attribute
|
Modifier and Type | Method and Description |
---|---|
Map<String,FormatAttribute> |
JsonValidatorCache.getFormatAttributes() |
Copyright © 2013. All Rights Reserved.