code: def _load_grid_geojson(
      target_directory: str | Path | None = None,
  ) -> dict[str, Any]:
      """
      Returns
      -------
      dict[str, Any]:
          The PROJ grid data list.
      """
      if target_directory is None:
          target_directory = get_user_data_dir(True)
      local_path = Path(target_directory, "files.geojson")
      if not local_path.exists() or (
          (
              datetime.utcnow()
              - datetime.fromtimestamp(local_path.stat().st_mtime)
          ).days
          > 0
      ):
          _download_resource_file(
              file_url=f"{get_proj_endpoint()}/files.geojson",
              short_name="files.geojson",
              directory=target_directory,
          )
      return json.loads(local_path.read_text(encoding="utf-8"))
  
imports: import hashlib
  import json
  import os
  from datetime import datetime
  from functools import partial
  from pathlib import Path
  from typing import Any
  from urllib.request import urlretrieve
  from pyproj._sync import get_proj_endpoint
  from pyproj.aoi import BBox
  from pyproj.datadir import get_data_dir, get_user_data_dir
label_desc: Use image node_id 9 for calling a global function with example usage: _load_grid_geojson(target_directory) and returns: json