code: def transform_properties(properties, schema):
      
      new_properties = properties.copy()
      for prop_value, (prop_name, prop_type) in zip(new_properties.values(), schema["properties"].items()):
          if prop_value is None:
              continue
          elif prop_type == "time":
              new_properties[prop_name] = parse_date(prop_value).time()
          elif prop_type == "date":
              new_properties[prop_name] = parse_date(prop_value).date()
          elif prop_type == "datetime":
              new_properties[prop_name] = parse_date(prop_value)
  
      return new_properties
docs: Transform properties types according to a schema.
  
      Parameters
      ----------
      properties : dict
          Properties to transform.
      schema : dict
          Fiona schema containing the types.