But wouldn't this be the solution to your problem? If the pole reversals are tightly packed, it looks like the field lines could be designed to not affect other objects, even in close proximity.
As long as facing right direction. Its just one example and actually quite good - I would keep initially the ticket inside of the case, so it would come close to magnet anyways.