pub fn variants_schema(variants: &[(&'static str, Vec<ParamInfo>)]) -> ValueExpand description
The JSON Schema of a mapping with a type among variants, each with its parameters
(their types, defaults, units, accepted values and bounds), for
ParamType::schema.