{
    "criteria": {
      "summoned_dragon": {
        "trigger": "minecraft:summoned_entity",
        "conditions": {
          "entity": [
            {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "type": "minecraft:ender_dragon"
              }
            }
          ]
        }
      }
    },
    "rewards": {
        "function": "vanilla_refresh:entity/enderdragon/respawn"
    }
  }
  