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