The Transform module takes JSON data in and matches it to a predefined datamodel. The output is again JSON. Default values can be defined in case data is missing.
The command line takes either a parameter that
- points to a folder (and then runs every config file in the folder) or
- points to a specific config file (and runs only that file)
The input is JSON. Sample input file
The output is also JSON. Sample output file The REST API documentation can be found on apinf.io
Config files match the input data to the correct datamodel. It can also define defaults in case data is missing.
[Sample config file][sample-programmableweb.json] for the programmableweb.com example.