implementation of json schema for validation of correlation API