Imagine I have an object like
{
  field1: 'test',
  field2: 'test1'
}
How I can create the following validation:
If field1 and field2 both are empty - it is not valid
If field1 and field2 both are not empty - it is not valid
Other cases are valid.