example datapack for spawning a structure at a fixed location

Does someone have a data pack that spawns a saved structure at a fixed location? I need some kind of example as a starting point to further develop.
Continue to help post