Skip to content

Commit

Permalink
Move the defaults for atomic fields lengths from common-fs2 to common
Browse files Browse the repository at this point in the history
  • Loading branch information
benjben committed Nov 22, 2024
1 parent 1e8b01b commit bf86724
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 88 deletions.
88 changes: 0 additions & 88 deletions modules/common-fs2/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,92 +3,4 @@
"accept": false
"accept": ${?ACCEPT_LIMITED_USE_LICENSE}
}
"validation": {
"atomicFieldsLimits": {
"app_id": 255
"platform": 255
"event": 128
"event_id": 36
"name_tracker": 128
"v_tracker": 100
"v_collector": 100
"v_etl": 100
"user_id": 255
"user_ipaddress": 128
"user_fingerprint": 128
"domain_userid": 128
"network_userid": 128
"geo_country": 2
"geo_region": 3
"geo_city": 75
"geo_zipcode": 15
"geo_region_name": 100
"ip_isp": 100
"ip_organization": 128
"ip_domain": 128
"ip_netspeed": 100
"page_url": 10000 # Different than the one in atomic schema (4096)
"page_title": 2000
"page_referrer": 10000 # Different than the one in atomic schema (4096)
"page_urlscheme": 16
"page_urlhost": 255
"page_urlpath": 3000
"page_urlquery": 6000
"page_urlfragment": 3000
"refr_urlscheme": 16
"refr_urlhost": 255
"refr_urlpath": 6000
"refr_urlquery": 6000
"refr_urlfragment": 3000
"refr_medium": 25
"refr_source": 50
"refr_term": 255
"mkt_clickid": 1000 # Different than the one in atomic schema (128)
"mkt_network": 64
"mkt_medium": 255
"mkt_source": 255
"mkt_term": 255
"mkt_content": 500
"mkt_campaign": 255
"se_category": 1000
"se_action": 1000
"se_label": 4096
"se_property": 1000
"tr_orderid": 255
"tr_affiliation": 255
"tr_city": 255
"tr_state": 255
"tr_country": 255
"ti_orderid": 255
"ti_sku": 255
"ti_name": 255
"ti_category": 255
"useragent": 1000
"br_name": 50
"br_family": 50
"br_version": 50
"br_type": 50
"br_renderengine": 50
"br_lang": 255
"br_colordepth": 12
"os_name": 50
"os_family": 50
"os_manufacturer": 50
"os_timezone": 255
"dvce_type": 50
"doc_charset": 128
"tr_currency": 3
"ti_currency": 3
"base_currency": 3
"geo_timezone": 64
"etl_tags": 500
"refr_domain_userid": 128
"domain_sessionid": 128
"event_vendor": 1000
"event_name": 1000
"event_format": 128
"event_version": 128
"event_fingerprint": 128
}
}
}
88 changes: 88 additions & 0 deletions modules/common/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,93 @@
"created": "iglu:com.getvero/created/jsonschema/1-0-0",
"updated": "iglu:com.getvero/updated/jsonschema/1-0-0"
}
},
"validation": {
"atomicFieldsLimits": {
"app_id": 255,
"platform": 255,
"event": 128,
"event_id": 36,
"name_tracker": 128,
"v_tracker": 100,
"v_collector": 100,
"v_etl": 100,
"user_id": 255,
"user_ipaddress": 128,
"user_fingerprint": 128,
"domain_userid": 128,
"network_userid": 128,
"geo_country": 2,
"geo_region": 3,
"geo_city": 75,
"geo_zipcode": 15,
"geo_region_name": 100,
"ip_isp": 100,
"ip_organization": 128,
"ip_domain": 128,
"ip_netspeed": 100,
"page_url": 10000, # Different than the one in atomic schema (4096)
"page_title": 2000,
"page_referrer": 10000, # Different than the one in atomic schema (4096)
"page_urlscheme": 16,
"page_urlhost": 255,
"page_urlpath": 3000,
"page_urlquery": 6000,
"page_urlfragment": 3000,
"refr_urlscheme": 16,
"refr_urlhost": 255,
"refr_urlpath": 6000,
"refr_urlquery": 6000,
"refr_urlfragment": 3000,
"refr_medium": 25,
"refr_source": 50,
"refr_term": 255,
"mkt_clickid": 1000, # Different than the one in atomic schema (128)
"mkt_network": 64,
"mkt_medium": 255,
"mkt_source": 255,
"mkt_term": 255,
"mkt_content": 500,
"mkt_campaign": 255,
"se_category": 1000,
"se_action": 1000,
"se_label": 4096,
"se_property": 1000,
"tr_orderid": 255,
"tr_affiliation": 255,
"tr_city": 255,
"tr_state": 255,
"tr_country": 255,
"ti_orderid": 255,
"ti_sku": 255,
"ti_name": 255,
"ti_category": 255,
"useragent": 1000,
"br_name": 50,
"br_family": 50,
"br_version": 50,
"br_type": 50,
"br_renderengine": 50,
"br_lang": 255,
"br_colordepth": 12,
"os_name": 50,
"os_family": 50,
"os_manufacturer": 50,
"os_timezone": 255,
"dvce_type": 50,
"doc_charset": 128,
"tr_currency": 3,
"ti_currency": 3,
"base_currency": 3,
"geo_timezone": 64,
"etl_tags": 500,
"refr_domain_userid": 128,
"domain_sessionid": 128,
"event_vendor": 1000,
"event_name": 1000,
"event_format": 128,
"event_version": 128,
"event_fingerprint": 128
}
}
}

0 comments on commit bf86724

Please sign in to comment.