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