Polynomial identities for the Jordan algebra of a degenerate symmetric bilinear form