wanna use the 1.21 datapack but prevent trial chambers from spawning

I'm trying to generate a world in 1.20.4 with the 1.21 features datapack. I don't want the trial chambers to spawn, so I tried to add my own datapack with this in minecraft/worldgen/structure/trial_chambers.json :

{
  "type": "minecraft:trial_chambers",
  "biomes": "minecraft:the_void",
  "step": "underground_structures",
  "spawn_overrides": {}
}

This is what I usually do to remove a structure from spawning, and it works with other structures that exists in 1.20 (ocean monument, shipwreck...). However with trial chambers i get "Data pack validation failed!". Help!

Continue to help post