Class ScopeValidator

  • All Implemented Interfaces:
    com.networknt.schema.JsonValidator, com.networknt.schema.walk.JsonSchemaWalker

    public class ScopeValidator
    extends com.networknt.schema.BaseJsonValidator
    implements com.networknt.schema.JsonValidator
    • Field Summary

      • Fields inherited from class com.networknt.schema.BaseJsonValidator

        applyDefaultsStrategy, failFast, parentSchema, schemaNode, schemaPath, suppressSubSchemaRetrieval, validationContext
    • Constructor Summary

      Constructors 
      Constructor Description
      ScopeValidator​(String schemaPath, com.fasterxml.jackson.databind.JsonNode schemaNode, com.networknt.schema.JsonSchema parentSchema, com.networknt.schema.ValidationContext validationContext, ScopeService scopeService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Set<com.networknt.schema.ValidationMessage> validate​(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at)  
      • Methods inherited from class com.networknt.schema.BaseJsonValidator

        atPath, atPath, atRoot, buildValidationMessage, checkDiscriminatorMatch, constructValidationMessage, debug, equals, fetchSubSchemaNode, getErrorMessageType, getNodeFieldType, getParentSchema, getPathType, getSchemaNode, getSchemaPath, getValidatorType, greaterThan, isPartOfOneOfMultipleType, lessThan, parseErrorCode, preloadJsonSchemas, registerAndMergeDiscriminator, updateValidatorType, validate, walk
      • Methods inherited from interface com.networknt.schema.JsonValidator

        preloadJsonSchema, validate, walk
    • Constructor Detail

      • ScopeValidator

        public ScopeValidator​(String schemaPath,
                              com.fasterxml.jackson.databind.JsonNode schemaNode,
                              com.networknt.schema.JsonSchema parentSchema,
                              com.networknt.schema.ValidationContext validationContext,
                              ScopeService scopeService)
    • Method Detail

      • validate

        public Set<com.networknt.schema.ValidationMessage> validate​(com.fasterxml.jackson.databind.JsonNode node,
                                                                    com.fasterxml.jackson.databind.JsonNode rootNode,
                                                                    String at)
        Specified by:
        validate in interface com.networknt.schema.JsonValidator