Yosef Karo, Translation:Shulchan Aruch — Orach Chaim 385…
“ Paragraph 3 - A Jew who apostatized and worships idols or desecrates Shabbat in public, even if he only breaks rabbinic prohibitions, is treated like an idolater. If he only desecrates Shabbat in private, even if he breaks Toraitic prohibitions, he is treated like a Jew and can renounce property. ”
