{
	"type": "minecraft:chest",
	"pools": [
		{
			"rolls": {
				"type": "minecraft:uniform",
				"min": 3,
				"max": 5
			},
			"bonus_rolls": 1,
			"entries": [
				{
					"type": "minecraft:item",
					"name": "minecraft:book",
					"weight": 10,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 4
							}
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:amethyst_shard",
					"weight": 10,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 6
							}
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:emerald",
					"weight": 8,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 8
							}
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:ink_sac",
					"weight": 5,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 2,
								"max": 6
							}
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:experience_bottle",
					"weight": 5,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 5,
								"max": 10
							}
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:diamond",
					"weight": 2,
					"functions": [
						{
							"function": "minecraft:set_count",
							"count": {
								"type": "minecraft:uniform",
								"min": 1,
								"max": 4
							}
						}
					]
				}
			]
		},
		{
			"rolls": {
				"type": "minecraft:uniform",
				"min": 1,
				"max": 3
			},
			"entries": [
				{
					"type": "minecraft:item",
					"name": "minecraft:book",
					"functions": [
						{
							"function": "minecraft:enchant_randomly",
							"options": "#minecraft:in_enchanting_table"
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:book",
					"functions": [
						{
							"function": "minecraft:enchant_randomly",
							"options": "#minecraft:treasure"
						}
					]
				},
				{
					"type": "minecraft:item",
					"name": "minecraft:book",
					"functions": [
						{
							"function": "minecraft:enchant_randomly",
							"options": "#minecraft:tradeable"
						}
					]
				}
			]
		}
	]
}