{
  "model": {
    "type": "minecraft:condition",
        "property": "minecraft:has_component",
        "component": "minecraft:enchantments",
        "ignore_default": true,
    "on_true": {
      "type": "minecraft:composite",
      "models": [
        {
          "type": "minecraft:model",
          "model": "minecraft:item/enchanted_axe"
        },
        {
          "type": "minecraft:model",
          "model": "minecraft:item/defaults/diamond_axe"
        }
      ]
    },
    "on_false": {
      "type": "minecraft:condition",
          "property": "minecraft:has_component",
          "component": "minecraft:enchantment_glint_override",
          "ignore_default": true,
      "on_true": {
        "type": "minecraft:composite",
        "models": [
          {
            "type": "minecraft:model",
            "model": "minecraft:item/enchanted_axe"
          },
          {
            "type": "minecraft:model",
            "model": "minecraft:item/defaults/diamond_axe"
          }
        ]
      },
      "on_false": {
        "type": "minecraft:model",
        "model": "minecraft:item/defaults/diamond_axe"
      }
    }
  }
}