Uses of Class
com.networknt.schema.SchemaContext
Packages that use SchemaContext
Package
Description
-
Uses of SchemaContext in com.networknt.schema
Fields in com.networknt.schema declared as SchemaContextMethods in com.networknt.schema that return SchemaContextModifier and TypeMethodDescriptionprotected SchemaContextSchemaRegistry.createSchemaContext(com.fasterxml.jackson.databind.JsonNode schemaNode) Schema.getSchemaContext()Methods in com.networknt.schema with parameters of type SchemaContextModifier and TypeMethodDescriptionSchemaRegistry.create(SchemaContext schemaContext, SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema) voidExecutionContextCustomizer.customize(ExecutionContext executionContext, SchemaContext schemaContext) Customize the execution context before validation.voidOutputFormat.Boolean.customize(ExecutionContext executionContext, SchemaContext schemaContext) default voidOutputFormat.customize(ExecutionContext executionContext, SchemaContext schemaContext) Customize the execution context before validation.voidOutputFormat.Default.customize(ExecutionContext executionContext, SchemaContext schemaContext) voidOutputFormat.Flag.customize(ExecutionContext executionContext, SchemaContext schemaContext) voidOutputFormat.Hierarchical.customize(ExecutionContext executionContext, SchemaContext schemaContext) voidOutputFormat.List.customize(ExecutionContext executionContext, SchemaContext schemaContext) voidOutputFormat.Result.customize(ExecutionContext executionContext, SchemaContext schemaContext) protected SchemaSchema.fetchSubSchemaNode(SchemaContext schemaContext) OutputFormat.Boolean.format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext) OutputFormat.Default.format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext) OutputFormat.Flag.format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext) OutputFormat.format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext) Formats the validation results.OutputFormat.Hierarchical.format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext) OutputFormat.List.format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext) OutputFormat.Result.format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext) booleanSchemaIdValidator.DefaultSchemaIdValidator.validate(String id, boolean rootSchema, SchemaLocation schemaLocation, SchemaLocation resolvedSchemaLocation, SchemaContext schemaContext) booleanSchemaIdValidator.validate(String id, boolean rootSchema, SchemaLocation schemaLocation, SchemaLocation resolvedSchemaLocation, SchemaContext schemaContext) Validates if the $id value is valid.Constructors in com.networknt.schema with parameters of type SchemaContextModifierConstructorDescriptionprotectedSchema(List<KeywordValidator> validators, boolean validatorsLoaded, boolean recursiveAnchor, TypeValidator typeValidator, String id, boolean suppressSubSchemaRetrieval, com.fasterxml.jackson.databind.JsonNode schemaNode, SchemaContext schemaContext, Schema parentSchema, SchemaLocation schemaLocation, Map<String, String> errorMessage) Constructor to create a copy using fields. -
Uses of SchemaContext in com.networknt.schema.dialect
Methods in com.networknt.schema.dialect with parameters of type SchemaContextModifier and TypeMethodDescriptionDialect.newValidator(SchemaContext schemaContext, SchemaLocation schemaLocation, String keyword, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema) Creates a new validator of the keyword. -
Uses of SchemaContext in com.networknt.schema.format
Methods in com.networknt.schema.format with parameters of type SchemaContextModifier and TypeMethodDescriptionprotected booleanDurationFormat.isStrictValidation(SchemaContext schemaContext) booleanDurationFormat.matches(ExecutionContext executionContext, SchemaContext schemaContext, String duration) default booleanFormat.matches(ExecutionContext executionContext, SchemaContext schemaContext, com.fasterxml.jackson.databind.JsonNode value) Determines if the value matches the format.default booleanFormat.matches(ExecutionContext executionContext, SchemaContext schemaContext, com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, NodePath instanceLocation, boolean assertionsEnabled, FormatValidator formatValidator) Determines if the value matches the format.default booleanFormat.matches(ExecutionContext executionContext, SchemaContext schemaContext, String value) Determines if the value matches the format.booleanRegexFormat.matches(ExecutionContext executionContext, SchemaContext schemaContext, String value) default voidFormat.validate(ExecutionContext executionContext, SchemaContext schemaContext, com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, NodePath instanceLocation, boolean assertionsEnabled, Supplier<MessageSourceError.Builder> message, FormatValidator formatValidator) Validates the format.Constructors in com.networknt.schema.format with parameters of type SchemaContextModifierConstructorDescriptionBaseFormatValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, Keyword keyword, SchemaContext schemaContext) -
Uses of SchemaContext in com.networknt.schema.keyword
Fields in com.networknt.schema.keyword declared as SchemaContextModifier and TypeFieldDescriptionprotected final SchemaContextBaseKeywordValidator.schemaContextMethods in com.networknt.schema.keyword with parameters of type SchemaContextModifier and TypeMethodDescriptionDisallowUnknownKeywordFactory.getKeyword(String value, SchemaContext schemaContext) KeywordFactory.getKeyword(String value, SchemaContext schemaContext) Gets the keyword given the keyword value.UnknownKeywordFactory.getKeyword(String value, SchemaContext schemaContext) AnnotationKeyword.newValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) FormatKeyword.newValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) Keyword.newValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) Creates a new validator for the keyword.KeywordType.newValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) NonValidationKeyword.newValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) Constructors in com.networknt.schema.keyword with parameters of type SchemaContextModifierConstructorDescriptionAdditionalPropertiesValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) AllOfValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) AnyOfValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) protectedBaseKeywordValidator(Keyword keyword, com.fasterxml.jackson.databind.JsonNode schemaNode, SchemaLocation schemaLocation, SchemaContext schemaContext, Schema parentSchema, Map<String, String> errorMessage) Constructor to create a copy using fields.BaseKeywordValidator(Keyword keyword, com.fasterxml.jackson.databind.JsonNode schemaNode, SchemaLocation schemaLocation, Schema parentSchema, SchemaContext schemaContext) ConstValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) ContainsValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) ContentEncodingValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) Constructor.ContentMediaTypeValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) Constructor.DependenciesValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) Constructor.DependentRequired(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) DependentSchemas(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) DiscriminatorValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) DynamicRefValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) EnumValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) ExclusiveMaximumValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) ExclusiveMinimumValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) FalseValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) FormatValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext, Format format, Keyword keyword) IfValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) ItemsLegacyValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) ItemsValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) MaximumValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) MaxItemsValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) MaxLengthValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) MaxPropertiesValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) MinimumValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) MinItemsValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) MinLengthValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) MinMaxContainsValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) MinPropertiesValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) MultipleOfValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) NotAllowedValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) NotValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) OneOfValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) PatternPropertiesValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) PatternValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) PrefixItemsValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) PropertiesValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) PropertyDependenciesValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) PropertyNamesValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) ReadOnlyValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) RecursiveRefValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) RefValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) RequiredValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) TrueValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) TypeValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) UnevaluatedItemsValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) UnevaluatedPropertiesValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) UnionTypeValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) UniqueItemsValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) WriteOnlyValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext) -
Uses of SchemaContext in com.networknt.schema.output
Methods in com.networknt.schema.output with parameters of type SchemaContextModifier and TypeMethodDescriptionstatic OutputUnitHierarchicalOutputUnitFormatter.format(Schema jsonSchema, List<Error> errors, ExecutionContext executionContext, SchemaContext schemaContext, Function<Error, Object> errorMapper) static OutputUnitListOutputUnitFormatter.format(List<Error> errors, ExecutionContext executionContext, SchemaContext schemaContext, Function<Error, Object> errorMapper) -
Uses of SchemaContext in com.networknt.schema.regex
Methods in com.networknt.schema.regex with parameters of type SchemaContextModifier and TypeMethodDescriptionstatic RegularExpressionRegularExpression.compile(String regex, SchemaContext schemaContext) -
Uses of SchemaContext in com.networknt.schema.utils
Methods in com.networknt.schema.utils with parameters of type SchemaContextModifier and TypeMethodDescriptionstatic booleanJsonNodeTypes.equalsToSchemaType(com.fasterxml.jackson.databind.JsonNode node, JsonType schemaType, Schema parentSchema, SchemaContext schemaContext, ExecutionContext executionContext)