class_docstr: A wrapper for inspecting a JSON schema
class_docstr_tok: ["A","wrapper","for","inspecting","a","JSON","schema"]
code: def __repr__(self) -> str:
      keys = []
      for key in sorted(self.schema.keys()):
          val = self.schema[key]
          rval = repr(val).replace("\n", "")
          if len(rval) > 30:
              rval = rval[:30] + "..."
          if key == "definitions":
              rval = "{...}"
          elif key == "properties":
              rval = (
                  "{\n    "
                  + "\n    ".join(sorted(map(repr, val)))
                  + "\n  }"
              )
          keys.append('"{}": {}'.format(key, rval))
      return "SchemaInfo({\n  " + "\n  ".join(keys) + "\n})"
  
imports: import keyword
  import re
  import subprocess
  import textwrap
  import urllib
  from typing import Any, Dict, Final, Iterable, List, Optional, Union
  from .schemapi import _resolve_references
label_desc: Use image node_id 3 for calling the SchemaInfo obj's underlying member method code with example usage: obj.__repr__() and returns: unknown