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