1 package com.fasterxml.jackson.annotation;
2 
3 import java.lang.annotation.Documented;
4 import java.lang.annotation.ElementType;
5 import java.lang.annotation.Retention;
6 import java.lang.annotation.RetentionPolicy;
7 import java.lang.annotation.Target;
8 
9 /**
10  * Annotation used to define a human readable description for annotated
11  * type (class).
12  * Currently used to populate the description field in generated JSON
13  * Schemas.
14  *
15  * @since 2.7
16  */
17 @Target({ElementType.ANNOTATION_TYPE, ElementType.TYPE})
18 @Retention(RetentionPolicy.RUNTIME)
19 @Documented
20 @JacksonAnnotation
21 public @interface JsonClassDescription
22 {
23     /**
24      * Defines a human readable description of the class.
25      */
value()26     String value() default "";
27 }
28