{
  "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/misc_outlines/e_head"
        },
        {
            "type": "minecraft:special",
            "base": "minecraft:item/template_skull",
            "model": {
                "type": "minecraft:head",
                "kind": "wither_skeleton"
           }
        }
      ]
    },
    "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:special",
    "base": "minecraft:item/template_skull",
    "model": {
      "type": "minecraft:head",
      "kind": "wither_skeleton"
    }
          }
        ]
      },
      "on_false": {
    "type": "minecraft:special",
    "base": "minecraft:item/template_skull",
    "model": {
      "type": "minecraft:head",
      "kind": "wither_skeleton"
    }
      }
    }
  }
}