Uses of Class
org.everit.json.schema.Schema
-
Packages that use Schema Package Description org.everit.json.schema org.everit.json.schema.event org.everit.json.schema.internal org.everit.json.schema.loader -
-
Uses of Schema in org.everit.json.schema
Classes in org.everit.json.schema with type parameters of type Schema Modifier and Type Class Description static classSchema.Builder<S extends Schema>Abstract builder class for the builder classes ofSchemasubclasses.Subclasses of Schema in org.everit.json.schema Modifier and Type Class Description classArraySchemaArray schema validator.classBooleanSchemaBoolean schema validator.classCombinedSchemaValidator forallOf,oneOf,anyOfschemas.classConditionalSchemaValidator forif,then,elseschemas.classConstSchemaclassEmptySchemaA schema not specifying any restrictions, ie.classEnumSchemaEnum schema validator.classFalseSchemaclassNotSchemaNotschema validator.classNullSchemaNullschema validator.classNumberSchemaNumber schema validator.classObjectSchemaObject schema validator.classReferenceSchemaThis class is used bySchemaLoaderto resolve JSON pointers during the construction of the schema.classStringSchemaStringschema validator.classTrueSchemaMethods in org.everit.json.schema that return Schema Modifier and Type Method Description SchemaArraySchema. getAllItemSchema()SchemaArraySchema. getContainedItemSchema()SchemaNotSchema. getMustNotMatch()SchemaObjectSchema. getPropertyNameSchema()SchemaReferenceSchema. getReferredSchema()SchemaArraySchema. getSchemaOfAdditionalItems()SchemaObjectSchema. getSchemaOfAdditionalProperties()SchemaValidationException. getViolatedSchema()Methods in org.everit.json.schema that return types with arguments of type Schema Modifier and Type Method Description Optional<Schema>ConditionalSchema. getElseSchema()Optional<Schema>ConditionalSchema. getIfSchema()List<Schema>ArraySchema. getItemSchemas()Map<Pattern,Schema>ObjectSchema. getPatternProperties()Deprecated.Map<String,Schema>ObjectSchema. getPropertySchemas()Map<String,Schema>ObjectSchema. getSchemaDependencies()Collection<Schema>CombinedSchema. getSubschemas()Optional<Schema>ConditionalSchema. getThenSchema()Methods in org.everit.json.schema with parameters of type Schema Modifier and Type Method Description ArraySchema.BuilderArraySchema.Builder. addItemSchema(Schema itemSchema)Adds an item schema for tuple validation.ObjectSchema.BuilderObjectSchema.Builder. addPropertySchema(String propName, Schema schema)Adds a property schema.ArraySchema.BuilderArraySchema.Builder. allItemSchema(Schema allItemSchema)ArraySchema.BuilderArraySchema.Builder. containsItemSchema(Schema contained)ConditionalSchema.BuilderConditionalSchema.Builder. elseSchema(Schema elseSchema)ConditionalSchema.BuilderConditionalSchema.Builder. ifSchema(Schema ifSchema)NotSchema.BuilderNotSchema.Builder. mustNotMatch(Schema mustNotMatch)ObjectSchema.BuilderObjectSchema.Builder. patternProperty(String pattern, Schema schema)Deprecated.ObjectSchema.BuilderObjectSchema.Builder. patternProperty(Pattern pattern, Schema schema)Deprecated.ObjectSchema.BuilderObjectSchema.Builder. patternProperty(Regexp pattern, Schema schema)voidValidator. performValidation(Schema schema, Object input)ValidationExceptionValidationException. prepend(String fragment, Schema violatedSchema)Creates a newViolationExceptioninstance based on this one, but with changedJSON pointerand {linkviolated schema.ObjectSchema.BuilderObjectSchema.Builder. propertyNameSchema(Schema propertyNameSchema)ObjectSchema.BuilderObjectSchema.Builder. schemaDependency(String ifPresent, Schema expectedSchema)ArraySchema.BuilderArraySchema.Builder. schemaOfAdditionalItems(Schema schemaOfAdditionalItems)ObjectSchema.BuilderObjectSchema.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.CombinedSchema.BuilderCombinedSchema.Builder. subschema(Schema subschema)ConditionalSchema.BuilderConditionalSchema.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 Schema Modifier and Type Method Description static 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.BuilderCombinedSchema.Builder. subschemas(Collection<Schema> subschemas)Constructors in org.everit.json.schema with parameters of type Schema Constructor Description ValidationException(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 Schema Modifier and Type Class Description classValidationEvent<S extends Schema>Fields in org.everit.json.schema.event declared as Schema Modifier and Type Field Description protected SValidationEvent. schemaMethods in org.everit.json.schema.event that return Schema Modifier and Type Method Description SchemaSchemaReferencedEvent. getReferredSchema()SchemaCombinedSchemaValidationEvent. getSubSchema()Constructors in org.everit.json.schema.event with parameters of type Schema Constructor Description CombinedSchemaMatchEvent(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 Modifier and Type Method Description <K> voidJSONPrinter. printSchemaMap(Map<K,Schema> input) -
Uses of Schema in org.everit.json.schema.loader
Methods in org.everit.json.schema.loader that return Schema Modifier and Type Method Description static 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.
-