Added getPropertyValidation() function.