{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "eventType": { "type": "string" }, "payload": { "type": "object", "properties": { "sessionId": { "type": "string" }, "click_count": { "type": "integer" }, "bounce_count": { "type": "integer" }, "avg_page_visit_time": { "type": "string" }, "page_visit_time_variance": { "type": "string" } }, "required": [ "sessionId", "click_count", "bounce_count", "avg_page_visit_time", "page_visit_time_variance" ] } }, "required": [ "eventType", "payload" ] }