code: def jsonschema(type_: Type[T]):
      return pydantic.schema_json_of(type_, indent=2)
  
imports: import typing
  from typing import Any, Optional, Type, TypeVar
  import pydantic
label_desc: Use image node_id 2 for calling a global function with example usage: jsonschema(type_) and returns: pydantic