expandSchema method updated for the new interruption>failure definition of schema