{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "equipment": {
                "chest": {
                  "predicates": {
                    "minecraft:custom_data": "{svm_ep.lightning_chestplate:1b}"
                  }
                }
              }
            }
          }
        ],
        "damage": {
          "type": {
            "tags": [
              {
                "id": "svm_ep:lightning",
                "expected": true
              }
            ]
          }
        }
      }
    }
  },
  "rewards": {
    "function": "svm_ep:items/lightning_chestplate/hitted"
  }
}
