{
  "condition": "entity_properties",
  "entity": "this",
  "predicate": {
    "type_specific": {
      "type": "player",
      "gamemode": [
        "survival",
        "adventure"
      ]
    }
  }
}