custom armor models in resource packs

ive seen a similiar question before but it didnt resolbe the problem. for some reason, even if i have a resourcepack structure <namespace>/models/equipment/humanoid | humanoid_leggings and the texture files both named "spacesuit" the texture still doesnt appear. also i am not sure if i should use /give @s chainmail_helmet[equippable={slot:"head",model:"space:spacesuit"}]. ive been trying for a while but still didnt find a solution even with the help of the internet

Continue to help post