{
    "type": "minecraft:chest",
    "pools": [
        {
            "entries": [
                {
                    "type": "minecraft:item",
                    "conditions": [
                        {
                            "chance": 0.2,
                            "condition": "minecraft:random_chance"
                        }
                    ],
                    "name": "minecraft:spyglass"
                }
            ],
            "rolls": 1
        },
        {
            "entries": [
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "conditions": [
                                {
                                    "chance": 0.2,
                                    "condition": "minecraft:random_chance"
                                }
                            ],
                            "function": "minecraft:enchant_with_levels",
                            "levels": {
                                "type": "minecraft:uniform",
                                "max": 10,
                                "min": 0
                            },
                            "options": "#minecraft:on_random_loot"
                        }
                    ],
                    "name": "minecraft:leather_boots"
                }
            ],
            "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": 1
        },
        {
            "entries": [
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "count": {
                                "type": "minecraft:uniform",
                                "max": 3,
                                "min": 1
                            },
                            "function": "minecraft:set_count"
                        }
                    ],
                    "name": "minecraft:map"
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "count": {
                                "type": "minecraft:uniform",
                                "max": 3,
                                "min": 1
                            },
                            "function": "minecraft:set_count"
                        }
                    ],
                    "name": "minecraft:paper"
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "count": {
                                "type": "minecraft:uniform",
                                "max": 3,
                                "min": 1
                            },
                            "function": "minecraft:set_count"
                        }
                    ],
                    "name": "minecraft:stick"
                },
                {
                    "type": "minecraft:item",
                    "functions": [
                        {
                            "count": {
                                "type": "minecraft:uniform",
                                "max": 2,
                                "min": 1
                            },
                            "function": "minecraft:set_count"
                        }
                    ],
                    "name": "minecraft:emerald"
                }
            ],
            "rolls": {
                "type": "minecraft:uniform",
                "max": 6,
                "min": 3
            }
        }
    ]
}