Package | Description |
---|---|
org.springframework.data.mongodb.core.schema |
MongoDB-specific JSON schema implementation classes.
|
Modifier and Type | Method and Description |
---|---|
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.additionalItems(boolean additionalItemsAllowed)
If set to false, no additional items besides
items(Collection) are allowed. |
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.allOf(Collection<JsonSchemaObject> allOf) |
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.anyOf(Collection<JsonSchemaObject> anyOf) |
static TypedJsonSchemaObject.ArrayJsonSchemaObject |
JsonSchemaObject.array()
Create a new
JsonSchemaObject of type : 'array' . |
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.description(String description) |
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.generatedDescription() |
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.items(Collection<JsonSchemaObject> items)
Define the
items allowed in the array. |
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.maxItems(int count)
Define the maxItems.
|
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.minItems(int count)
Define the maxItems.
|
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.notMatch(JsonSchemaObject notMatch) |
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.oneOf(Collection<JsonSchemaObject> oneOf) |
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.possibleValues(Collection<? extends Object> possibleValues) |
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.range(Range<Integer> range)
Define the minItems and maxItems via the given
Range . |
TypedJsonSchemaObject.ArrayJsonSchemaObject |
TypedJsonSchemaObject.ArrayJsonSchemaObject.uniqueItems(boolean uniqueItems)
Define the whether the array must contain unique items.
|
Constructor and Description |
---|
ArrayJsonSchemaProperty(String identifier,
TypedJsonSchemaObject.ArrayJsonSchemaObject schemaObject) |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.