Uses of Enum
com.networknt.schema.SpecVersion.VersionFlag
Packages that use SpecVersion.VersionFlag
-
Uses of SpecVersion.VersionFlag in com.networknt.schema
Subclasses with type arguments of type SpecVersion.VersionFlag in com.networknt.schemaFields in com.networknt.schema declared as SpecVersion.VersionFlagModifier and TypeFieldDescriptionprivate static final SpecVersion.VersionFlagUnevaluatedItemsValidator.DEFAULT_VERSIONprivate SpecVersion.VersionFlagJsonMetaSchema.Builder.specificationprivate final SpecVersion.VersionFlagJsonMetaSchema.specificationFields in com.networknt.schema with type parameters of type SpecVersion.VersionFlagModifier and TypeFieldDescriptionprivate static final Map<String, SpecVersion.VersionFlag> SpecVersionDetector.supportedVersionsprivate final EnumSet<SpecVersion.VersionFlag> VersionCode.versionsMethods in com.networknt.schema that return SpecVersion.VersionFlagModifier and TypeMethodDescriptionstatic SpecVersion.VersionFlagSpecVersionDetector.detect(com.fasterxml.jackson.databind.JsonNode jsonNode) Detects schema version based on the schema tag: if the schema tag is not present, throwsJsonSchemaExceptionwith the corresponding message, otherwise - returns the detected spec version.static SpecVersion.VersionFlagSpecVersionDetector.detectVersion(com.fasterxml.jackson.databind.JsonNode jsonNode, Path specification, SpecVersion.VersionFlag defaultVersion, boolean throwIfUnsupported) JsonMetaSchema.getSpecification()static SpecVersion.VersionFlagReturns the enum constant of this type with the specified name.static SpecVersion.VersionFlag[]SpecVersion.VersionFlag.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.networknt.schema that return types with arguments of type SpecVersion.VersionFlagModifier and TypeMethodDescriptionValidationContext.activeDialect()static Optional<SpecVersion.VersionFlag> SpecVersionDetector.detectOptionalVersion(com.fasterxml.jackson.databind.JsonNode jsonNode, boolean throwIfUnsupported) static Optional<SpecVersion.VersionFlag> SpecVersionDetector.detectOptionalVersion(String schemaUri) static Optional<SpecVersion.VersionFlag> SpecVersionDetector.detectVersionFromPath(Path path) static Optional<SpecVersion.VersionFlag> (package private) EnumSet<SpecVersion.VersionFlag> VersionCode.getVersions()Methods in com.networknt.schema with parameters of type SpecVersion.VersionFlagModifier and TypeMethodDescriptionstatic JsonSchemaVersionJsonSchemaFactory.checkVersion(SpecVersion.VersionFlag versionFlag) Gets the json schema version to get the meta schema.static SpecVersion.VersionFlagSpecVersionDetector.detectVersion(com.fasterxml.jackson.databind.JsonNode jsonNode, Path specification, SpecVersion.VersionFlag defaultVersion, boolean throwIfUnsupported) static JsonSchemaFactoryJsonSchemaFactory.getInstance(SpecVersion.VersionFlag versionFlag) Creates a factory with a default schema dialect.static JsonSchemaFactoryJsonSchemaFactory.getInstance(SpecVersion.VersionFlag versionFlag, Consumer<JsonSchemaFactory.Builder> customizer) Creates a factory with a default schema dialect.static List<ValidatorTypeCode> ValidatorTypeCode.getKeywords(SpecVersion.VersionFlag versionFlag) JsonMetaSchema.Builder.specification(SpecVersion.VersionFlag specification) Sets the specification.Constructors in com.networknt.schema with parameters of type SpecVersion.VersionFlagModifierConstructorDescription(package private)JsonMetaSchema(String iri, String idKeyword, Map<String, Keyword> keywords, Map<String, Boolean> vocabularies, SpecVersion.VersionFlag specification, JsonMetaSchema.Builder builder) privateVersionCode(SpecVersion.VersionFlag[] versionFlags) -
Uses of SpecVersion.VersionFlag in com.networknt.schema.format
Methods in com.networknt.schema.format with parameters of type SpecVersion.VersionFlagModifier and TypeMethodDescriptionprotected booleanBaseFormatJsonValidator.isFormatAssertionVocabularyEnabled(SpecVersion.VersionFlag specification, Map<String, Boolean> vocabularies)