Uses of Class
com.networknt.schema.SchemaContext
-
-
Uses of SchemaContext in com.networknt.schema
Fields in com.networknt.schema declared as SchemaContext Modifier and Type Field Description protected SchemaContextSchema. schemaContextMethods in com.networknt.schema that return SchemaContext Modifier and Type Method Description protected SchemaContextSchemaRegistry. createSchemaContext(com.fasterxml.jackson.databind.JsonNode schemaNode)SchemaContextSchema. getSchemaContext()Methods in com.networknt.schema with parameters of type SchemaContext Modifier and Type Method Description SchemaSchemaRegistry. 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)BooleanOutputFormat.Boolean. format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext)List<Error>OutputFormat.Default. format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext)OutputFlagOutputFormat.Flag. format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext)TOutputFormat. format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext)Formats the validation results.OutputUnitOutputFormat.Hierarchical. format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext)OutputUnitOutputFormat.List. format(Schema jsonSchema, ExecutionContext executionContext, SchemaContext schemaContext)ResultOutputFormat.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 SchemaContext Constructor Description Schema(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 SchemaContext Modifier and Type Method Description KeywordValidatorDialect. 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 SchemaContext Modifier and Type Method Description protected 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 SchemaContext Constructor Description BaseFormatValidator(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 SchemaContext Modifier and Type Field Description protected SchemaContextBaseKeywordValidator. schemaContextMethods in com.networknt.schema.keyword with parameters of type SchemaContext Modifier and Type Method Description KeywordDisallowUnknownKeywordFactory. getKeyword(String value, SchemaContext schemaContext)KeywordKeywordFactory. getKeyword(String value, SchemaContext schemaContext)Gets the keyword given the keyword value.KeywordUnknownKeywordFactory. getKeyword(String value, SchemaContext schemaContext)KeywordValidatorAnnotationKeyword. newValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext)KeywordValidatorFormatKeyword. newValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext)KeywordValidatorKeyword. newValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext)Creates a new validator for the keyword.KeywordValidatorKeywordType. newValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext)KeywordValidatorNonValidationKeyword. newValidator(SchemaLocation schemaLocation, com.fasterxml.jackson.databind.JsonNode schemaNode, Schema parentSchema, SchemaContext schemaContext)Constructors in com.networknt.schema.keyword with parameters of type SchemaContext Constructor Description AdditionalPropertiesValidator(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)BaseKeywordValidator(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 SchemaContext Modifier and Type Method Description static 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 SchemaContext Modifier and Type Method Description static RegularExpressionRegularExpression. compile(String regex, SchemaContext schemaContext)RegularExpressionAllowRegularExpressionFactory. getRegularExpression(String regex, SchemaContext schemaContext)RegularExpressionECMAScriptRegularExpressionFactory. getRegularExpression(String regex, SchemaContext schemaContext)RegularExpressionGraalJSRegularExpressionFactory. getRegularExpression(String regex, SchemaContext schemaContext)default RegularExpressionRegularExpressionFactory. getRegularExpression(String regex, SchemaContext schemaContext)Gets aRegularExpressionin the context of the schema being evaluated. -
Uses of SchemaContext in com.networknt.schema.utils
Methods in com.networknt.schema.utils with parameters of type SchemaContext Modifier and Type Method Description static booleanJsonNodeTypes. equalsToSchemaType(com.fasterxml.jackson.databind.JsonNode node, JsonType schemaType, Schema parentSchema, SchemaContext schemaContext, ExecutionContext executionContext)
-