Skip to main content

json_schema

Function json_schema 

Source
pub fn json_schema<B: Borrow<BlockInfo>>(registry: &[B]) -> Value
Expand description

The JSON Schema of a block of a link: one alternative per block of the registry (a mapping with its type, an optional label and its parameters, or its name alone when it needs no parameter).