1.20.5 to 1.21.9

Hello with my friends we wanna go on 1.21.9 and add custom craft and before in 1.20.6 we are doing like this and it works but not in 1.21.9:

{ "type": "minecraft:crafting_shaped", "category": "equipment", "pattern": [ " O", " O ", "S " ], "key": { "O": { "item": "minecraft:jigsaw", "custom_model_data": 11 }, "S": { "item": "minecraft:stick" } }, "result": { "id": "minecraft:diamond_sword", "components": { "minecraft:custom_name": "{"text":"Obsidian Sword", "color":"dark_purple", "italic":false}", "minecraft:custom_model_data": 12,

  "minecraft:attribute_modifiers": {
    "modifiers": [
      {
        "type": "minecraft:generic.attack_damage",
        "uuid": [
          0,
          0,
          0,
          0
        ],
        "name": "",
        "amount": 7.5,
        "operation": "add_value",
        "slot": "mainhand"
      }
    ]
  },
  "minecraft:max_damage": 2061



},
"count": 1

} }

Thank you

Continue to help post