Closed tfausak closed 3 years ago
To make the JSON output easier to understand, I should generate a JSON schema and publish it somewhere.
This would also make it easier to make changes to the JSON representation, since I could describe the changes with the schema.
I have done some of this before: https://gist.github.com/tfausak/d2d5254e7ff15a013bce2fc84fe16d3d#file-main-hs-L121
To make the JSON output easier to understand, I should generate a JSON schema and publish it somewhere.
This would also make it easier to make changes to the JSON representation, since I could describe the changes with the schema.