diff --git a/airbyte-integrations/connectors/source-google-search-console/credentials/credentials.json b/airbyte-integrations/connectors/source-google-search-console/credentials/credentials.json index c24ccd87710b..6b0d67214193 100644 --- a/airbyte-integrations/connectors/source-google-search-console/credentials/credentials.json +++ b/airbyte-integrations/connectors/source-google-search-console/credentials/credentials.json @@ -2,4 +2,4 @@ "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET", "redirect_uri": "YOUR_REDIRECTED_URI" -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-google-search-console/integration_tests/catalog.json b/airbyte-integrations/connectors/source-google-search-console/integration_tests/catalog.json index ada99aded37e..71c9382b7384 100755 --- a/airbyte-integrations/connectors/source-google-search-console/integration_tests/catalog.json +++ b/airbyte-integrations/connectors/source-google-search-console/integration_tests/catalog.json @@ -4,9 +4,7 @@ "stream": { "name": "sites", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh" - ] + "supported_sync_modes": ["full_refresh"] }, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite" @@ -15,9 +13,7 @@ "stream": { "name": "sitemaps", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh" - ] + "supported_sync_modes": ["full_refresh"] }, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite" @@ -26,10 +22,7 @@ "stream": { "name": "search_analytics_by_country", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh", - "incremental" - ] + "supported_sync_modes": ["full_refresh", "incremental"] }, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite" @@ -38,10 +31,7 @@ "stream": { "name": "search_analytics_by_date", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh", - "incremental" - ] + "supported_sync_modes": ["full_refresh", "incremental"] }, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite" @@ -50,10 +40,7 @@ "stream": { "name": "search_analytics_by_device", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh", - "incremental" - ] + "supported_sync_modes": ["full_refresh", "incremental"] }, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite" @@ -62,10 +49,7 @@ "stream": { "name": "search_analytics_by_page", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh", - "incremental" - ] + "supported_sync_modes": ["full_refresh", "incremental"] }, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite" @@ -74,10 +58,7 @@ "stream": { "name": "search_analytics_by_query", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh", - "incremental" - ] + "supported_sync_modes": ["full_refresh", "incremental"] }, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite" @@ -86,10 +67,7 @@ "stream": { "name": "search_analytics_all_fields", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh", - "incremental" - ] + "supported_sync_modes": ["full_refresh", "incremental"] }, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite" diff --git a/airbyte-integrations/connectors/source-google-search-console/integration_tests/configured_catalog.json b/airbyte-integrations/connectors/source-google-search-console/integration_tests/configured_catalog.json index 501f4f2c844f..4484f24c8e63 100755 --- a/airbyte-integrations/connectors/source-google-search-console/integration_tests/configured_catalog.json +++ b/airbyte-integrations/connectors/source-google-search-console/integration_tests/configured_catalog.json @@ -4,114 +4,72 @@ "stream": { "name": "search_analytics_by_date", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh", - "incremental" - ], + "supported_sync_modes": ["full_refresh", "incremental"], "source_defined_cursor": true, - "default_cursor_field": [ - "date" - ] + "default_cursor_field": ["date"] }, "sync_mode": "incremental", - "cursor_field": [ - "date" - ], + "cursor_field": ["date"], "destination_sync_mode": "append" }, { "stream": { "name": "search_analytics_by_country", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh", - "incremental" - ], + "supported_sync_modes": ["full_refresh", "incremental"], "source_defined_cursor": true, - "default_cursor_field": [ - "date" - ] + "default_cursor_field": ["date"] }, "sync_mode": "incremental", - "cursor_field": [ - "date" - ], + "cursor_field": ["date"], "destination_sync_mode": "append" }, { "stream": { "name": "search_analytics_by_device", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh", - "incremental" - ], + "supported_sync_modes": ["full_refresh", "incremental"], "source_defined_cursor": true, - "default_cursor_field": [ - "date" - ] + "default_cursor_field": ["date"] }, "sync_mode": "incremental", - "cursor_field": [ - "date" - ], + "cursor_field": ["date"], "destination_sync_mode": "append" }, { "stream": { "name": "search_analytics_by_page", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh", - "incremental" - ], + "supported_sync_modes": ["full_refresh", "incremental"], "source_defined_cursor": true, - "default_cursor_field": [ - "date" - ] + "default_cursor_field": ["date"] }, "sync_mode": "incremental", - "cursor_field": [ - "date" - ], + "cursor_field": ["date"], "destination_sync_mode": "append" }, { "stream": { "name": "search_analytics_by_query", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh", - "incremental" - ], + "supported_sync_modes": ["full_refresh", "incremental"], "source_defined_cursor": true, - "default_cursor_field": [ - "date" - ] + "default_cursor_field": ["date"] }, "sync_mode": "incremental", - "cursor_field": [ - "date" - ], + "cursor_field": ["date"], "destination_sync_mode": "append" }, { "stream": { "name": "search_analytics_all_fields", "json_schema": {}, - "supported_sync_modes": [ - "full_refresh", - "incremental" - ], + "supported_sync_modes": ["full_refresh", "incremental"], "source_defined_cursor": true, - "default_cursor_field": [ - "date" - ] + "default_cursor_field": ["date"] }, "sync_mode": "incremental", - "cursor_field": [ - "date" - ], + "cursor_field": ["date"], "destination_sync_mode": "append" } ] diff --git a/airbyte-integrations/connectors/source-google-search-console/integration_tests/invalid_config.json b/airbyte-integrations/connectors/source-google-search-console/integration_tests/invalid_config.json index 115161f4292a..d7f3ac088bc2 100755 --- a/airbyte-integrations/connectors/source-google-search-console/integration_tests/invalid_config.json +++ b/airbyte-integrations/connectors/source-google-search-console/integration_tests/invalid_config.json @@ -1,8 +1,5 @@ { - "site_urls": [ - "https://example1.com", - "https://example2.com" - ], + "site_urls": ["https://example1.com", "https://example2.com"], "start_date": "2021-05-01", "end_date": "2021-05-31", "authorization": { diff --git a/airbyte-integrations/connectors/source-google-search-console/sample_files/sample_config.json b/airbyte-integrations/connectors/source-google-search-console/sample_files/sample_config.json index 21730b0fc88f..689fb05a2e85 100755 --- a/airbyte-integrations/connectors/source-google-search-console/sample_files/sample_config.json +++ b/airbyte-integrations/connectors/source-google-search-console/sample_files/sample_config.json @@ -1,8 +1,5 @@ { - "site_urls": [ - "https://example1.com", - "https://example2.com" - ], + "site_urls": ["https://example1.com", "https://example2.com"], "start_date": "2021-05-01", "end_date": "2021-10-10", "authorization": { diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_all_fields.json b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_all_fields.json index ba9604297d6d..89fe0fe5e9a4 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_all_fields.json +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_all_fields.json @@ -3,72 +3,39 @@ "type": "object", "properties": { "site_url": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "search_type": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "date": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date" }, "country": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "device": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "page": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "query": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "clicks": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "impressions": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "ctr": { - "type": [ - "null", - "number" - ], + "type": ["null", "number"], "multipleOf": 1e-25 }, "position": { - "type": [ - "null", - "number" - ], + "type": ["null", "number"], "multipleOf": 1e-25 } } diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_country.json b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_country.json index 570bdc5b9599..9e74ea044ec5 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_country.json +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_country.json @@ -3,54 +3,30 @@ "type": "object", "properties": { "site_url": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "search_type": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "date": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date" }, "country": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "clicks": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "impressions": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "ctr": { - "type": [ - "null", - "number" - ], + "type": ["null", "number"], "multipleOf": 1e-25 }, "position": { - "type": [ - "null", - "number" - ], + "type": ["null", "number"], "multipleOf": 1e-25 } } diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_date.json b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_date.json index e0126de137cc..76ffa918c9af 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_date.json +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_date.json @@ -3,48 +3,27 @@ "type": "object", "properties": { "site_url": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "search_type": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "date": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date" }, "clicks": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "impressions": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "ctr": { - "type": [ - "null", - "number" - ], + "type": ["null", "number"], "multipleOf": 1e-25 }, "position": { - "type": [ - "null", - "number" - ], + "type": ["null", "number"], "multipleOf": 1e-25 } } diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_device.json b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_device.json index d49668002f58..4875135b7f07 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_device.json +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_device.json @@ -3,54 +3,30 @@ "type": "object", "properties": { "site_url": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "search_type": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "date": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date" }, "device": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "clicks": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "impressions": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "ctr": { - "type": [ - "null", - "number" - ], + "type": ["null", "number"], "multipleOf": 1e-25 }, "position": { - "type": [ - "null", - "number" - ], + "type": ["null", "number"], "multipleOf": 1e-25 } } diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_page.json b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_page.json index b5fea4a88f55..2a1a3d9af816 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_page.json +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_page.json @@ -3,54 +3,30 @@ "type": "object", "properties": { "site_url": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "search_type": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "date": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date" }, "page": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "clicks": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "impressions": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "ctr": { - "type": [ - "null", - "number" - ], + "type": ["null", "number"], "multipleOf": 1e-25 }, "position": { - "type": [ - "null", - "number" - ], + "type": ["null", "number"], "multipleOf": 1e-25 } } diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_query.json b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_query.json index e353d655f923..8e84cbda814c 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_query.json +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/search_analytics_by_query.json @@ -3,54 +3,30 @@ "type": "object", "properties": { "site_url": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "search_type": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "date": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date" }, "query": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "clicks": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "impressions": { - "type": [ - "null", - "integer" - ] + "type": ["null", "integer"] }, "ctr": { - "type": [ - "null", - "number" - ], + "type": ["null", "number"], "multipleOf": 1e-25 }, "position": { - "type": [ - "null", - "number" - ], + "type": ["null", "number"], "multipleOf": 1e-25 } } diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/sitemaps.json b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/sitemaps.json index d10f41e05dfd..e84568e41879 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/sitemaps.json +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/sitemaps.json @@ -3,54 +3,30 @@ "type": "object", "properties": { "path": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "lastSubmitted": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date-time" }, "isPending": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "isSitemapsIndex": { - "type": [ - "null", - "boolean" - ] + "type": ["null", "boolean"] }, "type": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "lastDownloaded": { - "type": [ - "null", - "string" - ], + "type": ["null", "string"], "format": "date-time" }, "warnings": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "errors": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "contents": { "type": "array", @@ -58,25 +34,16 @@ "type": "object", "properties": { "type": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "submitted": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "indexed": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } } } -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/sites.json b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/sites.json index 0d9ad638cf7a..12b94a4dc084 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/sites.json +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/schemas/sites.json @@ -3,16 +3,10 @@ "type": "object", "properties": { "siteUrl": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] }, "permissionLevel": { - "type": [ - "null", - "string" - ] + "type": ["null", "string"] } } } diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/spec.json b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/spec.json index f6e14e322e1f..e060196070b4 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/spec.json +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/spec.json @@ -5,34 +5,23 @@ "title": "Google Search Console Spec", "type": "object", "additionalProperties": false, - "required": [ - "site_urls", - "start_date", - "authorization" - ], + "required": ["site_urls", "start_date", "authorization"], "properties": { "site_urls": { "type": "array", "description": "Website URLs property; do not include the domain-level property in the list", - "examples": [ - "https://example1.com", - "https://example2.com" - ] + "examples": ["https://example1.com", "https://example2.com"] }, "start_date": { "type": "string", "description": "The date from which you'd like to replicate data in the format YYYY-MM-DD.", - "examples": [ - "2021-01-01" - ], + "examples": ["2021-01-01"], "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" }, "end_date": { "type": "string", "description": "The date from which you'd like to replicate data in the format YYYY-MM-DD. Must be greater or equal start_date field", - "examples": [ - "2021-12-12" - ], + "examples": ["2021-12-12"], "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" }, "authorization": { @@ -70,10 +59,7 @@ }, { "type": "object", - "required": [ - "auth_type", - "service_account_info" - ], + "required": ["auth_type", "service_account_info"], "properties": { "auth_type": { "type": "string",