1redefined-type.json: In enum 'Foo':
2redefined-type.json:3: 'Foo' is already defined
3redefined-type.json: In struct 'Foo':
4redefined-type.json:2: previous definition
5