# we reject anonymous unions with multiple object branches
{ 'type': 'One',
'data': { 'name': 'str' } }
{ 'type': 'Two',
'data': { 'value': 'int' } }
{ 'union': 'MyUnion',
'discriminator': {},
'data': { 'one': 'One',
'two': 'Two' } }