{
  "pools": [
    {
      "rolls": 1,
      "conditions": [
        {
          "chance": 0.5,
          "condition": "random_chance"
        }
      ],
      "entries": [
        {
          "type": "item",
          "functions": [
            {
              "function": "set_armor_trim",
              "material": "copper",
              "pattern": "flow"
            },
            {
              "function": "specific_enchants",
              "enchants": [
                {
                  "id": "protection",
                  "level": 4
                },
                {
                  "id": "fire_protection",
                  "level": 4
                },
                {
                  "id": "projectile_protection",
                  "level": 4
                }
              ]
            }
          ],
          "name": "minecraft:diamond_helmet"
        }
      ]
    },
    {
      "rolls": 1,
      "conditions": [
        {
          "chance": 0.5,
          "condition": "random_chance"
        }
      ],
      "entries": [
        {
          "type": "item",
          "functions": [
            {
              "function": "set_armor_trim",
              "material": "copper",
              "pattern": "flow"
            },
            {
              "function": "specific_enchants",
              "enchants": [
                {
                  "id": "protection",
                  "level": 4
                },
                {
                  "id": "fire_protection",
                  "level": 4
                },
                {
                  "id": "projectile_protection",
                  "level": 4
                }
              ]
            }
          ],
          "name": "minecraft:diamond_chestplate"
        }
      ]
    }
  ]
}