code: def generate_dummy_schema_with_paths(
      paths: List[types.FeaturePath],
  ) -> schema_pb2.Schema:
      """Generate a schema with the requested paths and no other information."""
      schema = schema_pb2.Schema()
      tree = _paths_to_tree(paths)
  
      def _add(container, name, children):
          container.feature.add(name=name)
          if children:
              for child_name, grandchildren in children.items():
                  _add(
                      container.feature[-1].struct_domain,
                      child_name,
                      grandchildren,
                  )
  
      for name, children in tree.items():
          _add(schema, name, children)
      return schema
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import logging
  from typing import Any, Iterable, List, Mapping, Optional, Set, Text, Tuple, Union
  from tensorflow_data_validation import types
  from tensorflow_data_validation.utils import io_util
  from google.protobuf import descriptor
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 15 for calling a global function with example usage: generate_dummy_schema_with_paths(paths) and returns: schema