public interface ObjectTypeDeclaration extends TypeDeclaration
| Modifier and Type | Method and Description |
|---|---|
TypeDeclaration |
additionalProperties()
JSON schema style syntax for declaring maps
|
String |
discriminator()
Type property name to be used as discriminator, or boolean
|
String |
discriminatorValue()
The value of discriminator for the type.
|
Integer |
maxProperties()
The maximum number of properties allowed for instances of this type.
|
Integer |
minProperties()
The minimum number of properties allowed for instances of this type.
|
List<TypeDeclaration> |
patternProperties()
JSON schema style syntax for declaring key restricted maps
|
List<TypeDeclaration> |
properties()
The properties that instances of this type may or must have.
|
allowedTargets, defaultValue, description, displayName, example, examples, fixedFacets, isAnnotation, name, required, schema, schemaContent, type, validateannotationsList<TypeDeclaration> properties()
Integer minProperties()
Integer maxProperties()
TypeDeclaration additionalProperties()
List<TypeDeclaration> patternProperties()
String discriminator()
String discriminatorValue()
Copyright © 2016. All rights reserved.