{
  "criteria": {
    "damage": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "source_entity": {
            "entity_type": "minecraft:zombie",
            "nbt": "{Tags:[\"rainman\"]}"
          }
        }
      }
    }
  },
  "requirements": [
    [
      "damage"
    ]
  ],
  "rewards": {
    "function": "backrooms:damagecheck/rainman"
  }
}