Re-used the same Yup object schema for validating server and client input.