{
  "parent": "cnk:cookbook/root",
  "criteria": {
    "minecraft:salmon": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          { 
            "items": "minecraft:salmon"
          }
        ]
      }
    },
    "fathoms:salmon": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
            {"predicates":{"minecraft:custom_data":{"fathoms":{"id":"salmon"}}}}
        ]
      }
    }
  },
  "requirements": [
    [
      "minecraft:salmon",
      "fathoms:salmon"
    ]
  ],
  "rewards": {
    "function": "cnk:cookbook/grant/salmon"
  }
}