Check that the validation is exactly correct for objects/arrays.