pub fn object_schema(
params: &[ParamInfo],
fixed: &[(&str, Value)],
) -> Map<String, Value>Expand description
The JSON Schema of a mapping of parameters: its properties (the schema of every
parameter), the required ones, no other key; fixed adds properties first (the
type of a block or of a variant) and makes them required.