(Quick Reference)

min

Purpose

Ensures a value does not fall below the given minimum value.

Examples

age(min:new Date())
price(min:0F)

Description

Sets the minimum value of a class that implements java.lang.Comparable. The same type needs to be used as the property itself. This constraint influences schema generation.

Error Code: className.propertyName.min.notmet