def document ( schema ) : teleport_schema = from_val ( schema ) return json . dumps ( teleport_schema , sort_keys = True , indent = 2 )
how to get schema of json in python
Print a documented teleport version of the schema .
def document(schema):
    """Print a documented teleport version of the schema."""
    teleport_schema = from_val(schema)
    return json.dumps(teleport_schema, sort_keys=True, indent=2)