def METHOD_NAME(self, context: str = None, **_) -> None:
    metadata = {}
    schema: SchemaDefinition = self.schema
    metadata["license"] = schema.license
    metadata["mapping_set_id"] = schema.id
    metadata["mapping_tool"] = LINKML
    metadata["creator_id"] = "linkml_user"
    metadata["mapping_date"] = date.today().strftime("%Y-%m-%d")
    metadata["curie_map"] = {k: v.prefix_reference for k, v in schema.prefixes.items()}
    with open(self.output_file, "w", encoding="UTF-8") as sssom_tsv:
        for k, v in metadata.items():
            if k != "curie_map":
                sssom_tsv.write("#" + k + ": " + v + "\n")
            else:
                v: dict
                sssom_tsv.write("#" + k + ": \n")
                for pref, uri in v.items():
                    sssom_tsv.write("# " + pref + ": " + uri + "\n")
        # Write column names first
        sssom_tsv.writelines("\t".join(self.msdf_columns) + "\n")
        # Write the msdf next
        sssom_tsv.writelines("\t".join(i) + "\n" for i in self.table_as_list)