Advancement difficulties

Wanted the advancement to check if a player picked up every of my custom enchantments, so I tested it with one of them and it didn't work.

The advancement shows up in the auto-complete for the command advancement grant and the logs show no warning or error.

This is my criteria:

"criteria": {
    "abyssal_architect": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "items": "minecraft:enchanted_book",
            "components": {
              "enchantments": {
                "stolz:abyssal_architect": 1
              }
            }
          }
        ]
      }
    }
  }

Btw I also want it to work for every level of the enchantments.

Continue to help post