PVC is only allowed in above ground drain systems for residential occupancies three stories or less.
See chicago municipal code 18-29-702 for Drainage systems and Table 18-29-702.2 for allowed materials. PVC is not allowed in supply lines except for secondary water in process uses (i.e...