{
	"display": {
		"icon": {
			"id": "minecraft:grindstone"
		},
		"title": {"translate":"Master Trader"},
		"description": {"color":"dark_purple","translate":"Trade with every type of villager career at master level"},
		"announce_to_chat": true,
		"frame": "challenge"
	},
	"parent": "blazeandcave:adventure/lilypad_hatter",
	"rewards": {
		"function": "bacap_rewards:adventure/master_trader"
	},		
	"criteria": {
		"farmer": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:farmer\",level:5}}"
				}
			}
		},
		"fisherman": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:fisherman\",level:5}}"
				}
			}
		},
		"shepherd": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:shepherd\",level:5}}"
				}
			}
		},
		"fletcher": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:fletcher\",level:5}}"
				}
			}
		},
		"librarian": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:librarian\",level:5}}"
				}
			}
		},
		"cartographer": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:cartographer\",level:5}}"
				}
			}
		},
		"cleric": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:cleric\",level:5}}"
				}
			}
		},
		"armorer": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:armorer\",level:5}}"
				}
			}
		},
		"weapon_smith": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:weaponsmith\",level:5}}"
				}
			}
		},
		"tool_smith": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:toolsmith\",level:5}}"
				}
			}
		},
		"butcher": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:butcher\",level:5}}"
				}
			}
		},
		"leatherworker": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:leatherworker\",level:5}}"
				}
			}
		},
		"mason": {
			"trigger": "minecraft:villager_trade",
			"conditions": {
				"villager": {
					"nbt": "{VillagerData:{profession:\"minecraft:mason\",level:5}}"
				}
			}
		}		
	}
}