{
  "model": {
    "type": "minecraft:composite",
    "models": [
      {
        "type": "minecraft:model",
        "model": "minecraft:item/stone_sword"
      },
      {
        "type": "minecraft:condition",
        "property": "minecraft:component",
        "predicate": "minecraft:enchantments",
        "value": [
          {
            "enchantments": "minecraft:knockback"
          }
        ],
        "on_true": {
          "type": "minecraft:model",
          "model": "minecraft:item/knockbacksword"
        },
        "on_false": {
          "type": "minecraft:empty"
        }
      },
      {
        "type": "minecraft:condition",
        "property": "minecraft:component",
        "predicate": "minecraft:enchantments",
        "value": [
          {
            "enchantments": "minecraft:fire_aspect"
          }
        ],
        "on_true": {
          "type": "minecraft:model",
          "model": "minecraft:item/fireaspectsword"
        },
        "on_false": {
          "type": "minecraft:empty"
        }
      }
    ]
  }
}