Class ArraySchema

    • Field Detail

      • maxItems

        protected java.lang.Integer maxItems
        This attribute defines the maximum number of values in an array
      • minItems

        protected java.lang.Integer minItems
        This attribute defines the minimum number of values in an array
      • uniqueItems

        protected java.lang.Boolean uniqueItems
        This attribute indicates that all items in an array instance MUST be unique (contains no two identical values). Two instance are consider equal if they are both of the same type and: are null; or are booleans/numbers/strings and have the same value; or are arrays, contains the same number of items, and each item in the array is equal to the corresponding item in the other array; or are objects, contains the same property names, and each property in the object is equal to the corresponding property in the other object.
    • Constructor Detail

      • ArraySchema

        public ArraySchema()
    • Method Detail

      • getMaxItems

        public java.lang.Integer getMaxItems()
      • getMinItems

        public java.lang.Integer getMinItems()
      • getType

        public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
        Specified by:
        getType in class JsonSchema
      • getUniqueItems

        public java.lang.Boolean getUniqueItems()
      • isArraySchema

        public boolean isArraySchema()
        Description copied from class: JsonSchema
        determine if this JsonSchema is an ArraySchema.
        Overrides:
        isArraySchema in class JsonSchema
        Returns:
        true if this JsonSchema is an ArraySchema, false otherwise
      • setItemsSchema

        public void setItemsSchema​(JsonSchema jsonSchema)
      • setMaxItems

        public void setMaxItems​(java.lang.Integer maxItems)
      • setMinItems

        public void setMinItems​(java.lang.Integer minItems)
      • setUniqueItems

        public void setUniqueItems​(java.lang.Boolean uniqueItems)
      • _equals

        protected boolean _equals​(ArraySchema that)