Package org.codehaus.jackson.schema
Annotation Type JsonSerializableSchema
-
@Target(TYPE) @Retention(RUNTIME) public @interface JsonSerializableSchemaAnnotation 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.
- Author:
- Ryan Heaton
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringschemaItemDefinitionIf the schema type if "array", the node that defines the schema for the items in the array.java.lang.StringschemaObjectPropertiesDefinitionIf the schema type is "object", the node that defines the properties of the object.java.lang.StringschemaTypeThe schema type for this JsonSerializable instance.
-