| Package | Description |
|---|---|
| org.eel.kitchen.jsonschema.format |
Format specifier classes
|
| org.eel.kitchen.jsonschema.keyword |
Schema validation core elements: keyword validators
|
| org.eel.kitchen.jsonschema.main |
Main schema validation API
|
| org.eel.kitchen.jsonschema.report |
Various utility packages
|
| org.eel.kitchen.jsonschema.validator |
Core validation process
|
| Modifier and Type | Method and Description |
|---|---|
void |
IPV6FormatSpecifier.checkValue(String fmt,
ValidationContext ctx,
ValidationReport report,
JsonNode value) |
void |
IPV4FormatSpecifier.checkValue(String fmt,
ValidationContext ctx,
ValidationReport report,
JsonNode value) |
void |
HostnameFormatSpecifier.checkValue(String fmt,
ValidationContext ctx,
ValidationReport report,
JsonNode value) |
void |
AbstractDateFormatSpecifier.checkValue(String fmt,
ValidationContext ctx,
ValidationReport report,
JsonNode instance) |
void |
RegexFormatSpecifier.checkValue(String fmt,
ValidationContext ctx,
ValidationReport report,
JsonNode value) |
void |
EmailFormatSpecifier.checkValue(String fmt,
ValidationContext ctx,
ValidationReport report,
JsonNode instance) |
void |
URIFormatSpecifier.checkValue(String fmt,
ValidationContext ctx,
ValidationReport report,
JsonNode value) |
abstract void |
FormatSpecifier.checkValue(String fmt,
ValidationContext ctx,
ValidationReport report,
JsonNode value)
Abstract method implemented by all specifiers
|
void |
FormatSpecifier.validate(String fmt,
ValidationContext ctx,
ValidationReport report,
JsonNode value)
Main validation function
|
| Modifier and Type | Method and Description |
|---|---|
private void |
DependenciesKeywordValidator.computeSimpleDep(String field,
Set<String> fields,
ValidationReport report) |
private void |
TypeKeywordValidator.trySchemas(ValidationContext context,
ValidationReport schemaReport,
JsonNode instance) |
void |
PropertiesKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
MaxItemsKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
PatternKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
AdditionalItemsKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
MaxLengthKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
MinLengthKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
ExtendsKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
AdditionalPropertiesKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
protected void |
FormatKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
TypeKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
MinItemsKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
EnumKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
protected void |
UniqueItemsKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
NumericKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Main validation method
|
void |
DisallowKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
DependenciesKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
protected abstract void |
KeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Method which all keyword validators must implement
|
protected void |
MaximumKeywordValidator.validateDecimal(ValidationReport report,
JsonNode instance) |
protected void |
MinimumKeywordValidator.validateDecimal(ValidationReport report,
JsonNode instance) |
protected abstract void |
NumericKeywordValidator.validateDecimal(ValidationReport report,
JsonNode instance)
Method to be implemented by a numeric validator if either of the
keyword value or instance value do not fit into a
long |
protected void |
DivisibleByKeywordValidator.validateDecimal(ValidationReport report,
JsonNode instance) |
void |
KeywordValidator.validateInstance(ValidationContext context,
ValidationReport report,
JsonNode instance)
Main validation function
|
protected void |
MaximumKeywordValidator.validateLong(ValidationReport report,
JsonNode instance) |
protected void |
MinimumKeywordValidator.validateLong(ValidationReport report,
JsonNode instance) |
protected abstract void |
NumericKeywordValidator.validateLong(ValidationReport report,
JsonNode instance)
Method to be implemented by a numeric validator if both the keyword
value and instance value fit into a
long |
protected void |
DivisibleByKeywordValidator.validateLong(ValidationReport report,
JsonNode instance) |
| Modifier and Type | Method and Description |
|---|---|
ValidationReport |
JsonSchema.validate(JsonNode instance)
The main validation function
|
| Modifier and Type | Method and Description |
|---|---|
ValidationReport |
ValidationReport.copy()
Make a copy of this validation report, with an empty message map and
the current path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ValidationReport.mergeWith(ValidationReport other)
Merge with another validation report
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ArrayValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
boolean |
ObjectValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
boolean |
JsonValidatorCache.FailingValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
boolean |
JsonValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Validate the instance, and tell whether validation should continue
|
boolean |
InstanceValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
private boolean |
ObjectValidator.validateOne(ValidationContext context,
ValidationReport report,
Map.Entry<String,JsonNode> entry) |
Copyright © 2012. All Rights Reserved.