added option to validate all properties instead of stopping after the first failure