Question: what conditions do villagers need to breed?
Answer: Willingness. Villagers must be "willing" to breed. After mating, they cease to be willing and must be made willing again before breeding. Villagers must have enough beds within village bounds for baby villagers to spawn.