json schema added for checking incoming messages