Class UniqueItemsValidatorWithProperty
java.lang.Object
com.networknt.schema.ValidationMessageHandler
com.networknt.schema.BaseJsonValidator
com.networknt.schema.UniqueItemsValidator
ai.timefold.solver.service.json.impl.schema.ext.UniqueItemsValidatorWithProperty
- All Implemented Interfaces:
com.networknt.schema.JsonValidator, com.networknt.schema.walk.JsonSchemaWalker
public class UniqueItemsValidatorWithProperty
extends com.networknt.schema.UniqueItemsValidator
-
Nested Class Summary
Nested classes/interfaces inherited from class com.networknt.schema.BaseJsonValidator
com.networknt.schema.BaseJsonValidator.JsonNodePathJsonPath, com.networknt.schema.BaseJsonValidator.JsonNodePathJsonPointer, com.networknt.schema.BaseJsonValidator.JsonNodePathLegacy -
Field Summary
Fields inherited from class com.networknt.schema.BaseJsonValidator
schemaNode, suppressSubSchemaRetrieval, validationContextFields inherited from class com.networknt.schema.ValidationMessageHandler
errorMessage, errorMessageKeyword, errorMessageType, evaluationParentSchema, evaluationPath, keyword, messageSource, parentSchema, schemaLocation -
Constructor Summary
ConstructorsConstructorDescriptionUniqueItemsValidatorWithProperty(com.networknt.schema.SchemaLocation schemaLocation, com.networknt.schema.JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, com.networknt.schema.JsonSchema parentSchema, com.networknt.schema.ValidationContext validationContext) -
Method Summary
Methods inherited from class com.networknt.schema.BaseJsonValidator
atRoot, checkDiscriminatorMatch, collectAnnotations, collectAnnotations, debug, equals, fetchSubSchemaNode, getEvaluationParentSchema, getEvaluationPath, getKeyword, getNodeFieldType, getParentSchema, getSchemaLocation, getSchemaNode, hasAdjacentKeywordInEvaluationPath, message, preloadJsonSchemas, putAnnotation, registerAndMergeDiscriminator, toString, validateMethods inherited from class com.networknt.schema.ValidationMessageHandler
getErrorMessage, getErrorMessageType, getMessageNodeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.networknt.schema.JsonValidator
getEvaluationPath, getKeyword, getSchemaLocation, preloadJsonSchema, walk
-
Constructor Details
-
UniqueItemsValidatorWithProperty
public UniqueItemsValidatorWithProperty(com.networknt.schema.SchemaLocation schemaLocation, com.networknt.schema.JsonNodePath evaluationPath, com.fasterxml.jackson.databind.JsonNode schemaNode, com.networknt.schema.JsonSchema parentSchema, com.networknt.schema.ValidationContext validationContext)
-
-
Method Details
-
validate
public Set<com.networknt.schema.ValidationMessage> validate(com.networknt.schema.ExecutionContext executionContext, com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, com.networknt.schema.JsonNodePath instanceLocation) - Specified by:
validatein interfacecom.networknt.schema.JsonValidator- Overrides:
validatein classcom.networknt.schema.UniqueItemsValidator
-