From ccf128f1423dce112b8849725de70058f789c22d Mon Sep 17 00:00:00 2001 From: Leo Schick Date: Tue, 6 Sep 2022 11:34:54 +0200 Subject: [PATCH] add missing type definitions --- tap_zendesk/schemas/sla_policies.json | 7 ++++++- tap_zendesk/schemas/tickets.json | 14 +++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/tap_zendesk/schemas/sla_policies.json b/tap_zendesk/schemas/sla_policies.json index 5e19f1a..8fea1fd 100644 --- a/tap_zendesk/schemas/sla_policies.json +++ b/tap_zendesk/schemas/sla_policies.json @@ -99,7 +99,12 @@ "priority": { "type": ["null", "string"] }, "target": { "type": ["null", "integer"] }, "business_hours": { "type": ["null", "boolean"] }, - "metric": { } + "metric": { + "type": [ + "null", + "string" + ] + } }, "type": [ "null", diff --git a/tap_zendesk/schemas/tickets.json b/tap_zendesk/schemas/tickets.json index 249bfa8..af03788 100644 --- a/tap_zendesk/schemas/tickets.json +++ b/tap_zendesk/schemas/tickets.json @@ -149,7 +149,19 @@ "integer" ] }, - "value": { } + "value": { + "type": [ + "null", + "string", + "array" + ], + "items": { + "type": [ + "null", + "string" + ] + } + } }, "type": [ "null",