The validation function should return the valid properties.