1
0
mirror of synced 2026-01-01 18:02:53 -05:00
Files
airbyte/airbyte-integrations/connectors/source-weatherstack/integration_tests/catalog.json
robgleason 7546450cfe 🎉 New Source: Weatherstack [python cdk] (#16473)
* Added Source Weatherstack

* Clean Code. Took out TODO's.

* Added link to get API key

* Remade check_connection and added Constants

* Added WeatherStack to source_definitions and updated Catalog.json

* deleted configured_catalog.json (not in use)

* Revert "deleted configured_catalog.json (not in use)"

This reverts commit 1b40726335.

* chore: revert change

* chore: format and lint

* chore: attempt to patch unit tests

* Added Classes for Unit tests

* chore: fix coverage

* chore: fix unit tests for weatherstream

* chore: fix weather stack unittests

* chore: fix unittests fr weatherstack

* Added schemas to catalogue

* Update setup.py

* Update build.gradle

* Delete sample_state.json

* support for various account types

* Update source.py

* Delete .dccache

* Update source_definitions.yaml

* Update source_specs.yaml

Co-authored-by: Vincent Koc <koconder@users.noreply.github.com>
Co-authored-by: Vincent Koc <koconder@gmail.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2022-11-10 12:38:22 -05:00

401 lines
11 KiB
JSON

{
"streams": [
{
"stream": {
"name": "current_weather",
"json_schema": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"request": {
"type": ["null", "object"],
"properties": {
"type": {
"type": "string"
},
"query": {
"type": "string"
},
"language": {
"type": "string"
},
"unit": {
"type": "string"
}
}
},
"location": {
"type": ["null", "object"],
"properties": {
"name": {
"type": "string"
},
"country": {
"type": "string"
},
"region": {
"type": "string"
},
"lat": {
"type": "string"
},
"lon": {
"type": "string"
},
"timezone_id": {
"type": "string"
},
"localtime": {
"type": "string"
},
"localtime_epoch": {
"type": "number"
},
"utc_offset": {
"type": "string"
}
}
},
"current": {
"type": ["null", "object"],
"properties": {
"observation_time": {
"type": "string"
},
"temperature": {
"type": "number"
},
"weather_code": {
"type": "number"
},
"weather_icons": {
"type": "array"
},
"weather_descriptions": {
"type": "array"
},
"wind_speed": {
"type": "number"
},
"wind_degree": {
"type": "number"
},
"wind_dir": {
"type": "string"
},
"pressure": {
"type": "number"
},
"precip": {
"type": "number"
},
"humidity": {
"type": "number"
},
"cloudcover": {
"type": "number"
},
"feelslike": {
"type": "number"
},
"uv_index": {
"type": "number"
},
"visibility": {
"type": "number"
}
}
}
}
},
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "forecast",
"json_schema": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"request": {
"type": ["null", "object"],
"properties": {
"type": {
"type": "string"
},
"query": {
"type": "string"
},
"language": {
"type": "string"
},
"unit": {
"type": "string"
}
}
},
"location": {
"type": ["null", "object"],
"properties": {
"name": {
"type": "string"
},
"country": {
"type": "string"
},
"region": {
"type": "string"
},
"lat": {
"type": "string"
},
"lon": {
"type": "string"
},
"timezone_id": {
"type": "string"
},
"localtime": {
"type": "string"
},
"localtime_epoch": {
"type": "number"
},
"utc_offset": {
"type": "string"
}
}
},
"current": {
"type": ["null", "object"],
"properties": {
"observation_time": {
"type": "string"
},
"temperature": {
"type": "number"
},
"weather_code": {
"type": "number"
},
"weather_icons": {
"type": "array"
},
"weather_descriptions": {
"type": "array"
},
"wind_speed": {
"type": "number"
},
"wind_degree": {
"type": "number"
},
"wind_dir": {
"type": "string"
},
"pressure": {
"type": "number"
},
"precip": {
"type": "number"
},
"humidity": {
"type": "number"
},
"cloudcover": {
"type": "number"
},
"feelslike": {
"type": "number"
},
"uv_index": {
"type": "number"
},
"visibility": {
"type": "number"
}
}
},
"forecast": {
"type": ["null", "object"]
}
}
},
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "historical",
"json_schema": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"request": {
"type": ["null", "object"],
"properties": {
"type": {
"type": "string"
},
"query": {
"type": "string"
},
"language": {
"type": "string"
},
"unit": {
"type": "string"
}
}
},
"location": {
"type": ["null", "object"],
"properties": {
"name": {
"type": "string"
},
"country": {
"type": "string"
},
"region": {
"type": "string"
},
"lat": {
"type": "string"
},
"lon": {
"type": "string"
},
"timezone_id": {
"type": "string"
},
"localtime": {
"type": "string"
},
"localtime_epoch": {
"type": "number"
},
"utc_offset": {
"type": "string"
}
}
},
"current": {
"type": ["null", "object"],
"properties": {
"observation_time": {
"type": "string"
},
"temperature": {
"type": "number"
},
"weather_code": {
"type": "number"
},
"weather_icons": {
"type": "array"
},
"weather_descriptions": {
"type": "array"
},
"wind_speed": {
"type": "number"
},
"wind_degree": {
"type": "number"
},
"wind_dir": {
"type": "string"
},
"pressure": {
"type": "number"
},
"precip": {
"type": "number"
},
"humidity": {
"type": "number"
},
"cloudcover": {
"type": "number"
},
"feelslike": {
"type": "number"
},
"uv_index": {
"type": "number"
},
"visibility": {
"type": "number"
}
}
},
"historical": {
"type": ["null", "object"]
}
}
},
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "location_lookup",
"json_schema": {
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"request": {
"type": ["null", "object"],
"properties": {
"query": {
"type": "string"
},
"results": {
"type": "number"
}
}
},
"results": {
"type": ["null", "array"],
"properties": {
"name": {
"type": "string"
},
"country": {
"type": "string"
},
"region": {
"type": "string"
},
"lon": {
"type": "string"
},
"lat": {
"type": "string"
},
"timezone_id": {
"type": "string"
},
"utc_offset": {
"type": "string"
}
}
}
}
},
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
}
]
}