IP2Location · JSON-LD Context
Ip2Location Context
JSON-LD context defining the semantic vocabulary for Ip2Location from IP2Location.
15 Classes
111 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
ip2location:
https://ip2location.io/schema#
Classes
ASInfo
Continent
Country
Region
City
TimeZoneInfo
Geotargeting
Proxy
ErrorResponse
BulkIPGeolocationRecord
Contact
Registrar
DomainWHOISResponse
HostedDomainResponse
IPGeolocationResponse
Properties
| Property | Type | Container |
|---|---|---|
| as_number | string | |
| as_name | string | |
| as_domain | string | |
| as_usage_type | string | |
| as_cidr | string | |
| name | string | |
| code | string | |
| hemisphere | list | |
| translation | ||
| alpha3_code | string | |
| numeric_code | integer | |
| demonym | string | |
| flag | reference | |
| capital | string | |
| total_area | decimal | |
| population | integer | |
| currency | ||
| language | ||
| tld | string | |
| olson | string | |
| current_time | dateTime | |
| gmt_offset | integer | |
| is_dst | boolean | |
| abbreviation | string | |
| dst_start_date | date | |
| dst_end_date | date | |
| sunrise | string | |
| sunset | string | |
| metro | string | |
| last_seen | integer | |
| proxy_type | string | |
| threat | string | |
| provider | string | |
| is_vpn | boolean | |
| is_tor | boolean | |
| is_data_center | boolean | |
| is_public_proxy | boolean | |
| is_web_proxy | boolean | |
| is_web_crawler | boolean | |
| is_ai_crawler | boolean | |
| is_residential_proxy | boolean | |
| is_spammer | boolean | |
| is_scanner | boolean | |
| is_botnet | boolean | |
| is_bogon | boolean | |
| is_consumer_privacy_network | boolean | |
| is_enterprise_private_network | boolean | |
| error | ||
| country_code | string | |
| country_name | string | |
| region_name | string | |
| district | string | |
| city_name | string | |
| latitude | decimal | |
| longitude | decimal | |
| zip_code | string | |
| time_zone | string | |
| asn | string | |
| as | string | |
| as_info | reference | |
| isp | string | |
| domain | string | |
| net_speed | string | |
| idd_code | string | |
| area_code | string | |
| weather_station_code | string | |
| weather_station_name | string | |
| mcc | string | |
| mnc | string | |
| mobile_brand | string | |
| elevation | decimal | |
| usage_type | string | |
| address_type | string | |
| ads_category | string | |
| ads_category_name | string | |
| continent | reference | |
| country | reference | |
| region | reference | |
| city | reference | |
| time_zone_info | reference | |
| geotargeting | reference | |
| is_proxy | boolean | |
| fraud_score | integer | |
| proxy | reference | |
| organization | string | |
| street_address | string | |
| phone | string | |
| fax | string | |
| string | ||
| iana_id | string | |
| url | reference | |
| domain_id | string | |
| status | string | |
| create_date | dateTime | |
| update_date | dateTime | |
| expire_date | dateTime | |
| domain_age | integer | |
| whois_server | string | |
| registrar | reference | |
| registrant | reference | |
| admin | reference | |
| tech | reference | |
| billing | reference | |
| nameservers | list | |
| ip | string | |
| total_domains | integer | |
| page | integer | |
| per_page | integer | |
| total_pages | integer | |
| domains | list | |
| message | string |
JSON-LD Document
{
"@context": {
"@vocab": "https://ip2location.io/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"ip2location": "https://ip2location.io/schema#",
"ASInfo": "ip2location:ASInfo",
"as_number": {
"@id": "ip2location:as_number",
"@type": "xsd:string"
},
"as_name": {
"@id": "ip2location:as_name",
"@type": "xsd:string"
},
"as_domain": {
"@id": "ip2location:as_domain",
"@type": "xsd:string"
},
"as_usage_type": {
"@id": "ip2location:as_usage_type",
"@type": "xsd:string"
},
"as_cidr": {
"@id": "ip2location:as_cidr",
"@type": "xsd:string"
},
"Continent": "ip2location:Continent",
"name": {
"@id": "ip2location:name",
"@type": "xsd:string"
},
"code": {
"@id": "ip2location:code",
"@type": "xsd:string"
},
"hemisphere": {
"@id": "ip2location:hemisphere",
"@container": "@list"
},
"translation": {
"@id": "ip2location:translation"
},
"Country": "ip2location:Country",
"alpha3_code": {
"@id": "ip2location:alpha3_code",
"@type": "xsd:string"
},
"numeric_code": {
"@id": "ip2location:numeric_code",
"@type": "xsd:integer"
},
"demonym": {
"@id": "ip2location:demonym",
"@type": "xsd:string"
},
"flag": {
"@id": "ip2location:flag",
"@type": "@id"
},
"capital": {
"@id": "ip2location:capital",
"@type": "xsd:string"
},
"total_area": {
"@id": "ip2location:total_area",
"@type": "xsd:decimal"
},
"population": {
"@id": "ip2location:population",
"@type": "xsd:integer"
},
"currency": {
"@id": "ip2location:currency"
},
"language": {
"@id": "ip2location:language"
},
"tld": {
"@id": "ip2location:tld",
"@type": "xsd:string"
},
"Region": "ip2location:Region",
"City": "ip2location:City",
"TimeZoneInfo": "ip2location:TimeZoneInfo",
"olson": {
"@id": "ip2location:olson",
"@type": "xsd:string"
},
"current_time": {
"@id": "ip2location:current_time",
"@type": "xsd:dateTime"
},
"gmt_offset": {
"@id": "ip2location:gmt_offset",
"@type": "xsd:integer"
},
"is_dst": {
"@id": "ip2location:is_dst",
"@type": "xsd:boolean"
},
"abbreviation": {
"@id": "ip2location:abbreviation",
"@type": "xsd:string"
},
"dst_start_date": {
"@id": "ip2location:dst_start_date",
"@type": "xsd:date"
},
"dst_end_date": {
"@id": "ip2location:dst_end_date",
"@type": "xsd:date"
},
"sunrise": {
"@id": "ip2location:sunrise",
"@type": "xsd:string"
},
"sunset": {
"@id": "ip2location:sunset",
"@type": "xsd:string"
},
"Geotargeting": "ip2location:Geotargeting",
"metro": {
"@id": "ip2location:metro",
"@type": "xsd:string"
},
"Proxy": "ip2location:Proxy",
"last_seen": {
"@id": "ip2location:last_seen",
"@type": "xsd:integer"
},
"proxy_type": {
"@id": "ip2location:proxy_type",
"@type": "xsd:string"
},
"threat": {
"@id": "ip2location:threat",
"@type": "xsd:string"
},
"provider": {
"@id": "ip2location:provider",
"@type": "xsd:string"
},
"is_vpn": {
"@id": "ip2location:is_vpn",
"@type": "xsd:boolean"
},
"is_tor": {
"@id": "ip2location:is_tor",
"@type": "xsd:boolean"
},
"is_data_center": {
"@id": "ip2location:is_data_center",
"@type": "xsd:boolean"
},
"is_public_proxy": {
"@id": "ip2location:is_public_proxy",
"@type": "xsd:boolean"
},
"is_web_proxy": {
"@id": "ip2location:is_web_proxy",
"@type": "xsd:boolean"
},
"is_web_crawler": {
"@id": "ip2location:is_web_crawler",
"@type": "xsd:boolean"
},
"is_ai_crawler": {
"@id": "ip2location:is_ai_crawler",
"@type": "xsd:boolean"
},
"is_residential_proxy": {
"@id": "ip2location:is_residential_proxy",
"@type": "xsd:boolean"
},
"is_spammer": {
"@id": "ip2location:is_spammer",
"@type": "xsd:boolean"
},
"is_scanner": {
"@id": "ip2location:is_scanner",
"@type": "xsd:boolean"
},
"is_botnet": {
"@id": "ip2location:is_botnet",
"@type": "xsd:boolean"
},
"is_bogon": {
"@id": "ip2location:is_bogon",
"@type": "xsd:boolean"
},
"is_consumer_privacy_network": {
"@id": "ip2location:is_consumer_privacy_network",
"@type": "xsd:boolean"
},
"is_enterprise_private_network": {
"@id": "ip2location:is_enterprise_private_network",
"@type": "xsd:boolean"
},
"ErrorResponse": "ip2location:ErrorResponse",
"error": {
"@id": "ip2location:error"
},
"BulkIPGeolocationRecord": "ip2location:BulkIPGeolocationRecord",
"country_code": {
"@id": "ip2location:country_code",
"@type": "xsd:string"
},
"country_name": {
"@id": "ip2location:country_name",
"@type": "xsd:string"
},
"region_name": {
"@id": "ip2location:region_name",
"@type": "xsd:string"
},
"district": {
"@id": "ip2location:district",
"@type": "xsd:string"
},
"city_name": {
"@id": "ip2location:city_name",
"@type": "xsd:string"
},
"latitude": {
"@id": "ip2location:latitude",
"@type": "xsd:decimal"
},
"longitude": {
"@id": "ip2location:longitude",
"@type": "xsd:decimal"
},
"zip_code": {
"@id": "ip2location:zip_code",
"@type": "xsd:string"
},
"time_zone": {
"@id": "ip2location:time_zone",
"@type": "xsd:string"
},
"asn": {
"@id": "ip2location:asn",
"@type": "xsd:string"
},
"as": {
"@id": "ip2location:as",
"@type": "xsd:string"
},
"as_info": {
"@id": "ip2location:as_info",
"@type": "@id"
},
"isp": {
"@id": "ip2location:isp",
"@type": "xsd:string"
},
"domain": {
"@id": "ip2location:domain",
"@type": "xsd:string"
},
"net_speed": {
"@id": "ip2location:net_speed",
"@type": "xsd:string"
},
"idd_code": {
"@id": "ip2location:idd_code",
"@type": "xsd:string"
},
"area_code": {
"@id": "ip2location:area_code",
"@type": "xsd:string"
},
"weather_station_code": {
"@id": "ip2location:weather_station_code",
"@type": "xsd:string"
},
"weather_station_name": {
"@id": "ip2location:weather_station_name",
"@type": "xsd:string"
},
"mcc": {
"@id": "ip2location:mcc",
"@type": "xsd:string"
},
"mnc": {
"@id": "ip2location:mnc",
"@type": "xsd:string"
},
"mobile_brand": {
"@id": "ip2location:mobile_brand",
"@type": "xsd:string"
},
"elevation": {
"@id": "ip2location:elevation",
"@type": "xsd:decimal"
},
"usage_type": {
"@id": "ip2location:usage_type",
"@type": "xsd:string"
},
"address_type": {
"@id": "ip2location:address_type",
"@type": "xsd:string"
},
"ads_category": {
"@id": "ip2location:ads_category",
"@type": "xsd:string"
},
"ads_category_name": {
"@id": "ip2location:ads_category_name",
"@type": "xsd:string"
},
"continent": {
"@id": "ip2location:continent",
"@type": "@id"
},
"country": {
"@id": "ip2location:country",
"@type": "@id"
},
"region": {
"@id": "ip2location:region",
"@type": "@id"
},
"city": {
"@id": "ip2location:city",
"@type": "@id"
},
"time_zone_info": {
"@id": "ip2location:time_zone_info",
"@type": "@id"
},
"geotargeting": {
"@id": "ip2location:geotargeting",
"@type": "@id"
},
"is_proxy": {
"@id": "ip2location:is_proxy",
"@type": "xsd:boolean"
},
"fraud_score": {
"@id": "ip2location:fraud_score",
"@type": "xsd:integer"
},
"proxy": {
"@id": "ip2location:proxy",
"@type": "@id"
},
"Contact": "ip2location:Contact",
"organization": {
"@id": "ip2location:organization",
"@type": "xsd:string"
},
"street_address": {
"@id": "ip2location:street_address",
"@type": "xsd:string"
},
"phone": {
"@id": "ip2location:phone",
"@type": "xsd:string"
},
"fax": {
"@id": "ip2location:fax",
"@type": "xsd:string"
},
"email": {
"@id": "ip2location:email",
"@type": "xsd:string"
},
"Registrar": "ip2location:Registrar",
"iana_id": {
"@id": "ip2location:iana_id",
"@type": "xsd:string"
},
"url": {
"@id": "ip2location:url",
"@type": "@id"
},
"DomainWHOISResponse": "ip2location:DomainWHOISResponse",
"domain_id": {
"@id": "ip2location:domain_id",
"@type": "xsd:string"
},
"status": {
"@id": "ip2location:status",
"@type": "xsd:string"
},
"create_date": {
"@id": "ip2location:create_date",
"@type": "xsd:dateTime"
},
"update_date": {
"@id": "ip2location:update_date",
"@type": "xsd:dateTime"
},
"expire_date": {
"@id": "ip2location:expire_date",
"@type": "xsd:dateTime"
},
"domain_age": {
"@id": "ip2location:domain_age",
"@type": "xsd:integer"
},
"whois_server": {
"@id": "ip2location:whois_server",
"@type": "xsd:string"
},
"registrar": {
"@id": "ip2location:registrar",
"@type": "@id"
},
"registrant": {
"@id": "ip2location:registrant",
"@type": "@id"
},
"admin": {
"@id": "ip2location:admin",
"@type": "@id"
},
"tech": {
"@id": "ip2location:tech",
"@type": "@id"
},
"billing": {
"@id": "ip2location:billing",
"@type": "@id"
},
"nameservers": {
"@id": "ip2location:nameservers",
"@container": "@list"
},
"HostedDomainResponse": "ip2location:HostedDomainResponse",
"ip": {
"@id": "ip2location:ip",
"@type": "xsd:string"
},
"total_domains": {
"@id": "ip2location:total_domains",
"@type": "xsd:integer"
},
"page": {
"@id": "ip2location:page",
"@type": "xsd:integer"
},
"per_page": {
"@id": "ip2location:per_page",
"@type": "xsd:integer"
},
"total_pages": {
"@id": "ip2location:total_pages",
"@type": "xsd:integer"
},
"domains": {
"@id": "ip2location:domains",
"@container": "@list"
},
"IPGeolocationResponse": "ip2location:IPGeolocationResponse",
"message": {
"@id": "ip2location:message",
"@type": "xsd:string"
}
},
"@type": "schema:Dataset",
"schema:name": "IP2Location API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects IP2Location's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-12-02) from openapi/ip2location-bulk-ip-geolocation-openapi.yml, openapi/ip2location-domain-whois-openapi.yml, openapi/ip2location-hosted-domain-openapi.yml.",
"dcterms:created": "2026-12-02",
"dcterms:source": [
"openapi/ip2location-bulk-ip-geolocation-openapi.yml",
"openapi/ip2location-domain-whois-openapi.yml",
"openapi/ip2location-hosted-domain-openapi.yml",
"openapi/ip2location-ip-geolocation-openapi.yml"
]
}