im making an adventure map where i wanted the armor to be as close to indestructible as possible. i put unbreaking 10,000 enchantment on it using an always active repeat command block, and when i tested it the durability almost always went down when hit.
Use the Unbreakable tag.