how can i make this a curse?

title says it all

{
    "description": "hellflame",
    "exclusive_set": "minecraft:riptide",
    "supported_items": "#minecraft:enchantable/trident",
    "weight": 1,
    "max_level": 1,
    "min_cost": {
      "base": 0,
      "per_level_above_first": 0
    },
    "max_cost": {
      "base": 0,
      "per_level_above_first": 0
    },
    "anvil_cost": 0,
    "slots": [
      "hand"
    ],
    "effects": {
      "minecraft:post_attack": [
        {
          "enchanted": "attacker",
          "affected": "victim",
          "effect": {
            "type": "minecraft:ignite",
            "duration": 100
          }
        }
      ],
      "minecraft:damage": [
        {
          "effect": {
            "type": "minecraft:add",
            "value": 5
          }
        }
      ]
    }
  }
  
Continue to help post