  We construct a family of special cycle classes on the integral model of an
orthogonal Shimura variety, and show that these cycle classes appear as Fourier
coefficients of a Siegel modular form. Passing to the generic fiber of the
Shimura variety recovers a result of Bruinier and Raum, originally conjectured
by Kudla.
