, while the array keys are the attributes whose values are to be validated. If the key and the value are the same, you can just specify the value.  filter: additional filter to be applied to the DB query used to check the 