In the Chicago SMSA, many, if not most municipalities, impose certain requirements on the parties to a purchase and sale, as well as a condition to recording the deed. 

https://www.sior.com/education-and-insights/insights/magazine/sior-report-article/spring-2025/municipal-transfer-inspection-requirements-the-good-the-bad-and-the-ugly