Add jsonschema for verifying payload validity.