diff --git a/CHANGELOG.md b/CHANGELOG.md index 322bf4a..65049d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ -# dbt_apple_store version.version +# dbt_apple_store v0.5.0 + +## Breaking Changes: Schema Change +- Following the connector's [Nov 2024 Update](https://fivetran.com/docs/connectors/applications/apple-app-store/changelog#november2024) to sync from the [App Store Connect API](https://developer.apple.com/documentation/appstoreconnectapi), we've updated this dbt package to reflect the new schema which includes the following changes: + +# Breaking Changes +- The `account_id` and `account_name` fields have been removed. + +## to be complete ## Documentation - Added Quickstart model counts to README. ([#31](https://github.com/fivetran/dbt_apple_store/pull/31)) diff --git a/README.md b/README.md index 90f76f0..5dda01b 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ The following table provides a detailed list of all tables materialized within t | [apple_store__overview_report](https://fivetran.github.io/dbt_apple_store/#!/model/model.apple_store.apple_store__overview_report) | Each record represents daily metrics for each app_id. | | [apple_store__platform_version_report](https://fivetran.github.io/dbt_apple_store/#!/model/model.apple_store.apple_store__platform_version_report) | Each record represents daily metrics for each by app_id, source_type and platform version. | | [apple_store__source_type_report](https://fivetran.github.io/dbt_apple_store/#!/model/model.apple_store.apple_store__source_type_report) | Each record represents daily metrics by app_id and source_type. | -| [apple_store__subscription_report](https://fivetran.github.io/dbt_apple_store/#!/model/model.apple_store.apple_store__subscription_report) | Each record represents daily subscription metrics by account, app, subscription name, country and state. | +| [apple_store__subscription_report](https://fivetran.github.io/dbt_apple_store/#!/model/model.apple_store.apple_store__subscription_report) | Each record represents daily subscription metrics by app, subscription name, country and state. | | [apple_store__territory_report](https://fivetran.github.io/dbt_apple_store/#!/model/model.apple_store.apple_store__source_type_report) | Each record represents daily subscription metrics by app_id, source_type and territory. | ### Materialized Models @@ -54,7 +54,7 @@ Include the following apple_store package version in your `packages.yml` file: ```yaml packages: - package: fivetran/apple_store - version: [">=0.4.0", "<0.5.0"] # we recommend using ranges to capture non-breaking changes automatically + version: [">=0.5.0", "<0.6.0"] # we recommend using ranges to capture non-breaking changes automatically ``` Do NOT include the `apple_store_source` package in this file. The transformation package itself has a dependency on it and will install the source package as well. @@ -146,7 +146,7 @@ This dbt package is dependent on the following dbt packages. These dependencies ```yml packages: - package: fivetran/apple_store_source - version: [">=0.4.0", "<0.5.0"] + version: [">=0.5.0", "<0.6.0"] - package: fivetran/fivetran_utils version: [">=0.4.0", "<0.5.0"] diff --git a/dbt_project.yml b/dbt_project.yml index 34ea672..200dfc5 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,26 +1,19 @@ name: 'apple_store' -version: '0.4.0' +version: '0.5.0' config-version: 2 require-dbt-version: [">=1.3.0", "<2.0.0"] vars: apple_store: - app: "{{ ref('stg_apple_store__app') }}" - app_store_device: "{{ ref('stg_apple_store__app_store_device') }}" - usage_device: "{{ ref('stg_apple_store__usage_device') }}" - downloads_device: "{{ ref('stg_apple_store__downloads_device') }}" - app_store_territory: "{{ ref('stg_apple_store__app_store_territory') }}" - downloads_territory: "{{ ref('stg_apple_store__downloads_territory') }}" - usage_territory: "{{ ref('stg_apple_store__usage_territory') }}" - app_store_platform_version: "{{ ref('stg_apple_store__app_store_platform_version') }}" - crashes_platform_version: "{{ ref('stg_apple_store__crashes_platform_version') }}" - downloads_platform_version: "{{ ref('stg_apple_store__downloads_platform_version') }}" - usage_platform_version: "{{ ref('stg_apple_store__usage_platform_version') }}" - crashes_app_version: "{{ ref('stg_apple_store__crashes_app_version') }}" - usage_app_version: "{{ ref('stg_apple_store__usage_app_version') }}" + app_store_app: "{{ ref('stg_apple_store__app_store_app') }}" sales_account: "{{ ref('stg_apple_store__sales_account') }}" sales_subscription_events: "{{ ref('stg_apple_store__sales_subscription_events') }}" sales_subscription_summary: "{{ ref('stg_apple_store__sales_subscription_summary') }}" apple_store_country_codes: "{{ ref('apple_store_country_codes') }}" + app_store_discovery_and_engagement_detailed_daily: "{{ ref('stg_apple_store__app_store_discovery_and_engagement_daily')}}" + app_crash_daily: "{{ ref('stg_apple_store__app_crash_daily')}}" + app_store_download_detailed_daily: "{{ ref('stg_apple_store__app_store_download_daily')}}" + app_session_detailed_daily: "{{ ref('stg_apple_store__app_session_daily')}}" + app_store_installation_and_deletion_detailed_daily: "{{ ref('stg_apple_store__app_store_installation_and_deletion_daily')}}" apple_store__subscription_events: - 'Renew' - 'Cancel' diff --git a/docs/catalog.json b/docs/catalog.json index 04964f2..e4defad 100644 --- a/docs/catalog.json +++ b/docs/catalog.json @@ -1 +1 @@ -{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.8.3", "generated_at": "2024-07-23T15:57:06.321141Z", "invocation_id": "ec007210-b87e-49d0-9f4f-20ad8d5c727c", "env": {}}, "nodes": {"seed.apple_store_integration_tests.app": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "app", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "is_enabled": {"type": "boolean", "index": 2, "name": "is_enabled", "comment": null}, "name": {"type": "text", "index": 3, "name": "name", "comment": null}, "asset_token": {"type": "text", "index": 4, "name": "asset_token", "comment": null}, "pre_order_info": {"type": "integer", "index": 5, "name": "pre_order_info", "comment": null}, "icon_url": {"type": "text", "index": 6, "name": "icon_url", "comment": null}, "app_opt_in_rate": {"type": "integer", "index": 7, "name": "app_opt_in_rate", "comment": null}, "ios": {"type": "boolean", "index": 8, "name": "ios", "comment": null}, "tvos": {"type": "boolean", "index": 9, "name": "tvos", "comment": null}, "is_bundle": {"type": "boolean", "index": 10, "name": "is_bundle", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.app"}, "seed.apple_store_integration_tests.app_store_platform_version_source_type": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "app_store_platform_version_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "platform_version": {"type": "text", "index": 3, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "impressions": {"type": "integer", "index": 6, "name": "impressions", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "impressions_unique_device": {"type": "integer", "index": 8, "name": "impressions_unique_device", "comment": null}, "page_views": {"type": "integer", "index": 9, "name": "page_views", "comment": null}, "page_views_unique_device": {"type": "integer", "index": 10, "name": "page_views_unique_device", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.app_store_platform_version_source_type"}, "seed.apple_store_integration_tests.app_store_source_type_device": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "app_store_source_type_device", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "device": {"type": "text", "index": 3, "name": "device", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "impressions": {"type": "integer", "index": 6, "name": "impressions", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "impressions_unique_device": {"type": "integer", "index": 8, "name": "impressions_unique_device", "comment": null}, "page_views": {"type": "integer", "index": 9, "name": "page_views", "comment": null}, "page_views_unique_device": {"type": "integer", "index": 10, "name": "page_views_unique_device", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.app_store_source_type_device"}, "seed.apple_store_integration_tests.app_store_territory_source_type": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "app_store_territory_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "source_type": {"type": "text", "index": 3, "name": "source_type", "comment": null}, "territory": {"type": "text", "index": 4, "name": "territory", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "impressions": {"type": "integer", "index": 6, "name": "impressions", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "impressions_unique_device": {"type": "integer", "index": 8, "name": "impressions_unique_device", "comment": null}, "page_views": {"type": "integer", "index": 9, "name": "page_views", "comment": null}, "page_views_unique_device": {"type": "integer", "index": 10, "name": "page_views_unique_device", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.app_store_territory_source_type"}, "seed.apple_store_integration_tests.crashes_app_version": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "crashes_app_version", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "app_version": {"type": "text", "index": 2, "name": "app_version", "comment": null}, "date": {"type": "timestamp without time zone", "index": 3, "name": "date", "comment": null}, "device": {"type": "text", "index": 4, "name": "device", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "crashes": {"type": "integer", "index": 6, "name": "crashes", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.crashes_app_version"}, "seed.apple_store_integration_tests.crashes_platform_version": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "crashes_platform_version", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "device": {"type": "text", "index": 3, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 4, "name": "platform_version", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "crashes": {"type": "integer", "index": 6, "name": "crashes", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.crashes_platform_version"}, "seed.apple_store_integration_tests.downloads_platform_version_source_type": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "downloads_platform_version_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "platform_version": {"type": "text", "index": 3, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "first_time_downloads": {"type": "integer", "index": 6, "name": "first_time_downloads", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "redownloads": {"type": "integer", "index": 8, "name": "redownloads", "comment": null}, "total_downloads": {"type": "integer", "index": 9, "name": "total_downloads", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.downloads_platform_version_source_type"}, "seed.apple_store_integration_tests.downloads_source_type_device": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "downloads_source_type_device", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "device": {"type": "text", "index": 3, "name": "device", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "first_time_downloads": {"type": "integer", "index": 6, "name": "first_time_downloads", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "redownloads": {"type": "integer", "index": 8, "name": "redownloads", "comment": null}, "total_downloads": {"type": "integer", "index": 9, "name": "total_downloads", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.downloads_source_type_device"}, "seed.apple_store_integration_tests.downloads_territory_source_type": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "downloads_territory_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "source_type": {"type": "text", "index": 3, "name": "source_type", "comment": null}, "territory": {"type": "text", "index": 4, "name": "territory", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "first_time_downloads": {"type": "integer", "index": 6, "name": "first_time_downloads", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "redownloads": {"type": "integer", "index": 8, "name": "redownloads", "comment": null}, "total_downloads": {"type": "integer", "index": 9, "name": "total_downloads", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.downloads_territory_source_type"}, "seed.apple_store_integration_tests.sales_account": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "sales_account", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "name": {"type": "text", "index": 2, "name": "name", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.sales_account"}, "seed.apple_store_integration_tests.sales_subscription_events": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "sales_subscription_events", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_filename": {"type": "text", "index": 1, "name": "_filename", "comment": null}, "account_number": {"type": "integer", "index": 2, "name": "account_number", "comment": null}, "vendor_number": {"type": "integer", "index": 3, "name": "vendor_number", "comment": null}, "_index": {"type": "integer", "index": 4, "name": "_index", "comment": null}, "event_date": {"type": "date", "index": 5, "name": "event_date", "comment": null}, "app_name": {"type": "text", "index": 6, "name": "app_name", "comment": null}, "days_canceled": {"type": "integer", "index": 7, "name": "days_canceled", "comment": null}, "subscription_name": {"type": "text", "index": 8, "name": "subscription_name", "comment": null}, "consecutive_paid_periods": {"type": "integer", "index": 9, "name": "consecutive_paid_periods", "comment": null}, "previous_subscription_name": {"type": "integer", "index": 10, "name": "previous_subscription_name", "comment": null}, "cancellation_reason": {"type": "text", "index": 11, "name": "cancellation_reason", "comment": null}, "proceeds_reason": {"type": "text", "index": 12, "name": "proceeds_reason", "comment": null}, "subscription_apple_id": {"type": "integer", "index": 13, "name": "subscription_apple_id", "comment": null}, "standard_subscription_duration": {"type": "text", "index": 14, "name": "standard_subscription_duration", "comment": null}, "original_start_date": {"type": "date", "index": 15, "name": "original_start_date", "comment": null}, "device": {"type": "text", "index": 16, "name": "device", "comment": null}, "days_before_canceling": {"type": "integer", "index": 17, "name": "days_before_canceling", "comment": null}, "quantity": {"type": "integer", "index": 18, "name": "quantity", "comment": null}, "marketing_opt_in_duration": {"type": "integer", "index": 19, "name": "marketing_opt_in_duration", "comment": null}, "promotional_offer_name": {"type": "integer", "index": 20, "name": "promotional_offer_name", "comment": null}, "state": {"type": "text", "index": 21, "name": "state", "comment": null}, "previous_subscription_apple_id": {"type": "integer", "index": 22, "name": "previous_subscription_apple_id", "comment": null}, "event": {"type": "text", "index": 23, "name": "event", "comment": null}, "subscription_group_id": {"type": "integer", "index": 24, "name": "subscription_group_id", "comment": null}, "country": {"type": "text", "index": 25, "name": "country", "comment": null}, "promotional_offer_id": {"type": "integer", "index": 26, "name": "promotional_offer_id", "comment": null}, "app_apple_id": {"type": "integer", "index": 27, "name": "app_apple_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 28, "name": "_fivetran_synced", "comment": null}, "subscription_offer_type": {"type": "integer", "index": 29, "name": "subscription_offer_type", "comment": null}, "subscription_offer_duration": {"type": "integer", "index": 30, "name": "subscription_offer_duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.sales_subscription_events"}, "seed.apple_store_integration_tests.sales_subscription_summary": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "sales_subscription_summary", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_filename": {"type": "text", "index": 1, "name": "_filename", "comment": null}, "account_number": {"type": "integer", "index": 2, "name": "account_number", "comment": null}, "vendor_number": {"type": "integer", "index": 3, "name": "vendor_number", "comment": null}, "_index": {"type": "integer", "index": 4, "name": "_index", "comment": null}, "developer_proceeds": {"type": "double precision", "index": 5, "name": "developer_proceeds", "comment": null}, "app_name": {"type": "text", "index": 6, "name": "app_name", "comment": null}, "free_trial_promotional_offer_subscriptions": {"type": "integer", "index": 7, "name": "free_trial_promotional_offer_subscriptions", "comment": null}, "proceeds_currency": {"type": "text", "index": 8, "name": "proceeds_currency", "comment": null}, "subscription_name": {"type": "text", "index": 9, "name": "subscription_name", "comment": null}, "pay_as_you_go_promotional_offer_subscriptions": {"type": "integer", "index": 10, "name": "pay_as_you_go_promotional_offer_subscriptions", "comment": null}, "customer_currency": {"type": "text", "index": 11, "name": "customer_currency", "comment": null}, "marketing_opt_ins": {"type": "integer", "index": 12, "name": "marketing_opt_ins", "comment": null}, "pay_up_front_promotional_offer_subscriptions": {"type": "integer", "index": 13, "name": "pay_up_front_promotional_offer_subscriptions", "comment": null}, "billing_retry": {"type": "integer", "index": 14, "name": "billing_retry", "comment": null}, "proceeds_reason": {"type": "text", "index": 15, "name": "proceeds_reason", "comment": null}, "subscription_apple_id": {"type": "integer", "index": 16, "name": "subscription_apple_id", "comment": null}, "active_standard_price_subscriptions": {"type": "integer", "index": 17, "name": "active_standard_price_subscriptions", "comment": null}, "standard_subscription_duration": {"type": "text", "index": 18, "name": "standard_subscription_duration", "comment": null}, "grace_period": {"type": "integer", "index": 19, "name": "grace_period", "comment": null}, "device": {"type": "text", "index": 20, "name": "device", "comment": null}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "integer", "index": 21, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": null}, "customer_price": {"type": "double precision", "index": 22, "name": "customer_price", "comment": null}, "promotional_offer_name": {"type": "integer", "index": 23, "name": "promotional_offer_name", "comment": null}, "state": {"type": "text", "index": 24, "name": "state", "comment": null}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "integer", "index": 25, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": null}, "subscription_group_id": {"type": "integer", "index": 26, "name": "subscription_group_id", "comment": null}, "country": {"type": "text", "index": 27, "name": "country", "comment": null}, "active_free_trial_introductory_offer_subscriptions": {"type": "integer", "index": 28, "name": "active_free_trial_introductory_offer_subscriptions", "comment": null}, "promotional_offer_id": {"type": "integer", "index": 29, "name": "promotional_offer_id", "comment": null}, "app_apple_id": {"type": "integer", "index": 30, "name": "app_apple_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 31, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.sales_subscription_summary"}, "seed.apple_store_integration_tests.usage_app_version_source_type": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "usage_app_version_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "app_version": {"type": "text", "index": 2, "name": "app_version", "comment": null}, "date": {"type": "timestamp without time zone", "index": 3, "name": "date", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "installations": {"type": "integer", "index": 6, "name": "installations", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "sessions": {"type": "integer", "index": 8, "name": "sessions", "comment": null}, "active_devices": {"type": "integer", "index": 9, "name": "active_devices", "comment": null}, "active_devices_last_30_days": {"type": "integer", "index": 10, "name": "active_devices_last_30_days", "comment": null}, "deletions": {"type": "integer", "index": 11, "name": "deletions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.usage_app_version_source_type"}, "seed.apple_store_integration_tests.usage_platform_version_source_type": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "usage_platform_version_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "platform_version": {"type": "text", "index": 3, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "installations": {"type": "integer", "index": 6, "name": "installations", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "sessions": {"type": "integer", "index": 8, "name": "sessions", "comment": null}, "active_devices": {"type": "integer", "index": 9, "name": "active_devices", "comment": null}, "active_devices_last_30_days": {"type": "integer", "index": 10, "name": "active_devices_last_30_days", "comment": null}, "deletions": {"type": "integer", "index": 11, "name": "deletions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.usage_platform_version_source_type"}, "seed.apple_store_integration_tests.usage_source_type_device": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "usage_source_type_device", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "device": {"type": "text", "index": 3, "name": "device", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "installations": {"type": "integer", "index": 6, "name": "installations", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "sessions": {"type": "integer", "index": 8, "name": "sessions", "comment": null}, "active_devices": {"type": "integer", "index": 9, "name": "active_devices", "comment": null}, "active_devices_last_30_days": {"type": "integer", "index": 10, "name": "active_devices_last_30_days", "comment": null}, "deletions": {"type": "integer", "index": 11, "name": "deletions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.usage_source_type_device"}, "seed.apple_store_integration_tests.usage_territory_source_type": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "usage_territory_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "source_type": {"type": "text", "index": 3, "name": "source_type", "comment": null}, "territory": {"type": "text", "index": 4, "name": "territory", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "installations": {"type": "integer", "index": 6, "name": "installations", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "sessions": {"type": "integer", "index": 8, "name": "sessions", "comment": null}, "active_devices": {"type": "integer", "index": 9, "name": "active_devices", "comment": null}, "active_devices_last_30_days": {"type": "integer", "index": 10, "name": "active_devices_last_30_days", "comment": null}, "deletions": {"type": "integer", "index": 11, "name": "deletions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.usage_territory_source_type"}, "model.apple_store.apple_store__app_version_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "apple_store__app_version_report", "database": "postgres", "comment": "Each record represents daily metrics for each by app_id, source_type and app version", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "source_type": {"type": "text", "index": 5, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "app_version": {"type": "text", "index": 6, "name": "app_version", "comment": "The app version of the app that the user is engaging with."}, "crashes": {"type": "numeric", "index": 7, "name": "crashes", "comment": "The number of recorded crashes experienced (User Opt-In only); a value of 0 indicates there were 0 crash reports or no value from the source report that day."}, "active_devices": {"type": "bigint", "index": 8, "name": "active_devices", "comment": "The count of active_device is the count of devices that ran the app at least one time and for at least two seconds on a given day (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices or no value from the source report that day."}, "active_devices_last_30_days": {"type": "bigint", "index": 9, "name": "active_devices_last_30_days", "comment": "The count of active_devices_last_30_days is the count of devices that ran the app at least one time and for at least two seconds on the date_day of the report minus 30 days (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices last 30 days or no value from the source report that day."}, "deletions": {"type": "bigint", "index": 10, "name": "deletions", "comment": "A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "bigint", "index": 11, "name": "installations", "comment": "An installation event is when the user opens the App after they've downloaded it (User Opt-In only). If the App was downloaded but not opened or opened offline, this will not count; if the user opts out of sending data back to Apple, there will also be no data here. A value of 0 indicates there were 0 installations or no value from the source report that day."}, "sessions": {"type": "bigint", "index": 12, "name": "sessions", "comment": "Sessions is the count of the number of times the app has been used for at least two seconds (User Opt-In only). If the app is in the background and is later used again, that counts as another session. A value of 0 indicates there were 0 sessions or no value from the source report that day."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__app_version_report"}, "model.apple_store.apple_store__device_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "apple_store__device_report", "database": "postgres", "comment": "Each record represents daily subscription metrics by app_id, source_type and device", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "source_type": {"type": "text", "index": 5, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "device": {"type": "text", "index": 6, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "impressions": {"type": "bigint", "index": 7, "name": "impressions", "comment": "The number of times your app was viewed in the App Store for more than one second. This includes search results, Featured, Explore, Top Charts and App Product Page views. (Source: [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "impressions_unique_device": {"type": "bigint", "index": 8, "name": "impressions_unique_device", "comment": "The number of unique devices that have viewed your app for more than one second on on the Today, Games, Apps, Featured, Explore, Top Charts, Search tabs of the App Store and App Product Page views. This metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI."}, "page_views": {"type": "bigint", "index": 9, "name": "page_views", "comment": "The total number of times your App Store product page was clicked and viewed; when a user taps on a link from an app, website or App Clip card that brings them to your App Store product page, the immediate product page_view is attributed to the referring app, website, or App Clip. (Sources: [Apple](https://help.apple.com/app-store-connect/#/itcf19c873df), [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "page_views_unique_device": {"type": "bigint", "index": 10, "name": "page_views_unique_device", "comment": "The number of unique devices that have viewed your App Store product page; this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI."}, "crashes": {"type": "numeric", "index": 11, "name": "crashes", "comment": "The number of recorded crashes experienced (User Opt-In only); a value of 0 indicates there were 0 crash reports or no value from the source report that day."}, "first_time_downloads": {"type": "bigint", "index": 12, "name": "first_time_downloads", "comment": "The number of first time downloads for your app; credit is attributed to the referring app, website, or App Clip of the first time download."}, "redownloads": {"type": "bigint", "index": 13, "name": "redownloads", "comment": "The count of redownloads where a redownload occurs when a user who previously downloaded your app adds it to their device again (User Opt-In only); credit is attributed to the source recorded when a user tapped to download/launch your app for the first time. A value of 0 indicates there were 0 redownloads or no value from the source report that day."}, "total_downloads": {"type": "bigint", "index": 14, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}, "active_devices": {"type": "bigint", "index": 15, "name": "active_devices", "comment": "The count of active_device is the count of devices that ran the app at least one time and for at least two seconds on a given day (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices or no value from the source report that day."}, "active_devices_last_30_days": {"type": "bigint", "index": 16, "name": "active_devices_last_30_days", "comment": "The count of active_devices_last_30_days is the count of devices that ran the app at least one time and for at least two seconds on the date_day of the report minus 30 days (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices last 30 days or no value from the source report that day."}, "deletions": {"type": "bigint", "index": 17, "name": "deletions", "comment": "A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "bigint", "index": 18, "name": "installations", "comment": "An installation event is when the user opens the App after they've downloaded it (User Opt-In only). If the App was downloaded but not opened or opened offline, this will not count; if the user opts out of sending data back to Apple, there will also be no data here. A value of 0 indicates there were 0 installations or no value from the source report that day."}, "sessions": {"type": "bigint", "index": 19, "name": "sessions", "comment": "Sessions is the count of the number of times the app has been used for at least two seconds (User Opt-In only). If the app is in the background and is later used again, that counts as another session. A value of 0 indicates there were 0 sessions or no value from the source report that day."}, "active_free_trial_introductory_offer_subscriptions": {"type": "numeric", "index": 20, "name": "active_free_trial_introductory_offer_subscriptions", "comment": null}, "active_pay_a_you_go_introductory_offer_subscriptions": {"type": "numeric", "index": 21, "name": "active_pay_a_you_go_introductory_offer_subscriptions", "comment": null}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "numeric", "index": 22, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": null}, "active_standard_price_subscriptions": {"type": "numeric", "index": 23, "name": "active_standard_price_subscriptions", "comment": null}, "event_renew": {"type": "numeric", "index": 24, "name": "event_renew", "comment": null}, "event_cancel": {"type": "numeric", "index": 25, "name": "event_cancel", "comment": null}, "event_subscribe": {"type": "numeric", "index": 26, "name": "event_subscribe", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__device_report"}, "model.apple_store.apple_store__overview_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "apple_store__overview_report", "database": "postgres", "comment": "Each record represents daily metrics for each app_id", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "impressions": {"type": "numeric", "index": 5, "name": "impressions", "comment": "The number of times your app was viewed in the App Store for more than one second. This includes search results, Featured, Explore, Top Charts and App Product Page views. (Source: [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "page_views": {"type": "numeric", "index": 6, "name": "page_views", "comment": "The total number of times your App Store product page was clicked and viewed; when a user taps on a link from an app, website or App Clip card that brings them to your App Store product page, the immediate product page_view is attributed to the referring app, website, or App Clip. (Sources: [Apple](https://help.apple.com/app-store-connect/#/itcf19c873df), [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "crashes": {"type": "numeric", "index": 7, "name": "crashes", "comment": "The number of recorded crashes experienced (User Opt-In only); a value of 0 indicates there were 0 crash reports or no value from the source report that day."}, "first_time_downloads": {"type": "numeric", "index": 8, "name": "first_time_downloads", "comment": "The number of first time downloads for your app; credit is attributed to the referring app, website, or App Clip of the first time download."}, "redownloads": {"type": "numeric", "index": 9, "name": "redownloads", "comment": "The count of redownloads where a redownload occurs when a user who previously downloaded your app adds it to their device again (User Opt-In only); credit is attributed to the source recorded when a user tapped to download/launch your app for the first time. A value of 0 indicates there were 0 redownloads or no value from the source report that day."}, "total_downloads": {"type": "numeric", "index": 10, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}, "active_devices": {"type": "numeric", "index": 11, "name": "active_devices", "comment": "The count of active_device is the count of devices that ran the app at least one time and for at least two seconds on a given day (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices or no value from the source report that day."}, "deletions": {"type": "numeric", "index": 12, "name": "deletions", "comment": "A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "numeric", "index": 13, "name": "installations", "comment": "An installation event is when the user opens the App after they've downloaded it (User Opt-In only). If the App was downloaded but not opened or opened offline, this will not count; if the user opts out of sending data back to Apple, there will also be no data here. A value of 0 indicates there were 0 installations or no value from the source report that day."}, "sessions": {"type": "numeric", "index": 14, "name": "sessions", "comment": "Sessions is the count of the number of times the app has been used for at least two seconds (User Opt-In only). If the app is in the background and is later used again, that counts as another session. A value of 0 indicates there were 0 sessions or no value from the source report that day."}, "active_free_trial_introductory_offer_subscriptions": {"type": "numeric", "index": 15, "name": "active_free_trial_introductory_offer_subscriptions", "comment": null}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "numeric", "index": 16, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": null}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "numeric", "index": 17, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": null}, "active_standard_price_subscriptions": {"type": "numeric", "index": 18, "name": "active_standard_price_subscriptions", "comment": null}, "event_renew": {"type": "numeric", "index": 19, "name": "event_renew", "comment": null}, "event_cancel": {"type": "numeric", "index": 20, "name": "event_cancel", "comment": null}, "event_subscribe": {"type": "numeric", "index": 21, "name": "event_subscribe", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__overview_report"}, "model.apple_store.apple_store__platform_version_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "apple_store__platform_version_report", "database": "postgres", "comment": "Each record represents daily metrics for each by app_id, source_type and platform version", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "source_type": {"type": "text", "index": 5, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "platform_version": {"type": "text", "index": 6, "name": "platform_version", "comment": "The platform version of the device engaging with your app."}, "impressions": {"type": "bigint", "index": 7, "name": "impressions", "comment": "The number of times your app was viewed in the App Store for more than one second. This includes search results, Featured, Explore, Top Charts and App Product Page views. (Source: [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "impressions_unique_device": {"type": "bigint", "index": 8, "name": "impressions_unique_device", "comment": "The number of unique devices that have viewed your app for more than one second on on the Today, Games, Apps, Featured, Explore, Top Charts, Search tabs of the App Store and App Product Page views. This metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI."}, "page_views": {"type": "bigint", "index": 9, "name": "page_views", "comment": "The total number of times your App Store product page was clicked and viewed; when a user taps on a link from an app, website or App Clip card that brings them to your App Store product page, the immediate product page_view is attributed to the referring app, website, or App Clip. (Sources: [Apple](https://help.apple.com/app-store-connect/#/itcf19c873df), [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "page_views_unique_device": {"type": "bigint", "index": 10, "name": "page_views_unique_device", "comment": "The number of unique devices that have viewed your App Store product page; this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI."}, "crashes": {"type": "numeric", "index": 11, "name": "crashes", "comment": "The number of recorded crashes experienced (User Opt-In only); a value of 0 indicates there were 0 crash reports or no value from the source report that day."}, "first_time_downloads": {"type": "bigint", "index": 12, "name": "first_time_downloads", "comment": "The number of first time downloads for your app; credit is attributed to the referring app, website, or App Clip of the first time download."}, "redownloads": {"type": "bigint", "index": 13, "name": "redownloads", "comment": "The count of redownloads where a redownload occurs when a user who previously downloaded your app adds it to their device again (User Opt-In only); credit is attributed to the source recorded when a user tapped to download/launch your app for the first time. A value of 0 indicates there were 0 redownloads or no value from the source report that day."}, "total_downloads": {"type": "bigint", "index": 14, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}, "active_devices": {"type": "bigint", "index": 15, "name": "active_devices", "comment": "The count of active_device is the count of devices that ran the app at least one time and for at least two seconds on a given day (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices or no value from the source report that day."}, "active_devices_last_30_days": {"type": "bigint", "index": 16, "name": "active_devices_last_30_days", "comment": "The count of active_devices_last_30_days is the count of devices that ran the app at least one time and for at least two seconds on the date_day of the report minus 30 days (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices last 30 days or no value from the source report that day."}, "deletions": {"type": "bigint", "index": 17, "name": "deletions", "comment": "A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "bigint", "index": 18, "name": "installations", "comment": "An installation event is when the user opens the App after they've downloaded it (User Opt-In only). If the App was downloaded but not opened or opened offline, this will not count; if the user opts out of sending data back to Apple, there will also be no data here. A value of 0 indicates there were 0 installations or no value from the source report that day."}, "sessions": {"type": "bigint", "index": 19, "name": "sessions", "comment": "Sessions is the count of the number of times the app has been used for at least two seconds (User Opt-In only). If the app is in the background and is later used again, that counts as another session. A value of 0 indicates there were 0 sessions or no value from the source report that day."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__platform_version_report"}, "model.apple_store.apple_store__source_type_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "apple_store__source_type_report", "database": "postgres", "comment": "Each record represents daily metrics by app_id and source_type", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "source_type": {"type": "text", "index": 5, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "impressions": {"type": "numeric", "index": 6, "name": "impressions", "comment": "The number of times your app was viewed in the App Store for more than one second. This includes search results, Featured, Explore, Top Charts and App Product Page views. (Source: [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "page_views": {"type": "numeric", "index": 7, "name": "page_views", "comment": "The total number of times your App Store product page was clicked and viewed; when a user taps on a link from an app, website or App Clip card that brings them to your App Store product page, the immediate product page_view is attributed to the referring app, website, or App Clip. (Sources: [Apple](https://help.apple.com/app-store-connect/#/itcf19c873df), [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "first_time_downloads": {"type": "numeric", "index": 8, "name": "first_time_downloads", "comment": "The number of first time downloads for your app; credit is attributed to the referring app, website, or App Clip of the first time download."}, "redownloads": {"type": "numeric", "index": 9, "name": "redownloads", "comment": "The count of redownloads where a redownload occurs when a user who previously downloaded your app adds it to their device again (User Opt-In only); credit is attributed to the source recorded when a user tapped to download/launch your app for the first time. A value of 0 indicates there were 0 redownloads or no value from the source report that day."}, "total_downloads": {"type": "numeric", "index": 10, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}, "active_devices": {"type": "numeric", "index": 11, "name": "active_devices", "comment": "The count of active_device is the count of devices that ran the app at least one time and for at least two seconds on a given day (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices or no value from the source report that day."}, "deletions": {"type": "numeric", "index": 12, "name": "deletions", "comment": "A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "numeric", "index": 13, "name": "installations", "comment": "An installation event is when the user opens the App after they've downloaded it (User Opt-In only). If the App was downloaded but not opened or opened offline, this will not count; if the user opts out of sending data back to Apple, there will also be no data here. A value of 0 indicates there were 0 installations or no value from the source report that day."}, "sessions": {"type": "numeric", "index": 14, "name": "sessions", "comment": "Sessions is the count of the number of times the app has been used for at least two seconds (User Opt-In only). If the app is in the background and is later used again, that counts as another session. A value of 0 indicates there were 0 sessions or no value from the source report that day."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__source_type_report"}, "model.apple_store.apple_store__subscription_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "apple_store__subscription_report", "database": "postgres", "comment": "Each record represents daily subscription metrics by account, app, subscription name, country and state", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "account_id": {"type": "bigint", "index": 3, "name": "account_id", "comment": "Sales Account ID associated with the app name or app ID."}, "account_name": {"type": "text", "index": 4, "name": "account_name", "comment": "Sales Account Name associated with the Sales Account ID, app name or app ID."}, "app_id": {"type": "bigint", "index": 5, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 6, "name": "app_name", "comment": "Application Name."}, "subscription_name": {"type": "text", "index": 7, "name": "subscription_name", "comment": "The subscription name associated with the subscription event metric or subscription summary metric."}, "territory_long": {"type": "character varying(255)", "index": 8, "name": "territory_long", "comment": "Either the alternative country name, or the country name if the alternative doesn't exist."}, "territory_short": {"type": "text", "index": 9, "name": "territory_short", "comment": "The country associated with the subscription event metrics and subscription summary metric(s). This country code maps to ISO-3166 Alpha-2."}, "state": {"type": "text", "index": 10, "name": "state", "comment": "The state associated with the subscription event metrics or subscription summary metrics."}, "region": {"type": "character varying(255)", "index": 11, "name": "region", "comment": "The UN Statistics region name assignment. ([Original Source](https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes/blob/master/all/all.csv))"}, "sub_region": {"type": "character varying(255)", "index": 12, "name": "sub_region", "comment": "The UN Statistics sub-region name. ([Original Source](https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes/blob/master/all/all.csv))"}, "active_free_trial_introductory_offer_subscriptions": {"type": "numeric", "index": 13, "name": "active_free_trial_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently in a free trial."}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "numeric", "index": 14, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently with a pay as you go introductory price."}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "numeric", "index": 15, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently with a pay up front introductory price."}, "active_standard_price_subscriptions": {"type": "numeric", "index": 16, "name": "active_standard_price_subscriptions", "comment": "Total number of auto-renewable standard paid subscriptions currently active, excluding free trials, \nsubscription offers, introductory offers, and marketing opt-ins. Subscriptions are active during the period for which the customer has paid without cancellation."}, "event_renew": {"type": "numeric", "index": 17, "name": "event_renew", "comment": null}, "event_cancel": {"type": "numeric", "index": 18, "name": "event_cancel", "comment": null}, "event_subscribe": {"type": "numeric", "index": 19, "name": "event_subscribe", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__subscription_report"}, "model.apple_store.apple_store__territory_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "apple_store__territory_report", "database": "postgres", "comment": "Each record represents daily subscription metrics by app_id, source_type and territory", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "source_type": {"type": "text", "index": 5, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "territory_long": {"type": "text", "index": 6, "name": "territory_long", "comment": "Either the alternative country name, or the country name if the alternative doesn't exist."}, "territory_short": {"type": "text", "index": 7, "name": "territory_short", "comment": "The country associated with the subscription event metrics and subscription summary metric(s). This country code maps to ISO-3166 Alpha-2."}, "region": {"type": "character varying(255)", "index": 8, "name": "region", "comment": "The UN Statistics region name assignment. ([Original Source](https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes/blob/master/all/all.csv))"}, "sub_region": {"type": "character varying(255)", "index": 9, "name": "sub_region", "comment": "The UN Statistics sub-region name. ([Original Source](https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes/blob/master/all/all.csv))"}, "impressions": {"type": "bigint", "index": 10, "name": "impressions", "comment": "The number of times your app was viewed in the App Store for more than one second. This includes search results, Featured, Explore, Top Charts and App Product Page views. (Source: [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "impressions_unique_device": {"type": "bigint", "index": 11, "name": "impressions_unique_device", "comment": "The number of unique devices that have viewed your app for more than one second on on the Today, Games, Apps, Featured, Explore, Top Charts, Search tabs of the App Store and App Product Page views. This metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI."}, "page_views": {"type": "bigint", "index": 12, "name": "page_views", "comment": "The total number of times your App Store product page was clicked and viewed; when a user taps on a link from an app, website or App Clip card that brings them to your App Store product page, the immediate product page_view is attributed to the referring app, website, or App Clip. (Sources: [Apple](https://help.apple.com/app-store-connect/#/itcf19c873df), [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "page_views_unique_device": {"type": "bigint", "index": 13, "name": "page_views_unique_device", "comment": "The number of unique devices that have viewed your App Store product page; this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI."}, "first_time_downloads": {"type": "bigint", "index": 14, "name": "first_time_downloads", "comment": "The number of first time downloads for your app; credit is attributed to the referring app, website, or App Clip of the first time download."}, "redownloads": {"type": "bigint", "index": 15, "name": "redownloads", "comment": "The count of redownloads where a redownload occurs when a user who previously downloaded your app adds it to their device again (User Opt-In only); credit is attributed to the source recorded when a user tapped to download/launch your app for the first time. A value of 0 indicates there were 0 redownloads or no value from the source report that day."}, "total_downloads": {"type": "bigint", "index": 16, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}, "active_devices": {"type": "bigint", "index": 17, "name": "active_devices", "comment": "The count of active_device is the count of devices that ran the app at least one time and for at least two seconds on a given day (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices or no value from the source report that day."}, "active_devices_last_30_days": {"type": "bigint", "index": 18, "name": "active_devices_last_30_days", "comment": "The count of active_devices_last_30_days is the count of devices that ran the app at least one time and for at least two seconds on the date_day of the report minus 30 days (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices last 30 days or no value from the source report that day."}, "deletions": {"type": "bigint", "index": 19, "name": "deletions", "comment": "A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "bigint", "index": 20, "name": "installations", "comment": "An installation event is when the user opens the App after they've downloaded it (User Opt-In only). If the App was downloaded but not opened or opened offline, this will not count; if the user opts out of sending data back to Apple, there will also be no data here. A value of 0 indicates there were 0 installations or no value from the source report that day."}, "sessions": {"type": "bigint", "index": 21, "name": "sessions", "comment": "Sessions is the count of the number of times the app has been used for at least two seconds (User Opt-In only). If the app is in the background and is later used again, that counts as another session. A value of 0 indicates there were 0 sessions or no value from the source report that day."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__territory_report"}, "model.apple_store_source.stg_apple_store__app": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__app", "database": "postgres", "comment": "Table containing data about your application(s)", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "app_id": {"type": "bigint", "index": 2, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 3, "name": "app_name", "comment": "Application Name."}, "is_enabled": {"type": "boolean", "index": 4, "name": "is_enabled", "comment": "Boolean indicator for whether application is enabled or not."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app"}, "model.apple_store_source.stg_apple_store__app_store_device": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__app_store_device", "database": "postgres", "comment": "Daily app store metrics (impressions, impressions_unique_device, page_views and page_views_unique_device) by device and source type.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "device": {"type": "text", "index": 5, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "impressions": {"type": "bigint", "index": 6, "name": "impressions", "comment": "The number of times your app was viewed in the App Store for more than one second. This includes search results, Featured, Explore, Top Charts and App Product Page views. (Source: [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "impressions_unique_device": {"type": "bigint", "index": 7, "name": "impressions_unique_device", "comment": "The number of unique devices that have viewed your app for more than one second on on the Today, Games, Apps, Featured, Explore, Top Charts, Search tabs of the App Store and App Product Page views. This metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI."}, "page_views": {"type": "bigint", "index": 8, "name": "page_views", "comment": "The total number of times your App Store product page was clicked and viewed; when a user taps on a link from an app, website or App Clip card that brings them to your App Store product page, the immediate product page_view is attributed to the referring app, website, or App Clip. (Sources: [Apple](https://help.apple.com/app-store-connect/#/itcf19c873df), [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "page_views_unique_device": {"type": "bigint", "index": 9, "name": "page_views_unique_device", "comment": "The number of unique devices that have viewed your App Store product page; this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_device"}, "model.apple_store_source.stg_apple_store__app_store_device_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__app_store_device_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "device": {"type": "text", "index": 3, "name": "device", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "impressions": {"type": "integer", "index": 6, "name": "impressions", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "impressions_unique_device": {"type": "integer", "index": 8, "name": "impressions_unique_device", "comment": null}, "page_views": {"type": "integer", "index": 9, "name": "page_views", "comment": null}, "page_views_unique_device": {"type": "integer", "index": 10, "name": "page_views_unique_device", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_device_tmp"}, "model.apple_store_source.stg_apple_store__app_store_platform_version": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__app_store_platform_version", "database": "postgres", "comment": "Daily app store metrics (impressions, impressions_unique_device, page_views and page_views_unique_device) by platform version and source type.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "platform_version": {"type": "text", "index": 5, "name": "platform_version", "comment": "The platform version of the device engaging with your app."}, "impressions": {"type": "bigint", "index": 6, "name": "impressions", "comment": "The number of times your app was viewed in the App Store for more than one second. This includes search results, Featured, Explore, Top Charts and App Product Page views. (Source: [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "impressions_unique_device": {"type": "bigint", "index": 7, "name": "impressions_unique_device", "comment": "The number of unique devices that have viewed your app for more than one second on on the Today, Games, Apps, Featured, Explore, Top Charts, Search tabs of the App Store and App Product Page views. This metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI."}, "page_views": {"type": "bigint", "index": 8, "name": "page_views", "comment": "The total number of times your App Store product page was clicked and viewed; when a user taps on a link from an app, website or App Clip card that brings them to your App Store product page, the immediate product page_view is attributed to the referring app, website, or App Clip. (Sources: [Apple](https://help.apple.com/app-store-connect/#/itcf19c873df), [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "page_views_unique_device": {"type": "bigint", "index": 9, "name": "page_views_unique_device", "comment": "The number of unique devices that have viewed your App Store product page; this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_platform_version"}, "model.apple_store_source.stg_apple_store__app_store_platform_version_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__app_store_platform_version_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "platform_version": {"type": "text", "index": 3, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "impressions": {"type": "integer", "index": 6, "name": "impressions", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "impressions_unique_device": {"type": "integer", "index": 8, "name": "impressions_unique_device", "comment": null}, "page_views": {"type": "integer", "index": 9, "name": "page_views", "comment": null}, "page_views_unique_device": {"type": "integer", "index": 10, "name": "page_views_unique_device", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_platform_version_tmp"}, "model.apple_store_source.stg_apple_store__app_store_territory": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__app_store_territory", "database": "postgres", "comment": "Daily app store metrics (impressions, impressions_unique_device, page_views and page_views_unique_device) by territory and source type.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "territory": {"type": "text", "index": 5, "name": "territory", "comment": "The territory (aka country) full name associated with the report's respective metric(s)."}, "impressions": {"type": "bigint", "index": 6, "name": "impressions", "comment": "The number of times your app was viewed in the App Store for more than one second. This includes search results, Featured, Explore, Top Charts and App Product Page views. (Source: [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "impressions_unique_device": {"type": "bigint", "index": 7, "name": "impressions_unique_device", "comment": "The number of unique devices that have viewed your app for more than one second on on the Today, Games, Apps, Featured, Explore, Top Charts, Search tabs of the App Store and App Product Page views. This metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI."}, "page_views": {"type": "bigint", "index": 8, "name": "page_views", "comment": "The total number of times your App Store product page was clicked and viewed; when a user taps on a link from an app, website or App Clip card that brings them to your App Store product page, the immediate product page_view is attributed to the referring app, website, or App Clip. (Sources: [Apple](https://help.apple.com/app-store-connect/#/itcf19c873df), [BusinessofApps](https://www.businessofapps.com/insights/understanding-the-app-store-metrics/#:~:text=Impressions%20%E2%80%93%20%E2%80%9CThe%20number%20of%20times,was%20clicked%20on%20and%20viewed.))"}, "page_views_unique_device": {"type": "bigint", "index": 9, "name": "page_views_unique_device", "comment": "The number of unique devices that have viewed your App Store product page; this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_territory"}, "model.apple_store_source.stg_apple_store__app_store_territory_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__app_store_territory_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "source_type": {"type": "text", "index": 3, "name": "source_type", "comment": null}, "territory": {"type": "text", "index": 4, "name": "territory", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "impressions": {"type": "integer", "index": 6, "name": "impressions", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "impressions_unique_device": {"type": "integer", "index": 8, "name": "impressions_unique_device", "comment": null}, "page_views": {"type": "integer", "index": 9, "name": "page_views", "comment": null}, "page_views_unique_device": {"type": "integer", "index": 10, "name": "page_views_unique_device", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_territory_tmp"}, "model.apple_store_source.stg_apple_store__app_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__app_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "is_enabled": {"type": "boolean", "index": 2, "name": "is_enabled", "comment": null}, "name": {"type": "text", "index": 3, "name": "name", "comment": null}, "asset_token": {"type": "text", "index": 4, "name": "asset_token", "comment": null}, "pre_order_info": {"type": "integer", "index": 5, "name": "pre_order_info", "comment": null}, "icon_url": {"type": "text", "index": 6, "name": "icon_url", "comment": null}, "app_opt_in_rate": {"type": "integer", "index": 7, "name": "app_opt_in_rate", "comment": null}, "ios": {"type": "boolean", "index": 8, "name": "ios", "comment": null}, "tvos": {"type": "boolean", "index": 9, "name": "tvos", "comment": null}, "is_bundle": {"type": "boolean", "index": 10, "name": "is_bundle", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_tmp"}, "model.apple_store_source.stg_apple_store__crashes_app_version": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__crashes_app_version", "database": "postgres", "comment": "Daily crashes by app version and device.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "device": {"type": "text", "index": 4, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "app_version": {"type": "text", "index": 5, "name": "app_version", "comment": "The app version of the app that the user is engaging with."}, "crashes": {"type": "bigint", "index": 6, "name": "crashes", "comment": "The number of recorded crashes experienced (User Opt-In only); a value of 0 indicates there were 0 crash reports or no value from the source report that day."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__crashes_app_version"}, "model.apple_store_source.stg_apple_store__crashes_app_version_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__crashes_app_version_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "app_version": {"type": "text", "index": 2, "name": "app_version", "comment": null}, "date": {"type": "timestamp without time zone", "index": 3, "name": "date", "comment": null}, "device": {"type": "text", "index": 4, "name": "device", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "crashes": {"type": "integer", "index": 6, "name": "crashes", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__crashes_app_version_tmp"}, "model.apple_store_source.stg_apple_store__crashes_platform_version": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__crashes_platform_version", "database": "postgres", "comment": "Daily crashes by platform version and device.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "device": {"type": "text", "index": 4, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "platform_version": {"type": "text", "index": 5, "name": "platform_version", "comment": "The app version of the app that the user is engaging with."}, "crashes": {"type": "bigint", "index": 6, "name": "crashes", "comment": "The number of recorded crashes experienced (User Opt-In only); a value of 0 indicates there were 0 crash reports or no value from the source report that day."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__crashes_platform_version"}, "model.apple_store_source.stg_apple_store__crashes_platform_version_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__crashes_platform_version_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "device": {"type": "text", "index": 3, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 4, "name": "platform_version", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "crashes": {"type": "integer", "index": 6, "name": "crashes", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__crashes_platform_version_tmp"}, "model.apple_store_source.stg_apple_store__downloads_device": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__downloads_device", "database": "postgres", "comment": "Daily downloads metrics (first time downloads, redownloads and total downloads) by device and source type.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "device": {"type": "text", "index": 5, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "first_time_downloads": {"type": "bigint", "index": 6, "name": "first_time_downloads", "comment": "The number of first time downloads for your app; credit is attributed to the referring app, website, or App Clip of the first time download."}, "redownloads": {"type": "bigint", "index": 7, "name": "redownloads", "comment": "The count of redownloads where a redownload occurs when a user who previously downloaded your app adds it to their device again (User Opt-In only); credit is attributed to the source recorded when a user tapped to download/launch your app for the first time. A value of 0 indicates there were 0 redownloads or no value from the source report that day."}, "total_downloads": {"type": "bigint", "index": 8, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__downloads_device"}, "model.apple_store_source.stg_apple_store__downloads_device_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__downloads_device_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "device": {"type": "text", "index": 3, "name": "device", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "first_time_downloads": {"type": "integer", "index": 6, "name": "first_time_downloads", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "redownloads": {"type": "integer", "index": 8, "name": "redownloads", "comment": null}, "total_downloads": {"type": "integer", "index": 9, "name": "total_downloads", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__downloads_device_tmp"}, "model.apple_store_source.stg_apple_store__downloads_platform_version": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__downloads_platform_version", "database": "postgres", "comment": "Daily downloads metrics (first time downloads, redownloads and total downloads) by platform version and source type.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "platform_version": {"type": "text", "index": 5, "name": "platform_version", "comment": "The platform version of the device engaging with your app."}, "first_time_downloads": {"type": "bigint", "index": 6, "name": "first_time_downloads", "comment": "The number of first time downloads for your app; credit is attributed to the referring app, website, or App Clip of the first time download."}, "redownloads": {"type": "bigint", "index": 7, "name": "redownloads", "comment": "The count of redownloads where a redownload occurs when a user who previously downloaded your app adds it to their device again (User Opt-In only); credit is attributed to the source recorded when a user tapped to download/launch your app for the first time. A value of 0 indicates there were 0 redownloads or no value from the source report that day."}, "total_downloads": {"type": "bigint", "index": 8, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__downloads_platform_version"}, "model.apple_store_source.stg_apple_store__downloads_platform_version_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__downloads_platform_version_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "platform_version": {"type": "text", "index": 3, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "first_time_downloads": {"type": "integer", "index": 6, "name": "first_time_downloads", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "redownloads": {"type": "integer", "index": 8, "name": "redownloads", "comment": null}, "total_downloads": {"type": "integer", "index": 9, "name": "total_downloads", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__downloads_platform_version_tmp"}, "model.apple_store_source.stg_apple_store__downloads_territory": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__downloads_territory", "database": "postgres", "comment": "Daily downloads metrics (first time downloads, redownloads and total downloads) by territory and source type.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "territory": {"type": "text", "index": 5, "name": "territory", "comment": "The territory (aka country) full name associated with the report's respective metric(s)."}, "first_time_downloads": {"type": "bigint", "index": 6, "name": "first_time_downloads", "comment": "The number of first time downloads for your app; credit is attributed to the referring app, website, or App Clip of the first time download."}, "redownloads": {"type": "bigint", "index": 7, "name": "redownloads", "comment": "The count of redownloads where a redownload occurs when a user who previously downloaded your app adds it to their device again (User Opt-In only); credit is attributed to the source recorded when a user tapped to download/launch your app for the first time. A value of 0 indicates there were 0 redownloads or no value from the source report that day."}, "total_downloads": {"type": "bigint", "index": 8, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__downloads_territory"}, "model.apple_store_source.stg_apple_store__downloads_territory_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__downloads_territory_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "source_type": {"type": "text", "index": 3, "name": "source_type", "comment": null}, "territory": {"type": "text", "index": 4, "name": "territory", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "first_time_downloads": {"type": "integer", "index": 6, "name": "first_time_downloads", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "redownloads": {"type": "integer", "index": 8, "name": "redownloads", "comment": null}, "total_downloads": {"type": "integer", "index": 9, "name": "total_downloads", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__downloads_territory_tmp"}, "model.apple_store_source.stg_apple_store__sales_account": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__sales_account", "database": "postgres", "comment": "Table containing sales account data.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "account_id": {"type": "bigint", "index": 2, "name": "account_id", "comment": "Sales Account ID associated with the app name or app ID."}, "account_name": {"type": "text", "index": 3, "name": "account_name", "comment": "Sales Account Name associated with the Sales Account ID, app name or app ID."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__sales_account"}, "model.apple_store_source.stg_apple_store__sales_account_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__sales_account_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "name": {"type": "text", "index": 2, "name": "name", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__sales_account_tmp"}, "model.apple_store_source.stg_apple_store__sales_subscription_events": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__sales_subscription_events", "database": "postgres", "comment": "Daily subscription event report by account ID, app name, subscription name, event, country, state and device; this model is aggregated by date, app_name, account_id, country, state and subscription_name for easier transformations in the modeling package.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "account_id": {"type": "bigint", "index": 3, "name": "account_id", "comment": "Sales Account ID associated with the app name or app ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "subscription_name": {"type": "text", "index": 5, "name": "subscription_name", "comment": "The subscription name associated with the subscription event metric or subscription summary metric."}, "event": {"type": "text", "index": 6, "name": "event", "comment": "The subscription event associated with the respective metric(s)."}, "country": {"type": "text", "index": 7, "name": "country", "comment": "The country associated with the subscription event metrics and subscription summary metric(s). This country code maps to ISO-3166 Alpha-2."}, "state": {"type": "text", "index": 8, "name": "state", "comment": "The state associated with the subscription event metrics or subscription summary metrics."}, "device": {"type": "text", "index": 9, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "quantity": {"type": "numeric", "index": 10, "name": "quantity", "comment": "The number of occurrences of a given subscription event."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__sales_subscription_events"}, "model.apple_store_source.stg_apple_store__sales_subscription_events_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__sales_subscription_events_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_filename": {"type": "text", "index": 1, "name": "_filename", "comment": null}, "account_number": {"type": "integer", "index": 2, "name": "account_number", "comment": null}, "vendor_number": {"type": "integer", "index": 3, "name": "vendor_number", "comment": null}, "_index": {"type": "integer", "index": 4, "name": "_index", "comment": null}, "event_date": {"type": "date", "index": 5, "name": "event_date", "comment": null}, "app_name": {"type": "text", "index": 6, "name": "app_name", "comment": null}, "days_canceled": {"type": "integer", "index": 7, "name": "days_canceled", "comment": null}, "subscription_name": {"type": "text", "index": 8, "name": "subscription_name", "comment": null}, "consecutive_paid_periods": {"type": "integer", "index": 9, "name": "consecutive_paid_periods", "comment": null}, "previous_subscription_name": {"type": "integer", "index": 10, "name": "previous_subscription_name", "comment": null}, "cancellation_reason": {"type": "text", "index": 11, "name": "cancellation_reason", "comment": null}, "proceeds_reason": {"type": "text", "index": 12, "name": "proceeds_reason", "comment": null}, "subscription_apple_id": {"type": "integer", "index": 13, "name": "subscription_apple_id", "comment": null}, "standard_subscription_duration": {"type": "text", "index": 14, "name": "standard_subscription_duration", "comment": null}, "original_start_date": {"type": "date", "index": 15, "name": "original_start_date", "comment": null}, "device": {"type": "text", "index": 16, "name": "device", "comment": null}, "days_before_canceling": {"type": "integer", "index": 17, "name": "days_before_canceling", "comment": null}, "quantity": {"type": "integer", "index": 18, "name": "quantity", "comment": null}, "marketing_opt_in_duration": {"type": "integer", "index": 19, "name": "marketing_opt_in_duration", "comment": null}, "promotional_offer_name": {"type": "integer", "index": 20, "name": "promotional_offer_name", "comment": null}, "state": {"type": "text", "index": 21, "name": "state", "comment": null}, "previous_subscription_apple_id": {"type": "integer", "index": 22, "name": "previous_subscription_apple_id", "comment": null}, "event": {"type": "text", "index": 23, "name": "event", "comment": null}, "subscription_group_id": {"type": "integer", "index": 24, "name": "subscription_group_id", "comment": null}, "country": {"type": "text", "index": 25, "name": "country", "comment": null}, "promotional_offer_id": {"type": "integer", "index": 26, "name": "promotional_offer_id", "comment": null}, "app_apple_id": {"type": "integer", "index": 27, "name": "app_apple_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 28, "name": "_fivetran_synced", "comment": null}, "subscription_offer_type": {"type": "integer", "index": 29, "name": "subscription_offer_type", "comment": null}, "subscription_offer_duration": {"type": "integer", "index": 30, "name": "subscription_offer_duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__sales_subscription_events_tmp"}, "model.apple_store_source.stg_apple_store__sales_subscription_summary": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__sales_subscription_summary", "database": "postgres", "comment": "Daily subscription summary report by account ID, app name, country, state and subscription name; this model is aggregated by date, app_name, account_id, country, state and subscription_name for easier transformations in the modeling package.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_name": {"type": "text", "index": 3, "name": "app_name", "comment": "Application Name."}, "account_id": {"type": "bigint", "index": 4, "name": "account_id", "comment": "Sales Account ID associated with the app name or app ID."}, "country": {"type": "text", "index": 5, "name": "country", "comment": "The country associated with the subscription event metrics and subscription summary metric(s). This country code maps to ISO-3166 Alpha-2."}, "state": {"type": "text", "index": 6, "name": "state", "comment": "The state associated with the subscription event metrics or subscription summary metrics."}, "subscription_name": {"type": "text", "index": 7, "name": "subscription_name", "comment": "The subscription name associated with the subscription event metric or subscription summary metric."}, "device": {"type": "text", "index": 8, "name": "device", "comment": null}, "active_free_trial_introductory_offer_subscriptions": {"type": "numeric", "index": 9, "name": "active_free_trial_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently in a free trial."}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "numeric", "index": 10, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently with a pay as you go introductory price."}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "numeric", "index": 11, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently with a pay up front introductory price."}, "active_standard_price_subscriptions": {"type": "numeric", "index": 12, "name": "active_standard_price_subscriptions", "comment": "Total number of auto-renewable standard paid subscriptions currently active, excluding free trials, \nsubscription offers, introductory offers, and marketing opt-ins. Subscriptions are active during the period for which the customer has paid without cancellation."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__sales_subscription_summary"}, "model.apple_store_source.stg_apple_store__sales_subscription_summary_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__sales_subscription_summary_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_filename": {"type": "text", "index": 1, "name": "_filename", "comment": null}, "account_number": {"type": "integer", "index": 2, "name": "account_number", "comment": null}, "vendor_number": {"type": "integer", "index": 3, "name": "vendor_number", "comment": null}, "_index": {"type": "integer", "index": 4, "name": "_index", "comment": null}, "developer_proceeds": {"type": "double precision", "index": 5, "name": "developer_proceeds", "comment": null}, "app_name": {"type": "text", "index": 6, "name": "app_name", "comment": null}, "free_trial_promotional_offer_subscriptions": {"type": "integer", "index": 7, "name": "free_trial_promotional_offer_subscriptions", "comment": null}, "proceeds_currency": {"type": "text", "index": 8, "name": "proceeds_currency", "comment": null}, "subscription_name": {"type": "text", "index": 9, "name": "subscription_name", "comment": null}, "pay_as_you_go_promotional_offer_subscriptions": {"type": "integer", "index": 10, "name": "pay_as_you_go_promotional_offer_subscriptions", "comment": null}, "customer_currency": {"type": "text", "index": 11, "name": "customer_currency", "comment": null}, "marketing_opt_ins": {"type": "integer", "index": 12, "name": "marketing_opt_ins", "comment": null}, "pay_up_front_promotional_offer_subscriptions": {"type": "integer", "index": 13, "name": "pay_up_front_promotional_offer_subscriptions", "comment": null}, "billing_retry": {"type": "integer", "index": 14, "name": "billing_retry", "comment": null}, "proceeds_reason": {"type": "text", "index": 15, "name": "proceeds_reason", "comment": null}, "subscription_apple_id": {"type": "integer", "index": 16, "name": "subscription_apple_id", "comment": null}, "active_standard_price_subscriptions": {"type": "integer", "index": 17, "name": "active_standard_price_subscriptions", "comment": null}, "standard_subscription_duration": {"type": "text", "index": 18, "name": "standard_subscription_duration", "comment": null}, "grace_period": {"type": "integer", "index": 19, "name": "grace_period", "comment": null}, "device": {"type": "text", "index": 20, "name": "device", "comment": null}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "integer", "index": 21, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": null}, "customer_price": {"type": "double precision", "index": 22, "name": "customer_price", "comment": null}, "promotional_offer_name": {"type": "integer", "index": 23, "name": "promotional_offer_name", "comment": null}, "state": {"type": "text", "index": 24, "name": "state", "comment": null}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "integer", "index": 25, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": null}, "subscription_group_id": {"type": "integer", "index": 26, "name": "subscription_group_id", "comment": null}, "country": {"type": "text", "index": 27, "name": "country", "comment": null}, "active_free_trial_introductory_offer_subscriptions": {"type": "integer", "index": 28, "name": "active_free_trial_introductory_offer_subscriptions", "comment": null}, "promotional_offer_id": {"type": "integer", "index": 29, "name": "promotional_offer_id", "comment": null}, "app_apple_id": {"type": "integer", "index": 30, "name": "app_apple_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 31, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__sales_subscription_summary_tmp"}, "model.apple_store_source.stg_apple_store__usage_app_version": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__usage_app_version", "database": "postgres", "comment": "Daily usage metrics (active devices, active devices last 30 days, deletions, installations, sessions) by app version and source type.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "app_version": {"type": "text", "index": 5, "name": "app_version", "comment": "The app version of the app that the user is engaging with."}, "active_devices": {"type": "bigint", "index": 6, "name": "active_devices", "comment": "The count of active_device is the count of devices that ran the app at least one time and for at least two seconds on a given day (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices or no value from the source report that day."}, "active_devices_last_30_days": {"type": "bigint", "index": 7, "name": "active_devices_last_30_days", "comment": "The count of active_devices_last_30_days is the count of devices that ran the app at least one time and for at least two seconds on the date_day of the report minus 30 days (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices last 30 days or no value from the source report that day."}, "deletions": {"type": "bigint", "index": 8, "name": "deletions", "comment": "A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "bigint", "index": 9, "name": "installations", "comment": "An installation event is when the user opens the App after they've downloaded it (User Opt-In only). If the App was downloaded but not opened or opened offline, this will not count; if the user opts out of sending data back to Apple, there will also be no data here. A value of 0 indicates there were 0 installations or no value from the source report that day."}, "sessions": {"type": "bigint", "index": 10, "name": "sessions", "comment": "Sessions is the count of the number of times the app has been used for at least two seconds (User Opt-In only). If the app is in the background and is later used again, that counts as another session. A value of 0 indicates there were 0 sessions or no value from the source report that day."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__usage_app_version"}, "model.apple_store_source.stg_apple_store__usage_app_version_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__usage_app_version_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "app_version": {"type": "text", "index": 2, "name": "app_version", "comment": null}, "date": {"type": "timestamp without time zone", "index": 3, "name": "date", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "installations": {"type": "integer", "index": 6, "name": "installations", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "sessions": {"type": "integer", "index": 8, "name": "sessions", "comment": null}, "active_devices": {"type": "integer", "index": 9, "name": "active_devices", "comment": null}, "active_devices_last_30_days": {"type": "integer", "index": 10, "name": "active_devices_last_30_days", "comment": null}, "deletions": {"type": "integer", "index": 11, "name": "deletions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__usage_app_version_tmp"}, "model.apple_store_source.stg_apple_store__usage_device": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__usage_device", "database": "postgres", "comment": "Daily usage metrics (active devices, active devices last 30 days, deletions, installations, sessions) by device and source type.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "device": {"type": "text", "index": 5, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "active_devices": {"type": "bigint", "index": 6, "name": "active_devices", "comment": "The count of active_device is the count of devices that ran the app at least one time and for at least two seconds on a given day (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices or no value from the source report that day."}, "active_devices_last_30_days": {"type": "bigint", "index": 7, "name": "active_devices_last_30_days", "comment": "The count of active_devices_last_30_days is the count of devices that ran the app at least one time and for at least two seconds on the date_day of the report minus 30 days (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices last 30 days or no value from the source report that day."}, "deletions": {"type": "bigint", "index": 8, "name": "deletions", "comment": "A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "bigint", "index": 9, "name": "installations", "comment": "An installation event is when the user opens the App after they've downloaded it (User Opt-In only). If the App was downloaded but not opened or opened offline, this will not count; if the user opts out of sending data back to Apple, there will also be no data here. A value of 0 indicates there were 0 installations or no value from the source report that day."}, "sessions": {"type": "bigint", "index": 10, "name": "sessions", "comment": "Sessions is the count of the number of times the app has been used for at least two seconds (User Opt-In only). If the app is in the background and is later used again, that counts as another session. A value of 0 indicates there were 0 sessions or no value from the source report that day."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__usage_device"}, "model.apple_store_source.stg_apple_store__usage_device_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__usage_device_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "device": {"type": "text", "index": 3, "name": "device", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "installations": {"type": "integer", "index": 6, "name": "installations", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "sessions": {"type": "integer", "index": 8, "name": "sessions", "comment": null}, "active_devices": {"type": "integer", "index": 9, "name": "active_devices", "comment": null}, "active_devices_last_30_days": {"type": "integer", "index": 10, "name": "active_devices_last_30_days", "comment": null}, "deletions": {"type": "integer", "index": 11, "name": "deletions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__usage_device_tmp"}, "model.apple_store_source.stg_apple_store__usage_platform_version": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__usage_platform_version", "database": "postgres", "comment": "Daily usage metrics (active devices, active devices last 30 days, deletions, installations, sessions) by platform version and source type.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "platform_version": {"type": "text", "index": 5, "name": "platform_version", "comment": "The platform version of the device engaging with your app."}, "active_devices": {"type": "bigint", "index": 6, "name": "active_devices", "comment": "The count of active_device is the count of devices that ran the app at least one time and for at least two seconds on a given day (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices or no value from the source report that day."}, "active_devices_last_30_days": {"type": "bigint", "index": 7, "name": "active_devices_last_30_days", "comment": "The count of active_devices_last_30_days is the count of devices that ran the app at least one time and for at least two seconds on the date_day of the report minus 30 days (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices last 30 days or no value from the source report that day."}, "deletions": {"type": "bigint", "index": 8, "name": "deletions", "comment": "A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "bigint", "index": 9, "name": "installations", "comment": "An installation event is when the user opens the App after they've downloaded it (User Opt-In only). If the App was downloaded but not opened or opened offline, this will not count; if the user opts out of sending data back to Apple, there will also be no data here. A value of 0 indicates there were 0 installations or no value from the source report that day."}, "sessions": {"type": "bigint", "index": 10, "name": "sessions", "comment": "Sessions is the count of the number of times the app has been used for at least two seconds (User Opt-In only). If the app is in the background and is later used again, that counts as another session. A value of 0 indicates there were 0 sessions or no value from the source report that day."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__usage_platform_version"}, "model.apple_store_source.stg_apple_store__usage_platform_version_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__usage_platform_version_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "platform_version": {"type": "text", "index": 3, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "installations": {"type": "integer", "index": 6, "name": "installations", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "sessions": {"type": "integer", "index": 8, "name": "sessions", "comment": null}, "active_devices": {"type": "integer", "index": 9, "name": "active_devices", "comment": null}, "active_devices_last_30_days": {"type": "integer", "index": 10, "name": "active_devices_last_30_days", "comment": null}, "deletions": {"type": "integer", "index": 11, "name": "deletions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__usage_platform_version_tmp"}, "model.apple_store_source.stg_apple_store__usage_territory": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__usage_territory", "database": "postgres", "comment": "Daily usage metrics (active devices, active devices last 30 days, deletions, installations, sessions) by territory and source type.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": "A source is counted when a customer follows a link to your App Store product page. \nThere are 8 types of sources: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable, Institutional Purchases, and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary.\nMore information can be found in the Apple App Store developer [docs](https://developer.apple.com/help/app-store-connect/view-app-analytics/view-acquisition-sources/)."}, "territory": {"type": "text", "index": 5, "name": "territory", "comment": "The territory (aka country) full name associated with the report's respective metric(s)."}, "active_devices": {"type": "bigint", "index": 6, "name": "active_devices", "comment": "The count of active_device is the count of devices that ran the app at least one time and for at least two seconds on a given day (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices or no value from the source report that day."}, "active_devices_last_30_days": {"type": "bigint", "index": 7, "name": "active_devices_last_30_days", "comment": "The count of active_devices_last_30_days is the count of devices that ran the app at least one time and for at least two seconds on the date_day of the report minus 30 days (User Opt-In only); this metric is presumed to be de-duplicated daily as received from the source data, therefore, aggregating over a span of days is better done in the UI. A value of 0 indicates there were 0 active devices last 30 days or no value from the source report that day."}, "deletions": {"type": "bigint", "index": 8, "name": "deletions", "comment": "A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "bigint", "index": 9, "name": "installations", "comment": "An installation event is when the user opens the App after they've downloaded it (User Opt-In only). If the App was downloaded but not opened or opened offline, this will not count; if the user opts out of sending data back to Apple, there will also be no data here. A value of 0 indicates there were 0 installations or no value from the source report that day."}, "sessions": {"type": "bigint", "index": 10, "name": "sessions", "comment": "Sessions is the count of the number of times the app has been used for at least two seconds (User Opt-In only). If the app is in the background and is later used again, that counts as another session. A value of 0 indicates there were 0 sessions or no value from the source report that day."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__usage_territory"}, "model.apple_store_source.stg_apple_store__usage_territory_tmp": {"metadata": {"type": "VIEW", "schema": "zz_apple_store_apple_store_dev", "name": "stg_apple_store__usage_territory_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "source_type": {"type": "text", "index": 3, "name": "source_type", "comment": null}, "territory": {"type": "text", "index": 4, "name": "territory", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "installations": {"type": "integer", "index": 6, "name": "installations", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "sessions": {"type": "integer", "index": 8, "name": "sessions", "comment": null}, "active_devices": {"type": "integer", "index": 9, "name": "active_devices", "comment": null}, "active_devices_last_30_days": {"type": "integer", "index": 10, "name": "active_devices_last_30_days", "comment": null}, "deletions": {"type": "integer", "index": 11, "name": "deletions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__usage_territory_tmp"}, "seed.apple_store_source.apple_store_country_codes": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store_apple_store_source", "name": "apple_store_country_codes", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"country_name": {"type": "character varying(255)", "index": 1, "name": "country_name", "comment": null}, "alternative_country_name": {"type": "character varying(255)", "index": 2, "name": "alternative_country_name", "comment": null}, "country_code_numeric": {"type": "integer", "index": 3, "name": "country_code_numeric", "comment": null}, "country_code_alpha_2": {"type": "text", "index": 4, "name": "country_code_alpha_2", "comment": null}, "country_code_alpha_3": {"type": "text", "index": 5, "name": "country_code_alpha_3", "comment": null}, "region": {"type": "character varying(255)", "index": 6, "name": "region", "comment": null}, "region_code": {"type": "integer", "index": 7, "name": "region_code", "comment": null}, "sub_region": {"type": "character varying(255)", "index": 8, "name": "sub_region", "comment": null}, "sub_region_code": {"type": "integer", "index": 9, "name": "sub_region_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_source.apple_store_country_codes"}}, "sources": {"source.apple_store_source.apple_store.app": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "app", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "is_enabled": {"type": "boolean", "index": 2, "name": "is_enabled", "comment": null}, "name": {"type": "text", "index": 3, "name": "name", "comment": null}, "asset_token": {"type": "text", "index": 4, "name": "asset_token", "comment": null}, "pre_order_info": {"type": "integer", "index": 5, "name": "pre_order_info", "comment": null}, "icon_url": {"type": "text", "index": 6, "name": "icon_url", "comment": null}, "app_opt_in_rate": {"type": "integer", "index": 7, "name": "app_opt_in_rate", "comment": null}, "ios": {"type": "boolean", "index": 8, "name": "ios", "comment": null}, "tvos": {"type": "boolean", "index": 9, "name": "tvos", "comment": null}, "is_bundle": {"type": "boolean", "index": 10, "name": "is_bundle", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.app"}, "source.apple_store_source.apple_store.app_store_platform_version_source_type_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "app_store_platform_version_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "platform_version": {"type": "text", "index": 3, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "impressions": {"type": "integer", "index": 6, "name": "impressions", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "impressions_unique_device": {"type": "integer", "index": 8, "name": "impressions_unique_device", "comment": null}, "page_views": {"type": "integer", "index": 9, "name": "page_views", "comment": null}, "page_views_unique_device": {"type": "integer", "index": 10, "name": "page_views_unique_device", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.app_store_platform_version_source_type_report"}, "source.apple_store_source.apple_store.app_store_source_type_device_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "app_store_source_type_device", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "device": {"type": "text", "index": 3, "name": "device", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "impressions": {"type": "integer", "index": 6, "name": "impressions", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "impressions_unique_device": {"type": "integer", "index": 8, "name": "impressions_unique_device", "comment": null}, "page_views": {"type": "integer", "index": 9, "name": "page_views", "comment": null}, "page_views_unique_device": {"type": "integer", "index": 10, "name": "page_views_unique_device", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.app_store_source_type_device_report"}, "source.apple_store_source.apple_store.app_store_territory_source_type_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "app_store_territory_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "source_type": {"type": "text", "index": 3, "name": "source_type", "comment": null}, "territory": {"type": "text", "index": 4, "name": "territory", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "impressions": {"type": "integer", "index": 6, "name": "impressions", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "impressions_unique_device": {"type": "integer", "index": 8, "name": "impressions_unique_device", "comment": null}, "page_views": {"type": "integer", "index": 9, "name": "page_views", "comment": null}, "page_views_unique_device": {"type": "integer", "index": 10, "name": "page_views_unique_device", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.app_store_territory_source_type_report"}, "source.apple_store_source.apple_store.crashes_app_version_device_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "crashes_app_version", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "app_version": {"type": "text", "index": 2, "name": "app_version", "comment": null}, "date": {"type": "timestamp without time zone", "index": 3, "name": "date", "comment": null}, "device": {"type": "text", "index": 4, "name": "device", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "crashes": {"type": "integer", "index": 6, "name": "crashes", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.crashes_app_version_device_report"}, "source.apple_store_source.apple_store.crashes_platform_version_device_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "crashes_platform_version", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "device": {"type": "text", "index": 3, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 4, "name": "platform_version", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "crashes": {"type": "integer", "index": 6, "name": "crashes", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.crashes_platform_version_device_report"}, "source.apple_store_source.apple_store.downloads_platform_version_source_type_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "downloads_platform_version_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "platform_version": {"type": "text", "index": 3, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "first_time_downloads": {"type": "integer", "index": 6, "name": "first_time_downloads", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "redownloads": {"type": "integer", "index": 8, "name": "redownloads", "comment": null}, "total_downloads": {"type": "integer", "index": 9, "name": "total_downloads", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.downloads_platform_version_source_type_report"}, "source.apple_store_source.apple_store.downloads_source_type_device_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "downloads_source_type_device", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "device": {"type": "text", "index": 3, "name": "device", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "first_time_downloads": {"type": "integer", "index": 6, "name": "first_time_downloads", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "redownloads": {"type": "integer", "index": 8, "name": "redownloads", "comment": null}, "total_downloads": {"type": "integer", "index": 9, "name": "total_downloads", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.downloads_source_type_device_report"}, "source.apple_store_source.apple_store.downloads_territory_source_type_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "downloads_territory_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "source_type": {"type": "text", "index": 3, "name": "source_type", "comment": null}, "territory": {"type": "text", "index": 4, "name": "territory", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "first_time_downloads": {"type": "integer", "index": 6, "name": "first_time_downloads", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "redownloads": {"type": "integer", "index": 8, "name": "redownloads", "comment": null}, "total_downloads": {"type": "integer", "index": 9, "name": "total_downloads", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.downloads_territory_source_type_report"}, "source.apple_store_source.apple_store.sales_account": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "sales_account", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "name": {"type": "text", "index": 2, "name": "name", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.sales_account"}, "source.apple_store_source.apple_store.sales_subscription_event_summary": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "sales_subscription_events", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_filename": {"type": "text", "index": 1, "name": "_filename", "comment": null}, "account_number": {"type": "integer", "index": 2, "name": "account_number", "comment": null}, "vendor_number": {"type": "integer", "index": 3, "name": "vendor_number", "comment": null}, "_index": {"type": "integer", "index": 4, "name": "_index", "comment": null}, "event_date": {"type": "date", "index": 5, "name": "event_date", "comment": null}, "app_name": {"type": "text", "index": 6, "name": "app_name", "comment": null}, "days_canceled": {"type": "integer", "index": 7, "name": "days_canceled", "comment": null}, "subscription_name": {"type": "text", "index": 8, "name": "subscription_name", "comment": null}, "consecutive_paid_periods": {"type": "integer", "index": 9, "name": "consecutive_paid_periods", "comment": null}, "previous_subscription_name": {"type": "integer", "index": 10, "name": "previous_subscription_name", "comment": null}, "cancellation_reason": {"type": "text", "index": 11, "name": "cancellation_reason", "comment": null}, "proceeds_reason": {"type": "text", "index": 12, "name": "proceeds_reason", "comment": null}, "subscription_apple_id": {"type": "integer", "index": 13, "name": "subscription_apple_id", "comment": null}, "standard_subscription_duration": {"type": "text", "index": 14, "name": "standard_subscription_duration", "comment": null}, "original_start_date": {"type": "date", "index": 15, "name": "original_start_date", "comment": null}, "device": {"type": "text", "index": 16, "name": "device", "comment": null}, "days_before_canceling": {"type": "integer", "index": 17, "name": "days_before_canceling", "comment": null}, "quantity": {"type": "integer", "index": 18, "name": "quantity", "comment": null}, "marketing_opt_in_duration": {"type": "integer", "index": 19, "name": "marketing_opt_in_duration", "comment": null}, "promotional_offer_name": {"type": "integer", "index": 20, "name": "promotional_offer_name", "comment": null}, "state": {"type": "text", "index": 21, "name": "state", "comment": null}, "previous_subscription_apple_id": {"type": "integer", "index": 22, "name": "previous_subscription_apple_id", "comment": null}, "event": {"type": "text", "index": 23, "name": "event", "comment": null}, "subscription_group_id": {"type": "integer", "index": 24, "name": "subscription_group_id", "comment": null}, "country": {"type": "text", "index": 25, "name": "country", "comment": null}, "promotional_offer_id": {"type": "integer", "index": 26, "name": "promotional_offer_id", "comment": null}, "app_apple_id": {"type": "integer", "index": 27, "name": "app_apple_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 28, "name": "_fivetran_synced", "comment": null}, "subscription_offer_type": {"type": "integer", "index": 29, "name": "subscription_offer_type", "comment": null}, "subscription_offer_duration": {"type": "integer", "index": 30, "name": "subscription_offer_duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.sales_subscription_event_summary"}, "source.apple_store_source.apple_store.sales_subscription_summary": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "sales_subscription_summary", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_filename": {"type": "text", "index": 1, "name": "_filename", "comment": null}, "account_number": {"type": "integer", "index": 2, "name": "account_number", "comment": null}, "vendor_number": {"type": "integer", "index": 3, "name": "vendor_number", "comment": null}, "_index": {"type": "integer", "index": 4, "name": "_index", "comment": null}, "developer_proceeds": {"type": "double precision", "index": 5, "name": "developer_proceeds", "comment": null}, "app_name": {"type": "text", "index": 6, "name": "app_name", "comment": null}, "free_trial_promotional_offer_subscriptions": {"type": "integer", "index": 7, "name": "free_trial_promotional_offer_subscriptions", "comment": null}, "proceeds_currency": {"type": "text", "index": 8, "name": "proceeds_currency", "comment": null}, "subscription_name": {"type": "text", "index": 9, "name": "subscription_name", "comment": null}, "pay_as_you_go_promotional_offer_subscriptions": {"type": "integer", "index": 10, "name": "pay_as_you_go_promotional_offer_subscriptions", "comment": null}, "customer_currency": {"type": "text", "index": 11, "name": "customer_currency", "comment": null}, "marketing_opt_ins": {"type": "integer", "index": 12, "name": "marketing_opt_ins", "comment": null}, "pay_up_front_promotional_offer_subscriptions": {"type": "integer", "index": 13, "name": "pay_up_front_promotional_offer_subscriptions", "comment": null}, "billing_retry": {"type": "integer", "index": 14, "name": "billing_retry", "comment": null}, "proceeds_reason": {"type": "text", "index": 15, "name": "proceeds_reason", "comment": null}, "subscription_apple_id": {"type": "integer", "index": 16, "name": "subscription_apple_id", "comment": null}, "active_standard_price_subscriptions": {"type": "integer", "index": 17, "name": "active_standard_price_subscriptions", "comment": null}, "standard_subscription_duration": {"type": "text", "index": 18, "name": "standard_subscription_duration", "comment": null}, "grace_period": {"type": "integer", "index": 19, "name": "grace_period", "comment": null}, "device": {"type": "text", "index": 20, "name": "device", "comment": null}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "integer", "index": 21, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": null}, "customer_price": {"type": "double precision", "index": 22, "name": "customer_price", "comment": null}, "promotional_offer_name": {"type": "integer", "index": 23, "name": "promotional_offer_name", "comment": null}, "state": {"type": "text", "index": 24, "name": "state", "comment": null}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "integer", "index": 25, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": null}, "subscription_group_id": {"type": "integer", "index": 26, "name": "subscription_group_id", "comment": null}, "country": {"type": "text", "index": 27, "name": "country", "comment": null}, "active_free_trial_introductory_offer_subscriptions": {"type": "integer", "index": 28, "name": "active_free_trial_introductory_offer_subscriptions", "comment": null}, "promotional_offer_id": {"type": "integer", "index": 29, "name": "promotional_offer_id", "comment": null}, "app_apple_id": {"type": "integer", "index": 30, "name": "app_apple_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 31, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.sales_subscription_summary"}, "source.apple_store_source.apple_store.usage_app_version_source_type_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "usage_app_version_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "app_version": {"type": "text", "index": 2, "name": "app_version", "comment": null}, "date": {"type": "timestamp without time zone", "index": 3, "name": "date", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "installations": {"type": "integer", "index": 6, "name": "installations", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "sessions": {"type": "integer", "index": 8, "name": "sessions", "comment": null}, "active_devices": {"type": "integer", "index": 9, "name": "active_devices", "comment": null}, "active_devices_last_30_days": {"type": "integer", "index": 10, "name": "active_devices_last_30_days", "comment": null}, "deletions": {"type": "integer", "index": 11, "name": "deletions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.usage_app_version_source_type_report"}, "source.apple_store_source.apple_store.usage_platform_version_source_type_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "usage_platform_version_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "platform_version": {"type": "text", "index": 3, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "installations": {"type": "integer", "index": 6, "name": "installations", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "sessions": {"type": "integer", "index": 8, "name": "sessions", "comment": null}, "active_devices": {"type": "integer", "index": 9, "name": "active_devices", "comment": null}, "active_devices_last_30_days": {"type": "integer", "index": 10, "name": "active_devices_last_30_days", "comment": null}, "deletions": {"type": "integer", "index": 11, "name": "deletions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.usage_platform_version_source_type_report"}, "source.apple_store_source.apple_store.usage_source_type_device_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "usage_source_type_device", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "device": {"type": "text", "index": 3, "name": "device", "comment": null}, "source_type": {"type": "text", "index": 4, "name": "source_type", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "installations": {"type": "integer", "index": 6, "name": "installations", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "sessions": {"type": "integer", "index": 8, "name": "sessions", "comment": null}, "active_devices": {"type": "integer", "index": 9, "name": "active_devices", "comment": null}, "active_devices_last_30_days": {"type": "integer", "index": 10, "name": "active_devices_last_30_days", "comment": null}, "deletions": {"type": "integer", "index": 11, "name": "deletions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.usage_source_type_device_report"}, "source.apple_store_source.apple_store.usage_territory_source_type_report": {"metadata": {"type": "BASE TABLE", "schema": "zz_apple_store", "name": "usage_territory_source_type", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"app_id": {"type": "integer", "index": 1, "name": "app_id", "comment": null}, "date": {"type": "timestamp without time zone", "index": 2, "name": "date", "comment": null}, "source_type": {"type": "text", "index": 3, "name": "source_type", "comment": null}, "territory": {"type": "text", "index": 4, "name": "territory", "comment": null}, "meets_threshold": {"type": "boolean", "index": 5, "name": "meets_threshold", "comment": null}, "installations": {"type": "integer", "index": 6, "name": "installations", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "sessions": {"type": "integer", "index": 8, "name": "sessions", "comment": null}, "active_devices": {"type": "integer", "index": 9, "name": "active_devices", "comment": null}, "active_devices_last_30_days": {"type": "integer", "index": 10, "name": "active_devices_last_30_days", "comment": null}, "deletions": {"type": "integer", "index": 11, "name": "deletions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.usage_territory_source_type_report"}}, "errors": null} \ No newline at end of file +{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.7.9", "generated_at": "2025-02-01T05:28:09.927528Z", "invocation_id": "ab95a8d7-9d6e-4709-90ca-8bb86053292b", "env": {}}, "nodes": {"seed.apple_store_integration_tests.app_crash_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "app_crash_daily", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "app_version": {"type": "text", "index": 4, "name": "app_version", "comment": null}, "device": {"type": "text", "index": 5, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 6, "name": "platform_version", "comment": null}, "crashes": {"type": "integer", "index": 7, "name": "crashes", "comment": null}, "unique_devices": {"type": "integer", "index": 8, "name": "unique_devices", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.app_crash_daily"}, "seed.apple_store_integration_tests.app_session_detailed_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "app_session_detailed_daily", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "app_version": {"type": "double precision", "index": 4, "name": "app_version", "comment": null}, "device": {"type": "text", "index": 5, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 6, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 7, "name": "source_type", "comment": null}, "page_type": {"type": "text", "index": 8, "name": "page_type", "comment": null}, "app_download_date": {"type": "date", "index": 9, "name": "app_download_date", "comment": null}, "territory": {"type": "text", "index": 10, "name": "territory", "comment": null}, "sessions": {"type": "integer", "index": 11, "name": "sessions", "comment": null}, "total_session_duration": {"type": "integer", "index": 12, "name": "total_session_duration", "comment": null}, "unique_devices": {"type": "integer", "index": 13, "name": "unique_devices", "comment": null}, "source_info": {"type": "text", "index": 14, "name": "source_info", "comment": null}, "page_title": {"type": "text", "index": 15, "name": "page_title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 16, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.app_session_detailed_daily"}, "seed.apple_store_integration_tests.app_store_app": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "app_store_app", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "name": {"type": "text", "index": 2, "name": "name", "comment": null}, "primary_locale": {"type": "text", "index": 3, "name": "primary_locale", "comment": null}, "content_rights_declaration": {"type": "text", "index": 4, "name": "content_rights_declaration", "comment": null}, "was_made_for_kids": {"type": "integer", "index": 5, "name": "was_made_for_kids", "comment": null}, "subscription_status_url": {"type": "text", "index": 6, "name": "subscription_status_url", "comment": null}, "subscription_status_url_version": {"type": "text", "index": 7, "name": "subscription_status_url_version", "comment": null}, "subscription_status_url_for_sandbox": {"type": "text", "index": 8, "name": "subscription_status_url_for_sandbox", "comment": null}, "subscription_status_url_version_for_sandbox": {"type": "text", "index": 9, "name": "subscription_status_url_version_for_sandbox", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 10, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.app_store_app"}, "seed.apple_store_integration_tests.app_store_discovery_and_engagement_detailed_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "app_store_discovery_and_engagement_detailed_daily", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "event": {"type": "text", "index": 4, "name": "event", "comment": null}, "page_type": {"type": "text", "index": 5, "name": "page_type", "comment": null}, "source_type": {"type": "text", "index": 6, "name": "source_type", "comment": null}, "engagement_type": {"type": "text", "index": 7, "name": "engagement_type", "comment": null}, "device": {"type": "text", "index": 8, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 9, "name": "platform_version", "comment": null}, "territory": {"type": "text", "index": 10, "name": "territory", "comment": null}, "counts": {"type": "integer", "index": 11, "name": "counts", "comment": null}, "unique_counts": {"type": "integer", "index": 12, "name": "unique_counts", "comment": null}, "page_title": {"type": "text", "index": 13, "name": "page_title", "comment": null}, "source_info": {"type": "text", "index": 14, "name": "source_info", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.app_store_discovery_and_engagement_detailed_daily"}, "seed.apple_store_integration_tests.app_store_download_detailed_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "app_store_download_detailed_daily", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "download_type": {"type": "text", "index": 4, "name": "download_type", "comment": null}, "app_version": {"type": "double precision", "index": 5, "name": "app_version", "comment": null}, "device": {"type": "text", "index": 6, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 7, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 8, "name": "source_type", "comment": null}, "page_type": {"type": "text", "index": 9, "name": "page_type", "comment": null}, "pre_order": {"type": "integer", "index": 10, "name": "pre_order", "comment": null}, "territory": {"type": "text", "index": 11, "name": "territory", "comment": null}, "counts": {"type": "integer", "index": 12, "name": "counts", "comment": null}, "source_info": {"type": "text", "index": 13, "name": "source_info", "comment": null}, "page_title": {"type": "text", "index": 14, "name": "page_title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.app_store_download_detailed_daily"}, "seed.apple_store_integration_tests.app_store_installation_and_deletion_detailed_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "app_store_installation_and_deletion_detailed_daily", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "event": {"type": "text", "index": 4, "name": "event", "comment": null}, "download_type": {"type": "text", "index": 5, "name": "download_type", "comment": null}, "app_version": {"type": "double precision", "index": 6, "name": "app_version", "comment": null}, "device": {"type": "text", "index": 7, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 8, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 9, "name": "source_type", "comment": null}, "page_type": {"type": "text", "index": 10, "name": "page_type", "comment": null}, "app_download_date": {"type": "date", "index": 11, "name": "app_download_date", "comment": null}, "territory": {"type": "text", "index": 12, "name": "territory", "comment": null}, "counts": {"type": "integer", "index": 13, "name": "counts", "comment": null}, "unique_devices": {"type": "integer", "index": 14, "name": "unique_devices", "comment": null}, "source_info": {"type": "text", "index": 15, "name": "source_info", "comment": null}, "page_title": {"type": "text", "index": 16, "name": "page_title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 17, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.app_store_installation_and_deletion_detailed_daily"}, "seed.apple_store_integration_tests.sales_subscription_event_summary": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "sales_subscription_event_summary", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "vendor_number": {"type": "integer", "index": 2, "name": "vendor_number", "comment": null}, "event_date": {"type": "date", "index": 3, "name": "event_date", "comment": null}, "event": {"type": "text", "index": 4, "name": "event", "comment": null}, "app_name": {"type": "text", "index": 5, "name": "app_name", "comment": null}, "app_apple_id": {"type": "integer", "index": 6, "name": "app_apple_id", "comment": null}, "subscription_name": {"type": "text", "index": 7, "name": "subscription_name", "comment": null}, "subscription_apple_id": {"type": "integer", "index": 8, "name": "subscription_apple_id", "comment": null}, "subscription_group_id": {"type": "integer", "index": 9, "name": "subscription_group_id", "comment": null}, "standard_subscription_duration": {"type": "text", "index": 10, "name": "standard_subscription_duration", "comment": null}, "subscription_offer_type": {"type": "text", "index": 11, "name": "subscription_offer_type", "comment": null}, "subscription_offer_duration": {"type": "text", "index": 12, "name": "subscription_offer_duration", "comment": null}, "marketing_opt_in": {"type": "text", "index": 13, "name": "marketing_opt_in", "comment": null}, "marketing_opt_in_duration": {"type": "text", "index": 14, "name": "marketing_opt_in_duration", "comment": null}, "preserved_pricing": {"type": "text", "index": 15, "name": "preserved_pricing", "comment": null}, "proceeds_reason": {"type": "text", "index": 16, "name": "proceeds_reason", "comment": null}, "promotional_offer_name": {"type": "text", "index": 17, "name": "promotional_offer_name", "comment": null}, "promotional_offer_id": {"type": "text", "index": 18, "name": "promotional_offer_id", "comment": null}, "consecutive_paid_periods": {"type": "integer", "index": 19, "name": "consecutive_paid_periods", "comment": null}, "original_start_date": {"type": "date", "index": 20, "name": "original_start_date", "comment": null}, "device": {"type": "text", "index": 21, "name": "device", "comment": null}, "client": {"type": "text", "index": 22, "name": "client", "comment": null}, "state": {"type": "text", "index": 23, "name": "state", "comment": null}, "country": {"type": "text", "index": 24, "name": "country", "comment": null}, "previous_subscription_name": {"type": "text", "index": 25, "name": "previous_subscription_name", "comment": null}, "previous_subscription_apple_id": {"type": "integer", "index": 26, "name": "previous_subscription_apple_id", "comment": null}, "days_before_canceling": {"type": "integer", "index": 27, "name": "days_before_canceling", "comment": null}, "cancellation_reason": {"type": "text", "index": 28, "name": "cancellation_reason", "comment": null}, "days_canceled": {"type": "integer", "index": 29, "name": "days_canceled", "comment": null}, "quantity": {"type": "integer", "index": 30, "name": "quantity", "comment": null}, "paid_service_days_recovered": {"type": "integer", "index": 31, "name": "paid_service_days_recovered", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 32, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.sales_subscription_event_summary"}, "seed.apple_store_integration_tests.sales_subscription_summary": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "sales_subscription_summary", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "vendor_number": {"type": "integer", "index": 2, "name": "vendor_number", "comment": null}, "app_name": {"type": "text", "index": 3, "name": "app_name", "comment": null}, "app_apple_id": {"type": "integer", "index": 4, "name": "app_apple_id", "comment": null}, "subscription_name": {"type": "text", "index": 5, "name": "subscription_name", "comment": null}, "subscription_apple_id": {"type": "integer", "index": 6, "name": "subscription_apple_id", "comment": null}, "subscription_group_id": {"type": "integer", "index": 7, "name": "subscription_group_id", "comment": null}, "standard_subscription_duration": {"type": "text", "index": 8, "name": "standard_subscription_duration", "comment": null}, "customer_price": {"type": "double precision", "index": 9, "name": "customer_price", "comment": null}, "customer_currency": {"type": "text", "index": 10, "name": "customer_currency", "comment": null}, "developer_proceeds": {"type": "double precision", "index": 11, "name": "developer_proceeds", "comment": null}, "proceeds_currency": {"type": "text", "index": 12, "name": "proceeds_currency", "comment": null}, "preserved_pricing": {"type": "text", "index": 13, "name": "preserved_pricing", "comment": null}, "proceeds_reason": {"type": "text", "index": 14, "name": "proceeds_reason", "comment": null}, "subscription_offer_name": {"type": "text", "index": 15, "name": "subscription_offer_name", "comment": null}, "promotional_offer_id": {"type": "text", "index": 16, "name": "promotional_offer_id", "comment": null}, "state": {"type": "text", "index": 17, "name": "state", "comment": null}, "country": {"type": "text", "index": 18, "name": "country", "comment": null}, "device": {"type": "text", "index": 19, "name": "device", "comment": null}, "client": {"type": "text", "index": 20, "name": "client", "comment": null}, "active_standard_price_subscriptions": {"type": "integer", "index": 21, "name": "active_standard_price_subscriptions", "comment": null}, "active_free_trial_introductory_offer_subscriptions": {"type": "integer", "index": 22, "name": "active_free_trial_introductory_offer_subscriptions", "comment": null}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "integer", "index": 23, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": null}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "integer", "index": 24, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": null}, "free_trial_promotional_offer_subscriptions": {"type": "integer", "index": 25, "name": "free_trial_promotional_offer_subscriptions", "comment": null}, "pay_up_front_promotional_offer_subscriptions": {"type": "integer", "index": 26, "name": "pay_up_front_promotional_offer_subscriptions", "comment": null}, "pay_as_you_go_promotional_offer_subscriptions": {"type": "integer", "index": 27, "name": "pay_as_you_go_promotional_offer_subscriptions", "comment": null}, "marketing_opt_ins": {"type": "integer", "index": 28, "name": "marketing_opt_ins", "comment": null}, "billing_retry": {"type": "integer", "index": 29, "name": "billing_retry", "comment": null}, "grace_period": {"type": "integer", "index": 30, "name": "grace_period", "comment": null}, "free_trial_offer_code_subscriptions": {"type": "integer", "index": 31, "name": "free_trial_offer_code_subscriptions", "comment": null}, "pay_up_front_offer_code_subscriptions": {"type": "integer", "index": 32, "name": "pay_up_front_offer_code_subscriptions", "comment": null}, "pay_as_you_go_offer_code_subscriptions": {"type": "integer", "index": 33, "name": "pay_as_you_go_offer_code_subscriptions", "comment": null}, "subscribers": {"type": "integer", "index": 34, "name": "subscribers", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 35, "name": "_fivetran_synced", "comment": null}, "date": {"type": "date", "index": 36, "name": "date", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_integration_tests.sales_subscription_summary"}, "model.apple_store.apple_store__app_version_report": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "apple_store__app_version_report", "database": "postgres", "comment": "Each record represents daily metrics for each by app_id, source_type and app version", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "source_type": {"type": "text", "index": 5, "name": "source_type", "comment": "Where the user discovered the app, for example: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable,and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary."}, "app_version": {"type": "text", "index": 6, "name": "app_version", "comment": "The app version of the app that the user is engaging with."}, "crashes": {"type": "numeric", "index": 7, "name": "crashes", "comment": "The number of recorded crashes experienced (User Opt-In only); a value of 0 indicates there were 0 crash reports or no value from the source report that day."}, "active_devices": {"type": "numeric", "index": 8, "name": "active_devices", "comment": "This represents the number of devices with at least one session during a selected period. In the UI, to calculate this, you can query the session data for your app over the desired timeframe and count the unique devices that initiated at least one session. However, in the models here, this is deduplicated across the given grain."}, "active_devices_last_30_days": {"type": "numeric", "index": 9, "name": "active_devices_last_30_days", "comment": "This metric indicates the number of devices with at least one session during the previous 30 days. To obtain this, you would analyze the session data for the past 30 days and count the unique devices that had at least one session in that period. In the models, this is deduplicated across the given grain."}, "deletions": {"type": "numeric", "index": 10, "name": "deletions", "comment": "The number of times your app is deleted. A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "numeric", "index": 11, "name": "installations", "comment": "The number of times your app is installed."}, "sessions": {"type": "numeric", "index": 12, "name": "sessions", "comment": "The number of sessions. Based on users who have agreed to share their data with Apple and developers."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__app_version_report"}, "model.apple_store.apple_store__device_report": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "apple_store__device_report", "database": "postgres", "comment": "Each record represents daily subscription metrics by app_id, source_type and device", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "source_type": {"type": "text", "index": 5, "name": "source_type", "comment": "Where the user discovered the app, for example: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable,and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary."}, "device": {"type": "text", "index": 6, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "impressions": {"type": "numeric", "index": 7, "name": "impressions", "comment": "The number of times a user viewed your app icon in a list alongside other apps, including in search results, charts, and the Today, Apps, and Games tabs. Page views are not included in these counts."}, "impressions_unique_device": {"type": "numeric", "index": 8, "name": "impressions_unique_device", "comment": "The number of unique devices that viewed your app icon in a list alongside other apps, including in search results, charts, and the Today, Apps, and Games tabs. Page views are not included in these counts. In the models, this is deduplicated across the given grain."}, "page_views": {"type": "numeric", "index": 9, "name": "page_views", "comment": "The number of times a user was presented with a dedicated page for your app or in-app event."}, "page_views_unique_device": {"type": "numeric", "index": 10, "name": "page_views_unique_device", "comment": "The number of unique devices that viewed dedicated page for your app or in-app event. In the models, this is deduplicated across the given grain."}, "crashes": {"type": "numeric", "index": 11, "name": "crashes", "comment": "The number of recorded crashes experienced (User Opt-In only); a value of 0 indicates there were 0 crash reports or no value from the source report that day."}, "first_time_downloads": {"type": "numeric", "index": 12, "name": "first_time_downloads", "comment": "The number of first time downloads for your app."}, "redownloads": {"type": "numeric", "index": 13, "name": "redownloads", "comment": "The number of times your app is redownloaded. A redownload is a subsequent installation of an app onto a device by an Apple ID account. Counted when a user taps the redownload button on the App Store."}, "total_downloads": {"type": "numeric", "index": 14, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}, "active_devices": {"type": "numeric", "index": 15, "name": "active_devices", "comment": "This represents the number of devices with at least one session during a selected period. In the UI, to calculate this, you can query the session data for your app over the desired timeframe and count the unique devices that initiated at least one session. However, in the models here, this is deduplicated across the given grain."}, "active_devices_last_30_days": {"type": "numeric", "index": 16, "name": "active_devices_last_30_days", "comment": "This metric indicates the number of devices with at least one session during the previous 30 days. To obtain this, you would analyze the session data for the past 30 days and count the unique devices that had at least one session in that period. In the models, this is deduplicated across the given grain."}, "deletions": {"type": "numeric", "index": 17, "name": "deletions", "comment": "The number of times your app is deleted. A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "numeric", "index": 18, "name": "installations", "comment": "The number of times your app is installed."}, "sessions": {"type": "numeric", "index": 19, "name": "sessions", "comment": "The number of sessions. Based on users who have agreed to share their data with Apple and developers."}, "active_free_trial_introductory_offer_subscriptions": {"type": "bigint", "index": 20, "name": "active_free_trial_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently in a free trial."}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "bigint", "index": 21, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently with a pay as you go introductory price."}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "bigint", "index": 22, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently with a pay up front introductory price."}, "active_standard_price_subscriptions": {"type": "bigint", "index": 23, "name": "active_standard_price_subscriptions", "comment": "Total number of auto-renewable standard paid subscriptions currently active, excluding free trials, \nsubscription offers, introductory offers, and marketing opt-ins. Subscriptions are active during the period for which the customer has paid without cancellation."}, "event_renew": {"type": "bigint", "index": 24, "name": "event_renew", "comment": null}, "event_cancel": {"type": "bigint", "index": 25, "name": "event_cancel", "comment": null}, "event_subscribe": {"type": "bigint", "index": 26, "name": "event_subscribe", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__device_report"}, "model.apple_store.apple_store__overview_report": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "apple_store__overview_report", "database": "postgres", "comment": "Each record represents daily metrics for each app_id", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "impressions": {"type": "numeric", "index": 5, "name": "impressions", "comment": "The number of times a user viewed your app icon in a list alongside other apps, including in search results, charts, and the Today, Apps, and Games tabs. Page views are not included in these counts."}, "page_views": {"type": "numeric", "index": 6, "name": "page_views", "comment": "The number of times a user was presented with a dedicated page for your app or in-app event."}, "crashes": {"type": "numeric", "index": 7, "name": "crashes", "comment": "The number of recorded crashes experienced (User Opt-In only); a value of 0 indicates there were 0 crash reports or no value from the source report that day."}, "first_time_downloads": {"type": "numeric", "index": 8, "name": "first_time_downloads", "comment": "The number of first time downloads for your app."}, "redownloads": {"type": "numeric", "index": 9, "name": "redownloads", "comment": "The number of times your app is redownloaded. A redownload is a subsequent installation of an app onto a device by an Apple ID account. Counted when a user taps the redownload button on the App Store."}, "total_downloads": {"type": "numeric", "index": 10, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}, "active_devices": {"type": "numeric", "index": 11, "name": "active_devices", "comment": "This represents the number of devices with at least one session during a selected period. In the UI, to calculate this, you can query the session data for your app over the desired timeframe and count the unique devices that initiated at least one session. However, in the models here, this is deduplicated across the given grain."}, "deletions": {"type": "numeric", "index": 12, "name": "deletions", "comment": "The number of times your app is deleted. A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "numeric", "index": 13, "name": "installations", "comment": "The number of times your app is installed."}, "sessions": {"type": "numeric", "index": 14, "name": "sessions", "comment": "The number of sessions. Based on users who have agreed to share their data with Apple and developers."}, "active_free_trial_introductory_offer_subscriptions": {"type": "bigint", "index": 15, "name": "active_free_trial_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently in a free trial."}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "bigint", "index": 16, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently with a pay as you go introductory price."}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "bigint", "index": 17, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently with a pay up front introductory price."}, "active_standard_price_subscriptions": {"type": "bigint", "index": 18, "name": "active_standard_price_subscriptions", "comment": "Total number of auto-renewable standard paid subscriptions currently active, excluding free trials, \nsubscription offers, introductory offers, and marketing opt-ins. Subscriptions are active during the period for which the customer has paid without cancellation."}, "event_renew": {"type": "bigint", "index": 19, "name": "event_renew", "comment": null}, "event_cancel": {"type": "bigint", "index": 20, "name": "event_cancel", "comment": null}, "event_subscribe": {"type": "bigint", "index": 21, "name": "event_subscribe", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__overview_report"}, "model.apple_store.apple_store__platform_version_report": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "apple_store__platform_version_report", "database": "postgres", "comment": "Each record represents daily metrics for each by app_id, source_type and platform version", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "source_type": {"type": "text", "index": 5, "name": "source_type", "comment": "Where the user discovered the app, for example: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable,and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary."}, "platform_version": {"type": "text", "index": 6, "name": "platform_version", "comment": "The platform version of the device engaging with your app."}, "crashes": {"type": "numeric", "index": 7, "name": "crashes", "comment": "The number of recorded crashes experienced (User Opt-In only); a value of 0 indicates there were 0 crash reports or no value from the source report that day."}, "impressions": {"type": "numeric", "index": 8, "name": "impressions", "comment": "The number of times a user viewed your app icon in a list alongside other apps, including in search results, charts, and the Today, Apps, and Games tabs. Page views are not included in these counts."}, "impressions_unique_device": {"type": "numeric", "index": 9, "name": "impressions_unique_device", "comment": "The number of unique devices that viewed your app icon in a list alongside other apps, including in search results, charts, and the Today, Apps, and Games tabs. Page views are not included in these counts. In the models, this is deduplicated across the given grain."}, "page_views": {"type": "numeric", "index": 10, "name": "page_views", "comment": "The number of times a user was presented with a dedicated page for your app or in-app event."}, "page_views_unique_device": {"type": "numeric", "index": 11, "name": "page_views_unique_device", "comment": "The number of unique devices that viewed dedicated page for your app or in-app event. In the models, this is deduplicated across the given grain."}, "first_time_downloads": {"type": "numeric", "index": 12, "name": "first_time_downloads", "comment": "The number of first time downloads for your app."}, "redownloads": {"type": "numeric", "index": 13, "name": "redownloads", "comment": "The number of times your app is redownloaded. A redownload is a subsequent installation of an app onto a device by an Apple ID account. Counted when a user taps the redownload button on the App Store."}, "total_downloads": {"type": "numeric", "index": 14, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}, "active_devices": {"type": "numeric", "index": 15, "name": "active_devices", "comment": "This represents the number of devices with at least one session during a selected period. In the UI, to calculate this, you can query the session data for your app over the desired timeframe and count the unique devices that initiated at least one session. However, in the models here, this is deduplicated across the given grain."}, "active_devices_last_30_days": {"type": "numeric", "index": 16, "name": "active_devices_last_30_days", "comment": "This metric indicates the number of devices with at least one session during the previous 30 days. To obtain this, you would analyze the session data for the past 30 days and count the unique devices that had at least one session in that period. In the models, this is deduplicated across the given grain."}, "deletions": {"type": "numeric", "index": 17, "name": "deletions", "comment": "The number of times your app is deleted. A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "numeric", "index": 18, "name": "installations", "comment": "The number of times your app is installed."}, "sessions": {"type": "numeric", "index": 19, "name": "sessions", "comment": "The number of sessions. Based on users who have agreed to share their data with Apple and developers."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__platform_version_report"}, "model.apple_store.apple_store__source_type_report": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "apple_store__source_type_report", "database": "postgres", "comment": "Each record represents daily metrics by app_id and source_type", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "source_type": {"type": "text", "index": 5, "name": "source_type", "comment": "Where the user discovered the app, for example: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable,and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary."}, "impressions": {"type": "numeric", "index": 6, "name": "impressions", "comment": "The number of times a user viewed your app icon in a list alongside other apps, including in search results, charts, and the Today, Apps, and Games tabs. Page views are not included in these counts."}, "page_views": {"type": "numeric", "index": 7, "name": "page_views", "comment": "The number of times a user was presented with a dedicated page for your app or in-app event."}, "first_time_downloads": {"type": "numeric", "index": 8, "name": "first_time_downloads", "comment": "The number of first time downloads for your app."}, "redownloads": {"type": "numeric", "index": 9, "name": "redownloads", "comment": "The number of times your app is redownloaded. A redownload is a subsequent installation of an app onto a device by an Apple ID account. Counted when a user taps the redownload button on the App Store."}, "total_downloads": {"type": "numeric", "index": 10, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}, "deletions": {"type": "numeric", "index": 11, "name": "deletions", "comment": "The number of times your app is deleted. A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "numeric", "index": 12, "name": "installations", "comment": "The number of times your app is installed."}, "active_devices": {"type": "numeric", "index": 13, "name": "active_devices", "comment": "This represents the number of devices with at least one session during a selected period. In the UI, to calculate this, you can query the session data for your app over the desired timeframe and count the unique devices that initiated at least one session. However, in the models here, this is deduplicated across the given grain."}, "sessions": {"type": "numeric", "index": 14, "name": "sessions", "comment": "The number of sessions. Based on users who have agreed to share their data with Apple and developers."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__source_type_report"}, "model.apple_store.apple_store__subscription_report": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "apple_store__subscription_report", "database": "postgres", "comment": "Each record represents daily subscription metrics by account, app, subscription name, country and state", "owner": "pguser"}, "columns": {"date_day": {"type": "date", "index": 1, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "vendor_number": {"type": "integer", "index": 2, "name": "vendor_number", "comment": "The vendor number associated with the subscription event or summary."}, "app_apple_id": {"type": "integer", "index": 3, "name": "app_apple_id", "comment": "Apple ID of your subscription\u2019s parent app."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "subscription_name": {"type": "text", "index": 5, "name": "subscription_name", "comment": "The subscription name associated with the subscription event metric or subscription summary metric."}, "territory_long": {"type": "character varying(255)", "index": 6, "name": "territory_long", "comment": "Either the alternative country name, or the country name if the alternative doesn't exist."}, "territory_short": {"type": "text", "index": 7, "name": "territory_short", "comment": "The country associated with the subscription event metrics and subscription summary metric(s). This country code maps to ISO-3166 Alpha-2."}, "state": {"type": "text", "index": 8, "name": "state", "comment": "The state associated with the subscription event metrics or subscription summary metrics."}, "region": {"type": "character varying(255)", "index": 9, "name": "region", "comment": "The UN Statistics region name assignment. ([Original Source](https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes/blob/master/all/all.csv))"}, "sub_region": {"type": "character varying(255)", "index": 10, "name": "sub_region", "comment": "The UN Statistics sub-region name. ([Original Source](https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes/blob/master/all/all.csv))"}, "source_relation": {"type": "text", "index": 11, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "active_free_trial_introductory_offer_subscriptions": {"type": "bigint", "index": 12, "name": "active_free_trial_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently in a free trial."}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "bigint", "index": 13, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently with a pay as you go introductory price."}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "bigint", "index": 14, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently with a pay up front introductory price."}, "active_standard_price_subscriptions": {"type": "bigint", "index": 15, "name": "active_standard_price_subscriptions", "comment": "Total number of auto-renewable standard paid subscriptions currently active, excluding free trials, \nsubscription offers, introductory offers, and marketing opt-ins. Subscriptions are active during the period for which the customer has paid without cancellation."}, "event_renew": {"type": "bigint", "index": 16, "name": "event_renew", "comment": null}, "event_cancel": {"type": "bigint", "index": 17, "name": "event_cancel", "comment": null}, "event_subscribe": {"type": "bigint", "index": 18, "name": "event_subscribe", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__subscription_report"}, "model.apple_store.apple_store__territory_report": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "apple_store__territory_report", "database": "postgres", "comment": "Each record represents daily subscription metrics by app_id, source_type and territory", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 3, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 4, "name": "app_name", "comment": "Application Name."}, "source_type": {"type": "text", "index": 5, "name": "source_type", "comment": "Where the user discovered the app, for example: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable,and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary."}, "territory_long": {"type": "text", "index": 6, "name": "territory_long", "comment": "Either the alternative country name, or the country name if the alternative doesn't exist."}, "territory_short": {"type": "text", "index": 7, "name": "territory_short", "comment": "The country associated with the subscription event metrics and subscription summary metric(s). This country code maps to ISO-3166 Alpha-2."}, "region": {"type": "character varying(255)", "index": 8, "name": "region", "comment": "The UN Statistics region name assignment. ([Original Source](https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes/blob/master/all/all.csv))"}, "sub_region": {"type": "character varying(255)", "index": 9, "name": "sub_region", "comment": "The UN Statistics sub-region name. ([Original Source](https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes/blob/master/all/all.csv))"}, "impressions": {"type": "numeric", "index": 10, "name": "impressions", "comment": "The number of times a user viewed your app icon in a list alongside other apps, including in search results, charts, and the Today, Apps, and Games tabs. Page views are not included in these counts."}, "impressions_unique_device": {"type": "numeric", "index": 11, "name": "impressions_unique_device", "comment": "The number of unique devices that viewed your app icon in a list alongside other apps, including in search results, charts, and the Today, Apps, and Games tabs. Page views are not included in these counts. In the models, this is deduplicated across the given grain."}, "page_views": {"type": "numeric", "index": 12, "name": "page_views", "comment": "The number of times a user was presented with a dedicated page for your app or in-app event."}, "page_views_unique_device": {"type": "numeric", "index": 13, "name": "page_views_unique_device", "comment": "The number of unique devices that viewed dedicated page for your app or in-app event. In the models, this is deduplicated across the given grain."}, "first_time_downloads": {"type": "numeric", "index": 14, "name": "first_time_downloads", "comment": "The number of first time downloads for your app."}, "redownloads": {"type": "numeric", "index": 15, "name": "redownloads", "comment": "The number of times your app is redownloaded. A redownload is a subsequent installation of an app onto a device by an Apple ID account. Counted when a user taps the redownload button on the App Store."}, "total_downloads": {"type": "numeric", "index": 16, "name": "total_downloads", "comment": "Total Downloads is the sum of Redownloads and First Time Downloads."}, "active_devices": {"type": "numeric", "index": 17, "name": "active_devices", "comment": "This represents the number of devices with at least one session during a selected period. In the UI, to calculate this, you can query the session data for your app over the desired timeframe and count the unique devices that initiated at least one session. However, in the models here, this is deduplicated across the given grain."}, "active_devices_last_30_days": {"type": "numeric", "index": 18, "name": "active_devices_last_30_days", "comment": "This metric indicates the number of devices with at least one session during the previous 30 days. To obtain this, you would analyze the session data for the past 30 days and count the unique devices that had at least one session in that period. In the models, this is deduplicated across the given grain."}, "deletions": {"type": "numeric", "index": 19, "name": "deletions", "comment": "The number of times your app is deleted. A deletion occurs when a user removes your app from their device (User Opt-In only). Data from resetting or erasing a device\u2019s content and settings is not included. A value of 0 indicates there were 0 deletions or no value from the source report that day."}, "installations": {"type": "numeric", "index": 20, "name": "installations", "comment": "The number of times your app is installed."}, "sessions": {"type": "numeric", "index": 21, "name": "sessions", "comment": "The number of sessions. Based on users who have agreed to share their data with Apple and developers."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store.apple_store__territory_report"}, "model.apple_store_source.stg_apple_store__app_crash_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__app_crash_daily", "database": "postgres", "comment": "Provides daily data on app crashes, helping you understand app stability across different versions and devices.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "_fivetran_id": {"type": "text", "index": 2, "name": "_fivetran_id", "comment": "A Fivetran-generated key that is unique for each record, for each app and date or for each vendor, depending on the table."}, "date_day": {"type": "date", "index": 3, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 4, "name": "app_id", "comment": "Application ID."}, "app_version": {"type": "text", "index": 5, "name": "app_version", "comment": "The app version of the app that the user is engaging with."}, "device": {"type": "text", "index": 6, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "platform_version": {"type": "text", "index": 7, "name": "platform_version", "comment": "The platform version of the device engaging with your app."}, "crashes": {"type": "bigint", "index": 8, "name": "crashes", "comment": "The number of recorded crashes experienced (User Opt-In only); a value of 0 indicates there were 0 crash reports or no value from the source report that day."}, "unique_devices": {"type": "bigint", "index": 9, "name": "unique_devices", "comment": "The number of unique devices on which events were generated, based on users who have agreed to share their data with Apple and developers."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_crash_daily"}, "model.apple_store_source.stg_apple_store__app_crash_tmp": {"metadata": {"type": "VIEW", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__app_crash_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "app_version": {"type": "text", "index": 4, "name": "app_version", "comment": null}, "device": {"type": "text", "index": 5, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 6, "name": "platform_version", "comment": null}, "crashes": {"type": "integer", "index": 7, "name": "crashes", "comment": null}, "unique_devices": {"type": "integer", "index": 8, "name": "unique_devices", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_crash_tmp"}, "model.apple_store_source.stg_apple_store__app_session_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__app_session_daily", "database": "postgres", "comment": "Provides detailed daily metrics on user sessions within your app, including session duration and device information.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "_fivetran_id": {"type": "text", "index": 2, "name": "_fivetran_id", "comment": "A Fivetran-generated key that is unique for each record, for each app and date or for each vendor, depending on the table."}, "date_day": {"type": "date", "index": 3, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 4, "name": "app_id", "comment": "Application ID."}, "app_version": {"type": "text", "index": 5, "name": "app_version", "comment": "The app version of the app that the user is engaging with."}, "device": {"type": "text", "index": 6, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "platform_version": {"type": "text", "index": 7, "name": "platform_version", "comment": "The platform version of the device engaging with your app."}, "source_type": {"type": "text", "index": 8, "name": "source_type", "comment": "Where the user discovered the app, for example: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable,and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary."}, "page_type": {"type": "text", "index": 9, "name": "page_type", "comment": "The page type which led the user to discover your app."}, "app_download_date": {"type": "date", "index": 10, "name": "app_download_date", "comment": "Date when the app was downloaded on the user's device."}, "territory": {"type": "text", "index": 11, "name": "territory", "comment": "The territory (aka country) full name associated with the report's respective metric(s)."}, "sessions": {"type": "bigint", "index": 12, "name": "sessions", "comment": "The number of sessions. Based on users who have agreed to share their data with Apple and developers."}, "total_session_duration": {"type": "bigint", "index": 13, "name": "total_session_duration", "comment": "The total amount of time, in seconds, that users spent in sessions with your app on a given day."}, "unique_devices": {"type": "bigint", "index": 14, "name": "unique_devices", "comment": "The number of unique devices on which events were generated, based on users who have agreed to share their data with Apple and developers."}, "source_info": {"type": "text", "index": 15, "name": "source_info", "comment": "The app referrer or web referrer that led the user to discover the app."}, "page_title": {"type": "text", "index": 16, "name": "page_title", "comment": "The name of the product page or in-app event page that led the user to download the app associated with the session."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_session_daily"}, "model.apple_store_source.stg_apple_store__app_session_tmp": {"metadata": {"type": "VIEW", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__app_session_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "app_version": {"type": "double precision", "index": 4, "name": "app_version", "comment": null}, "device": {"type": "text", "index": 5, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 6, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 7, "name": "source_type", "comment": null}, "page_type": {"type": "text", "index": 8, "name": "page_type", "comment": null}, "app_download_date": {"type": "date", "index": 9, "name": "app_download_date", "comment": null}, "territory": {"type": "text", "index": 10, "name": "territory", "comment": null}, "sessions": {"type": "integer", "index": 11, "name": "sessions", "comment": null}, "total_session_duration": {"type": "integer", "index": 12, "name": "total_session_duration", "comment": null}, "unique_devices": {"type": "integer", "index": 13, "name": "unique_devices", "comment": null}, "source_info": {"type": "text", "index": 14, "name": "source_info", "comment": null}, "page_title": {"type": "text", "index": 15, "name": "page_title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 16, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_session_tmp"}, "model.apple_store_source.stg_apple_store__app_store_app": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__app_store_app", "database": "postgres", "comment": "Table containing data about your application(s)", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "app_id": {"type": "bigint", "index": 2, "name": "app_id", "comment": "Application ID."}, "app_name": {"type": "text", "index": 3, "name": "app_name", "comment": "Application Name."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_app"}, "model.apple_store_source.stg_apple_store__app_store_app_tmp": {"metadata": {"type": "VIEW", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__app_store_app_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "name": {"type": "text", "index": 2, "name": "name", "comment": null}, "primary_locale": {"type": "text", "index": 3, "name": "primary_locale", "comment": null}, "content_rights_declaration": {"type": "text", "index": 4, "name": "content_rights_declaration", "comment": null}, "was_made_for_kids": {"type": "integer", "index": 5, "name": "was_made_for_kids", "comment": null}, "subscription_status_url": {"type": "text", "index": 6, "name": "subscription_status_url", "comment": null}, "subscription_status_url_version": {"type": "text", "index": 7, "name": "subscription_status_url_version", "comment": null}, "subscription_status_url_for_sandbox": {"type": "text", "index": 8, "name": "subscription_status_url_for_sandbox", "comment": null}, "subscription_status_url_version_for_sandbox": {"type": "text", "index": 9, "name": "subscription_status_url_version_for_sandbox", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 10, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_app_tmp"}, "model.apple_store_source.stg_apple_store__app_store_discovery_and_engagement_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__app_store_discovery_and_engagement_daily", "database": "postgres", "comment": "Contains daily metrics on how users discover and engage with your app on the App Store.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "_fivetran_id": {"type": "text", "index": 2, "name": "_fivetran_id", "comment": "A Fivetran-generated key that is unique for each record, for each app and date or for each vendor, depending on the table."}, "date_day": {"type": "date", "index": 3, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 4, "name": "app_id", "comment": "Application ID."}, "event": {"type": "text", "index": 5, "name": "event", "comment": "The type of usage event that occurred."}, "page_type": {"type": "text", "index": 6, "name": "page_type", "comment": "The page type which led the user to discover your app."}, "source_type": {"type": "text", "index": 7, "name": "source_type", "comment": "Where the user discovered the app, for example: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable,and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary."}, "engagement_type": {"type": "text", "index": 8, "name": "engagement_type", "comment": "The type of user engagement action (e.g., Tap, Scroll)."}, "device": {"type": "text", "index": 9, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "platform_version": {"type": "text", "index": 10, "name": "platform_version", "comment": "The platform version of the device engaging with your app."}, "territory": {"type": "text", "index": 11, "name": "territory", "comment": "The territory (aka country) full name associated with the report's respective metric(s)."}, "counts": {"type": "bigint", "index": 12, "name": "counts", "comment": "The total count of events, based on users who have agreed to share their data with Apple and developers."}, "unique_counts": {"type": "bigint", "index": 13, "name": "unique_counts", "comment": "The number of unique devices associated with the event."}, "page_title": {"type": "text", "index": 14, "name": "page_title", "comment": "The name of the product page or in-app event page that led the user to download the app associated with the session."}, "source_info": {"type": "text", "index": 15, "name": "source_info", "comment": "The app referrer or web referrer that led the user to discover the app."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_discovery_and_engagement_daily"}, "model.apple_store_source.stg_apple_store__app_store_discovery_and_engagement_tmp": {"metadata": {"type": "VIEW", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__app_store_discovery_and_engagement_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "event": {"type": "text", "index": 4, "name": "event", "comment": null}, "page_type": {"type": "text", "index": 5, "name": "page_type", "comment": null}, "source_type": {"type": "text", "index": 6, "name": "source_type", "comment": null}, "engagement_type": {"type": "text", "index": 7, "name": "engagement_type", "comment": null}, "device": {"type": "text", "index": 8, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 9, "name": "platform_version", "comment": null}, "territory": {"type": "text", "index": 10, "name": "territory", "comment": null}, "counts": {"type": "integer", "index": 11, "name": "counts", "comment": null}, "unique_counts": {"type": "integer", "index": 12, "name": "unique_counts", "comment": null}, "page_title": {"type": "text", "index": 13, "name": "page_title", "comment": null}, "source_info": {"type": "text", "index": 14, "name": "source_info", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_discovery_and_engagement_tmp"}, "model.apple_store_source.stg_apple_store__app_store_download_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__app_store_download_daily", "database": "postgres", "comment": "Contains detailed daily metrics on app downloads, including download types and sources.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "_fivetran_id": {"type": "text", "index": 2, "name": "_fivetran_id", "comment": "A Fivetran-generated key that is unique for each record, for each app and date or for each vendor, depending on the table."}, "date_day": {"type": "date", "index": 3, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 4, "name": "app_id", "comment": "Application ID."}, "download_type": {"type": "text", "index": 5, "name": "download_type", "comment": "The type of download event that occurred. Possible values include:\n- **First-Time Download**: The user downloaded the app for the first time.\n- **Redownload**: The user reinstalled the app after having downloaded it previously.\n- **Auto-Download**: The app was automatically downloaded on another device using the same Apple ID.\n- **Manual Update**: The user manually updated the app from the App Store.\n- **Restore**: The app was restored from a backup.\n- **Unavailable**: The download type is unknown or not reported."}, "app_version": {"type": "text", "index": 6, "name": "app_version", "comment": "The app version of the app that the user is engaging with."}, "device": {"type": "text", "index": 7, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "platform_version": {"type": "text", "index": 8, "name": "platform_version", "comment": "The platform version of the device engaging with your app."}, "source_type": {"type": "text", "index": 9, "name": "source_type", "comment": "Where the user discovered the app, for example: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable,and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary."}, "page_type": {"type": "text", "index": 10, "name": "page_type", "comment": "The page type which led the user to discover your app."}, "pre_order": {"type": "text", "index": 11, "name": "pre_order", "comment": "Indicates whether the download was a result of a pre-order. If `true`, the user had pre-ordered the app before its release and it was automatically downloaded upon availability."}, "territory": {"type": "text", "index": 12, "name": "territory", "comment": "The territory (aka country) full name associated with the report's respective metric(s)."}, "counts": {"type": "bigint", "index": 13, "name": "counts", "comment": "The total count of events, based on users who have agreed to share their data with Apple and developers."}, "source_info": {"type": "text", "index": 14, "name": "source_info", "comment": "The app referrer or web referrer that led the user to discover the app."}, "page_title": {"type": "text", "index": 15, "name": "page_title", "comment": "The name of the product page or in-app event page that led the user to download the app associated with the session."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_download_daily"}, "model.apple_store_source.stg_apple_store__app_store_download_tmp": {"metadata": {"type": "VIEW", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__app_store_download_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "download_type": {"type": "text", "index": 4, "name": "download_type", "comment": null}, "app_version": {"type": "double precision", "index": 5, "name": "app_version", "comment": null}, "device": {"type": "text", "index": 6, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 7, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 8, "name": "source_type", "comment": null}, "page_type": {"type": "text", "index": 9, "name": "page_type", "comment": null}, "pre_order": {"type": "integer", "index": 10, "name": "pre_order", "comment": null}, "territory": {"type": "text", "index": 11, "name": "territory", "comment": null}, "counts": {"type": "integer", "index": 12, "name": "counts", "comment": null}, "source_info": {"type": "text", "index": 13, "name": "source_info", "comment": null}, "page_title": {"type": "text", "index": 14, "name": "page_title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_download_tmp"}, "model.apple_store_source.stg_apple_store__app_store_installation_and_deletion_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__app_store_installation_and_deletion_daily", "database": "postgres", "comment": "Contains detailed daily metrics on app installations and deletions, providing insights into user acquisition and retention.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "_fivetran_id": {"type": "text", "index": 2, "name": "_fivetran_id", "comment": "A Fivetran-generated key that is unique for each record, for each app and date or for each vendor, depending on the table."}, "date_day": {"type": "date", "index": 3, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "app_id": {"type": "bigint", "index": 4, "name": "app_id", "comment": "Application ID."}, "event": {"type": "text", "index": 5, "name": "event", "comment": "The type of usage event that occurred."}, "download_type": {"type": "text", "index": 6, "name": "download_type", "comment": "The type of download event that occurred. Possible values include:\n- **First-Time Download**: The user downloaded the app for the first time.\n- **Redownload**: The user reinstalled the app after having downloaded it previously.\n- **Auto-Download**: The app was automatically downloaded on another device using the same Apple ID.\n- **Manual Update**: The user manually updated the app from the App Store.\n- **Restore**: The app was restored from a backup.\n- **Unavailable**: The download type is unknown or not reported."}, "app_version": {"type": "text", "index": 7, "name": "app_version", "comment": "The app version of the app that the user is engaging with."}, "device": {"type": "text", "index": 8, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "platform_version": {"type": "text", "index": 9, "name": "platform_version", "comment": "The platform version of the device engaging with your app."}, "source_type": {"type": "text", "index": 10, "name": "source_type", "comment": "Where the user discovered the app, for example: App Store Browse, App Store Search, App Referrers, Web Referrers, App Clips, Unavailable,and Null. Null is the default value for data that does not provide source types, including: crashes, subscription events and subscription summary."}, "page_type": {"type": "text", "index": 11, "name": "page_type", "comment": "The page type which led the user to discover your app."}, "app_download_date": {"type": "date", "index": 12, "name": "app_download_date", "comment": "The date when the user originally downloaded the app on their device."}, "territory": {"type": "text", "index": 13, "name": "territory", "comment": "The territory (aka country) full name associated with the report's respective metric(s)."}, "counts": {"type": "bigint", "index": 14, "name": "counts", "comment": "The total count of events, based on users who have agreed to share their data with Apple and developers."}, "unique_devices": {"type": "bigint", "index": 15, "name": "unique_devices", "comment": "The number of unique devices on which events were generated, based on users who have agreed to share their data with Apple and developers."}, "source_info": {"type": "text", "index": 16, "name": "source_info", "comment": "The app referrer or web referrer that led the user to discover the app."}, "page_title": {"type": "text", "index": 17, "name": "page_title", "comment": "The name of the product page or in-app event page that led the user to download the app associated with the session."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_installation_and_deletion_daily"}, "model.apple_store_source.stg_apple_store__app_store_installation_and_deletion_tmp": {"metadata": {"type": "VIEW", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__app_store_installation_and_deletion_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "event": {"type": "text", "index": 4, "name": "event", "comment": null}, "download_type": {"type": "text", "index": 5, "name": "download_type", "comment": null}, "app_version": {"type": "double precision", "index": 6, "name": "app_version", "comment": null}, "device": {"type": "text", "index": 7, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 8, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 9, "name": "source_type", "comment": null}, "page_type": {"type": "text", "index": 10, "name": "page_type", "comment": null}, "app_download_date": {"type": "date", "index": 11, "name": "app_download_date", "comment": null}, "territory": {"type": "text", "index": 12, "name": "territory", "comment": null}, "counts": {"type": "integer", "index": 13, "name": "counts", "comment": null}, "unique_devices": {"type": "integer", "index": 14, "name": "unique_devices", "comment": null}, "source_info": {"type": "text", "index": 15, "name": "source_info", "comment": null}, "page_title": {"type": "text", "index": 16, "name": "page_title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 17, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__app_store_installation_and_deletion_tmp"}, "model.apple_store_source.stg_apple_store__sales_subscription_events": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__sales_subscription_events", "database": "postgres", "comment": "Daily subscription event report by account ID, app name, subscription name, event, country, state and device; this model is aggregated by date, app_name, account_id, country, state and subscription_name for easier transformations in the modeling package.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "_fivetran_id": {"type": "text", "index": 3, "name": "_fivetran_id", "comment": "A Fivetran-generated key that is unique for each record, for each app and date or for each vendor, depending on the table."}, "vendor_number": {"type": "integer", "index": 4, "name": "vendor_number", "comment": "The vendor number associated with the subscription event or summary."}, "app_apple_id": {"type": "integer", "index": 5, "name": "app_apple_id", "comment": "Apple ID of your subscription\u2019s parent app."}, "app_name": {"type": "text", "index": 6, "name": "app_name", "comment": "Application Name."}, "event": {"type": "text", "index": 7, "name": "event", "comment": "The type of usage event that occurred."}, "subscription_name": {"type": "text", "index": 8, "name": "subscription_name", "comment": "The subscription name associated with the subscription event metric or subscription summary metric."}, "subscription_apple_id": {"type": "integer", "index": 9, "name": "subscription_apple_id", "comment": "Apple ID of your subscription\u2019s parent app."}, "subscription_group_id": {"type": "integer", "index": 10, "name": "subscription_group_id", "comment": "The group ID of the subscription."}, "standard_subscription_duration": {"type": "text", "index": 11, "name": "standard_subscription_duration", "comment": "The duration of the standard subscription (e.g., 1 Month, 1 Year)."}, "subscription_offer_type": {"type": "text", "index": 12, "name": "subscription_offer_type", "comment": "The type of subscription offer (e.g., Free Trial, Introductory Offer)."}, "subscription_offer_duration": {"type": "text", "index": 13, "name": "subscription_offer_duration", "comment": "The duration of the subscription offer (e.g., 7 Days)."}, "marketing_opt_in": {"type": "text", "index": 14, "name": "marketing_opt_in", "comment": "If the subscription included a marketing opt-in, this field equals \u201cYes\u201d. Otherwise, it is blank."}, "marketing_opt_in_duration": {"type": "text", "index": 15, "name": "marketing_opt_in_duration", "comment": "Duration of the opt-in if applicable (e.g., 7 Days, 1 Month, 2 Months, 3 Months, 6 Months, or 1 Year)."}, "preserved_pricing": {"type": "text", "index": 16, "name": "preserved_pricing", "comment": "For Renew events, if the price is preserved, this field equals \u201cYes\u201d. Otherwise, it is blank."}, "proceeds_reason": {"type": "text", "index": 17, "name": "proceeds_reason", "comment": "For Renew events, if the subscription has been active for more than a year then you receive 85% of the customer price, minus applicable taxes, and this field equals \u201cRate After One Year\u201d. Otherwise, you receive 70% and the field is blank."}, "promotional_offer_name": {"type": "text", "index": 18, "name": "promotional_offer_name", "comment": "The name of the promotional offer."}, "promotional_offer_id": {"type": "text", "index": 19, "name": "promotional_offer_id", "comment": "The ID of the promotional offer."}, "consecutive_paid_periods": {"type": "integer", "index": 20, "name": "consecutive_paid_periods", "comment": "The total number of paid periods that the subscription has been active without cancellation. This does not include free trials, marketing opt-in bonus periods, or grace periods."}, "original_start_date": {"type": "date", "index": 21, "name": "original_start_date", "comment": "The original start date of the subscription."}, "device": {"type": "text", "index": 22, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "client": {"type": "text", "index": 23, "name": "client", "comment": "The client associated with the subscription."}, "state": {"type": "text", "index": 24, "name": "state", "comment": "The state associated with the subscription event metrics or subscription summary metrics."}, "country": {"type": "text", "index": 25, "name": "country", "comment": "The country associated with the subscription event metrics and subscription summary metric(s). This country code maps to ISO-3166 Alpha-2."}, "previous_subscription_name": {"type": "text", "index": 26, "name": "previous_subscription_name", "comment": "The name of the previous subscription."}, "previous_subscription_apple_id": {"type": "integer", "index": 27, "name": "previous_subscription_apple_id", "comment": "The Apple ID of the previous subscription."}, "days_before_canceling": {"type": "integer", "index": 28, "name": "days_before_canceling", "comment": "For cancel events, the number of days from the start date to when a subscriber canceled, which could be in the middle of the period. This only applies to cancel events where cancellation reason equals \u2018canceled.' Otherwise, it is blank."}, "cancellation_reason": {"type": "text", "index": 29, "name": "cancellation_reason", "comment": "Reason for a cancellation (e.g., Billing issue, Price increase, Canceled, Removed from Sale, or Other.)"}, "days_canceled": {"type": "integer", "index": 30, "name": "days_canceled", "comment": "For reactivate events, the number of days ago that the subscriber canceled."}, "quantity": {"type": "integer", "index": 31, "name": "quantity", "comment": "Number of events with the same values for the other fields."}, "paid_service_days_recovered": {"type": "integer", "index": 32, "name": "paid_service_days_recovered", "comment": "The estimated number of paid service days recovered due to Billing Grace Period."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__sales_subscription_events"}, "model.apple_store_source.stg_apple_store__sales_subscription_events_tmp": {"metadata": {"type": "VIEW", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__sales_subscription_events_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "vendor_number": {"type": "integer", "index": 2, "name": "vendor_number", "comment": null}, "event_date": {"type": "date", "index": 3, "name": "event_date", "comment": null}, "event": {"type": "text", "index": 4, "name": "event", "comment": null}, "app_name": {"type": "text", "index": 5, "name": "app_name", "comment": null}, "app_apple_id": {"type": "integer", "index": 6, "name": "app_apple_id", "comment": null}, "subscription_name": {"type": "text", "index": 7, "name": "subscription_name", "comment": null}, "subscription_apple_id": {"type": "integer", "index": 8, "name": "subscription_apple_id", "comment": null}, "subscription_group_id": {"type": "integer", "index": 9, "name": "subscription_group_id", "comment": null}, "standard_subscription_duration": {"type": "text", "index": 10, "name": "standard_subscription_duration", "comment": null}, "subscription_offer_type": {"type": "text", "index": 11, "name": "subscription_offer_type", "comment": null}, "subscription_offer_duration": {"type": "text", "index": 12, "name": "subscription_offer_duration", "comment": null}, "marketing_opt_in": {"type": "text", "index": 13, "name": "marketing_opt_in", "comment": null}, "marketing_opt_in_duration": {"type": "text", "index": 14, "name": "marketing_opt_in_duration", "comment": null}, "preserved_pricing": {"type": "text", "index": 15, "name": "preserved_pricing", "comment": null}, "proceeds_reason": {"type": "text", "index": 16, "name": "proceeds_reason", "comment": null}, "promotional_offer_name": {"type": "text", "index": 17, "name": "promotional_offer_name", "comment": null}, "promotional_offer_id": {"type": "text", "index": 18, "name": "promotional_offer_id", "comment": null}, "consecutive_paid_periods": {"type": "integer", "index": 19, "name": "consecutive_paid_periods", "comment": null}, "original_start_date": {"type": "date", "index": 20, "name": "original_start_date", "comment": null}, "device": {"type": "text", "index": 21, "name": "device", "comment": null}, "client": {"type": "text", "index": 22, "name": "client", "comment": null}, "state": {"type": "text", "index": 23, "name": "state", "comment": null}, "country": {"type": "text", "index": 24, "name": "country", "comment": null}, "previous_subscription_name": {"type": "text", "index": 25, "name": "previous_subscription_name", "comment": null}, "previous_subscription_apple_id": {"type": "integer", "index": 26, "name": "previous_subscription_apple_id", "comment": null}, "days_before_canceling": {"type": "integer", "index": 27, "name": "days_before_canceling", "comment": null}, "cancellation_reason": {"type": "text", "index": 28, "name": "cancellation_reason", "comment": null}, "days_canceled": {"type": "integer", "index": 29, "name": "days_canceled", "comment": null}, "quantity": {"type": "integer", "index": 30, "name": "quantity", "comment": null}, "paid_service_days_recovered": {"type": "integer", "index": 31, "name": "paid_service_days_recovered", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 32, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__sales_subscription_events_tmp"}, "model.apple_store_source.stg_apple_store__sales_subscription_summary": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__sales_subscription_summary", "database": "postgres", "comment": "Daily subscription summary report by account ID, app name, country, state and subscription name; this model is aggregated by date, app_name, account_id, country, state and subscription_name for easier transformations in the modeling package.", "owner": "pguser"}, "columns": {"source_relation": {"type": "text", "index": 1, "name": "source_relation", "comment": "The source of the record if the unioning functionality is being used. If it is not this field will be empty."}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": "The date of the report and respective recorded metric(s); follows the format `YYYY-MM-DD`."}, "_fivetran_id": {"type": "text", "index": 3, "name": "_fivetran_id", "comment": "A Fivetran-generated key that is unique for each record, for each app and date or for each vendor, depending on the table."}, "vendor_number": {"type": "integer", "index": 4, "name": "vendor_number", "comment": "The vendor number associated with the subscription event or summary."}, "app_apple_id": {"type": "integer", "index": 5, "name": "app_apple_id", "comment": "Apple ID of your subscription\u2019s parent app."}, "app_name": {"type": "text", "index": 6, "name": "app_name", "comment": "Application Name."}, "subscription_name": {"type": "text", "index": 7, "name": "subscription_name", "comment": "The subscription name associated with the subscription event metric or subscription summary metric."}, "subscription_apple_id": {"type": "integer", "index": 8, "name": "subscription_apple_id", "comment": "Apple ID of your subscription\u2019s parent app."}, "subscription_group_id": {"type": "integer", "index": 9, "name": "subscription_group_id", "comment": "The group ID of the subscription."}, "standard_subscription_duration": {"type": "text", "index": 10, "name": "standard_subscription_duration", "comment": "The duration of the standard subscription (e.g., 1 Month, 1 Year)."}, "customer_price": {"type": "double precision", "index": 11, "name": "customer_price", "comment": "The price paid by the customer."}, "customer_currency": {"type": "text", "index": 12, "name": "customer_currency", "comment": "Three-character ISO code indicating the customer\u2019s currency."}, "developer_proceeds": {"type": "double precision", "index": 13, "name": "developer_proceeds", "comment": "The proceeds for each item delivered."}, "proceeds_currency": {"type": "text", "index": 14, "name": "proceeds_currency", "comment": "The currency of the developer proceeds."}, "preserved_pricing": {"type": "text", "index": 15, "name": "preserved_pricing", "comment": "For Renew events, if the price is preserved, this field equals \u201cYes\u201d. Otherwise, it is blank."}, "proceeds_reason": {"type": "text", "index": 16, "name": "proceeds_reason", "comment": "For Renew events, if the subscription has been active for more than a year then you receive 85% of the customer price, minus applicable taxes, and this field equals \u201cRate After One Year\u201d. Otherwise, you receive 70% and the field is blank."}, "subscription_offer_name": {"type": "text", "index": 17, "name": "subscription_offer_name", "comment": "The name of the subscription offer."}, "promotional_offer_id": {"type": "text", "index": 18, "name": "promotional_offer_id", "comment": "The ID of the promotional offer."}, "state": {"type": "text", "index": 19, "name": "state", "comment": "The state associated with the subscription event metrics or subscription summary metrics."}, "country": {"type": "text", "index": 20, "name": "country", "comment": "The country associated with the subscription event metrics and subscription summary metric(s). This country code maps to ISO-3166 Alpha-2."}, "device": {"type": "text", "index": 21, "name": "device", "comment": "Device type associated with the respective metric(s)."}, "client": {"type": "text", "index": 22, "name": "client", "comment": "The client associated with the subscription."}, "active_standard_price_subscriptions": {"type": "integer", "index": 23, "name": "active_standard_price_subscriptions", "comment": "Total number of auto-renewable standard paid subscriptions currently active, excluding free trials, \nsubscription offers, introductory offers, and marketing opt-ins. Subscriptions are active during the period for which the customer has paid without cancellation."}, "active_free_trial_introductory_offer_subscriptions": {"type": "integer", "index": 24, "name": "active_free_trial_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently in a free trial."}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "integer", "index": 25, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently with a pay up front introductory price."}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "integer", "index": 26, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": "Total number of introductory offer subscriptions currently with a pay as you go introductory price."}, "free_trial_promotional_offer_subscriptions": {"type": "integer", "index": 27, "name": "free_trial_promotional_offer_subscriptions", "comment": "The number of free trial promotional offer subscriptions."}, "pay_up_front_promotional_offer_subscriptions": {"type": "integer", "index": 28, "name": "pay_up_front_promotional_offer_subscriptions", "comment": "The number of pay-up-front promotional offer subscriptions."}, "pay_as_you_go_promotional_offer_subscriptions": {"type": "integer", "index": 29, "name": "pay_as_you_go_promotional_offer_subscriptions", "comment": "The number of pay-as-you-go promotional offer subscriptions."}, "marketing_opt_ins": {"type": "integer", "index": 30, "name": "marketing_opt_ins", "comment": "The number of marketing opt-ins."}, "billing_retry": {"type": "integer", "index": 31, "name": "billing_retry", "comment": "The number of billing retries."}, "grace_period": {"type": "integer", "index": 32, "name": "grace_period", "comment": "The number of grace periods."}, "free_trial_offer_code_subscriptions": {"type": "integer", "index": 33, "name": "free_trial_offer_code_subscriptions", "comment": "The number of free trial offer code subscriptions."}, "pay_up_front_offer_code_subscriptions": {"type": "integer", "index": 34, "name": "pay_up_front_offer_code_subscriptions", "comment": "The number of pay-up-front offer code subscriptions."}, "pay_as_you_go_offer_code_subscriptions": {"type": "integer", "index": 35, "name": "pay_as_you_go_offer_code_subscriptions", "comment": "The number of pay-as-you-go offer code subscriptions."}, "subscribers": {"type": "integer", "index": 36, "name": "subscribers", "comment": "The number of subscribers."}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__sales_subscription_summary"}, "model.apple_store_source.stg_apple_store__sales_subscription_summary_tmp": {"metadata": {"type": "VIEW", "schema": "apple_store_integration_tests_7_apple_store_dev", "name": "stg_apple_store__sales_subscription_summary_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "vendor_number": {"type": "integer", "index": 2, "name": "vendor_number", "comment": null}, "app_name": {"type": "text", "index": 3, "name": "app_name", "comment": null}, "app_apple_id": {"type": "integer", "index": 4, "name": "app_apple_id", "comment": null}, "subscription_name": {"type": "text", "index": 5, "name": "subscription_name", "comment": null}, "subscription_apple_id": {"type": "integer", "index": 6, "name": "subscription_apple_id", "comment": null}, "subscription_group_id": {"type": "integer", "index": 7, "name": "subscription_group_id", "comment": null}, "standard_subscription_duration": {"type": "text", "index": 8, "name": "standard_subscription_duration", "comment": null}, "customer_price": {"type": "double precision", "index": 9, "name": "customer_price", "comment": null}, "customer_currency": {"type": "text", "index": 10, "name": "customer_currency", "comment": null}, "developer_proceeds": {"type": "double precision", "index": 11, "name": "developer_proceeds", "comment": null}, "proceeds_currency": {"type": "text", "index": 12, "name": "proceeds_currency", "comment": null}, "preserved_pricing": {"type": "text", "index": 13, "name": "preserved_pricing", "comment": null}, "proceeds_reason": {"type": "text", "index": 14, "name": "proceeds_reason", "comment": null}, "subscription_offer_name": {"type": "text", "index": 15, "name": "subscription_offer_name", "comment": null}, "promotional_offer_id": {"type": "text", "index": 16, "name": "promotional_offer_id", "comment": null}, "state": {"type": "text", "index": 17, "name": "state", "comment": null}, "country": {"type": "text", "index": 18, "name": "country", "comment": null}, "device": {"type": "text", "index": 19, "name": "device", "comment": null}, "client": {"type": "text", "index": 20, "name": "client", "comment": null}, "active_standard_price_subscriptions": {"type": "integer", "index": 21, "name": "active_standard_price_subscriptions", "comment": null}, "active_free_trial_introductory_offer_subscriptions": {"type": "integer", "index": 22, "name": "active_free_trial_introductory_offer_subscriptions", "comment": null}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "integer", "index": 23, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": null}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "integer", "index": 24, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": null}, "free_trial_promotional_offer_subscriptions": {"type": "integer", "index": 25, "name": "free_trial_promotional_offer_subscriptions", "comment": null}, "pay_up_front_promotional_offer_subscriptions": {"type": "integer", "index": 26, "name": "pay_up_front_promotional_offer_subscriptions", "comment": null}, "pay_as_you_go_promotional_offer_subscriptions": {"type": "integer", "index": 27, "name": "pay_as_you_go_promotional_offer_subscriptions", "comment": null}, "marketing_opt_ins": {"type": "integer", "index": 28, "name": "marketing_opt_ins", "comment": null}, "billing_retry": {"type": "integer", "index": 29, "name": "billing_retry", "comment": null}, "grace_period": {"type": "integer", "index": 30, "name": "grace_period", "comment": null}, "free_trial_offer_code_subscriptions": {"type": "integer", "index": 31, "name": "free_trial_offer_code_subscriptions", "comment": null}, "pay_up_front_offer_code_subscriptions": {"type": "integer", "index": 32, "name": "pay_up_front_offer_code_subscriptions", "comment": null}, "pay_as_you_go_offer_code_subscriptions": {"type": "integer", "index": 33, "name": "pay_as_you_go_offer_code_subscriptions", "comment": null}, "subscribers": {"type": "integer", "index": 34, "name": "subscribers", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 35, "name": "_fivetran_synced", "comment": null}, "date": {"type": "date", "index": 36, "name": "date", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_store_source.stg_apple_store__sales_subscription_summary_tmp"}, "seed.apple_store_source.apple_store_country_codes": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7_apple_store_source", "name": "apple_store_country_codes", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"country_name": {"type": "character varying(255)", "index": 1, "name": "country_name", "comment": null}, "alternative_country_name": {"type": "character varying(255)", "index": 2, "name": "alternative_country_name", "comment": null}, "country_code_numeric": {"type": "integer", "index": 3, "name": "country_code_numeric", "comment": null}, "country_code_alpha_2": {"type": "text", "index": 4, "name": "country_code_alpha_2", "comment": null}, "country_code_alpha_3": {"type": "text", "index": 5, "name": "country_code_alpha_3", "comment": null}, "region": {"type": "character varying(255)", "index": 6, "name": "region", "comment": null}, "region_code": {"type": "integer", "index": 7, "name": "region_code", "comment": null}, "sub_region": {"type": "character varying(255)", "index": 8, "name": "sub_region", "comment": null}, "sub_region_code": {"type": "integer", "index": 9, "name": "sub_region_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.apple_store_source.apple_store_country_codes"}}, "sources": {"source.apple_store_source.apple_store.app_crash_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "app_crash_daily", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "app_version": {"type": "text", "index": 4, "name": "app_version", "comment": null}, "device": {"type": "text", "index": 5, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 6, "name": "platform_version", "comment": null}, "crashes": {"type": "integer", "index": 7, "name": "crashes", "comment": null}, "unique_devices": {"type": "integer", "index": 8, "name": "unique_devices", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.app_crash_daily"}, "source.apple_store_source.apple_store.app_session_detailed_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "app_session_detailed_daily", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "app_version": {"type": "double precision", "index": 4, "name": "app_version", "comment": null}, "device": {"type": "text", "index": 5, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 6, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 7, "name": "source_type", "comment": null}, "page_type": {"type": "text", "index": 8, "name": "page_type", "comment": null}, "app_download_date": {"type": "date", "index": 9, "name": "app_download_date", "comment": null}, "territory": {"type": "text", "index": 10, "name": "territory", "comment": null}, "sessions": {"type": "integer", "index": 11, "name": "sessions", "comment": null}, "total_session_duration": {"type": "integer", "index": 12, "name": "total_session_duration", "comment": null}, "unique_devices": {"type": "integer", "index": 13, "name": "unique_devices", "comment": null}, "source_info": {"type": "text", "index": 14, "name": "source_info", "comment": null}, "page_title": {"type": "text", "index": 15, "name": "page_title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 16, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.app_session_detailed_daily"}, "source.apple_store_source.apple_store.app_store_app": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "app_store_app", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "name": {"type": "text", "index": 2, "name": "name", "comment": null}, "primary_locale": {"type": "text", "index": 3, "name": "primary_locale", "comment": null}, "content_rights_declaration": {"type": "text", "index": 4, "name": "content_rights_declaration", "comment": null}, "was_made_for_kids": {"type": "integer", "index": 5, "name": "was_made_for_kids", "comment": null}, "subscription_status_url": {"type": "text", "index": 6, "name": "subscription_status_url", "comment": null}, "subscription_status_url_version": {"type": "text", "index": 7, "name": "subscription_status_url_version", "comment": null}, "subscription_status_url_for_sandbox": {"type": "text", "index": 8, "name": "subscription_status_url_for_sandbox", "comment": null}, "subscription_status_url_version_for_sandbox": {"type": "text", "index": 9, "name": "subscription_status_url_version_for_sandbox", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 10, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.app_store_app"}, "source.apple_store_source.apple_store.app_store_discovery_and_engagement_detailed_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "app_store_discovery_and_engagement_detailed_daily", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "event": {"type": "text", "index": 4, "name": "event", "comment": null}, "page_type": {"type": "text", "index": 5, "name": "page_type", "comment": null}, "source_type": {"type": "text", "index": 6, "name": "source_type", "comment": null}, "engagement_type": {"type": "text", "index": 7, "name": "engagement_type", "comment": null}, "device": {"type": "text", "index": 8, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 9, "name": "platform_version", "comment": null}, "territory": {"type": "text", "index": 10, "name": "territory", "comment": null}, "counts": {"type": "integer", "index": 11, "name": "counts", "comment": null}, "unique_counts": {"type": "integer", "index": 12, "name": "unique_counts", "comment": null}, "page_title": {"type": "text", "index": 13, "name": "page_title", "comment": null}, "source_info": {"type": "text", "index": 14, "name": "source_info", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.app_store_discovery_and_engagement_detailed_daily"}, "source.apple_store_source.apple_store.app_store_download_detailed_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "app_store_download_detailed_daily", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "download_type": {"type": "text", "index": 4, "name": "download_type", "comment": null}, "app_version": {"type": "double precision", "index": 5, "name": "app_version", "comment": null}, "device": {"type": "text", "index": 6, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 7, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 8, "name": "source_type", "comment": null}, "page_type": {"type": "text", "index": 9, "name": "page_type", "comment": null}, "pre_order": {"type": "integer", "index": 10, "name": "pre_order", "comment": null}, "territory": {"type": "text", "index": 11, "name": "territory", "comment": null}, "counts": {"type": "integer", "index": 12, "name": "counts", "comment": null}, "source_info": {"type": "text", "index": 13, "name": "source_info", "comment": null}, "page_title": {"type": "text", "index": 14, "name": "page_title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.app_store_download_detailed_daily"}, "source.apple_store_source.apple_store.app_store_installation_and_deletion_detailed_daily": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "app_store_installation_and_deletion_detailed_daily", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "app_id": {"type": "integer", "index": 2, "name": "app_id", "comment": null}, "date": {"type": "date", "index": 3, "name": "date", "comment": null}, "event": {"type": "text", "index": 4, "name": "event", "comment": null}, "download_type": {"type": "text", "index": 5, "name": "download_type", "comment": null}, "app_version": {"type": "double precision", "index": 6, "name": "app_version", "comment": null}, "device": {"type": "text", "index": 7, "name": "device", "comment": null}, "platform_version": {"type": "text", "index": 8, "name": "platform_version", "comment": null}, "source_type": {"type": "text", "index": 9, "name": "source_type", "comment": null}, "page_type": {"type": "text", "index": 10, "name": "page_type", "comment": null}, "app_download_date": {"type": "date", "index": 11, "name": "app_download_date", "comment": null}, "territory": {"type": "text", "index": 12, "name": "territory", "comment": null}, "counts": {"type": "integer", "index": 13, "name": "counts", "comment": null}, "unique_devices": {"type": "integer", "index": 14, "name": "unique_devices", "comment": null}, "source_info": {"type": "text", "index": 15, "name": "source_info", "comment": null}, "page_title": {"type": "text", "index": 16, "name": "page_title", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 17, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.app_store_installation_and_deletion_detailed_daily"}, "source.apple_store_source.apple_store.sales_subscription_event_summary": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "sales_subscription_event_summary", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "vendor_number": {"type": "integer", "index": 2, "name": "vendor_number", "comment": null}, "event_date": {"type": "date", "index": 3, "name": "event_date", "comment": null}, "event": {"type": "text", "index": 4, "name": "event", "comment": null}, "app_name": {"type": "text", "index": 5, "name": "app_name", "comment": null}, "app_apple_id": {"type": "integer", "index": 6, "name": "app_apple_id", "comment": null}, "subscription_name": {"type": "text", "index": 7, "name": "subscription_name", "comment": null}, "subscription_apple_id": {"type": "integer", "index": 8, "name": "subscription_apple_id", "comment": null}, "subscription_group_id": {"type": "integer", "index": 9, "name": "subscription_group_id", "comment": null}, "standard_subscription_duration": {"type": "text", "index": 10, "name": "standard_subscription_duration", "comment": null}, "subscription_offer_type": {"type": "text", "index": 11, "name": "subscription_offer_type", "comment": null}, "subscription_offer_duration": {"type": "text", "index": 12, "name": "subscription_offer_duration", "comment": null}, "marketing_opt_in": {"type": "text", "index": 13, "name": "marketing_opt_in", "comment": null}, "marketing_opt_in_duration": {"type": "text", "index": 14, "name": "marketing_opt_in_duration", "comment": null}, "preserved_pricing": {"type": "text", "index": 15, "name": "preserved_pricing", "comment": null}, "proceeds_reason": {"type": "text", "index": 16, "name": "proceeds_reason", "comment": null}, "promotional_offer_name": {"type": "text", "index": 17, "name": "promotional_offer_name", "comment": null}, "promotional_offer_id": {"type": "text", "index": 18, "name": "promotional_offer_id", "comment": null}, "consecutive_paid_periods": {"type": "integer", "index": 19, "name": "consecutive_paid_periods", "comment": null}, "original_start_date": {"type": "date", "index": 20, "name": "original_start_date", "comment": null}, "device": {"type": "text", "index": 21, "name": "device", "comment": null}, "client": {"type": "text", "index": 22, "name": "client", "comment": null}, "state": {"type": "text", "index": 23, "name": "state", "comment": null}, "country": {"type": "text", "index": 24, "name": "country", "comment": null}, "previous_subscription_name": {"type": "text", "index": 25, "name": "previous_subscription_name", "comment": null}, "previous_subscription_apple_id": {"type": "integer", "index": 26, "name": "previous_subscription_apple_id", "comment": null}, "days_before_canceling": {"type": "integer", "index": 27, "name": "days_before_canceling", "comment": null}, "cancellation_reason": {"type": "text", "index": 28, "name": "cancellation_reason", "comment": null}, "days_canceled": {"type": "integer", "index": 29, "name": "days_canceled", "comment": null}, "quantity": {"type": "integer", "index": 30, "name": "quantity", "comment": null}, "paid_service_days_recovered": {"type": "integer", "index": 31, "name": "paid_service_days_recovered", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 32, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.sales_subscription_event_summary"}, "source.apple_store_source.apple_store.sales_subscription_summary": {"metadata": {"type": "BASE TABLE", "schema": "apple_store_integration_tests_7", "name": "sales_subscription_summary", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_id": {"type": "text", "index": 1, "name": "_fivetran_id", "comment": null}, "vendor_number": {"type": "integer", "index": 2, "name": "vendor_number", "comment": null}, "app_name": {"type": "text", "index": 3, "name": "app_name", "comment": null}, "app_apple_id": {"type": "integer", "index": 4, "name": "app_apple_id", "comment": null}, "subscription_name": {"type": "text", "index": 5, "name": "subscription_name", "comment": null}, "subscription_apple_id": {"type": "integer", "index": 6, "name": "subscription_apple_id", "comment": null}, "subscription_group_id": {"type": "integer", "index": 7, "name": "subscription_group_id", "comment": null}, "standard_subscription_duration": {"type": "text", "index": 8, "name": "standard_subscription_duration", "comment": null}, "customer_price": {"type": "double precision", "index": 9, "name": "customer_price", "comment": null}, "customer_currency": {"type": "text", "index": 10, "name": "customer_currency", "comment": null}, "developer_proceeds": {"type": "double precision", "index": 11, "name": "developer_proceeds", "comment": null}, "proceeds_currency": {"type": "text", "index": 12, "name": "proceeds_currency", "comment": null}, "preserved_pricing": {"type": "text", "index": 13, "name": "preserved_pricing", "comment": null}, "proceeds_reason": {"type": "text", "index": 14, "name": "proceeds_reason", "comment": null}, "subscription_offer_name": {"type": "text", "index": 15, "name": "subscription_offer_name", "comment": null}, "promotional_offer_id": {"type": "text", "index": 16, "name": "promotional_offer_id", "comment": null}, "state": {"type": "text", "index": 17, "name": "state", "comment": null}, "country": {"type": "text", "index": 18, "name": "country", "comment": null}, "device": {"type": "text", "index": 19, "name": "device", "comment": null}, "client": {"type": "text", "index": 20, "name": "client", "comment": null}, "active_standard_price_subscriptions": {"type": "integer", "index": 21, "name": "active_standard_price_subscriptions", "comment": null}, "active_free_trial_introductory_offer_subscriptions": {"type": "integer", "index": 22, "name": "active_free_trial_introductory_offer_subscriptions", "comment": null}, "active_pay_up_front_introductory_offer_subscriptions": {"type": "integer", "index": 23, "name": "active_pay_up_front_introductory_offer_subscriptions", "comment": null}, "active_pay_as_you_go_introductory_offer_subscriptions": {"type": "integer", "index": 24, "name": "active_pay_as_you_go_introductory_offer_subscriptions", "comment": null}, "free_trial_promotional_offer_subscriptions": {"type": "integer", "index": 25, "name": "free_trial_promotional_offer_subscriptions", "comment": null}, "pay_up_front_promotional_offer_subscriptions": {"type": "integer", "index": 26, "name": "pay_up_front_promotional_offer_subscriptions", "comment": null}, "pay_as_you_go_promotional_offer_subscriptions": {"type": "integer", "index": 27, "name": "pay_as_you_go_promotional_offer_subscriptions", "comment": null}, "marketing_opt_ins": {"type": "integer", "index": 28, "name": "marketing_opt_ins", "comment": null}, "billing_retry": {"type": "integer", "index": 29, "name": "billing_retry", "comment": null}, "grace_period": {"type": "integer", "index": 30, "name": "grace_period", "comment": null}, "free_trial_offer_code_subscriptions": {"type": "integer", "index": 31, "name": "free_trial_offer_code_subscriptions", "comment": null}, "pay_up_front_offer_code_subscriptions": {"type": "integer", "index": 32, "name": "pay_up_front_offer_code_subscriptions", "comment": null}, "pay_as_you_go_offer_code_subscriptions": {"type": "integer", "index": 33, "name": "pay_as_you_go_offer_code_subscriptions", "comment": null}, "subscribers": {"type": "integer", "index": 34, "name": "subscribers", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 35, "name": "_fivetran_synced", "comment": null}, "date": {"type": "date", "index": 36, "name": "date", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_store_source.apple_store.sales_subscription_summary"}}, "errors": null} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index c580ce9..ca1e6f8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,30 @@ -
Source | \nTable | \nDescription | \nLink | \nMore? | \n
---|---|---|---|---|
\n \n {{ source.source_name }}\n \n | \n \n {{ source.name }}\n | \n \n\n View docs\n | \n\n \n \n \n \n \n \n \n \n | \n|
\n \n \n \n \n Description\n \n | \n