public static class MongoJsonSchema.MongoJsonSchemaBuilder extends Object
MongoJsonSchema.MongoJsonSchemaBuilder
MongoJsonSchema
additionalProperties(boolean additionalPropertiesAllowed)
additionalProperties(TypedJsonSchemaObject.ObjectJsonSchemaObject schema)
allOf(Set<JsonSchemaObject> allOf)
anyOf(Set<JsonSchemaObject> anyOf)
build()
description(String description)
maxProperties(int count)
minProperties(int count)
notMatch(JsonSchemaObject notMatch)
oneOf(Set<JsonSchemaObject> oneOf)
patternProperties(JsonSchemaProperty... properties)
possibleValues(Set<Object> possibleValues)
properties(JsonSchemaProperty... properties)
property(JsonSchemaProperty property)
required(String... properties)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MongoJsonSchema.MongoJsonSchemaBuilder minProperties(int count)
count
this
TypedJsonSchemaObject.ObjectJsonSchemaObject.minProperties(int)
public MongoJsonSchema.MongoJsonSchemaBuilder maxProperties(int count)
TypedJsonSchemaObject.ObjectJsonSchemaObject.maxProperties(int)
public MongoJsonSchema.MongoJsonSchemaBuilder required(String... properties)
properties
TypedJsonSchemaObject.ObjectJsonSchemaObject.required(String...)
public MongoJsonSchema.MongoJsonSchemaBuilder additionalProperties(boolean additionalPropertiesAllowed)
additionalPropertiesAllowed
TypedJsonSchemaObject.ObjectJsonSchemaObject.additionalProperties(boolean)
public MongoJsonSchema.MongoJsonSchemaBuilder additionalProperties(TypedJsonSchemaObject.ObjectJsonSchemaObject schema)
schema
ObjectJsonSchemaObject#additionalProperties(ObjectJsonSchemaObject)
public MongoJsonSchema.MongoJsonSchemaBuilder properties(JsonSchemaProperty... properties)
TypedJsonSchemaObject.ObjectJsonSchemaObject.properties(JsonSchemaProperty...)
public MongoJsonSchema.MongoJsonSchemaBuilder patternProperties(JsonSchemaProperty... properties)
TypedJsonSchemaObject.ObjectJsonSchemaObject.patternProperties(JsonSchemaProperty...)
public MongoJsonSchema.MongoJsonSchemaBuilder property(JsonSchemaProperty property)
property
TypedJsonSchemaObject.ObjectJsonSchemaObject.property(JsonSchemaProperty)
public MongoJsonSchema.MongoJsonSchemaBuilder possibleValues(Set<Object> possibleValues)
possibleValues
TypedJsonSchemaObject.ObjectJsonSchemaObject.possibleValues(Collection)
public MongoJsonSchema.MongoJsonSchemaBuilder allOf(Set<JsonSchemaObject> allOf)
allOf
UntypedJsonSchemaObject.allOf(Collection)
public MongoJsonSchema.MongoJsonSchemaBuilder anyOf(Set<JsonSchemaObject> anyOf)
anyOf
UntypedJsonSchemaObject.anyOf(Collection)
public MongoJsonSchema.MongoJsonSchemaBuilder oneOf(Set<JsonSchemaObject> oneOf)
oneOf
UntypedJsonSchemaObject.oneOf(Collection)
public MongoJsonSchema.MongoJsonSchemaBuilder notMatch(JsonSchemaObject notMatch)
notMatch
UntypedJsonSchemaObject.notMatch(JsonSchemaObject)
public MongoJsonSchema.MongoJsonSchemaBuilder description(String description)
description
UntypedJsonSchemaObject.description(String)
public MongoJsonSchema build()
Impressum und Datenschutz Copyright ©2018 eir.me