Minecraft won't recognize my recipes

I just begun making datapacks, and I wanna start off with creating a custom recipe, here's the map lay-out, but what i do, it won't get recognized in minecraft. the functions work. here's the recipe: { "type": "minecraft:crafting_shaped", "pattern": [ " ", "# #", "# #" ], "key": { "#": { "item": "minecraft:phantom_membrane" } }, "result": { "id": "minecraft:diamond_sword", "count": 1 } }
Continue to help post