1# union 'data' member with dict value is (longhand) branch
2# definition, not inline complex type
3{ 'enum': 'TestEnum',
4  'data': [ 'value1', 'value2' ] }
5{ 'struct': 'Base',
6  'data': { 'enum1': 'TestEnum', 'kind': 'str' } }
7{ 'union': 'TestUnion',
8  'base': 'Base',
9  'discriminator': 'enum1',
10  'data': { 'value1': { 'string': 'str' },
11            'value2': { 'integer': 'int' } } }
12