Buildings that house places of confinement operated by a local government both for temporary detention of sentenced and unsentenced individuals and for persons serving sentences of less than one year; for longer periods of confinement and more secure than lockups, but less confining and for shorter confinements than prisons.