Hapi & joi have changed how they do validation, it's now async and hapi expects the respective validation property to be a function and not a validation object with the custom validation function as a property.