{
  "anvil_cost": 2,
  "description": {
    "translate": "enchantment.minecraft.fire_protection"
  },
  "effects": {
    "minecraft:attributes": [
      {
        "amount": {
          "type": "minecraft:linear",
          "base": -0.15,
          "per_level_above_first": -0.15
        },
        "attribute": "minecraft:generic.burning_time",
        "id": "minecraft:enchantment.fire_protection",
        "operation": "add_multiplied_base"
      }
    ],
    "minecraft:damage_protection": [
      {
        "effect": {
          "type": "minecraft:add",
          "value": {
            "type": "minecraft:linear",
            "base": 2.0,
            "per_level_above_first": 2.0
          }
        },
        "requirements": {
          "condition": "minecraft:all_of",
          "terms": [
            {
              "condition": "minecraft:damage_source_properties",
              "predicate": {
                "tags": [
                  {
                    "expected": true,
                    "id": "minecraft:is_fire"
                  },
                  {
                    "expected": false,
                    "id": "minecraft:bypasses_invulnerability"
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },
  "exclusive_set": "#minecraft:exclusive_set/armor",
  "max_cost": {
    "base": 18,
    "per_level_above_first": 8
  },
  "max_level": 4,
  "min_cost": {
    "base": 10,
    "per_level_above_first": 8
  },
  "slots": [
    "armor"
  ],
  "supported_items": "#minecraft:enchantable/armor",
  "weight": 5
}