Uses of Class
org.springframework.data.mongodb.core.schema.TypedJsonSchemaObject.ObjectJsonSchemaObject
Packages that use TypedJsonSchemaObject.ObjectJsonSchemaObject
Package
Description
MongoDB-specific JSON schema implementation classes.
-
Uses of TypedJsonSchemaObject.ObjectJsonSchemaObject in org.springframework.data.mongodb.core.schema
Methods in org.springframework.data.mongodb.core.schema that return TypedJsonSchemaObject.ObjectJsonSchemaObjectModifier 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 newJsonSchemaObjectoftype : 'object'.TypedJsonSchemaObject.ObjectJsonSchemaObject.oneOf(Collection<JsonSchemaObject> oneOf) TypedJsonSchemaObject.ObjectJsonSchemaObject.patternProperties(JsonSchemaProperty... regularExpressions) Append regular expression patterns along with theJsonSchemaObjectmatching properties validating against.TypedJsonSchemaObject.ObjectJsonSchemaObject.possibleValues(Collection<? extends Object> possibleValues) TypedJsonSchemaObject.ObjectJsonSchemaObject.properties(JsonSchemaProperty... properties) Append the objects properties along with theJsonSchemaObjectvalidating against.TypedJsonSchemaObject.ObjectJsonSchemaObject.propertiesCount(Range<Integer> range) Define the minProperties and maxProperties via the givenRange.
In-/Exclusions viarange boundsare not taken into account.TypedJsonSchemaObject.ObjectJsonSchemaObject.property(JsonSchemaProperty property) Append the objects property along with theJsonSchemaObjectvalidating against.Define the Object’s required properties.Methods in org.springframework.data.mongodb.core.schema with parameters of type TypedJsonSchemaObject.ObjectJsonSchemaObjectModifier 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.