{
    "type": "minecraft:crafting_shaped",
    "pattern": [
        " w ",
        "DdD",
        " n "
    ],
    "key": {
        "d": {
            "item": "minecraft:diamond_sword"
        },
        "n": {
            "item": "minecraft:netherite_scrap"
        },
        "w": {
            "item": "minecraft:wither_rose"
        },
        "D": {
            "item": "minecraft:diamond"
        }
    },
    "result": {
        "item": "minecraft:knowledge_book",
        "count": 1
    }
}