public interface JsonSchemaProperty extends JsonSchemaObject
JsonSchemaObject of type : 'object'.| Modifier and Type | Interface and Description |
|---|---|
static class |
JsonSchemaProperty.JsonSchemaPropertyBuilder
Builder for
IdentifiableJsonSchemaProperty. |
JsonSchemaObject.TypeString getIdentifier()
TypedJsonSchemaObject.ObjectJsonSchemaObject.patternProperties(JsonSchemaProperty...).default boolean isRequired()
static IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty untyped(String identifier)
IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty with given identifier without type.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.UntypedJsonSchemaProperty.static IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty encrypted(JsonSchemaProperty property)
ecrypted one.property - must not be null.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty.static IdentifiableJsonSchemaProperty.StringJsonSchemaProperty string(String identifier)
IdentifiableJsonSchemaProperty.StringJsonSchemaProperty with given identifier of type : 'string'.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.StringJsonSchemaProperty.static IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty object(String identifier)
IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty with given identifier of type : 'object'.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty.static JsonSchemaProperty objectId(String identifier)
JsonSchemaProperty with given identifier of bsonType : 'objectId'.identifier - the property name or patternProperty regex. Must not be null nor
empty.JsonSchemaProperty.static IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty number(String identifier)
IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty with given identifier of type : 'number'.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty.static IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty int32(String identifier)
IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty with given identifier of bsonType : 'int'.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty.static IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty int64(String identifier)
IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty with given identifier of bsonType : 'long'.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty.static IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty float64(String identifier)
IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty with given identifier of bsonType : 'double'.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty.static IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty decimal128(String identifier)
IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty with given identifier of
bsonType : 'decimal128'.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.NumericJsonSchemaProperty.static IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty array(String identifier)
IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty with given identifier of type : 'array'.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.ArrayJsonSchemaProperty.static IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty bool(String identifier)
IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty with given identifier of type : 'boolean'.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty.static IdentifiableJsonSchemaProperty.NullJsonSchemaProperty nil(String identifier)
IdentifiableJsonSchemaProperty.BooleanJsonSchemaProperty with given identifier of type : 'null'.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.NullJsonSchemaProperty.static IdentifiableJsonSchemaProperty.DateJsonSchemaProperty date(String identifier)
IdentifiableJsonSchemaProperty.DateJsonSchemaProperty with given identifier of type : 'date'.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.DateJsonSchemaProperty.static IdentifiableJsonSchemaProperty.TimestampJsonSchemaProperty timestamp(String identifier)
IdentifiableJsonSchemaProperty.TimestampJsonSchemaProperty with given identifier of type : 'timestamp'.identifier - the property name or patternProperty regex. Must not be null nor
empty.IdentifiableJsonSchemaProperty.TimestampJsonSchemaProperty.static JsonSchemaProperty.JsonSchemaPropertyBuilder named(String identifier)
JsonSchemaProperty.identifier - static JsonSchemaProperty required(JsonSchemaProperty property)
JsonSchemaProperty into a required on.property - must not be null.JsonSchemaProperty.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.