These things are very vague, because medieval universities developed gradually. They emerged from cathedral schools and independent scholars who, over time, tended to congregate in the same cities, and start to coordinate their teaching until they were effectively a single institution. Later on...