{
  "primary_items": "minecraft:shield",
  "anvil_cost": 2,
  "description": "Greatshield",
  "effects": {
    "minecraft:item_damage": [
      {
        "effect": {
          "type": "minecraft:remove_binomial",
          "chance": {
            "type": "minecraft:fraction",
            "denominator": {
              "type": "minecraft:linear",
              "base": 10,
              "per_level_above_first": 5
            },
            "numerator": {
              "type": "minecraft:linear",
              "base": 9,
              "per_level_above_first": 2
            }
          }
        },
        "requirements": {
          "condition": "minecraft:match_tool",
          "predicate": {
            "items": "#minecraft:enchantable/armor"
          }
        }
      },
      {
        "effect": {
          "type": "minecraft:remove_binomial",
          "chance": {
            "type": "minecraft:fraction",
            "denominator": {
              "type": "minecraft:linear",
              "base": 2,
              "per_level_above_first": 1
            },
            "numerator": {
              "type": "minecraft:linear",
              "base": 1,
              "per_level_above_first": 1
            }
          }
        },
        "requirements": {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:match_tool",
            "predicate": {
              "items": "#minecraft:enchantable/armor"
            }
          }
        }
      }
    ],
    "minecraft:post_attack": [
      {
        "effect": {
          "type": "minecraft:run_function",
          "function": "kiwi:enchantment_function/colossal_shield_bash"
        },
        "enchanted": "attacker",
        "affected": "victim"
      }
    ]
  },
  "max_cost": {
    "base": 55,
    "per_level_above_first": 8
  },
  "max_level": 1,
  "min_cost": {
    "base": 5,
    "per_level_above_first": 8
  },
  "slots": [
    "any"
  ],
  "supported_items": "minecraft:shield",
  "weight": 5
}