{
  "type": "chest",
  "pools": [
    {
      "rolls": {
        "min": 2,
        "max": 10
      },
      "entries": [
        {
          "type": "item",
          "name": "minecraft:book",
          "weight": 20,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:paper",
          "weight": 20,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 2,
                "max": 7
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:map",
          "weight": 10
        },
        {
          "type": "item",
          "name": "minecraft:compass",
          "weight": 5
        },
        {
          "type": "loot_table",
          "name": "smt:chests/tables/enchanted_books",
          "weight": 2
        }
      ]
    }
  ]
}