-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathip-geolocation-ip-geolocation-response-structure.json
More file actions
101 lines (101 loc) · 2.57 KB
/
ip-geolocation-ip-geolocation-response-structure.json
File metadata and controls
101 lines (101 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-structure/ip-geolocation-ip-geolocation-response-structure.json",
"name": "IPGeolocationResponse",
"description": "IP geolocation response data",
"type": "object",
"properties": {
"ip_address": {
"type": "string",
"description": "The queried IP address",
"example": "8.8.8.8"
},
"city": {
"type": "string",
"description": "City name",
"example": "Mountain View"
},
"city_geoname_id": {
"type": "int32",
"description": "Geonames ID for the city",
"example": 5375480
},
"region": {
"type": "string",
"description": "Region or state name",
"example": "California"
},
"region_iso_code": {
"type": "string",
"description": "ISO region code",
"example": "CA"
},
"region_geoname_id": {
"type": "int32",
"description": "Geonames ID for the region",
"example": 5332921
},
"postal_code": {
"type": "string",
"description": "Postal or ZIP code",
"example": "94043"
},
"country": {
"type": "string",
"description": "Country name",
"example": "United States"
},
"country_code": {
"type": "string",
"description": "ISO 3166-1 alpha-2 country code",
"example": "US"
},
"country_geoname_id": {
"type": "int32",
"description": "Geonames ID for the country",
"example": 6252001
},
"country_is_eu": {
"type": "boolean",
"description": "Whether the country is in the EU",
"example": false
},
"continent": {
"type": "string",
"description": "Continent name",
"example": "North America"
},
"continent_code": {
"type": "string",
"description": "Continent code",
"example": "NA"
},
"continent_geoname_id": {
"type": "int32",
"description": "Geonames ID for the continent",
"example": 6255149
},
"longitude": {
"type": "double",
"description": "Longitude coordinate",
"example": -122.0838
},
"latitude": {
"type": "double",
"description": "Latitude coordinate",
"example": 37.386
},
"security": {
"$ref": "#/components/schemas/SecurityInfo"
},
"timezone": {
"$ref": "#/components/schemas/TimezoneInfo"
},
"flag": {
"$ref": "#/components/schemas/FlagInfo"
},
"currency": {
"$ref": "#/components/schemas/CurrencyInfo"
}
}
}