From 4bbf26d9a9b718ef6e6f3e790896cb205898aedd Mon Sep 17 00:00:00 2001 From: Daigo Tanaka Date: Fri, 8 Jan 2021 17:52:25 +0000 Subject: [PATCH 1/2] fix issue events schema Some of the properties were marked as "null" type. Change them to nullable string type. --- tap_github/schemas/issue_events.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/tap_github/schemas/issue_events.json b/tap_github/schemas/issue_events.json index d0fb42da..e8a67f5b 100644 --- a/tap_github/schemas/issue_events.json +++ b/tap_github/schemas/issue_events.json @@ -171,7 +171,8 @@ }, "milestone": { "type": [ - "null" + "null", + "string" ] }, "closed_at": { @@ -195,12 +196,14 @@ }, "active_lock_reason": { "type": [ - "null" + "null", + "string" ] }, "performed_via_github_app": { "type": [ - "null" + "null", + "string" ] }, "assignee": { @@ -456,7 +459,8 @@ }, "description": { "type": [ - "null" + "null", + "string" ] }, "id": { @@ -740,7 +744,8 @@ }, "performed_via_github_app": { "type": [ - "null" + "null", + "string" ] }, "_sdc_repository": { From 36e937e8e6f2bd843d61309512c80e9e52fda0fe Mon Sep 17 00:00:00 2001 From: Daigo Tanaka Date: Fri, 5 Feb 2021 17:18:16 +0000 Subject: [PATCH 2/2] fix milestone property --- tap_github/schemas/issue_events.json | 215 ++++++++++++++++++++++++++- 1 file changed, 213 insertions(+), 2 deletions(-) diff --git a/tap_github/schemas/issue_events.json b/tap_github/schemas/issue_events.json index e8a67f5b..ddd494ee 100644 --- a/tap_github/schemas/issue_events.json +++ b/tap_github/schemas/issue_events.json @@ -172,8 +172,219 @@ "milestone": { "type": [ "null", - "string" - ] + "object" + ], + "properties": { + "closed_at": { + "type": [ + "null", + "string" + ] + }, + "closed_issues": { + "type": [ + "null", + "integer" + ] + }, + "created_at": { + "type": [ + "null", + "string" + ], + "format": "date-time" + }, + "creator": { + "type": [ + "null", + "object" + ], + "properties": { + "avatar_url": { + "type": [ + "null", + "string" + ] + }, + "events_url": { + "type": [ + "null", + "string" + ] + }, + "followers_url": { + "type": [ + "null", + "string" + ] + }, + "following_url": { + "type": [ + "null", + "string" + ] + }, + "gists_url": { + "type": [ + "null", + "string" + ] + }, + "gravatar_id": { + "type": [ + "null", + "string" + ] + }, + "html_url": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": [ + "null", + "integer" + ] + }, + "login": { + "type": [ + "null", + "string" + ] + }, + "node_id": { + "type": [ + "null", + "string" + ] + }, + "organizations_url": { + "type": [ + "null", + "string" + ] + }, + "received_events_url": { + "type": [ + "null", + "string" + ] + }, + "repos_url": { + "type": [ + "null", + "string" + ] + }, + "site_admin": { + "type": [ + "null", + "boolean" + ] + }, + "starred_url": { + "type": [ + "null", + "string" + ] + }, + "subscriptions_url": { + "type": [ + "null", + "string" + ] + }, + "type": { + "type": [ + "null", + "string" + ] + }, + "url": { + "type": [ + "null", + "string" + ] + } + } + }, + "description": { + "type": [ + "null", + "string" + ] + }, + "due_on": { + "type": [ + "null", + "string" + ], + "format": "date-time" + }, + "html_url": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": [ + "null", + "integer" + ] + }, + "labels_url": { + "type": [ + "null", + "string" + ] + }, + "node_id": { + "type": [ + "null", + "string" + ] + }, + "number": { + "type": [ + "null", + "integer" + ] + }, + "open_issues": { + "type": [ + "null", + "integer" + ] + }, + "state": { + "type": [ + "null", + "string" + ] + }, + "title": { + "type": [ + "null", + "string" + ] + }, + "updated_at": { + "type": [ + "null", + "string" + ], + "format": "date-time" + }, + "url": { + "type": [ + "null", + "string" + ] + } + } }, "closed_at": { "type": [