Uses of Class
com.networknt.schema.SpecVersion.VersionFlag
-
Packages that use SpecVersion.VersionFlag Package Description com.networknt.schema com.networknt.schema.format -
-
Uses of SpecVersion.VersionFlag in com.networknt.schema
Fields in com.networknt.schema with type parameters of type SpecVersion.VersionFlag Modifier and Type Field Description protected static Map<String,SpecVersion.VersionFlag>
SpecVersionDetector. supportedVersions
Methods in com.networknt.schema that return SpecVersion.VersionFlag Modifier and Type Method Description static SpecVersion.VersionFlag
SpecVersionDetector. detect(com.fasterxml.jackson.databind.JsonNode jsonNode)
Detects schema version based on the schema tag: if the schema tag is not present, throwsJsonSchemaException
with the corresponding message, otherwise - returns the detected spec version.static SpecVersion.VersionFlag
SpecVersionDetector. detectVersion(com.fasterxml.jackson.databind.JsonNode jsonNode, Path specification, SpecVersion.VersionFlag defaultVersion, boolean throwIfUnsupported)
SpecVersion.VersionFlag
JsonMetaSchema. getSpecification()
static SpecVersion.VersionFlag
SpecVersion.VersionFlag. valueOf(String name)
Returns 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.VersionFlag Modifier and Type Method Description Optional<SpecVersion.VersionFlag>
ValidationContext. 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>
SpecVersion.VersionFlag. fromId(String id)
Methods in com.networknt.schema with parameters of type SpecVersion.VersionFlag Modifier and Type Method Description static JsonSchemaVersion
JsonSchemaFactory. checkVersion(SpecVersion.VersionFlag versionFlag)
Gets the json schema version to get the meta schema.static SpecVersion.VersionFlag
SpecVersionDetector. detectVersion(com.fasterxml.jackson.databind.JsonNode jsonNode, Path specification, SpecVersion.VersionFlag defaultVersion, boolean throwIfUnsupported)
static JsonSchemaFactory
JsonSchemaFactory. getInstance(SpecVersion.VersionFlag versionFlag)
Creates a factory with a default schema dialect.static JsonSchemaFactory
JsonSchemaFactory. 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
JsonMetaSchema.Builder. specification(SpecVersion.VersionFlag specification)
Sets the specification. -
Uses of SpecVersion.VersionFlag in com.networknt.schema.format
Methods in com.networknt.schema.format with parameters of type SpecVersion.VersionFlag Modifier and Type Method Description protected boolean
BaseFormatJsonValidator. isFormatAssertionVocabularyEnabled(SpecVersion.VersionFlag specification, Map<String,Boolean> vocabularies)
-