code: def test_invalid_training_job_schema(
      base_config_with_schema, valid_iam_role_arn, valid_vpc_config
  ):
      # Changing key names
      training_job_config = {
          "EnableNetworkIsolation1": True,
          "OutputDataConfig1": {"KmsKeyId": "somekmskey"},
          "ResourceConfig1": {"VolumeKmsKeyId": "somevolumekmskey"},
          "RoleArn1": valid_iam_role_arn,
          "VpcConfig1": valid_vpc_config,
      }
      config = base_config_with_schema
      config["SageMaker"] = {"TrainingJob": training_job_config}
      with pytest.raises(exceptions.ValidationError):
          validate(config, SAGEMAKER_PYTHON_SDK_CONFIG_SCHEMA)
  
imports: from __future__ import absolute_import
  from jsonschema import validate, exceptions
  import pytest
  from sagemaker.config.config_schema import SAGEMAKER_PYTHON_SDK_CONFIG_SCHEMA, SAGEMAKER_PYTHON_SDK_LOCAL_MODE_CONFIG_SCHEMA
label_desc: Use image node_id 22 for calling a global function with example usage: test_invalid_training_job_schema(base_config_with_schema, valid_iam_role_arn, valid_vpc_config) without return types