iso_date
Checks that the value is an ISO 8601 date without time, for example "2014-08-14".
Error codes: WRONG_DATE, FORMAT_ERROR
rules
input
Invaliderrors
{
"birth_date": "WRONG_DATE"
}Checks that the value is an ISO 8601 date without time, for example "2014-08-14".
Error codes: WRONG_DATE, FORMAT_ERROR
{
birth_date: 'iso_date'
}{
birth_date: '2014-02-30'
}{
"birth_date": "WRONG_DATE"
}