maqetta/maqetta — comment on commit 1ace246cd72acdc05648fc5119b0304983f9b400
File: maqetta.core.client/WebContent/davinci/ve/palette/Palette.js line 404
By JonFerraiolo:

At some point we should clearly document all internal data structures in a more formal manner. Maybe the best way to do it is to define a separate "class" for each of our data structures so that there is a central place where we can document that data structure.

Regarding what data.data can be. I'm pretty sure its always has a 'type' and sometimes has 'children' and 'properties', maybe some other things. Maybe it comes from the data in widgets.json?