Annotation Interface JsonSchema.Array.UniqueItems

Enclosing class:
JsonSchema.Array

@Target({METHOD,FIELD}) @Retention(CLASS) public static @interface JsonSchema.Array.UniqueItems
Whether the array must contain only the unique items.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether the array must contain only the unique items.
  • Element Details

    • value

      boolean value
      Whether the array must contain only the unique items. Default value is true.
      Returns:
      only unique values
      Default:
      true