{
  "criteria": {
    "use_bandage": {
      "trigger": "minecraft:using_item",
      "conditions": {
        "item": {
          "items": "minecraft:poisonous_potato",
          "components": {
            "minecraft:custom_data": {
              "IsBandage": true
            }
          }
        }
      }
    }
  },
  "requirements": [
    [
      "use_bandage"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:players/operations/player_use_bandage"
  }
}