Import data with the possibility of importing new data in link fields

Hello
I created a docttype I want to import its data
But there are link fields in it and I want the new data related to that table to be imported and linked together.
The relevant table is not a child table

example:
School docttype:
Title Data
Type Link typetable
address data

typetable docttype:

Title data
Description text