Enchantment
When Beyond the Boneyard enters the battlefield, exile another target nonland permanent until Beyond the Boneyard leaves the battlefield.
Your opponents can't cast spells that share a card type with the exiled card during postcombat main phases.