{
    "type": "minecraft:chest",
    "pools": [
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:item",
                    "name": "minecraft:spyglass",
                    "conditions": [
                        {
                            "condition": "minecraft:random_chance",
                            "chance": 0.2
                        }
                    ]
                }
            ]
        },
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:item",
                    "name": "minecraft:leather_boots",
                    "functions": [
                        {
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "type": "minecraft:uniform",
                                "min": 0,
                                "max": 10
                            },
                            "options": "#minecraft:on_random_loot",
                            "conditions": [
                                {
                                    "condition": "minecraft:random_chance",
                                    "chance": 0.2
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:item",
                    "name": "minecraft:saddle",
                    "weight": 1
                },
                {
                    "type": "minecraft:tag",
                    "name": "minecraft:bundles",
                    "expand": true
                },
                {
                    "type": "minecraft:item",
                    "name": "minecraft:lead",
                    "weight": 7
                }
            ]
        },
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "minecraft:item",
                    "name": "minecraft:map"
                },
                {
                    "type": "minecraft:item",
                    "name": "minecraft:compass"
                },
                {
                    "type": "minecraft:item",
                    "name": "minecraft:writable_book"
                }
            ]
        },
        {
            "rolls": {
                "type": "minecraft:uniform",
                "min": 2,
                "max": 5
            },
            "entries": [
                {
                    "type": "minecraft:item",
                    "name": "minecraft:map",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:uniform",
                                "min": 1,
                                "max": 3
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "name": "minecraft:paper",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:uniform",
                                "min": 1,
                                "max": 3
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "name": "minecraft:stick",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:uniform",
                                "min": 1,
                                "max": 3
                            }
                        }
                    ]
                },
                {
                    "type": "minecraft:item",
                    "name": "minecraft:emerald",
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "type": "minecraft:uniform",
                                "min": 1,
                                "max": 2
                            }
                        }
                    ]
                }
            ]
        }
    ]
}