code: def test_runtime_info(tmp_global_dir):
      schema = Schema(
          {
              "dvc_version": str,
              "is_binary": bool,
              "scm_class": Any("Git", None),
              "user_id": str,
              "system_info": dict,
              "group_id": Any(str, None),
          },
          required=True,
      )
  
      assert schema(analytics._runtime_info())
  
file_path: dvc/tests/unit/test_analytics.py
imports: import json
  import platform
  import pytest
  from voluptuous import Any, Schema
  from dvc import analytics
  from dvc.cli import parse_args
label_desc: Use image node_id 3 for calling a global function with example usage: test_runtime_info(tmp_global_dir) without return types