range
Purpose
Uses a Groovy range to ensure that a property's value is within a specified rangeExamples
age range: 18..65
Description
Set to a Groovy range which can contain numbers in the form of anIntRange
, dates or any object that implements Comparable
and provides next
and previous
methods for navigation.This constraint influences schema generation.Error Code: className.propertyName.range.toosmall
or className.propertyName.range.toobig