| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface JsonSerializableSchema
Annotation that can be used to define JSON Schema definition for the annotated class.
Note that annotation is often not needed: for example, regular Jackson beans that Jackson can introspect can be used without annotations, to produce JSON schema definition.
| Optional Element Summary | |
|---|---|
|  String | idProperty that can be used to indicate id of the type when generating JSON Schema; empty String indicates that no id is defined. | 
|  String | schemaItemDefinitionIf the schema type if "array", JSON definition of the schema for item types contained. | 
|  String | schemaObjectPropertiesDefinitionIf the schema type is "object", JSON definition of properties of the object as a String. | 
|  String | schemaTypeThe schema type for this JsonSerializable instance. | 
public abstract String id
public abstract String schemaType
public abstract String schemaObjectPropertiesDefinition
public abstract String schemaItemDefinition
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||