Interface JsonSchemaObject

All Known Subinterfaces:
JsonSchemaProperty
All Known Implementing Classes:
IdentifiableJsonSchemaProperty, IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty, IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty, IdentifiableJsonSchemaProperty.DateJsonSchemaProperty, IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty, IdentifiableJsonSchemaProperty.NullJsonSchemaProperty, IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty, IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty, IdentifiableJsonSchemaProperty.RequiredJsonSchemaProperty, IdentifiableJsonSchemaProperty.StringJsonSchemaProperty, IdentifiableJsonSchemaProperty.TimestampJsonSchemaProperty, IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty, TypedJsonSchemaObject, TypedJsonSchemaObject.ArrayJsonSchemaObject, TypedJsonSchemaObject.BooleanJsonSchemaObject, TypedJsonSchemaObject.NumericJsonSchemaObject, TypedJsonSchemaObject.ObjectJsonSchemaObject, TypedJsonSchemaObject.StringJsonSchemaObject, UntypedJsonSchemaObject

public interface JsonSchemaObject
Interface that can be implemented by objects that know how to serialize themselves to JSON schema using toDocument().
This class also declares factory methods for type-specific schema objects such as string() or object(). For example:
 JsonSchemaProperty.object("address").properties(JsonSchemaProperty.string("city").minLength(3));
 
Since:
2.1
Author:
Christoph Strobl, Mark Paluch