How to use the loot table in trial spawner?

/setblock ~ ~ ~ minecraft:trial_spawner[trial_spawner_state=active]{loot_tables_to_eject:[],spawn_data:{entity:{id: "minecraft:pig"}},spawn_potentials:[]}

Continue to help post