Skip to content

nested_object ​

Describes validation rules for a nested object.

Error codes: the errors of the nested rules, or FORMAT_ERROR if the value is not an object.

Live example · edit rules or inputOpen in playground
rules
input
Invaliderrors
{
  "address": {
    "zip": "NOT_POSITIVE_INTEGER"
  }
}

Errors are returned in the same shape as the data.