code: def _parse_schema_json(schema_json):
      """Translate a JSON schema into a Schema proto."""
      schema_dict = json.loads(schema_json)
      feature_spec = {
          feature_dict["name"]: _column_schema_from_json(feature_dict)
          for feature_dict in schema_dict.get("feature", [])
      }
      domains = {
          feature_dict["name"]: _domain_from_json(
              feature_dict["domain"]
          )
          for feature_dict in schema_dict.get("feature", [])
      }
      return schema_utils.schema_from_feature_spec(
          feature_spec, domains
      )
  
file_path: transform/tensorflow_transform/tf_metadata/metadata_io.py
imports: import json
  import os
  import tensorflow
  from tensorflow_transform.tf_metadata import dataset_metadata
  from tensorflow_transform.tf_metadata import schema_utils
  from google.protobuf import text_format
  from tensorflow.python.lib.io import file_io
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 2 for calling a global function with example usage: _parse_schema_json(schema_json) and returns: schema_utils