How to make a structure with a chest with a custom loot table

i wanna make a structure with a random chest using loot tables i have the loot table but idk how to make it into the structure pls tell

{
  "pools": [
    {
      "rolls": 10,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:obsidian",
          "weight": 5,
          "quality": 1
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:bread",
          "weight": 4,
          "quality": 3
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:cobblestone",
          "weight": 5,
          "quality": 5
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:iron_ingot",
          "weight": 3,
          "quality": 2
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond",
          "weight": 1,
          "quality": 1
        }
      ]
    }
  ]
}
Continue to help post