{
  "tiers": [
    {
      "trades": [
        {
          "wants": [
            {
              "item": "minecraft:coal:0",
              "quantity": {
                "min": 16,
                "max": 24
              }
            }
          ],
          "gives": [
            {
              "item": "minecraft:emerald"
            }
          ]
        },
        {
          "wants": [
            {
              "item": "minecraft:emerald",
              "quantity": {
                "min": 6,
                "max": 8
              }
            }
          ],
          "gives": [
            {
              "item": "minecraft:iron_axe"
            }
          ]
        }
      ]
    },
    {
      "trades": [
        {
          "wants": [
            {
              "item": "minecraft:iron_ingot",
              "quantity": {
                "min": 7,
                "max": 9
              }
            }
          ],
          "gives": [
            {
              "item": "minecraft:emerald",
              "quantity": 1
            }
          ]
        },
        {
          "wants": [
            {
              "item": "minecraft:emerald",
              "quantity": {
                "min": 9,
                "max": 10
              }
            }
          ],
          "gives": [
            {
              "item": "minecraft:iron_sword",
              "functions": [
                {
                  "function": "enchant_with_levels",
                  "treasure": false,
                  "levels": {
                    "min": 5,
                    "max": 19
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "trades": [
        {
          "wants": [
            {
              "item": "minecraft:diamond",
              "quantity": {
                "min": 3,
                "max": 4
              }
            }
          ],
          "gives": [
            {
              "item": "minecraft:emerald"
            }
          ]
        },
        {
          "wants": [
            {
              "item": "minecraft:emerald",
              "quantity": {
                "min": 12,
                "max": 15
              }
            }
          ],
          "gives": [
            {
              "item": "minecraft:diamond_sword",
              "functions": [
                {
                  "function": "enchant_with_levels",
                  "treasure": false,
                  "levels": {
                    "min": 5,
                    "max": 19
                  }
                }
              ]
            }
          ]
        },
        {
          "wants": [
            {
              "item": "minecraft:emerald",
              "quantity": {
                "min": 9,
                "max": 12
              }
            }
          ],
          "gives": [
            {
              "item": "minecraft:diamond_axe",
              "functions": [
                {
                  "function": "enchant_with_levels",
                  "treasure": false,
                  "levels": {
                    "min": 5,
                    "max": 19
                  }
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
