{
  "criteria": {
    "obtain_artifact": {
      "trigger": "minecraft:player_interacted_with_entity",
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "minecraft:interaction",
              "nbt": "{Tags:[\"lsi_artifact_interaction\"]}"
            }
          }
        ]
      }
    }
  },
  "requirements": [
    ["obtain_artifact"]
  ],
  "rewards": {
    "function": "lostskyislands:artifact/activated"
  }
}