{
    "criteria": {
      "requirement": {
        "trigger": "minecraft:entity_hurt_player",
        "conditions": {
          "player": [
            {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{Health:0f}"
              }
            }
          ]
        }
      }
    },
    "rewards": {
      "function": "snapgrave:is_dead"
    }
  }