Here is my script minus the schema names.
col c1 heading ‘Owner’ format a13 col c2 heading ‘Object|Type’ format a15 col c3 heading ‘SQL|ID’