don't validate if no schema is defined