{
    "tiers": [
      {
        "total_exp_required": 0,
        "groups": [
          {
            "num_to_select": 1,
            "trades": [
              {
                "wants": [
                  {
                    "item": "minecraft:paper",
                    "quantity": 24,
                    "price_multiplier": 0.05
                  }
                ],
                "gives": [
                  {
                    "item": "minecraft:emerald",
                    "quantity": 1
                  }
                ],
                "trader_exp": 2,
                "max_uses": 16,
                "reward_exp": true
              }
            ]
          },
          {
            "num_to_select": 1,
            "trades": [
              {
                "wants": [
                  {
                    "item": "minecraft:emerald",
                    "quantity": 7,
                    "price_multiplier": 0.05
                  }
                ],
                "gives": [
                  {
                    "item": "minecraft:emptymap:0",
                    "quantity": 1
                  }
                ],
                "trader_exp": 1,
                "max_uses": 12,
                "reward_exp": true
              }
            ]
          }
        ]
      },
      {
        "total_exp_required": 10,
        "groups": [
          {
            "num_to_select": 1,
            "trades": [
              {
                "wants": [
                  {
                    "item": "minecraft:glass_pane",
                    "quantity": 11,
                    "price_multiplier": 0.05
                  }
                ],
                "gives": [
                  {
                    "item": "minecraft:emerald",
                    "quantity": 1
                  }
                ],
                "trader_exp": 10,
                "max_uses": 16,
                "reward_exp": true
              }
            ]
          },
          {
            "num_to_select": 1,
            "trades": [
              {
                "wants": [
                  {
                    "item": "minecraft:emerald",
                    "quantity": 13,
                    "price_multiplier": 0.2
                  },
                  {
                    "item": "minecraft:compass",
                    "quantity": 1,
                    "price_multiplier": 0.2
                  }
                ],
                "gives": [
                  {
                    "item": "minecraft:map",
                    "filters": { "test": "in_overworld", "subject": "self", "value": true, "operator": "="},
                    "functions": [
                      {
                        "function": "exploration_map",
                        "destination": "monument"
                      }
                    ]
                  }
                ],
                "trader_exp": 5,
                "max_uses": 12,
                "reward_exp": true
              }
            ]
          }
        ]
      },
      {
        "total_exp_required": 70,
        "groups": [
          {
            "num_to_select": 1,
            "trades": [
              {
                "wants": [
                  {
                    "item": "minecraft:compass",
                    "quantity": 1,
                    "price_multiplier": 0.05
                  }
                ],
                "gives": [
                  {
                    "item": "minecraft:emerald",
                    "quantity": 1
                  }
                ],
                "trader_exp": 20,
                "max_uses": 12,
                "reward_exp": true
              }
            ]
          },
          {
            "num_to_select": 1,
            "trades": [
              {
                "wants": [
                  {
                    "item": "minecraft:emerald",
                    "quantity": 14,
                    "price_multiplier": 0.2
                  },
                  {
                    "item": "minecraft:compass",
                    "quantity": 1,
                    "price_multiplier": 0.2
                  }
                ],
                "gives": [
                  {
                    "item": "minecraft:map",
                    "filters": { "test": "in_overworld", "subject": "self", "value": true, "operator": "="},
                    "functions": [
                      {
                        "function": "exploration_map",
                        "destination": "mansion"
                      }
                    ]
                  }
                ],
                "trader_exp": 10,
                "max_uses": 12,
                "reward_exp": true
              }
            ]
          },
          {
            "num_to_select": 1,
            "trades": [
              {
                "wants": [
                  {
                    "item": "minecraft:emerald",
                    "quantity": 12,
                    "price_multiplier": 0.2
                  },
                  {
                    "item": "minecraft:compass",
                    "quantity": 1,
                    "price_multiplier": 0.2
                  }
                ],
                "gives": [
                  {
                    "item": "minecraft:map",
                    "filters": {
                      "test": "in_overworld",
                      "subject": "self",
                      "value": true,
                      "operator": "="
                    },
                    "functions": [
                      {
                        "function": "exploration_map",
                        "destination": "trial_chambers"
                      }
                    ]
                  }
                ],
                "trader_exp": 10,
                "max_uses": 12,
                "reward_exp": true
              }
            ]
          }
        ]
      },
      {
        "total_exp_required": 150,
        "groups": [
          {
            "num_to_select": 1,
            "trades": [
              {
                "wants": [
                  {
                    "item": "minecraft:emerald",
                    "quantity": 7,
                    "price_multiplier": 0.05
                  }
                ],
                "gives": [
                  {
                    "item": "minecraft:frame",
                    "quantity": 1
                  }
                ],
                "trader_exp": 15,
                "max_uses": 12,
                "reward_exp": true
              }
            ]
          },
          {
            "num_to_select": 1,
            "trades": [
              {
                "wants": [
                  {
                    "item": "minecraft:emerald",
                    "quantity": 3,
                    "price_multiplier": 0.05
                  }
                ],
                "gives": [
                  {
                    "item": "minecraft:banner",
                    "quantity": 1,
                    "functions": [
                      {
                        "function": "random_aux_value",
                        "values": {
                          "min": 0,
                          "max": 15
                        }
                      }
                    ]
                  }
                ],
                "trader_exp": 15,
                "max_uses": 12,
                "reward_exp": true
              }
            ]
          }
        ]
      },
      {
        "total_exp_required": 250,
        "groups": [
          {
            "num_to_select": 1,
            "trades": [
              {
                "wants": [
                  {
                    "item": "minecraft:emerald",
                    "quantity": 8,
                    "price_multiplier": 0.05
                  }
                ],
                "gives": [
                  {
                    "item": "minecraft:banner_pattern:7",
                    "quantity": 1
                  }
                ],
                "trader_exp": 30,
                "max_uses": 12,
                "reward_exp": true
              }
            ]
          }
        ]
      }
    ]
  }
  