In order to an enchants use the format "ENCHANT:LEVEL" like SHARPNESS:5, see the example example below:
{
"material":"DIAMOND_SWORD",
"durability":0,
"chanceWeight":1.0,
"sellPrice":0.0,
"enchants":[
"SHARPNESS:5"
]
}
{
"drops": [
{
"material": "RAW_FISH",
"durability": 0,
"chanceWeight": 1.0,
"sellPrice": 0.0,
"enchants": []
},
{
"material": "RAW_FISH",
"durability": 1,
"chanceWeight": 1.0,
"sellPrice": 0.0,
"enchants": []
},
{
"material": "RAW_FISH",
"durability": 2,
"chanceWeight": 1.0,
"sellPrice": 0.0,
"enchants": []
},
{
"material": "RAW_FISH",
"durability": 3,
"chanceWeight": 1.0,
"sellPrice": 0.0,
"enchants": []
},
{
"commands": [
"voucher give {player} coolfishdrop"
],
"chanceWeight": 1.0,
"sellPrice": 0.0,
"enchants": []
},
{
"displayName": "&b&lFish Bone",
"displayLore": [
"&7Find me amongst the fish!"
],
"material": "BONE",
"amount": 1,
"glow": true,
"chanceWeight": 1.0,
"sellPrice": 15.5,
"enchants": []
}
]
}