pub fn json_schema(
root: &ShapeDef,
root_name: &str,
definitions: &Definitions,
options: &SchemaOptions<'_>,
) -> ValueExpand description
A standalone document for root, written inline at the top with every other definition under $defs (or
definitions). root_name is the root’s own definition, dropped from the block unless another definition
refers to it.