#Input { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "title": "conversation_started", "required": [ "event_type", "conversation_id", "timestamp", "payload" ], "properties": { "event_type": { "type": "string", "title": "Event Type" }, "conversation_id": { "type": "string", "title": "Conversation Id" }, "timestamp": { "type": "string", "title": "Timestamp" }, "payload": { "type": "object", "title": "The Payload", "required": [ "contact_person", "user", "touchpoint" ], "properties": { "contact_person": { "type": "object", "title": "contact to start the conversation with", "required": [ "email" ], "properties": { "email": { "type": "string", "title": "contact email" } }, "additionalProperties": false }, "user": { "type": "object", "title": "The user that initiated the chat from Talkdesk", "required": [ "name" ], "properties": { "name": { "type": "string", "title": "the user name" } }, "additionalProperties": false }, "touchpoint": { "type": "object", "title": "The touchpoint used to initiate the conversation", "required": [ "id" ], "properties": { "id": { "type": "string", "title": "the touchpoint id" } }, "additionalProperties": false }, "subject": { "type": [ "string", "null" ], "title": "subject on digital connect" } }, "additionalProperties": false } }, "additionalProperties": false } #Output { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "title": "conversation_started", "required": [ "event_type", "conversation_id", "timestamp", "payload" ], "properties": { "event_type": { "type": "string", "title": "Event Type" }, "conversation_id": { "type": "string", "title": "Conversation Id" }, "timestamp": { "type": "string", "title": "Timestamp" }, "payload": { "type": "object", "title": "The Payload", "required": [ "contact_person", "user", "touchpoint" ], "properties": { "contact_person": { "type": "object", "title": "contact to start the conversation with", "required": [ "email" ], "properties": { "email": { "type": "string", "title": "contact email" } }, "additionalProperties": false }, "user": { "type": "object", "title": "The user that initiated the chat from Talkdesk", "required": [ "name" ], "properties": { "name": { "type": "string", "title": "the user name" } }, "additionalProperties": false }, "touchpoint": { "type": "object", "title": "The touchpoint used to initiate the conversation", "required": [ "id" ], "properties": { "id": { "type": "string", "title": "the touchpoint id" } }, "additionalProperties": false } }, "additionalProperties": false } }, "additionalProperties": false }