{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "eventType": { "type": "string" }, "payload": { "type": "object", "properties": { "sessionId": { "type": "string" }, "user": { "type": "string" }, "action": { "type": "string" }, "tenant": { "type": "string" }, "source": { "type": "array", "items": { "type": "object", "properties": { "http_headers": { "type": "array", "items": { "type": "object", "properties": { "accept": { "type": "string" } }, "required": [ "accept" ] } } }, "required": [ "http_headers" ] } } }, "required": [ "sessionId", "user", "action", "tenant", "source" ] } }, "required": [ "eventType", "payload" ] }