The building need not be a basilica in the architectural sense (a rectangular building with a central nave flanked by two or more longitudinal aisles). Basilicas are either major basilicas, of which there are four, all in the Diocese of Rome, or minor basilicas, of which there were 1,810 worldwide as of 2019.