FormatValidator.formatName().FormatValidator.formatName()
and use SchemaLoader.SchemaLoaderBuilder.addFormatValidator(FormatValidator)allOf schemas.anyOf schemas.ArraySchema.InetAddress instance if possible and returns it, or on failure it returns
Optional.empty().BooleanSchema.ReferenceSchema instance.allOf, oneOf, anyOf schemas.CombinedSchema.if, then, else schemas.ConditionalSchema.JSONObject and JSONArray.SchemaClient implementation which uses URL for reading the remote content.Schema instance defines any restrictions for the object property
denoted by field.writer.EmptySchema.EnumSchema.Optional.of(String.format("[%s] is not a valid URI", subject)) insteadFormatValidator implementations supporting the
formatNames mandated by the json schema spec.JSONPointer.QueryResult.containingDocument.the pointer to the violating fragment of the JSON document.JSONPointer.QueryResult.queryResult.TypeBasedMultiplexer.orElse(Consumer) or TypeBasedMultiplexer.requireAny() if
obj is an instance of predicateClass.JSONObject consumer setter.default HTTP
client.Schema.Builder instance from the schemaJson schema definition.Optional.empty()).Not schema validator.NotSchema.Null schema validator.NullSchema.NumberSchema.JSONObject and JSONArray.ObjectSchema.oneOf schemas.obj is an instance of any previously set classes (by TypeBasedMultiplexer.ifIs(Class)
or TypeBasedMultiplexer.ifObject()), performs the mapped action of found or invokes orElseConsumer
with the obj.ViolationException instance based on this one, but with changed
JSON pointer.ViolationException instance based on this one, but with changed
JSON pointer and {link violated
schema.document based on this pointer.id or ref against a parent scope.SchemaLoader to resolve JSON pointers
during the construction of the schema.ReferenceSchema.obj is an instance of any previously set classes (by TypeBasedMultiplexer.ifIs(Class)
or TypeBasedMultiplexer.ifObject()), performs the mapped action of found or throws with a
SchemaException.TypeBasedMultiplexer to notify client(s) (which is
currently a schema loader instance) about resolution scope changes.id or ref value).id or ref value).Schema subclasses.SchemaLoader to fetch the contents denoted by remote JSON
pointer.SchemaLoader.load() when it encounters
un-parseable schema JSON definition.SchemaLoader.SchemaLoader.load() to set the referred root
schema after completing the loading process of the entire schema document.String schema validator.StringSchema.StringSchemaLoader.StringSchemaLoader(LoadingState, Map) insteadobj is the previously set
predicateClass.null keyOfObj and null id.null id.TypeBasedMultiplexer to set actions (consumers) for matching
classes.ValidationException if the implemented criterion is not fulfilled by the
subschemaCount and the matchingSubschemaCount.subject.Schema subclasses on validation failure.keyword="type".Copyright © 2018 Everit Kft.. All rights reserved.