From 9299f859ecb13c42ab7ea5906dd993c1ad74b642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Tue, 30 Jan 2024 14:14:51 -0600 Subject: [PATCH] Fix GA types --- .../schemas/simple-sample.json | 101 +----------------- 1 file changed, 5 insertions(+), 96 deletions(-) diff --git a/samples/sample_tap_google_analytics/schemas/simple-sample.json b/samples/sample_tap_google_analytics/schemas/simple-sample.json index 794869260..0a5f97f4d 100644 --- a/samples/sample_tap_google_analytics/schemas/simple-sample.json +++ b/samples/sample_tap_google_analytics/schemas/simple-sample.json @@ -1,102 +1,11 @@ { "type": "object", "properties": { - "id": { - "type": ["string", "null"] - }, - "project_id": { - "type": ["integer", "null"] - }, - "short_id": { - "type": ["string", "null"] - }, - "title": { - "type": ["null", "string"] - }, - "author_name": { - "type": ["null", "string"] - }, - "author_email": { - "type": ["null", "string"] - }, - "authored_date": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ] - }, - "committer_name": { - "type": ["null", "string"] - }, - "committer_email": { - "type": ["null", "string"] - }, - "committed_date": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ] - }, - "created_at": { - "anyOf": [ - { - "type": "string", - "format": "date-time" - }, - { - "type": "null" - } - ] - }, - "message": { - "type": ["null", "string"] - }, - "allow_failure": { - "type": ["null", "boolean"] - }, - "parent_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ] - }, - "stats": { - "anyOf": [ - { - "type": "object", - "properties": { - "additions": { - "type": "integer" - }, - "deletions": { - "type": "integer" - }, - "total": { - "type": "integer" - } - } - }, - { - "type": "null" - } - ] + "totals": { + "type": "array", + "items": { + "type": "string" + } } } }