Hi,
I often have the use case that I use an external API that responds with some JSON data. Gladly there is also often a good descrition
with examples of the API and responded JSON data.
To reduce the keypunch quota to initially use the JSON and validate it with cerberus I wrote a small utility that converts a given JSON input
into a simple cerberus schema including the datatypes.
Really simple but (IMHO) a good starting point to get some new (not self defined) JSON into a cerberus schema format initially.
Simple usage from the command line. Meant to be used as copy&paste output for your schema definition.
Feel free to use if it is of any use for you ...
Sample run:
