{
    "additionalProperties": false,
    "description": "Schema for an event which has been successfully enriched and stored in Elasticsearch",
    "patternProperties": {
        "^contexts_.*": {
            "type": "array"
        },
        "^unstruct_event_.*": {}
    },
    "properties": {
        "app_id": {
            "type": "string"
        },
        "base_currency": {
            "type": "string"
        },
        "br_colordepth": {
            "type": "string"
        },
        "br_cookies": {
            "type": "boolean"
        },
        "br_family": {
            "type": "string"
        },
        "br_features_director": {
            "type": "boolean"
        },
        "br_features_flash": {
            "type": "boolean"
        },
        "br_features_gears": {
            "type": "boolean"
        },
        "br_features_java": {
            "type": "boolean"
        },
        "br_features_pdf": {
            "type": "boolean"
        },
        "br_features_quicktime": {
            "type": "boolean"
        },
        "br_features_realplayer": {
            "type": "boolean"
        },
        "br_features_silverlight": {
            "type": "boolean"
        },
        "br_features_windowsmedia": {
            "type": "boolean"
        },
        "br_lang": {
            "type": "string"
        },
        "br_name": {
            "type": "string"
        },
        "br_renderengine": {
            "type": "string"
        },
        "br_type": {
            "type": "string"
        },
        "br_version": {
            "type": "string"
        },
        "br_viewheight": {
            "type": "integer"
        },
        "br_viewwidth": {
            "type": "integer"
        },
        "collector_tstamp": {
            "type": "string"
        },
        "doc_charset": {
            "type": "string"
        },
        "doc_height": {
            "type": "integer"
        },
        "doc_width": {
            "type": "integer"
        },
        "domain_sessionidx": {
            "type": "integer"
        },
        "domain_userid": {
            "type": "string"
        },
        "dvce_ismobile": {
            "type": "boolean"
        },
        "dvce_screenheight": {
            "type": "integer"
        },
        "dvce_screenwidth": {
            "type": "integer"
        },
        "dvce_sent_tstamp": {
            "type": "string"
        },
        "dvce_tstamp": {
            "type": "string"
        },
        "dvce_type": {
            "type": "string"
        },
        "etl_tags": {
            "type": "string"
        },
        "etl_tstamp": {
            "type": "string"
        },
        "event": {
            "type": "string"
        },
        "event_id": {
            "type": "string"
        },
        "geo_city": {
            "type": "string"
        },
        "geo_country": {
            "type": "string"
        },
        "geo_latitude": {
            "type": "number"
        },
        "geo_location": {
            "pattern": "-?[0-9]+(?:\\.[0-9+])?,-?[0-9]+(?:\\.[0-9+])?",
            "type": "string"
        },
        "geo_longitude": {
            "type": "number"
        },
        "geo_region": {
            "type": "string"
        },
        "geo_region_name": {
            "type": "string"
        },
        "geo_timezone": {
            "type": "string"
        },
        "geo_zipcode": {
            "type": "string"
        },
        "ip_domain": {
            "type": "string"
        },
        "ip_isp": {
            "type": "string"
        },
        "ip_netspeed": {
            "type": "string"
        },
        "ip_org": {
            "type": "string"
        },
        "mkt_campaign": {
            "type": "string"
        },
        "mkt_clickid": {
            "type": "string"
        },
        "mkt_content": {
            "type": "string"
        },
        "mkt_medium": {
            "type": "string"
        },
        "mkt_network": {
            "type": "string"
        },
        "mkt_source": {
            "type": "string"
        },
        "mkt_term": {
            "type": "string"
        },
        "name_tracker": {
            "type": "string"
        },
        "network_userid": {
            "type": "string"
        },
        "os_family": {
            "type": "string"
        },
        "os_manufacturer": {
            "type": "string"
        },
        "os_name": {
            "type": "string"
        },
        "os_timezone": {
            "type": "string"
        },
        "page_referrer": {
            "type": "string"
        },
        "page_title": {
            "type": "string"
        },
        "page_url": {
            "type": "string"
        },
        "page_urlfragment": {
            "type": "string"
        },
        "page_urlhost": {
            "type": "string"
        },
        "page_urlpath": {
            "type": "string"
        },
        "page_urlport": {
            "type": "integer"
        },
        "page_urlquery": {
            "type": "string"
        },
        "page_urlscheme": {
            "type": "string"
        },
        "platform": {
            "type": "string"
        },
        "pp_xoffset_max": {
            "type": "integer"
        },
        "pp_xoffset_min": {
            "type": "integer"
        },
        "pp_yoffset_max": {
            "type": "integer"
        },
        "pp_yoffset_min": {
            "type": "integer"
        },
        "refr_domain_userid": {
            "type": "string"
        },
        "refr_dvce_tstamp": {
            "type": "string"
        },
        "refr_medium": {
            "type": "string"
        },
        "refr_source": {
            "type": "string"
        },
        "refr_term": {
            "type": "string"
        },
        "refr_urlfragment": {
            "type": "string"
        },
        "refr_urlhost": {
            "type": "string"
        },
        "refr_urlpath": {
            "type": "string"
        },
        "refr_urlport": {
            "type": "integer"
        },
        "refr_urlquery": {
            "type": "string"
        },
        "refr_urlscheme": {
            "type": "string"
        },
        "se_action": {
            "type": "string"
        },
        "se_category": {
            "type": "string"
        },
        "se_label": {
            "type": "string"
        },
        "se_property": {
            "type": "string"
        },
        "se_value": {
            "type": "string"
        },
        "session_id": {
            "type": "string"
        },
        "ti_category": {
            "type": "string"
        },
        "ti_currency": {
            "type": "string"
        },
        "ti_name": {
            "type": "string"
        },
        "ti_orderid": {
            "type": "string"
        },
        "ti_price": {
            "type": "number"
        },
        "ti_price_base": {
            "type": "number"
        },
        "ti_quantity": {
            "type": "integer"
        },
        "ti_sku": {
            "type": "string"
        },
        "tr_affiliation": {
            "type": "string"
        },
        "tr_city": {
            "type": "string"
        },
        "tr_country": {
            "type": "string"
        },
        "tr_currency": {
            "type": "string"
        },
        "tr_orderid": {
            "type": "string"
        },
        "tr_shipping": {
            "type": "number"
        },
        "tr_shipping_base": {
            "type": "number"
        },
        "tr_state": {
            "type": "string"
        },
        "tr_tax": {
            "type": "number"
        },
        "tr_tax_base": {
            "type": "number"
        },
        "tr_total": {
            "type": "number"
        },
        "tr_total_base": {
            "type": "number"
        },
        "txn_id": {
            "type": "integer"
        },
        "user_fingerprint": {
            "type": "string"
        },
        "user_id": {
            "type": "string"
        },
        "user_ipaddress": {
            "type": "string"
        },
        "useragent": {
            "type": "string"
        },
        "v_collector": {
            "type": "string"
        },
        "v_etl": {
            "type": "string"
        },
        "v_tracker": {
            "type": "string"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "elasticsearch_enriched_event",
        "vendor": "com.snowplowanalytics.snowplow",
        "version": "1-0-1"
    },
    "type": "object"
}