'Expected an Array' Error

I'm trying to use advancements for hit detection for a custom weapon. but it comes up with the error 'Expected an array' anyone know how to fix it? heres the code { "criteria": { "requirement": { "trigger": "minecraft:player_hurt_entity", "conditions": { "player": [ { "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "equipment": { "mainhand": { "items": "minecraft:goldensword", "count": 1, "components": { "minecraft:custom_model_data":900003 } } } } } ] } } }, "rewards": { "function": "kaminari:on_hit" } }
Continue to help post