override discriminator schema except toJSON and toObject
throw error when user tries to customize schema options on discriminator types.