Chinjugami
Chinjugami (鎮守神, lit. guardian deity) is a kami that is worshipped in order to gain its protections for a specific building or region. In modern times, it is often conflated with ujigami and ubusunagami. A shrine enshrining a chinjugami is called a chinjusha.
Chinjugami differ from ujigami in that the latter is tied to bloodines, while the former is to buildings and regions. Anyone living on the land worships them regardless of blood ties.