From 6b72720e5e83521d26fb962146e1cf3284ba07e9 Mon Sep 17 00:00:00 2001 From: caomay <75509306+caomay@users.noreply.github.com> Date: Fri, 4 Dec 2020 17:15:41 -0800 Subject: [PATCH] Create chats_test.json --- tap_zendesk_chat/schemas/chats_test.json | 183 +++++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 tap_zendesk_chat/schemas/chats_test.json diff --git a/tap_zendesk_chat/schemas/chats_test.json b/tap_zendesk_chat/schemas/chats_test.json new file mode 100644 index 0000000..696de20 --- /dev/null +++ b/tap_zendesk_chat/schemas/chats_test.json @@ -0,0 +1,183 @@ +{ + "properties": { + "department_id": { + "type": [ + "null", + "integer" + ] + }, + + "missed": { + "type": [ + "null", + "boolean" + ] + }, + "rating": { + "type": [ + "null", + "string" + ] + }, + "conversions": { + "items": { + "$ref": "chat_conversion" + }, + "type": [ + "null", + "array" + ] + }, + "type": { + "type": [ + "null", + "string" + ] + }, + "webpath": { + "items": { + "$ref": "chat_webpath" + }, + "type": [ + "null", + "array" + ] + }, + "triggered": { + "type": [ + "null", + "boolean" + ] + }, + "referrer_search_terms": { + "type": [ + "null", + "string" + ] + }, + "referrer_search_engine": { + "type": [ + "null", + "string" + ] + }, + "zendesk_ticket_id": { + "type": [ + "null", + "integer" + ] + }, + "unread": { + "type": [ + "null", + "boolean", + "integer" + ] + }, + "timestamp": { + "type": [ + "null", + "string" + ], + "format": "date-time" + }, + "end_timestamp": { + "type": [ + "null", + "string" + ], + "format": "date-time" + }, + "response_time": { + "$ref": "chat_response_time" + }, + "session": { + "type": [ + "null", + "object" + ], + "additionalProperties": true + }, + + "type": [ + "null", + "array" + ] + }, + "agent_names": { + "items": { + "type": [ + "string" + ] + }, + "type": [ + "null", + "array" + ] + }, + "tags": { + "items": { + "type": [ + "string" + ] + }, + "type": [ + "null", + "array" + ] + }, + + "started_by": { + "type": [ + "null", + "string" + ] + }, + + "id": { + "type": [ + "null", + "string" + ] + }, + "count": { + "$ref": "chat_count" + }, + "agent_ids": { + "items": { + "type": [ + "string" + ] + }, + "type": [ + "null", + "array" + ] + }, + "department_name": { + "type": [ + "null", + "string" + ] + }, + "duration": { + "type": [ + "null", + "integer" + ] + } + }, + "additionalProperties": false, + "type": [ + "null", + "object" + ], + "tap_schema_dependencies": [ + "chat_conversion", + "chat_count", + "chat_history", + "chat_response_time", + "chat_visitor", + "chat_webpath" + ] +}