Array validation with non iterative rules