1*8b3b3a16SMarkus Armbruster# unions require a base 2*8b3b3a16SMarkus Armbruster{ 'struct': 'TestTypeA', 3*8b3b3a16SMarkus Armbruster 'data': { 'string': 'str' } } 4*8b3b3a16SMarkus Armbruster{ 'struct': 'TestTypeB', 5*8b3b3a16SMarkus Armbruster 'data': { 'integer': 'int' } } 6*8b3b3a16SMarkus Armbruster{ 'enum': 'Enum', 7*8b3b3a16SMarkus Armbruster 'data': [ 'value1', 'value2' ] } 8*8b3b3a16SMarkus Armbruster{ 'union': 'TestUnion', 9*8b3b3a16SMarkus Armbruster 'discriminator': 'Enum', 10*8b3b3a16SMarkus Armbruster 'data': { 'value1': 'TestTypeA', 11*8b3b3a16SMarkus Armbruster 'value2': 'TestTypeB' } } 12