Minecraft wiki entry for Development_versions, associated text:  VillagerData: Information about the villager's profession.‌
 level: The current level of this villager's trading options ( 1... ) and at the same time its displayed badge ( capped at 5 ).
 profession: Namespaced ID value.
 type: Namespaced ID value.