code: def format_json_example(example: dict, depth: int) -> str:
      """
      Format a JSON example into a readable string with indentation.
  
      Args:
          example (dict): JSON example to be formatted.
          depth (int): Indentation depth.
  
      Returns:
          str: Formatted JSON example string.
      """
      indent = "    " * depth
      formatted_example = "{\n"
      for key, value in example.items():
          value_text = f"'{value}'" if isinstance(value, str) else value
          formatted_example += f"{indent}{key}: {value_text},\n"
      formatted_example = (
          formatted_example.rstrip(",\n") + "\n" + indent + "}"
      )
      return formatted_example
  
imports: import inspect
  import json
  from copy import copy
  from inspect import isclass, getdoc
  from types import NoneType
  from docstring_parser import parse
  from pydantic import BaseModel, create_model, Field
  from typing import Any, Type, List, get_args, get_origin, Tuple, Union, Optional, _GenericAlias
  from enum import Enum
  from typing import get_type_hints, Callable
  import re
  from enum import Enum
label_desc: Use image node_id 14 for calling a global function with example usage: format_json_example(example, depth) and returns: formatted_example