| Package | Description |
|---|---|
| org.eel.kitchen.jsonschema.examples |
API usage examples
|
| org.eel.kitchen.jsonschema.format |
Format attribute base classes
|
| org.eel.kitchen.jsonschema.format.common |
Common format attribute classes for draft v3 and draft v4
|
| org.eel.kitchen.jsonschema.format.draftv3 |
Format attributes specific to draft v3
|
| org.eel.kitchen.jsonschema.keyword |
Schema validation core elements: keyword validators
|
| org.eel.kitchen.jsonschema.keyword.common |
Common keyword classes for draft v3 and draft v4
|
| org.eel.kitchen.jsonschema.keyword.draftv3 |
Keywords specific to draft v3
|
| org.eel.kitchen.jsonschema.keyword.draftv4 |
Keywords specific to draft v4
|
| org.eel.kitchen.jsonschema.main |
Main schema validation API
|
| org.eel.kitchen.jsonschema.report |
Validation reports and messages
|
| org.eel.kitchen.jsonschema.validator |
Core validation process
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
ExampleBase.printReport(ValidationReport report)
Pretty print a validation report to stdout
|
void |
Example9.DivisorsKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
| Modifier and Type | Method and Description |
|---|---|
void |
IPV4FormatAttribute.checkValue(String fmt,
ValidationReport report,
JsonNode value) |
void |
AbstractDateFormatAttribute.checkValue(String fmt,
ValidationReport report,
JsonNode value) |
abstract void |
FormatAttribute.checkValue(String fmt,
ValidationReport report,
JsonNode value)
Abstract method implemented by all attributes
|
void |
FormatAttribute.validate(String fmt,
ValidationReport report,
JsonNode value)
Main validation function
|
| Modifier and Type | Method and Description |
|---|---|
void |
HostnameFormatAttribute.checkValue(String fmt,
ValidationReport report,
JsonNode value) |
void |
EmailFormatAttribute.checkValue(String fmt,
ValidationReport report,
JsonNode value) |
void |
URIFormatAttribute.checkValue(String fmt,
ValidationReport report,
JsonNode value) |
void |
RegexFormatAttribute.checkValue(String fmt,
ValidationReport report,
JsonNode value) |
void |
IPV6FormatAttribute.checkValue(String fmt,
ValidationReport report,
JsonNode value) |
| Modifier and Type | Method and Description |
|---|---|
void |
UnixEpochFormatAttribute.checkValue(String fmt,
ValidationReport report,
JsonNode value) |
void |
MediaTypeFormatAttribute.checkValue(String fmt,
ValidationReport report,
JsonNode value) |
void |
PhoneNumberFormatAttribute.checkValue(String fmt,
ValidationReport report,
JsonNode value) |
| Modifier and Type | Method and Description |
|---|---|
void |
NumericKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Main validation method
|
protected abstract void |
KeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Method which all keyword validators must implement
|
protected void |
DivisorKeywordValidator.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 |
void |
KeywordValidator.validateInstance(ValidationContext context,
ValidationReport report,
JsonNode instance)
Main validation function
|
protected void |
DivisorKeywordValidator.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 |
| Modifier and Type | Method and Description |
|---|---|
void |
MaxItemsKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
MinItemsKeywordValidator.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) |
protected void |
UniqueItemsKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
protected void |
FormatKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
EnumKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
AdditionalItemsKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
AdditionalPropertiesKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
PatternKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
protected void |
MinimumKeywordValidator.validateDecimal(ValidationReport report,
JsonNode instance) |
protected void |
MaximumKeywordValidator.validateDecimal(ValidationReport report,
JsonNode instance) |
protected void |
MinimumKeywordValidator.validateLong(ValidationReport report,
JsonNode instance) |
protected void |
MaximumKeywordValidator.validateLong(ValidationReport report,
JsonNode instance) |
| Modifier and Type | Method and Description |
|---|---|
void |
DraftV3TypeKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
ExtendsKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
DraftV3PropertiesKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
DisallowKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
DraftV3DependenciesKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
NotKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
protected void |
DraftV4TypeKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
protected void |
AnyOfKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
protected void |
AllOfKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
protected void |
RequiredKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
protected void |
DraftV4DependenciesKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
MinPropertiesKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
protected void |
OneOfKeywordValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance) |
void |
MaxPropertiesKeywordValidator.validate(ValidationContext context,
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 |
|---|---|
void |
JsonValidator.validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Validate an instance
|
Copyright © 2013. All Rights Reserved.