xref: /qemu/tests/qapi-schema/union-no-base.json (revision b86b05ed60d8d49c5770851860d4e6b89c133e7e)
1{ 'type': 'TestTypeA',
2  'data': { 'string': 'str' } }
3
4{ 'type': 'TestTypeB',
5  'data': { 'integer': 'int' } }
6
7{ 'union': 'TestUnion',
8  'discriminator': 'enum1',
9  'data': { 'value1': 'TestTypeA',
10            'value2': 'TestTypeB' } }
11