{
  "parent": "minecraft:end/kill_dragon",
  "criteria": {
    "criterion_one": {
      "trigger": "minecraft:hero_of_the_village",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "dimension": "minecraft:the_end"
            }
          }
        ]
      }
    }
  },
  "display": {
    "description": "Defend a village from a raid... in the end",
    "frame": "challenge",
    "icon": {
      "components": {
        "minecraft:banner_patterns": [
          {
            "color": "cyan",
            "pattern": "minecraft:rhombus"
          },
          {
            "color": "light_gray",
            "pattern": "minecraft:stripe_bottom"
          },
          {
            "color": "gray",
            "pattern": "minecraft:stripe_center"
          },
          {
            "color": "light_gray",
            "pattern": "minecraft:border"
          },
          {
            "color": "black",
            "pattern": "minecraft:stripe_middle"
          },
          {
            "color": "light_gray",
            "pattern": "minecraft:half_horizontal"
          },
          {
            "color": "light_gray",
            "pattern": "minecraft:circle"
          },
          {
            "color": "black",
            "pattern": "minecraft:border"
          }
        ]
      },
      "count": 1,
      "id": "minecraft:white_banner"
    },
    "title": "Hero of the Far Lands",
    "hidden": true
  },
  "rewards": {
    "experience": 100
  }
}