airbyte-source-google-search-console 1.4.0__tar.gz → 1.4.3__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/PKG-INFO +26 -12
  2. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/README.md +24 -11
  3. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/pyproject.toml +2 -2
  4. airbyte_source_google_search_console-1.4.3/source_google_search_console/schemas/search_analytics_all_fields.json +53 -0
  5. airbyte_source_google_search_console-1.4.3/source_google_search_console/schemas/search_analytics_by_country.json +41 -0
  6. airbyte_source_google_search_console-1.4.3/source_google_search_console/schemas/search_analytics_by_date.json +37 -0
  7. airbyte_source_google_search_console-1.4.3/source_google_search_console/schemas/search_analytics_by_device.json +41 -0
  8. airbyte_source_google_search_console-1.4.3/source_google_search_console/schemas/search_analytics_by_page.json +41 -0
  9. airbyte_source_google_search_console-1.4.3/source_google_search_console/schemas/search_analytics_by_query.json +41 -0
  10. airbyte_source_google_search_console-1.4.3/source_google_search_console/schemas/search_analytics_keyword_page_report.json +54 -0
  11. airbyte_source_google_search_console-1.4.3/source_google_search_console/schemas/search_analytics_keyword_site_report_by_page.json +50 -0
  12. airbyte_source_google_search_console-1.4.3/source_google_search_console/schemas/search_analytics_keyword_site_report_by_site.json +50 -0
  13. airbyte_source_google_search_console-1.4.3/source_google_search_console/schemas/search_analytics_page_report.json +50 -0
  14. airbyte_source_google_search_console-1.4.3/source_google_search_console/schemas/search_analytics_site_report_by_page.json +46 -0
  15. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/source_google_search_console/schemas/search_analytics_site_report_by_site.json +9 -0
  16. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/source_google_search_console/schemas/sitemaps.json +12 -0
  17. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/source_google_search_console/schemas/sites.json +2 -0
  18. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/source_google_search_console/source.py +1 -1
  19. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/source_google_search_console/streams.py +3 -3
  20. airbyte_source_google_search_console-1.4.0/source_google_search_console/schemas/search_analytics_all_fields.json +0 -42
  21. airbyte_source_google_search_console-1.4.0/source_google_search_console/schemas/search_analytics_by_country.json +0 -33
  22. airbyte_source_google_search_console-1.4.0/source_google_search_console/schemas/search_analytics_by_date.json +0 -30
  23. airbyte_source_google_search_console-1.4.0/source_google_search_console/schemas/search_analytics_by_device.json +0 -33
  24. airbyte_source_google_search_console-1.4.0/source_google_search_console/schemas/search_analytics_by_page.json +0 -33
  25. airbyte_source_google_search_console-1.4.0/source_google_search_console/schemas/search_analytics_by_query.json +0 -33
  26. airbyte_source_google_search_console-1.4.0/source_google_search_console/schemas/search_analytics_keyword_page_report.json +0 -43
  27. airbyte_source_google_search_console-1.4.0/source_google_search_console/schemas/search_analytics_keyword_site_report_by_page.json +0 -40
  28. airbyte_source_google_search_console-1.4.0/source_google_search_console/schemas/search_analytics_keyword_site_report_by_site.json +0 -40
  29. airbyte_source_google_search_console-1.4.0/source_google_search_console/schemas/search_analytics_page_report.json +0 -40
  30. airbyte_source_google_search_console-1.4.0/source_google_search_console/schemas/search_analytics_site_report_by_page.json +0 -37
  31. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/source_google_search_console/__init__.py +0 -0
  32. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/source_google_search_console/config_migrations.py +0 -0
  33. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/source_google_search_console/exceptions.py +0 -0
  34. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/source_google_search_console/run.py +0 -0
  35. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/source_google_search_console/service_account_authenticator.py +0 -0
  36. {airbyte_source_google_search_console-1.4.0 → airbyte_source_google_search_console-1.4.3}/source_google_search_console/spec.json +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-source-google-search-console
3
- Version: 1.4.0
3
+ Version: 1.4.3
4
4
  Summary: Source implementation for Google Search Console.
5
5
  Home-page: https://airbyte.com
6
6
  License: Elv2
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Programming Language :: Python :: 3.9
13
13
  Classifier: Programming Language :: Python :: 3.10
14
14
  Classifier: Programming Language :: Python :: 3.11
15
- Requires-Dist: airbyte-cdk (>=0,<1)
15
+ Requires-Dist: airbyte-cdk (==0.90.0)
16
16
  Requires-Dist: google-api-python-client (==2.105.0)
17
17
  Requires-Dist: google-auth (==2.23.3)
18
18
  Project-URL: Documentation, https://docs.airbyte.com/integrations/sources/google-search-console
@@ -21,32 +21,33 @@ Description-Content-Type: text/markdown
21
21
 
22
22
  # Google-Search-Console source connector
23
23
 
24
-
25
24
  This is the repository for the Google-Search-Console source connector, written in Python.
26
25
  For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/google-search-console).
27
26
 
28
27
  ## Local development
29
28
 
30
29
  ### Prerequisites
31
- * Python (~=3.9)
32
- * Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
33
30
 
31
+ - Python (~=3.9)
32
+ - Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
34
33
 
35
34
  ### Installing the connector
35
+
36
36
  From this connector directory, run:
37
+
37
38
  ```bash
38
39
  poetry install --with dev
39
40
  ```
40
41
 
41
-
42
42
  ### Create credentials
43
+
43
44
  **If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/google-search-console)
44
45
  to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_google_search_console/spec.yaml` file.
45
46
  Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
46
47
  See `sample_files/sample_config.json` for a sample config file.
47
48
 
48
-
49
49
  ### Locally running the connector
50
+
50
51
  ```
51
52
  poetry run source-google-search-console spec
52
53
  poetry run source-google-search-console check --config secrets/config.json
@@ -55,23 +56,28 @@ poetry run source-google-search-console read --config secrets/config.json --cata
55
56
  ```
56
57
 
57
58
  ### Running unit tests
59
+
58
60
  To run unit tests locally, from the connector directory run:
61
+
59
62
  ```
60
63
  poetry run pytest unit_tests
61
64
  ```
62
65
 
63
66
  ### Building the docker image
67
+
64
68
  1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)
65
69
  2. Run the following command to build the docker image:
70
+
66
71
  ```bash
67
72
  airbyte-ci connectors --name=source-google-search-console build
68
73
  ```
69
74
 
70
75
  An image will be available on your host with the tag `airbyte/source-google-search-console:dev`.
71
76
 
72
-
73
77
  ### Running as a docker container
78
+
74
79
  Then run any of the connector commands as follows:
80
+
75
81
  ```
76
82
  docker run --rm airbyte/source-google-search-console:dev spec
77
83
  docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-google-search-console:dev check --config /secrets/config.json
@@ -80,18 +86,23 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat
80
86
  ```
81
87
 
82
88
  ### Running our CI test suite
89
+
83
90
  You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
91
+
84
92
  ```bash
85
93
  airbyte-ci connectors --name=source-google-search-console test
86
94
  ```
87
95
 
88
96
  ### Customizing acceptance Tests
97
+
89
98
  Customize `acceptance-test-config.yml` file to configure acceptance tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information.
90
99
  If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py.
91
100
 
92
101
  ### Dependency Management
93
- All of your dependencies should be managed via Poetry.
102
+
103
+ All of your dependencies should be managed via Poetry.
94
104
  To add a new dependency, run:
105
+
95
106
  ```bash
96
107
  poetry add <package-name>
97
108
  ```
@@ -99,14 +110,17 @@ poetry add <package-name>
99
110
  Please commit the changes to `pyproject.toml` and `poetry.lock` files.
100
111
 
101
112
  ## Publishing a new version of the connector
113
+
102
114
  You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
115
+
103
116
  1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-google-search-console test`
104
- 2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
105
- - bump the `dockerImageTag` value in in `metadata.yaml`
106
- - bump the `version` value in `pyproject.toml`
117
+ 2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
118
+ - bump the `dockerImageTag` value in in `metadata.yaml`
119
+ - bump the `version` value in `pyproject.toml`
107
120
  3. Make sure the `metadata.yaml` content is up to date.
108
121
  4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/google-search-console.md`).
109
122
  5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention).
110
123
  6. Pat yourself on the back for being an awesome contributor.
111
124
  7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
112
125
  8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
126
+
@@ -1,31 +1,32 @@
1
1
  # Google-Search-Console source connector
2
2
 
3
-
4
3
  This is the repository for the Google-Search-Console source connector, written in Python.
5
4
  For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.com/integrations/sources/google-search-console).
6
5
 
7
6
  ## Local development
8
7
 
9
8
  ### Prerequisites
10
- * Python (~=3.9)
11
- * Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
12
9
 
10
+ - Python (~=3.9)
11
+ - Poetry (~=1.7) - installation instructions [here](https://python-poetry.org/docs/#installation)
13
12
 
14
13
  ### Installing the connector
14
+
15
15
  From this connector directory, run:
16
+
16
17
  ```bash
17
18
  poetry install --with dev
18
19
  ```
19
20
 
20
-
21
21
  ### Create credentials
22
+
22
23
  **If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/google-search-console)
23
24
  to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_google_search_console/spec.yaml` file.
24
25
  Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
25
26
  See `sample_files/sample_config.json` for a sample config file.
26
27
 
27
-
28
28
  ### Locally running the connector
29
+
29
30
  ```
30
31
  poetry run source-google-search-console spec
31
32
  poetry run source-google-search-console check --config secrets/config.json
@@ -34,23 +35,28 @@ poetry run source-google-search-console read --config secrets/config.json --cata
34
35
  ```
35
36
 
36
37
  ### Running unit tests
38
+
37
39
  To run unit tests locally, from the connector directory run:
40
+
38
41
  ```
39
42
  poetry run pytest unit_tests
40
43
  ```
41
44
 
42
45
  ### Building the docker image
46
+
43
47
  1. Install [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md)
44
48
  2. Run the following command to build the docker image:
49
+
45
50
  ```bash
46
51
  airbyte-ci connectors --name=source-google-search-console build
47
52
  ```
48
53
 
49
54
  An image will be available on your host with the tag `airbyte/source-google-search-console:dev`.
50
55
 
51
-
52
56
  ### Running as a docker container
57
+
53
58
  Then run any of the connector commands as follows:
59
+
54
60
  ```
55
61
  docker run --rm airbyte/source-google-search-console:dev spec
56
62
  docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-google-search-console:dev check --config /secrets/config.json
@@ -59,18 +65,23 @@ docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integrat
59
65
  ```
60
66
 
61
67
  ### Running our CI test suite
68
+
62
69
  You can run our full test suite locally using [`airbyte-ci`](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/README.md):
70
+
63
71
  ```bash
64
72
  airbyte-ci connectors --name=source-google-search-console test
65
73
  ```
66
74
 
67
75
  ### Customizing acceptance Tests
76
+
68
77
  Customize `acceptance-test-config.yml` file to configure acceptance tests. See [Connector Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/connector-acceptance-tests-reference) for more information.
69
78
  If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py.
70
79
 
71
80
  ### Dependency Management
72
- All of your dependencies should be managed via Poetry.
81
+
82
+ All of your dependencies should be managed via Poetry.
73
83
  To add a new dependency, run:
84
+
74
85
  ```bash
75
86
  poetry add <package-name>
76
87
  ```
@@ -78,14 +89,16 @@ poetry add <package-name>
78
89
  Please commit the changes to `pyproject.toml` and `poetry.lock` files.
79
90
 
80
91
  ## Publishing a new version of the connector
92
+
81
93
  You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
94
+
82
95
  1. Make sure your changes are passing our test suite: `airbyte-ci connectors --name=source-google-search-console test`
83
- 2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
84
- - bump the `dockerImageTag` value in in `metadata.yaml`
85
- - bump the `version` value in `pyproject.toml`
96
+ 2. Bump the connector version (please follow [semantic versioning for connectors](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#semantic-versioning-for-connectors)):
97
+ - bump the `dockerImageTag` value in in `metadata.yaml`
98
+ - bump the `version` value in `pyproject.toml`
86
99
  3. Make sure the `metadata.yaml` content is up to date.
87
100
  4. Make sure the connector documentation and its changelog is up to date (`docs/integrations/sources/google-search-console.md`).
88
101
  5. Create a Pull Request: use [our PR naming conventions](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook/#pull-request-title-convention).
89
102
  6. Pat yourself on the back for being an awesome contributor.
90
103
  7. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
91
- 8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
104
+ 8. Once your PR is merged, the new version of the connector will be automatically published to Docker Hub and our connector registry.
@@ -5,7 +5,7 @@ requires = [
5
5
  build-backend = "poetry.core.masonry.api"
6
6
 
7
7
  [tool.poetry]
8
- version = "1.4.0"
8
+ version = "1.4.3"
9
9
  name = "airbyte-source-google-search-console"
10
10
  description = "Source implementation for Google Search Console."
11
11
  authors = [
@@ -23,7 +23,7 @@ packages = [
23
23
  [tool.poetry.dependencies]
24
24
  python = "^3.9,<3.12"
25
25
  google-api-python-client = "==2.105.0"
26
- airbyte-cdk = "^0"
26
+ airbyte-cdk = "0.90.0"
27
27
  google-auth = "==2.23.3"
28
28
 
29
29
  [tool.poetry.scripts]
@@ -0,0 +1,53 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "site_url": {
6
+ "description": "The URL of the site from which the data originates.",
7
+ "type": ["null", "string"]
8
+ },
9
+ "search_type": {
10
+ "description": "The type of search (e.g., web, image, video) that triggered the search result.",
11
+ "type": ["null", "string"]
12
+ },
13
+ "date": {
14
+ "description": "The date when the search query occurred.",
15
+ "type": ["null", "string"],
16
+ "format": "date"
17
+ },
18
+ "country": {
19
+ "description": "The country from which the search query originated.",
20
+ "type": ["null", "string"]
21
+ },
22
+ "device": {
23
+ "description": "The type of device used by the user (e.g., desktop, mobile).",
24
+ "type": ["null", "string"]
25
+ },
26
+ "page": {
27
+ "description": "The page URL that appeared in the search results.",
28
+ "type": ["null", "string"]
29
+ },
30
+ "query": {
31
+ "description": "The search query entered by the user.",
32
+ "type": ["null", "string"]
33
+ },
34
+ "clicks": {
35
+ "description": "The number of times users clicked on the search result for a specific query.",
36
+ "type": ["null", "integer"]
37
+ },
38
+ "impressions": {
39
+ "description": "The number of times a search result appeared in response to a query.",
40
+ "type": ["null", "integer"]
41
+ },
42
+ "ctr": {
43
+ "description": "Click-through rate, calculated as clicks divided by impressions.",
44
+ "type": ["null", "number"],
45
+ "multipleOf": 1e-25
46
+ },
47
+ "position": {
48
+ "description": "The average position of the search result on the search engine results page.",
49
+ "type": ["null", "number"],
50
+ "multipleOf": 1e-25
51
+ }
52
+ }
53
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "site_url": {
6
+ "description": "The URL of the site for which the search analytics data is being reported.",
7
+ "type": ["null", "string"]
8
+ },
9
+ "search_type": {
10
+ "description": "The type of search (web search, image search, video search, etc.) for which the data is being reported.",
11
+ "type": ["null", "string"]
12
+ },
13
+ "date": {
14
+ "description": "The date for which the search analytics data is being reported.",
15
+ "type": ["null", "string"],
16
+ "format": "date"
17
+ },
18
+ "country": {
19
+ "description": "The country for which the search analytics data is being reported.",
20
+ "type": ["null", "string"]
21
+ },
22
+ "clicks": {
23
+ "description": "The number of times users clicked on the search result for a specific country.",
24
+ "type": ["null", "integer"]
25
+ },
26
+ "impressions": {
27
+ "description": "The total number of times a search result was shown in search results for a specific country.",
28
+ "type": ["null", "integer"]
29
+ },
30
+ "ctr": {
31
+ "description": "The click-through rate, i.e., the ratio of clicks to impressions for a specific country.",
32
+ "type": ["null", "number"],
33
+ "multipleOf": 1e-25
34
+ },
35
+ "position": {
36
+ "description": "The average position at which the site's search result appeared for a specific country.",
37
+ "type": ["null", "number"],
38
+ "multipleOf": 1e-25
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "site_url": {
6
+ "description": "The URL of the site for which the search analytics data is being reported.",
7
+ "type": ["null", "string"]
8
+ },
9
+ "search_type": {
10
+ "description": "The type of search query (e.g., web, image, video) that generated the search analytics data.",
11
+ "type": ["null", "string"]
12
+ },
13
+ "date": {
14
+ "description": "The date for which the search analytics data is being reported.",
15
+ "type": ["null", "string"],
16
+ "format": "date"
17
+ },
18
+ "clicks": {
19
+ "description": "The total number of times users clicked on the search result for the site URL on the specific date.",
20
+ "type": ["null", "integer"]
21
+ },
22
+ "impressions": {
23
+ "description": "The number of times the site URL was displayed in the search results to users on the specific date.",
24
+ "type": ["null", "integer"]
25
+ },
26
+ "ctr": {
27
+ "description": "The click-through rate (CTR) represents the percentage of total impressions that resulted in a click to the site URL.",
28
+ "type": ["null", "number"],
29
+ "multipleOf": 1e-25
30
+ },
31
+ "position": {
32
+ "description": "The average position of the site URL in the search results pages for the specific date.",
33
+ "type": ["null", "number"],
34
+ "multipleOf": 1e-25
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "site_url": {
6
+ "description": "The URL of the site for which search analytics data is being provided.",
7
+ "type": ["null", "string"]
8
+ },
9
+ "search_type": {
10
+ "description": "The type of search performed (e.g., web search, image search, video search).",
11
+ "type": ["null", "string"]
12
+ },
13
+ "date": {
14
+ "description": "The date for which the search analytics data is provided.",
15
+ "type": ["null", "string"],
16
+ "format": "date"
17
+ },
18
+ "device": {
19
+ "description": "The type of device used by the user for the search query (e.g., desktop, mobile).",
20
+ "type": ["null", "string"]
21
+ },
22
+ "clicks": {
23
+ "description": "The total number of times a user clicked on a search result linking to the target site.",
24
+ "type": ["null", "integer"]
25
+ },
26
+ "impressions": {
27
+ "description": "The total number of times a user saw a link to the target site in search results.",
28
+ "type": ["null", "integer"]
29
+ },
30
+ "ctr": {
31
+ "description": "Click-through rate represents the ratio of clicks to impressions, showing the effectiveness of your site in attracting clicks from search results.",
32
+ "type": ["null", "number"],
33
+ "multipleOf": 1e-25
34
+ },
35
+ "position": {
36
+ "description": "The average position of the site's URLs in search results for the given query or queries.",
37
+ "type": ["null", "number"],
38
+ "multipleOf": 1e-25
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "site_url": {
6
+ "description": "The URL of the site for which the search analytics data is being reported.",
7
+ "type": ["null", "string"]
8
+ },
9
+ "search_type": {
10
+ "description": "The type of search query that led to the page being displayed in search results.",
11
+ "type": ["null", "string"]
12
+ },
13
+ "date": {
14
+ "description": "The date for which the search analytics data is reported.",
15
+ "type": ["null", "string"],
16
+ "format": "date"
17
+ },
18
+ "page": {
19
+ "description": "The URL of the specific page being analyzed for search analytics data.",
20
+ "type": ["null", "string"]
21
+ },
22
+ "clicks": {
23
+ "description": "The number of times a user clicked on the search result linking to the page.",
24
+ "type": ["null", "integer"]
25
+ },
26
+ "impressions": {
27
+ "description": "The number of times a page from the site appeared in the search results viewed by users.",
28
+ "type": ["null", "integer"]
29
+ },
30
+ "ctr": {
31
+ "description": "Click-through rate (CTR) is the ratio of clicks to impressions, indicating the effectiveness of the page in generating clicks.",
32
+ "type": ["null", "number"],
33
+ "multipleOf": 1e-25
34
+ },
35
+ "position": {
36
+ "description": "The average position at which the page appeared in search results.",
37
+ "type": ["null", "number"],
38
+ "multipleOf": 1e-25
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "site_url": {
6
+ "description": "The URL of the site for which the search analytics data is captured.",
7
+ "type": ["null", "string"]
8
+ },
9
+ "search_type": {
10
+ "description": "The type of search result (e.g., web, image, video) for the specific query.",
11
+ "type": ["null", "string"]
12
+ },
13
+ "date": {
14
+ "description": "The date for which the search analytics data is recorded.",
15
+ "type": ["null", "string"],
16
+ "format": "date"
17
+ },
18
+ "query": {
19
+ "description": "The search query for which the search analytics data is recorded.",
20
+ "type": ["null", "string"]
21
+ },
22
+ "clicks": {
23
+ "description": "The number of times users clicked on the search result for the specific query.",
24
+ "type": ["null", "integer"]
25
+ },
26
+ "impressions": {
27
+ "description": "The number of times the search result was displayed for the specific query.",
28
+ "type": ["null", "integer"]
29
+ },
30
+ "ctr": {
31
+ "description": "The click-through rate (percentage) for the specific query, calculated as clicks divided by impressions.",
32
+ "type": ["null", "number"],
33
+ "multipleOf": 1e-25
34
+ },
35
+ "position": {
36
+ "description": "The average position at which the search result appeared for the specific query.",
37
+ "type": ["null", "number"],
38
+ "multipleOf": 1e-25
39
+ }
40
+ }
41
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "additionalProperties": true,
5
+ "properties": {
6
+ "site_url": {
7
+ "description": "The URL of the website being monitored.",
8
+ "type": ["null", "string"]
9
+ },
10
+ "search_type": {
11
+ "description": "The type of search (e.g., web, image, video).",
12
+ "type": ["null", "string"]
13
+ },
14
+ "date": {
15
+ "description": "The date of the search data collected.",
16
+ "type": ["null", "string"],
17
+ "format": "date"
18
+ },
19
+ "country": {
20
+ "description": "The country where the search is made.",
21
+ "type": ["null", "string"]
22
+ },
23
+ "device": {
24
+ "description": "The device type used for the search (e.g., desktop, mobile).",
25
+ "type": ["null", "string"]
26
+ },
27
+ "page": {
28
+ "description": "The page URL on which the keyword appears in search results.",
29
+ "type": ["null", "string"]
30
+ },
31
+ "query": {
32
+ "description": "The search query used to find the site.",
33
+ "type": ["null", "string"]
34
+ },
35
+ "clicks": {
36
+ "description": "The number of clicks for the keyword on a specific page.",
37
+ "type": ["null", "integer"]
38
+ },
39
+ "impressions": {
40
+ "description": "The number of times the keyword appeared in search results.",
41
+ "type": ["null", "integer"]
42
+ },
43
+ "ctr": {
44
+ "description": "Click-through rate which is the percentage of clicks divided by impressions.",
45
+ "type": ["null", "number"],
46
+ "multipleOf": 1e-25
47
+ },
48
+ "position": {
49
+ "description": "The average position of the keyword on search results pages.",
50
+ "type": ["null", "number"],
51
+ "multipleOf": 1e-25
52
+ }
53
+ }
54
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "additionalProperties": true,
5
+ "properties": {
6
+ "site_url": {
7
+ "description": "The URL of the website for which the search analytics data is retrieved.",
8
+ "type": ["null", "string"]
9
+ },
10
+ "search_type": {
11
+ "description": "The type of search conducted (e.g., web, image, video).",
12
+ "type": ["null", "string"]
13
+ },
14
+ "date": {
15
+ "description": "The date when the search data was recorded.",
16
+ "type": ["null", "string"],
17
+ "format": "date"
18
+ },
19
+ "country": {
20
+ "description": "The country from which the search query originated.",
21
+ "type": ["null", "string"]
22
+ },
23
+ "device": {
24
+ "description": "The device type used for the search query (e.g., desktop, mobile).",
25
+ "type": ["null", "string"]
26
+ },
27
+ "query": {
28
+ "description": "The search query used by the user.",
29
+ "type": ["null", "string"]
30
+ },
31
+ "clicks": {
32
+ "description": "The number of times users clicked on your website link in search results.",
33
+ "type": ["null", "integer"]
34
+ },
35
+ "impressions": {
36
+ "description": "The number of times your website link appeared in search results.",
37
+ "type": ["null", "integer"]
38
+ },
39
+ "ctr": {
40
+ "description": "Click-through rate: Number of clicks divided by the number of impressions.",
41
+ "type": ["null", "number"],
42
+ "multipleOf": 1e-25
43
+ },
44
+ "position": {
45
+ "description": "The average position of your website link in search results.",
46
+ "type": ["null", "number"],
47
+ "multipleOf": 1e-25
48
+ }
49
+ }
50
+ }