1# we reject any enum member that is not a string or a dict with 'name'
2{ 'enum': 'MyEnum', 'data': [ { 'name': 'foo', 'bad-key': 'str' } ] }
3