pub type ValidatorFn = dyn Fn(&[String]) -> Result<()> + Send + Sync;
Type alias for custom validation functions