creating a predicate in new snapshot

i have no clue why its not working anyone now some more about this??

  "condition": "minecraft:entity_properties",
  "entity": "this",
  "predicate": {
    "equipment": {
      "head": {
        "components": {
          "minecraft:custom_data": {"hero":1}
        }
      },
      "chest": {
        "components": {
          "minecraft:custom_data": {"hero":1}
        }
      },
      "legs": {
        "components": {
          "minecraft:custom_data": {"hero":1}
        }
      },
      "feet": {
        "components": {
          "minecraft:custom_data": {"hero":1}
        }
      }
    }
  }
}
Continue to help post