Documentation

Schema reference

Field-level reference for the standard GeoIP Locations monthly release schema.

Scope

CSV and Parquet use the same flat schema for normal country, ALL, EDU, and GOV release scopes. MMDB carries comparable attribution fields but stores them as IP lookup records rather than a flat table.

Exception: BOG packages use a reduced schema because bogon ranges do not represent standard geolocation rows.

Field Description CSV type Parquet type MMDB representation Notes
networkCIDR network for the /24 prefix or consolidated lookup network.stringstringnetwork key / record keyPrimary network identifier.
network_fromInteger representation of the first IPv4 address in the /24.integerint64not always exposed as a flat fieldUseful for sorting and range joins.
network_toInteger representation of the last IPv4 address in the /24.integerint64not always exposed as a flat fieldNormally network_from + 255 for /24 rows.
prefix_lengthCIDR prefix length.integerint8network prefix lengthUsually 24 in flat exports.
continent_codeTwo-letter continent code.stringstringrecord fieldDerived from country mapping.
continent_nameContinent name.stringstringrecord fieldHuman-readable continent.
is_in_european_unionEU membership flag for the geolocation country.boolean/textboolrecord fieldTrue for EU member states.
country_isoGeolocation country ISO code.stringstringrecord fieldDescribes where the IP prefix is geolocated.
country_nameGeolocation country name.stringstringrecord fieldHuman-readable country.
registered_country_isoRegistered country ISO code.stringstringrecord fieldCurrently aligned with country-level metadata.
registered_country_nameRegistered country name.stringstringrecord fieldHuman-readable registered country.
region_nameRegion or state name.stringstringrecord fieldMay be empty.
region_name_asciiASCII-safe region name.stringstringrecord fieldUseful for systems requiring ASCII.
city_nameCity name.stringstringrecord fieldMay be empty.
city_name_asciiASCII-safe city name.stringstringrecord fieldUseful for systems requiring ASCII.
latitudeLatitude coordinate.decimalfloat64record fieldPrecision depends on geolocation level.
longitudeLongitude coordinate.decimalfloat64record fieldPrecision depends on geolocation level.
timezoneIANA timezone identifier.stringstringrecord fieldUsually derived from city geoname where available.
accuracy_radius_kmEstimated accuracy radius in kilometers.integerint16record fieldTypical values reflect city/region/country precision.
geo_precision_levelPrecision level of the geolocation.stringstringrecord fieldcity, region, country, or unknown.
country_geonameidGeoNames ID for country.integerint32record fieldReference identifier.
region_geonameidGeoNames ID for region.integerint32record fieldMay be null.
city_geonameidGeoNames ID for city.integerint32record fieldMay be null.
admin1_codeAdministrative level 1 code.stringstringrecord fieldUseful for regional joins.
feature_codeGeoNames feature code.stringstringrecord fieldIndicates location feature type.
asnAutonomous System Number.integerint32record field-1 means n/a; -2 means bogon.
as_nameAutonomous System name or description.stringstringrecord fieldAlso used in reduced BOG schema.
asn_typeASN type/classification.stringstringrecord fieldBusiness, Hosting, ISP, Government, etc.
asn_country_isoASN registry/owner country ISO code.stringstringrecord fieldNot the same as geolocation country.
network_typeDerived network classification.stringstringrecord fieldhosting, isp, business, education, government, etc.
company_nameCompany alias or owner label where available.stringstringrecord fieldMay be empty.
rirRegional Internet Registry derived from ASN context.stringstringrecord fieldASN-derived, not geolocation-derived.
snapshot_monthMonthly release identifier.stringstringrecord fieldFormat YYYY-MM.