Quicktype is a nifty project that generates type definitions from sample JSON examples: https://github.com/quicktype/quicktype It's often easy to overlook parts of software development that can be automated.