{
  "tiers": [
    {
      "total_exp_required": 0,
      "groups": [
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:iron_ingot",
                  "quantity": 2,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 4
                }
              ],
              "trader_exp": 3,
              "max_uses": 10,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:gold",
                  "quantity": 2,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 4
                }
              ],
              "trader_exp": 3,
              "max_uses": 10,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 7,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:iron_sword",
                  "quantity": 1
                }
              ],
              "trader_exp": 6,
              "max_uses": 5,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:gold_ingot",
                  "quantity": 4,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:iron_sword",
                  "quantity": 1
                }
              ],
              "trader_exp": 6,
              "max_uses": 5,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 5,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:iron_axe",
                  "quantity": 1
                }
              ],
              "trader_exp": 6,
              "max_uses": 5,
              "reward_exp": true
            }
          ]
        }
      ]
    },
    {
      "total_exp_required": 30,
      "groups": [
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:iron_ingot",
                  "quantity": 4,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "trader_exp": 6,
              "max_uses": 14,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "legacy:illager_horn",
                  "quantity": 1,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:emerald",
                  "quantity": 10,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "legacy:villager_horn",
                  "quantity": 1
                }
              ],
              "trader_exp": 10,
              "max_uses": 14,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:gold_ingot",
                  "quantity": 4,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "trader_exp": 6,
              "max_uses": 14,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "legacy:contract",
                  "quantity": 1,
                  "price_multiplier": 0
                }
              ],
              "gives": [
                {
                  "item": "legacy:contract_strength",
                  "quantity": 1
                }
              ],
              "trader_exp": 6,
              "max_uses": 14,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "legacy:contract",
                  "quantity": 1,
                  "price_multiplier": 0
                }
              ],
              "gives": [
                {
                  "item": "legacy:contract_speed",
                  "quantity": 1
                }
              ],
              "trader_exp": 6,
              "max_uses": 14,
              "reward_exp": true
            }
          ]
        }
      ]
    },
    {
      "total_exp_required": 80,
      "groups": [
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:iron_ingot",
                  "quantity": 3
                }
              ],
              "gives": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 5
                }
              ],
              "trader_exp": 8,
              "max_uses": 23,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:gold_ingot",
                  "quantity": 3
                }
              ],
              "gives": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 5
                }
              ],
              "trader_exp": 8,
              "max_uses": 23,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 29,
                  "price_multiplier": 0.1
                }
              ],
              "gives": [
                {
                  "item": "legacy:contract_strength_level_1",
                  "quantity": 1
                }
              ],
              "trader_exp": 8,
              "max_uses": 23,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 24,
                  "price_multiplier": 0.1
                }
              ],
              "gives": [
                {
                  "item": "legacy:contract_speed_level_1",
                  "quantity": 1
                }
              ],
              "trader_exp": 8,
              "max_uses": 23,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 25,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "legacy:villager_iron_horn",
                  "quantity": 1
                }
              ],
              "trader_exp": 10,
              "max_uses": 30,
              "reward_exp": true
            }
          ]
        }
      ]
    },
    {
      "total_exp_required": 180,
      "groups": [
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 7,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:diamond",
                  "quantity": 2
                }
              ],
              "trader_exp": 10,
              "max_uses": 30,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 38,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "legacy:contract_strength_level_2",
                  "quantity": 1
                }
              ],
              "trader_exp": 10,
              "max_uses": 30,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 32,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "legacy:contract_speed_level_2",
                  "quantity": 1
                }
              ],
              "trader_exp": 10,
              "max_uses": 30,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 28,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "legacy:villager_gold_horn",
                  "quantity": 1
                }
              ],
              "trader_exp": 10,
              "max_uses": 40,
              "reward_exp": true
            }
          ]
        }
      ]
    },
    {
      "total_exp_required": 400,
      "groups": [
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 32,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:diamond_sword",
                  "quantity": 1,
                  "functions": [
                    {
                      "function": "enchant_with_levels",
                      "treasure": false,
                      "levels": {
                        "min": 5,
                        "max": 19
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 5,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 25,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:iron_sword",
                  "quantity": 1,
                  "functions": [
                    {
                      "function": "enchant_with_levels",
                      "treasure": false,
                      "levels": {
                        "min": 5,
                        "max": 19
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 5,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 15,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:golden_sword",
                  "quantity": 1,
                  "functions": [
                    {
                      "function": "enchant_with_levels",
                      "treasure": false,
                      "levels": {
                        "min": 5,
                        "max": 19
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 5,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 50,
                  "price_multiplier": 0.1
                }
              ],
              "gives": [
                {
                  "item": "legacy:contract_strength_level_3",
                  "quantity": 1
                }
              ],
              "trader_exp": 30,
              "max_uses": 2,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 45,
                  "price_multiplier": 0.1
                }
              ],
              "gives": [
                {
                  "item": "legacy:contract_speed_level_3",
                  "quantity": 1
                }
              ],
              "trader_exp": 30,
              "max_uses": 2,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 35,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "legacy:villager_diamond_horn",
                  "quantity": 1
                }
              ],
              "trader_exp": 10,
              "max_uses": 30,
              "reward_exp": true
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 50,
                  "price_multiplier": 0.05
                },
                {
                  "item": "legacy:villager_diamond_horn",
                  "quantity": 1,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "legacy:villager_enchant_diamond_horn",
                  "quantity": 1
                }
              ],
              "trader_exp": 10,
              "max_uses": 30,
              "reward_exp": true
            }
          ]
        }
      ]
    }
  ]
}
