code: def validate_hybrid_platforms(self, experiment_config):
      required_config_name_map = {
          "remote": "machineList",
          "aml": "amlConfig",
          "pai": "paiConfig",
      }
      if experiment_config.get("trainingServicePlatform") == "hybrid":
          for platform in experiment_config["hybridConfig"][
              "trainingServicePlatforms"
          ]:
              config_name = required_config_name_map.get(platform)
              if config_name and not experiment_config.get(config_name):
                  raise SchemaError(
                      "Need to set {0} for {1} in hybrid mode!".format(
                          config_name, platform
                      )
                  )
  
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 9 for calling the NNIConfigSchema obj's underlying member method code with example usage: obj.validate_hybrid_platforms(experiment_config) without return types