1# we reject types defined more than once
2{ 'struct': 'Foo', 'data': { 'one': 'str' } }
3{ 'enum': 'Foo', 'data': [ 'two' ] }
4