We will likely need a script to do this. It may be possible that some python code I wrote in refinery can be used for this as is. It may need adapted.
Do we need to do this conditionally based on schemas? Do some schemas not get purged? If so, then perhaps we need to make schema purge settings part of EventCapsule.