{
    "display": {
        "title": [name],
        "description": [lore],
        "icon": {
            "item": "minecraft:[item_id]",
            "nbt": "{CustomModelData:[model][color]}"
        },
        "frame": "task",
        "show_toast": true,
        "announce_to_chat": false,
        "hidden": true
    },
    "criteria": {
        "{4}": {
            "trigger": "minecraft:inventory_changed",
            "conditions": {
                "items": [
                    {
                        "item": "minecraft:[item_id]",
                        "nbt": "{name:[nbt]}",
                        "count": {
                            "min": 1,
                            "max": 1
                        }
                    }
                ]
            }
        }
    },
    "rewards": {
       "function": "[fpath]"
    },
    "parent": "[ppath]"
}
