Dynamically changing loot table

I want to make a loot table that drops the contents of a particular shulker box. Right now I have this:

    "pools": [
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:dynamic",
                    "name": "minecraft:contents"
                }
            ]
        }
    ]
}```
and need help with how to connect a shulker box to this.
Continue to help post