{
  "tiers": [
    {
      "total_exp_required": 0,
      "groups": [
        {
          "num_to_select": 2,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:coal",
                  "quantity": 15,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "trader_exp": 2,
              "max_uses": 12,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:iron_ingot",
                  "quantity": 5,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:emerald",
                      "quantity": 1,
                      "filters": {
                        "any_of": [
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 0,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 1,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 2,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 3,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 4,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 5,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 6,
                            "operator": "="
                          }
                        ]
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 2,
              "max_uses": 12,
              "reward_exp": true
            }
          ]
        }
      ]
    },
    {
      "total_exp_required": 10,
      "groups": [
        {
          "num_to_select": 2,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 4,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_boots",
                      "quantity": 1,
                      "filters": {
                        "any_of": [
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 0,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 1,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 3,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 4,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 6,
                            "operator": "="
                          }
                        ]
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 5,
              "max_uses": 12,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 4,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_boots",
                      "quantity": 1,
                      "filters": {
                        "any_of": [
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 2,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 5,
                            "operator": "="
                          }
                        ]
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 5,
              "max_uses": 12,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 5,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_helmet",
                      "quantity": 1,
                      "filters": {
                        "any_of": [
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 0,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 1,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 3,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 4,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 6,
                            "operator": "="
                          }
                        ]
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 5,
              "max_uses": 12,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 5,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_helmet",
                      "quantity": 1,
                      "filters": {
                        "any_of": [
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 2,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 5,
                            "operator": "="
                          }
                        ]
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 5,
              "max_uses": 12,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 7,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_leggings",
                      "quantity": 1,
                      "filters": {
                        "any_of": [
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 0,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 1,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 3,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 4,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 6,
                            "operator": "="
                          }
                        ]
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 5,
              "max_uses": 12,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 7,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_leggings",
                      "quantity": 1,
                      "filters": {
                        "any_of": [
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 2,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 5,
                            "operator": "="
                          }
                        ]
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 5,
              "max_uses": 12,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 9,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_chestplate",
                      "quantity": 1,
                      "filters": {
                        "any_of": [
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 0,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 1,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 3,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 4,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 6,
                            "operator": "="
                          }
                        ]
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 5,
              "max_uses": 12,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 9,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_chestplate",
                      "quantity": 1,
                      "filters": {
                        "any_of": [
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 2,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 5,
                            "operator": "="
                          }
                        ]
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 5,
              "max_uses": 12,
              "reward_exp": true
            }
          ]
        }
      ]
    },
    {
      "total_exp_required": 70,
      "groups": [
        {
          "num_to_select": 2,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:lava_bucket",
                  "quantity": 1,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "trader_exp": 20,
              "max_uses": 12,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 5,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "item": "minecraft:shield",
                  "quantity": 1
                }
              ],
              "trader_exp": 10,
              "max_uses": 12,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 36,
                  "price_multiplier": 0.2
                }
              ],
              "gives": [
                {
                  "item": "minecraft:bell",
                  "quantity": 1
                }
              ],
              "trader_exp": 10,
              "max_uses": 12,
              "reward_exp": true
            }
          ]
        }
      ]
    },
    {
      "total_exp_required": 150,
      "groups": [
        {
          "num_to_select": 2,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 8,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_boots",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "thorns",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 1,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 9,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_helmet",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "thorns",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 1,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 11,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_leggings",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "thorns",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 1,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 13,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_chestplate",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "thorns",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 1,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 8,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_boots",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "protection",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 0,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 9,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_helmet",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "protection",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 0,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 11,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_leggings",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "protection",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 0,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 13,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_chestplate",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "protection",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 0,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 2,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_boots",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "binding",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 3,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 3,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_helmet",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "binding",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 3,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 5,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_leggings",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "binding",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 3,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 7,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_chestplate",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "binding",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 3,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 8,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_boots",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "frost_walker",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 4,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 9,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:iron_helmet",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "aqua_affinity",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 4,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 8,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_boots",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "unbreaking",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 2,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 9,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_helmet",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "unbreaking",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 2,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 11,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_leggings",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "unbreaking",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 2,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 13,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_chestplate",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "unbreaking",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 2,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 8,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_boots",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "mending",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 5,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 9,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_helmet",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "mending",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 5,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 11,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_leggings",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "mending",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 5,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 13,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_chestplate",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "mending",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 5,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 4,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond_boots",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_leggings",
                      "quantity": 1,
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 6,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 4,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond_leggings",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_chestplate",
                      "quantity": 1,
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 6,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 4,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond_helmet",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_boots",
                      "quantity": 1,
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 6,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 2,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond_chestplate",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_helmet",
                      "quantity": 1,
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 6,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 15,
              "max_uses": 3,
              "reward_exp": true
            }
          ]
        }
      ]
    },
    {
      "total_exp_required": 250,
      "groups": [
        {
          "num_to_select": 2,
          "trades": [
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 16,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond",
                  "quantity": 4
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_chestplate",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "thorns",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 1,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 16,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond",
                  "quantity": 3
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_leggings",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "thorns",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 1,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 16,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond",
                  "quantity": 3
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_leggings",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "protection",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 0,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 12,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond",
                  "quantity": 2
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_boots",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "protection",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 0,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 6,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond",
                  "quantity": 2
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_helmet",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "binding",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 3,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 8,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond",
                  "quantity": 3
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_chestplate",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "binding",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 3,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 12,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond",
                  "quantity": 2
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_boots",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "frost_walker",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 4,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 12,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond",
                  "quantity": 3
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_helmet",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "aqua_affinity",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 4,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 9,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_helmet",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "projectile_protection",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 2,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 8,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_boots",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "feather_falling",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 2,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 9,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_helmet",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "respiration",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 5,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 8,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:chainmail_boots",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "depth_strider",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 5,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 18,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond",
                  "quantity": 4
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_chestplate",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "blast_protection",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 6,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 18,
                  "price_multiplier": 0.05
                },
                {
                  "item": "minecraft:diamond",
                  "quantity": 3
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:diamond_leggings",
                      "quantity": 1,
                      "functions": [
                        {
                          "function": "specific_enchants",
                          "enchants": {
                            "id": "blast_protection",
                            "level": [
                              1,
                              1
                            ]
                          }
                        }
                      ],
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 6,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 3,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:diamond_block",
                  "quantity": 1,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:emerald",
                      "quantity": 42,
                      "filters": {
                        "test": "is_mark_variant",
                        "subject": "self",
                        "value": 6,
                        "operator": "="
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 12,
              "reward_exp": true
            },
            {
              "wants": [
                {
                  "item": "minecraft:iron_block",
                  "quantity": 1,
                  "price_multiplier": 0.05
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:emerald",
                      "quantity": 4,
                      "filters": {
                        "any_of": [
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 0,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 1,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 2,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 3,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 4,
                            "operator": "="
                          },
                          {
                            "test": "is_mark_variant",
                            "subject": "self",
                            "value": 5,
                            "operator": "="
                          }
                        ]
                      }
                    }
                  ]
                }
              ],
              "trader_exp": 30,
              "max_uses": 12,
              "reward_exp": true
            }
          ]
        }
      ]
    }
  ]
}