{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:golden_chestplate",
          "functions": [
            {
              "function": "minecraft:set_lore",
              "entity": "this",
              "lore": [
                {
                  "text": "Gives strength I and regeneration III for 3 seconds on lightning hit",
                  "color": "gray",
                  "italic": false
                }
              ],
              "mode": "replace_all"
            },
            {
              "function": "minecraft:set_name",
              "entity": "this",
              "name": {
                "text": "Lightning Chestplate",
                "color": "aqua",
                "bold": true,
                "italic": false
              }
            },
            {
              "function": "minecraft:set_custom_data",
              "tag": "{svm_ep.lightning_chestplate:1b}"
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:unbreakable": {}
              }
            },
            {
              "function": "minecraft:set_attributes",
              "modifiers": [
                {
                  "id": "def",
                  "attribute": "minecraft:generic.armor",
                  "amount": 8,
                  "operation": "add_value",
                  "slot": "chest"
                }
              ]
            },
            {
              "function": "minecraft:set_enchantments",
              "enchantments": {
                "minecraft:unbreaking": 10
              }
            }
          ]
        }
      ]
    }
  ]
}