code: def merge_schema(first, second):
      
      if not (type(first) == type(second) == dict):
          raise ValueError("Argument is not a schema")
  
      if not (first.get('type') == second.get('type') == 'object'):
          raise NotImplementedError("Unsupported root type")
  
      return merge_objects(first, second)
docs: Returns the result of merging the two given schemas.