{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "item",
          "name": "minecraft:chainmail_helmet",
          "weight": 1,
          "functions": [
            {
              "function": "enchant_random_gear",
              "chance": 0.25
            }
          ],
          "pools": [
            {
              "conditions": [
                {
                  "condition": "random_difficulty_chance",
                  "default_chance": 0.50,
                  "peaceful": 0,
                  "hard": 0.6
                }
              ],
              "rolls": 1,
              "entries": [
                {
                  "type": "item",
                  "name": "minecraft:chainmail_chestplate",
                  "weight": 1,
                  "functions": [
                    {
                      "function": "enchant_random_gear",
                      "chance": 0.25
                    }
                  ],
                  "pools": [
                    {
                      "conditions": [
                        {
                          "condition": "random_difficulty_chance",
                          "default_chance": 0.50,
                          "peaceful": 0,
                          "hard": 0.6
                        }
                      ],
                      "rolls": 1,
                      "entries": [
                        {
                          "type": "item",
                          "name": "minecraft:chainmail_leggings",
                          "weight": 1,
                          "functions": [
                            {
                              "function": "enchant_random_gear",
                              "chance": 0.25
                            }
                          ],
                          "pools": [
                            {
                              "conditions": [
                                {
                                  "condition": "random_difficulty_chance",
                                  "default_chance": 0.5,
                                  "peaceful": 0,
                                  "hard": 0.6
                                }
                              ],
                              "rolls": 1,
                              "entries": [
                                {
                                  "type": "item",
                                  "name": "minecraft:chainmail_boots",
                                  "weight": 1,
                                  "functions": [
                                    {
                                      "function": "enchant_random_gear",
                                      "chance": 0.25
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}