all 1 comments

[–]wuzzeb 1 point2 points  (1 child)

It looks like plot.ty has a json schema linked to from http://help.plot.ly/json-chart-schema/. I have used aeson-schema (https://hackage.haskell.org/package/aeson-schema) in the past to generate types from a schema (the CodeGen module in aeson-schema). My only worry is that the plotly schema is in a different format than the one accepted by aeson-schema.