public class UnEvaluatedPropertiesValidator extends BaseJsonValidator implements JsonValidator
| Modifier and Type | Field and Description |
|---|---|
static String |
EVALUATED_PROPERTIES |
static String |
UNEVALUATED_PROPERTIES |
applyDefaultsStrategy, failFast, parentSchema, schemaPath, validationContextAT_ROOT| Constructor and Description |
|---|
UnEvaluatedPropertiesValidator(String schemaPath,
com.fasterxml.jackson.databind.JsonNode schemaNode,
JsonSchema parentSchema,
ValidationContext validationContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
processAllPaths(com.fasterxml.jackson.databind.JsonNode node,
String at,
List<String> paths) |
Set<ValidationMessage> |
validate(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.JsonNode rootNode,
String at)
Validate the given JsonNode, the given node is the child node of the root node at given
data path.
|
Set<ValidationMessage> |
walk(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.JsonNode rootNode,
String at,
boolean shouldValidateSchema)
This is default implementation of walk method.
|
buildValidationMessage, checkDiscriminatorMatch, debug, equals, fetchSubSchemaNode, getNodeFieldType, getParentSchema, getSchemaNode, getSchemaPath, getValidatorType, greaterThan, isPartOfOneOfMultipleType, lessThan, parseErrorCode, preloadJsonSchemas, registerAndMergeDiscriminator, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreloadJsonSchema, validatepublic static final String EVALUATED_PROPERTIES
public static final String UNEVALUATED_PROPERTIES
public UnEvaluatedPropertiesValidator(String schemaPath, com.fasterxml.jackson.databind.JsonNode schemaNode, JsonSchema parentSchema, ValidationContext validationContext)
public Set<ValidationMessage> validate(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at)
JsonValidatorvalidate in interface JsonValidatornode - JsonNoderootNode - JsonNodeat - Stringpublic void processAllPaths(com.fasterxml.jackson.databind.JsonNode node,
String at,
List<String> paths)
public Set<ValidationMessage> walk(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at, boolean shouldValidateSchema)
BaseJsonValidatorwalk in interface JsonSchemaWalkerwalk in class BaseJsonValidatornode - JsonNoderootNode - JsonNodeat - StringshouldValidateSchema - booleanCopyright © 2023. All rights reserved.