code: def test_save_schema(self) -> None:
      description = "classification"
      ids = [1, 2, 3, 4]
      names = ["name1", "name2", "name3", "name4"]
      expected_format = {
          "task_type": "classification",
          "categories": [
              {"id": 1, "name": "name1"},
              {"id": 2, "name": "name2"},
              {"id": 3, "name": "name3"},
              {"id": 4, "name": "name4"},
          ],
      }
      with tempfile.NamedTemporaryFile(suffix=".json") as file:
          io.save_schema(file.name, description, ids, names)
          with open(file.name, "r") as f:
              loaded = json.load(f)
      self.assertListEqual(sorted(expected_format), sorted(loaded))
  
imports: import csv
  import json
  import tempfile
  import unittest
  from pathlib import Path
  import numpy
  from lightly.utils import io
  from tests.api_workflow.mocked_api_workflow_client import MockedApiWorkflowSetup
label_desc: Use image node_id 9 for calling the TestEmbeddingsIO obj's underlying member method code with example usage: obj.test_save_schema() without return types