@Target(value=TYPE) @Retention(value=RUNTIME) public @interface JsonSerializableSchema
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.
Modifier and Type | Optional Element and Description |
---|---|
String |
schemaItemDefinition
If the schema type if "array", the node that defines the schema for the items in the array.
|
String |
schemaObjectPropertiesDefinition
If the schema type is "object", the node that defines the properties of the object.
|
String |
schemaType
The schema type for this JsonSerializable instance.
|
public abstract String schemaType
public abstract String schemaObjectPropertiesDefinition
public abstract String schemaItemDefinition