Which items that can be enchanted is up to vanilla MC to handle
enchant_item_enchantment
Material
Amount
Enchantment
Material is the item enchanted and the amount is the times a item needs to be enchanted And the Enchantment is to make it specific that it ony triggers on that enchantment