docstr: Validate searchspace content,
  if the searchspace file is not json format or its values does not contain _type and _value which must be specified,
  it will not be a valid searchspace file
docstr_tok: ["Validate","searchspace","content",",","if","the","searchspace","file","is","not","json","format","or","its","values","does","not","contain","_type","and","_value","which","must","be","specified",",","it","will","not","be","a","valid","searchspace","file"]
code: def validate_search_space_content(self, experiment_config):
      """Validate searchspace content,
      if the searchspace file is not json format or its values does not contain _type and _value which must be specified,
      it will not be a valid searchspace file"""
      try:
          search_space_content = json.load(
              open(experiment_config.get("searchSpacePath"), "r")
          )
          for value in search_space_content.values():
              if not value.get("_type") or not value.get("_value"):
                  raise SchemaError(
                      "please use _type and _value to specify searchspace!"
                  )
      except Exception as e:
          raise SchemaError(
              "searchspace file is not a valid json format! " + str(e)
          )
  
imports: import json
  import os
  from schema import And, Optional, Or, Regex, Schema, SchemaError
  from nni.tools.package_utils.tuner_factory import create_validator_instance
  from .common_utils import get_yml_content, print_warning
  from .constants import SCHEMA_PATH_ERROR, SCHEMA_RANGE_ERROR, SCHEMA_TYPE_ERROR
label_desc: Use image node_id 4 for calling the NNIConfigSchema obj's underlying member method code with example usage: obj.validate_search_space_content(experiment_config) without return types