{
  "pools": [
    {
      "rolls": {
        "min": 2,
        "max": 10
      },
      "entries": [
        {
          "type": "item",
          "name": "minecraft:book",
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 3
              }
            }
          ],
          "weight": 100
        },
        {
          "type": "item",
          "name": "minecraft:paper",
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 2,
                "max": 7
              }
            }
          ],
          "weight": 100
        },
        {
          "type": "item",
          "name": "minecraft:map",
          "weight": 5
        },
        {
          "type": "item",
          "name": "minecraft:compass",
          "weight": 5
        },
        {
          "type": "item",
          "name": "minecraft:book",
          "weight": 60,
          "functions": [
            {
              "function": "enchant_with_levels",
              "levels": 30,
              "treasure": true
            }
          ]
        }
      ]
    }
  ]
}