The validate functionality should use the mongoose/typegoose validation properties to check if model values are valid.