Uses of Class
org.everit.json.schema.Schema
Packages that use Schema
Package
Description
-
Uses of Schema in org.everit.json.schema
Classes in org.everit.json.schema with type parameters of type SchemaModifier and TypeClassDescriptionstatic classSchema.Builder<S extends Schema>Abstract builder class for the builder classes ofSchemasubclasses.Subclasses of Schema in org.everit.json.schemaModifier and TypeClassDescriptionclassArray schema validator.classBoolean schema validator.classValidator forallOf,oneOf,anyOfschemas.classValidator forif,then,elseschemas.classclassA schema not specifying any restrictions, ie.classEnum schema validator.classclassNotschema validator.classNullschema validator.classNumber schema validator.classObject schema validator.classThis class is used bySchemaLoaderto resolve JSON pointers during the construction of the schema.classStringschema validator.classMethods in org.everit.json.schema that return SchemaModifier and TypeMethodDescriptionArraySchema.getAllItemSchema()ArraySchema.getContainedItemSchema()NotSchema.getMustNotMatch()ObjectSchema.getPropertyNameSchema()ReferenceSchema.getReferredSchema()ArraySchema.getSchemaOfAdditionalItems()ObjectSchema.getSchemaOfAdditionalProperties()ValidationException.getViolatedSchema()Methods in org.everit.json.schema that return types with arguments of type SchemaModifier and TypeMethodDescriptionConditionalSchema.getElseSchema()ConditionalSchema.getIfSchema()ArraySchema.getItemSchemas()ObjectSchema.getPatternProperties()Deprecated.ObjectSchema.getPropertySchemas()ObjectSchema.getSchemaDependencies()CombinedSchema.getSubschemas()Returns the subschemas in the order they were added.ConditionalSchema.getThenSchema()Methods in org.everit.json.schema with parameters of type SchemaModifier and TypeMethodDescriptionArraySchema.Builder.addItemSchema(Schema itemSchema) Adds an item schema for tuple validation.ObjectSchema.Builder.addPropertySchema(String propName, Schema schema) Adds a property schema.ArraySchema.Builder.allItemSchema(Schema allItemSchema) ArraySchema.Builder.containsItemSchema(Schema contained) ConditionalSchema.Builder.elseSchema(Schema elseSchema) NotSchema.Builder.mustNotMatch(Schema mustNotMatch) ObjectSchema.Builder.patternProperty(String pattern, Schema schema) Deprecated.ObjectSchema.Builder.patternProperty(Pattern pattern, Schema schema) Deprecated.ObjectSchema.Builder.patternProperty(Regexp pattern, Schema schema) voidValidator.performValidation(Schema schema, Object input) Creates a newViolationExceptioninstance based on this one, but with changedJSON pointerand {linkviolated schema.ObjectSchema.Builder.propertyNameSchema(Schema propertyNameSchema) ObjectSchema.Builder.schemaDependency(String ifPresent, Schema expectedSchema) ArraySchema.Builder.schemaOfAdditionalItems(Schema schemaOfAdditionalItems) ObjectSchema.Builder.schemaOfAdditionalProperties(Schema schemaOfAdditionalProperties) voidReferenceSchema.setReferredSchema(Schema referredSchema) Called bySchemaLoader.load()to set the referred root schema after completing the loading process of the entire schema document.ConditionalSchema.Builder.thenSchema(Schema thenSchema) static voidValidationException.throwFor(Schema rootFailingSchema, List<ValidationException> failures) Sort of static factory method.Method parameters in org.everit.json.schema with type arguments of type SchemaModifier and TypeMethodDescriptionstatic CombinedSchema.BuilderCombinedSchema.allOf(Collection<Schema> schemas) static CombinedSchema.BuilderCombinedSchema.anyOf(Collection<Schema> schemas) static CombinedSchema.BuilderCombinedSchema.builder(Collection<Schema> subschemas) static CombinedSchema.BuilderCombinedSchema.oneOf(Collection<Schema> schemas) CombinedSchema.Builder.subschemas(Collection<Schema> subschemas) Constructors in org.everit.json.schema with parameters of type SchemaModifierConstructorDescriptionValidationException(Schema violatedSchema, Class<?> expectedType, Object actualValue) Constructor, creates an instance withkeyword="type".ValidationException(Schema violatedSchema, Class<?> expectedType, Object actualValue, String keyword) Deprecated.ValidationException(Schema violatedSchema, Class<?> expectedType, Object actualValue, String keyword, String schemaLocation) Constructor for type-mismatch failures.ValidationException(Schema violatedSchema, String message) Deprecated.use one of the constructors which explicitly specify the violated keyword insteadValidationException(Schema violatedSchema, String message, String keyword) Deprecated.ValidationException(Schema violatedSchema, String message, String keyword, String schemaLocation) Constructor.ValidationException(Schema violatedSchema, String message, List<ValidationException> causingExceptions) Deprecated.use one of the constructors which explicitly specify the keyword instead -
Uses of Schema in org.everit.json.schema.event
Classes in org.everit.json.schema.event with type parameters of type SchemaFields in org.everit.json.schema.event declared as SchemaMethods in org.everit.json.schema.event that return SchemaModifier and TypeMethodDescriptionSchemaReferencedEvent.getReferredSchema()CombinedSchemaValidationEvent.getSubSchema()Constructors in org.everit.json.schema.event with parameters of type SchemaModifierConstructorDescriptionCombinedSchemaMatchEvent(CombinedSchema schema, Schema subSchema, Object instance) CombinedSchemaMismatchEvent(CombinedSchema schema, Schema subSchema, Object instance, ValidationException failure) CombinedSchemaValidationEvent(CombinedSchema schema, Schema subSchema, Object instance) SchemaReferencedEvent(ReferenceSchema schema, Object instance, Schema referredSchema) -
Uses of Schema in org.everit.json.schema.internal
Method parameters in org.everit.json.schema.internal with type arguments of type Schema -
Uses of Schema in org.everit.json.schema.loader
Methods in org.everit.json.schema.loader that return SchemaModifier and TypeMethodDescriptionstatic SchemaSchemaLoader.load(org.json.JSONObject schemaJson) Loads a JSON schema to a schema validator using adefault HTTP client.static SchemaSchemaLoader.load(org.json.JSONObject schemaJson, SchemaClient schemaClient) Creates Schema instance from its JSON representation.