{
    "additionalProperties": true,
    "description": "Schema for an Adjust install event",
    "minProperties": 1,
    "properties": {
        "adgroup_name": {
            "description": "Adgroup name, as taken from the tracker e.g Reindeers",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "adjust_device_id": {
            "description": "Adjust device ID (all platforms) e.g 18546f6171f67e29d1cb983322ad1329",
            "maxLength": 32,
            "type": [
                "string",
                "null"
            ]
        },
        "adjust_tracker": {
            "description": "6-character Adjust tracker token e.g abc123",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "adjust_tracker_name": {
            "description": "Current tracker name e.g Network1%3A%3AChristmas%3A%3AReindeers%3A%3A320x70_en",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "adwords_adgroup_id": {
            "description": "Google AdWords adgroup ID e.g 123456",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "adwords_campaign_id": {
            "description": "Google AdWords campaign ID e.g 12345678",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "adwords_campaign_name": {
            "description": "Google AdWords campaign name e.g iOS+UAC+US+re-engagement",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "adwords_campaign_type": {
            "description": "Google AdWords campaign type e.g UAC; Search; Display; Video",
            "maxLength": 24,
            "type": [
                "string",
                "null"
            ]
        },
        "adwords_creative_id": {
            "description": "Google AdWords creative ID e.g 174021879258",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "adwords_keyword": {
            "description": "Google AdWords search keyword e.g hotel",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "adwords_matchtype": {
            "description": "Google AdWords search keyword and match type e.g hotel_Broad",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "adwords_network_subtype": {
            "description": "Google AdWords network subtype e.g GoogleSearch; AdMob",
            "maxLength": 24,
            "type": [
                "string",
                "null"
            ]
        },
        "adwords_network_type": {
            "description": "Google AdWords network type e.g Display; Search",
            "maxLength": 24,
            "type": [
                "string",
                "null"
            ]
        },
        "adwords_placement": {
            "description": "Google AdWords ad placement e.g mobile_app - 1",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "adwords_search_term": {
            "description": "Google organic search term e.g sisyphos",
            "maxLength": 2000,
            "type": [
                "string",
                "null"
            ]
        },
        "adwords_video_id": {
            "description": "Google AdWords video ID e.g 98765456784",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "android_id": {
            "description": "Android ID (Android only) e.g 3accef2d7286d0de",
            "maxLength": 16,
            "type": [
                "string",
                "null"
            ]
        },
        "api_level": {
            "description": "API level (Android only) e.g 13",
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "app_id": {
            "description": "Store App ID or Google Play Store e.g 332193586; de.is24.android; C013FJP3WF",
            "maxLength": 1024,
            "type": "string"
        },
        "app_name": {
            "description": "Name of the app e.g MyApp",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "app_name_dashboard": {
            "description": "Name of the app in the Adjust Dashboard e.g MyApp+Android",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "app_version": {
            "description": "App version number (Android); build-version-number for the bundle (iOS) e.g 5.13.1 (Android), 5131 (iOS)",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "apple_ad_conversion_type": {
            "description": "Download status: first or subsequent app download e.g Download; Redownload",
            "maxLength": 24,
            "type": [
                "string",
                "null"
            ]
        },
        "apple_ad_keyword_matchtype": {
            "description": "Apple Search keyword matchtype e.g Broad; Exact",
            "maxLength": 24,
            "type": [
                "string",
                "null"
            ]
        },
        "apple_idfa": {
            "description": "ID for advertisers (iOS only) e.g 8C6CBCOD-5F43-4765-A6E6-84DFF3D24707",
            "maxLength": 36,
            "type": [
                "string",
                "null"
            ]
        },
        "apple_idfv": {
            "description": "Uppercase iOS ID for vendors e.g CCB300A0-DE1B-4D48-BC7E-599E453B8DD4",
            "maxLength": 36,
            "type": [
                "string",
                "null"
            ]
        },
        "attribution_type": {
            "description": "Attribution method e.g fingerprint, device_tag, reftag, google, facebook",
            "maxLength": 24,
            "type": [
                "string",
                "null"
            ]
        },
        "campaign_name": {
            "description": "Campaign name, as taken from the tracker e.g Christmas",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "city": {
            "description": "Device city e.g Berlin",
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "click_attribution_window": {
            "description": "Attribution window settings for device matching (hours) e.g 168",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "click_referer": {
            "description": "Referrer header from click e.g http%3A%2F%2Fwww.example.com%2F%3Ffoo%3Dbar",
            "maxLength": 65535,
            "type": [
                "string",
                "null"
            ]
        },
        "click_time": {
            "description": "Attributed click timestamp e.g 1403568849",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "connection_type": {
            "description": "Internet connection type e.g cellular, Cable%2FDSL, Corporate",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "conversion_duration": {
            "description": "Time between click and install or reattribution in seconds e.g 72",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "cost_amount": {
            "description": "Cost of the user engagement (available for ad spend tracking only)* e.g 4.99 ($4.99)",
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "cost_currency": {
            "description": "ISO 4217 currency code of the cost data (available for ad spend tracking only)* e.g USD",
            "maxLength": 3,
            "type": [
                "string",
                "null"
            ]
        },
        "cost_type": {
            "description": "Type of ad spend being tracked (available for ad spend tracking only)* e.g CPI",
            "maxLength": 8,
            "type": [
                "string",
                "null"
            ]
        },
        "country": {
            "description": "Device two-character country code e.g us",
            "maxLength": 2,
            "type": [
                "string",
                "null"
            ]
        },
        "country_subdivision": {
            "description": "Device subdivision of country, e.g., state e.g Calfornia",
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "created_at_time": {
            "description": "Activity timestamp e.g 1404214665",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "creative_name": {
            "description": "Creative name, as taken from the tracker e.g 320x70_en",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "deeplink": {
            "description": "Deeplink URL appended to click URL e.g myapp://product?id=650",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "device_name": {
            "description": "Device model number e.g SM-G313HZ",
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "device_timezone": {
            "description": "Device time zone e.g UTC+0400",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "device_type": {
            "description": "Device type e.g phone, tablet",
            "maxLength": 20,
            "type": [
                "string",
                "null"
            ]
        },
        "engagement_time": {
            "description": "Engagement timestamp e.g 1403566587",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "environment": {
            "description": "Current Adjust SDK environment setting e.g production, sandbox",
            "maxLength": 24,
            "type": [
                "string",
                "null"
            ]
        },
        "event_name": {
            "description": "Type of user activity",
            "enum": [
                "install"
            ],
            "type": [
                "string",
                "null"
            ]
        },
        "fb_account_id": {
            "description": "Facebook ad account ID that created the ad e.g 123456789",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "fb_ad_objective_name": {
            "description": "Facebook advertising objective e.g Post engagement",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "fb_adgroup_id": {
            "description": "Facebook ad ID e.g 23842594106590661",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "fb_adgroup_name": {
            "description": "Facebook ad name e.g MyApp Summer Promo",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "fb_campaign_group_id": {
            "description": "Facebook campaign ID e.g 23842588848920296",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "fb_campaign_group_name": {
            "description": "Facebook campaign name e.g DPA-PPM_SKU_PPM",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "fb_campaign_id": {
            "description": "Facebook ad set ID e.g 23842594106430661",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "fb_campaign_name": {
            "description": "Facebook ad set name e.g MyApp Promos",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "fb_platform_position": {
            "description": "Facebook platform position e.g rewarded_video",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "fingerprint_attribution_window": {
            "description": "Attribution window settings for device fingerprinting (hours) e.g 18",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "fire_os_ad_id": {
            "description": "Fire OS advertising identifier e.g 63c5519b-7e66-7ee6-aa5d-3b290743811f",
            "maxLength": 36,
            "type": [
                "string",
                "null"
            ]
        },
        "google_click_id": {
            "description": "Google click ID e.g undefined",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "gplay_ad_id": {
            "description": "Google Play Store advertising ID e.g 38400000-8cf0-11bd-b23e-10b96e40000d",
            "maxLength": 36,
            "type": [
                "string",
                "null"
            ]
        },
        "gplay_referer": {
            "description": "Google Play Store referrer (Android only) e.g APPIA142157299513371854693246846",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "impression_attribution_window": {
            "description": "Attribution window settings for impression matching (hours) e.g 24",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "impression_time": {
            "description": "Attributed impression timestamp e.g 1403568830",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "install_begin_time": {
            "description": "App download began timestamp (Android and Google Play Store only) e.g 1502254761",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "install_complete_time": {
            "description": "App download completion timestamp (reported before Adjust install; Android and Google Play Store only) e.g 1441514522",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "install_time": {
            "description": "Install (i.e., first app open) timestamp e.g 1404214634",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "ip_address": {
            "description": "Device IP address e.g 8.8.8.8",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "is_impression_based": {
            "description": "1 if impression-based engagement, 0 if not e.g 1",
            "maxLength": 1,
            "type": [
                "string",
                "null"
            ]
        },
        "is_organic": {
            "description": "1 if organic traffic, 0 if non-organic e.g 0",
            "maxLength": 1,
            "type": [
                "string",
                "null"
            ]
        },
        "isp": {
            "description": "Device internet service provider e.g Verizon Internet",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "language_code": {
            "description": "Device two-character language code e.g en",
            "maxLength": 2,
            "type": [
                "string",
                "null"
            ]
        },
        "mac_md5": {
            "description": "Uppercase MAC MD5 hash e.g 098f6bcd4621d373cade4e832627b4f6",
            "maxLength": 32,
            "type": [
                "string",
                "null"
            ]
        },
        "mac_sha1": {
            "description": "Uppercase MAC SHA-1 hash e.g 282f2e4d6324ed731ee1ca4179deb6603f2bc5bc",
            "maxLength": 40,
            "type": [
                "string",
                "null"
            ]
        },
        "network_name": {
            "description": "Network name, as taken from the tracker e.g Network1",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "os_name": {
            "description": "Device operating system e.g ios",
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "os_version": {
            "description": "Operating system version number e.g 7.1.3",
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "partner_parameters": {
            "description": "Custom partner parameters collected by the Adjust SDK and transmitted to third party providers via postbacks e.g client_id",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "postal_code": {
            "description": "Device postal code of IP address e.g 12101",
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "referral_time": {
            "description": "User landed on app Play Store page timestamp (Android and Google Play Store only) e.g 1836167739",
            "maxLength": 10,
            "type": [
                "string",
                "null"
            ]
        },
        "rejection_reason": {
            "description": "Reason for a rejected attribution e.g anonymous_traffic, distribution_outlier, too_many_engagements, engagement_injection, incorrect_signature",
            "maxLength": 50,
            "type": [
                "string",
                "null"
            ]
        },
        "sdk_version": {
            "description": "Adjust SDK version (per app) e.g ios4.1.4",
            "maxLength": 500,
            "type": [
                "string",
                "null"
            ]
        },
        "store": {
            "description": "Target store of click e.g itunes; google, wstore, wphone",
            "maxLength": 24,
            "type": [
                "string",
                "null"
            ]
        },
        "tracking_enabled": {
            "description": "1 if tracking is enabled, 0 if not e.g 1",
            "maxLength": 1,
            "type": [
                "string",
                "null"
            ]
        },
        "tracking_limited": {
            "description": "1 if tracking is limited, 0 if not e.g 0",
            "maxLength": 1,
            "type": [
                "string",
                "null"
            ]
        },
        "tweet_id": {
            "description": "Unique tweet ID e.g 852130056168247296",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "twitter_line_item_id": {
            "description": "Twitter line item ID e.g 7zpix",
            "maxLength": 1024,
            "type": [
                "string",
                "null"
            ]
        },
        "windows_ad_id": {
            "description": "Windows advertising identifier e.g 107e8ea14329d4a2194ebbb6dc0c0fd7",
            "maxLength": 32,
            "type": [
                "string",
                "null"
            ]
        },
        "windows_phone_udid": {
            "description": "Windows Phone unique device ID e.g e81644f1-46b6-4994-2903-1d1f1440c130",
            "maxLength": 36,
            "type": [
                "string",
                "null"
            ]
        },
        "windows_store_hwid": {
            "description": "Windows Store hardware ID e.g JKJbFwIArpGAGDmcBTAvlAUMKJkHAMoSCADlJQkDHWG",
            "maxLength": 43,
            "type": [
                "string",
                "null"
            ]
        },
        "windows_store_naid": {
            "description": "Windows Store network adapter ID e.g 5978aed4-82e5-28cf-8364-dfc64cb1fb84",
            "maxLength": 36,
            "type": [
                "string",
                "null"
            ]
        }
    },
    "required": [
        "app_id"
    ],
    "self": {
        "format": "jsonschema",
        "name": "install",
        "vendor": "com.adjust",
        "version": "1-0-0"
    },
    "type": "object"
}