From ac385c2cecca97f92df814f7a0e69aa40d45467f Mon Sep 17 00:00:00 2001 From: Keyna Rafael <95432445+keyn4@users.noreply.github.com> Date: Tue, 1 Oct 2024 16:44:11 -0500 Subject: [PATCH] update schema for activities and deals datetime fields (#5) --- .../schemas/recents/dynamic_typing/activities.json | 3 ++- tap_pipedrive/schemas/recents/dynamic_typing/deals.json | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tap_pipedrive/schemas/recents/dynamic_typing/activities.json b/tap_pipedrive/schemas/recents/dynamic_typing/activities.json index c32e916..98b9e43 100644 --- a/tap_pipedrive/schemas/recents/dynamic_typing/activities.json +++ b/tap_pipedrive/schemas/recents/dynamic_typing/activities.json @@ -23,7 +23,8 @@ "type": ["null", "integer"] }, "due_date": { - "type": ["null", "string"] + "type": ["null", "string"], + "format": "date-time" }, "due_time": { "type": ["null", "string"] diff --git a/tap_pipedrive/schemas/recents/dynamic_typing/deals.json b/tap_pipedrive/schemas/recents/dynamic_typing/deals.json index 43710f4..c946ae6 100644 --- a/tap_pipedrive/schemas/recents/dynamic_typing/deals.json +++ b/tap_pipedrive/schemas/recents/dynamic_typing/deals.json @@ -65,7 +65,8 @@ "type": ["integer", "null"] }, "last_activity_date": { - "type": ["null", "string"] + "type": ["null", "string"], + "format": "date-time" }, "lost_reason": { "type": ["null", "string"] @@ -128,7 +129,8 @@ "type": ["null", "integer"] }, "expected_close_date": { - "type": ["null", "string"] + "type": ["null", "string"], + "format": "date-time" }, "last_incoming_mail_time": { "type": ["null", "string"],