1*ac4338f8SEric Blake# we allow anonymous base, but enforce no duplicate keys 23d0c4829SEric Blake{ 'enum': 'TestEnum', 33d0c4829SEric Blake 'data': [ 'value1', 'value2' ] } 4895a2a80SEric Blake{ 'struct': 'TestTypeA', 53d0c4829SEric Blake 'data': { 'string': 'str' } } 6895a2a80SEric Blake{ 'struct': 'TestTypeB', 73d0c4829SEric Blake 'data': { 'integer': 'int' } } 83d0c4829SEric Blake{ 'union': 'TestUnion', 9*ac4338f8SEric Blake 'base': { 'enum1': 'TestEnum', 'string': 'str' }, 103d0c4829SEric Blake 'discriminator': 'enum1', 113d0c4829SEric Blake 'data': { 'value1': 'TestTypeA', 123d0c4829SEric Blake 'value2': 'TestTypeB' } } 13