type Swift::RingType = Variant[ Enum[ 'account', 'container', 'object' ], Pattern[/^object-\d+$/] ]