Affine scheme

An affine scheme is a locally ringed space which is isomorphic to the spectrum of a ring.