pub fn max_value( max: f64, ) -> impl Fn(&str, &Value) -> Result<(), String> + Send + Sync + Clone
Validator: number must not exceed maximum