Minecraft sword with high and multiple enchantments?

Av
2

I know that:

/ give @p {Enchantments: [{id: "minecraft: sharpness", lvl: 100}]} 1

How can I make several? LG Daniel

za

/ give @p minecraft: diamond_sword {Unbreakable: 1, Enchantments: [{id: "minecraft: sweeping", lvl: 100}, {id: "minecraft: punch", lvl: 100}]} 1

Ti

The JSON array should expand to any other elements should work:

{Enchantments: [{id: "minecraft: sharpness", lvl: 100}, {id: "minecraft: sharpness", lvl: 100}, {id: "minecraft: sharpness", lvl: 100}, {id: " minecraft: sharpness ", lvl: 100}]}

(of course, have to take different)