Uses of Class
org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
Package
Description
MongoDB-specific JSON schema implementation classes.
-
Uses of TypedJsonSchemaObject.ObjectJsonSchemaObject in org.springframework.data.mongodb.core.schema
Modifier and TypeMethodDescriptionTypedJsonSchemaObject.ObjectJsonSchemaObject.additionalProperties
(boolean additionalPropertiesAllowed) If set to false, additional fields besidesproperties(JsonSchemaProperty...)
/patternProperties(JsonSchemaProperty...)
are not allowed.TypedJsonSchemaObject.ObjectJsonSchemaObject.additionalProperties
(TypedJsonSchemaObject.ObjectJsonSchemaObject schema) If specified, additional fields must validate against the given schema.TypedJsonSchemaObject.ObjectJsonSchemaObject.allOf
(Collection<JsonSchemaObject> allOf) TypedJsonSchemaObject.ObjectJsonSchemaObject.anyOf
(Collection<JsonSchemaObject> anyOf) TypedJsonSchemaObject.ObjectJsonSchemaObject.description
(String description) TypedJsonSchemaObject.ObjectJsonSchemaObject.generatedDescription()
TypedJsonSchemaObject.ObjectJsonSchemaObject.maxProperties
(int count) Define the maxProperties.TypedJsonSchemaObject.ObjectJsonSchemaObject.minProperties
(int count) Define the minProperties.TypedJsonSchemaObject.ObjectJsonSchemaObject.notMatch
(JsonSchemaObject notMatch) JsonSchemaObject.object()
Create a newJsonSchemaObject
oftype : 'object'
.TypedJsonSchemaObject.ObjectJsonSchemaObject.oneOf
(Collection<JsonSchemaObject> oneOf) TypedJsonSchemaObject.ObjectJsonSchemaObject.patternProperties
(JsonSchemaProperty... regularExpressions) Append regular expression patterns along with theJsonSchemaObject
matching properties validating against.TypedJsonSchemaObject.ObjectJsonSchemaObject.possibleValues
(Collection<? extends Object> possibleValues) TypedJsonSchemaObject.ObjectJsonSchemaObject.properties
(JsonSchemaProperty... properties) Append the objects properties along with theJsonSchemaObject
validating against.TypedJsonSchemaObject.ObjectJsonSchemaObject.propertiesCount
(Range<Integer> range) Define the minProperties and maxProperties via the givenRange
.
In-/Exclusions viarange bounds
are not taken into account.TypedJsonSchemaObject.ObjectJsonSchemaObject.property
(JsonSchemaProperty property) Append the objects property along with theJsonSchemaObject
validating against.Define the Object’s required properties.Modifier and TypeMethodDescriptionIdentifiableJsonSchemaProperty.ObjectJsonSchemaProperty.additionalProperties
(TypedJsonSchemaObject.ObjectJsonSchemaObject additionalProperties) MongoJsonSchema.MongoJsonSchemaBuilder.additionalProperties
(TypedJsonSchemaObject.ObjectJsonSchemaObject schema) TypedJsonSchemaObject.ObjectJsonSchemaObject.additionalProperties
(TypedJsonSchemaObject.ObjectJsonSchemaObject schema) If specified, additional fields must validate against the given schema.