See https://github.com/akdh/cst-tools for JSON schemas.
Assuming your service callback URL is http://127.0.0.1:5002/suggestions, you can make a request to your service and ensure that it is valid using the following commands:
curl -H "Content-Type: application/json" --data @request.json -XPOST http://127.0.0.1:5002/suggestions > response.json
python validate.py data.json 192
No errors should be produced.
Note that you must have docs.db in the same directory as validate.py.
In line 7 in response_schema.json, should the item's type be string, instead of number?
Tried to change to string and it works.