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, validationContext
AT_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, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
preloadJsonSchema, validate
public 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)
JsonValidator
validate
in interface JsonValidator
node
- 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)
BaseJsonValidator
walk
in interface JsonSchemaWalker
walk
in class BaseJsonValidator
node
- JsonNoderootNode
- JsonNodeat
- StringshouldValidateSchema
- booleanCopyright © 2022. All rights reserved.