http://maasglobal.com/maas-backend/geocoding/geocoding-query/request.json
MaaS geocoding query request schema.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | No | Develop | No | Forbidden | Forbidden | maas-backend/geocoding/geocoding-query/request.json |
http://maasglobal.com/maas-backend/geocoding/geocoding-query/request.json
http://maasglobal.com/core/components/units.json
http://maasglobal.com/core/components/api-common.json
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
headers | object |
Optional | No | request (this schema) |
identityId | complex | Optional | No | request (this schema) |
payload | object |
Required | No | request (this schema) |
headers
object
object
with following properties:
Property | Type | Required |
---|---|---|
Accept |
Optional | |
X-Whim-User-Agent |
Optional |
Accept
#/definitions/acceptHeader
X-Whim-User-Agent
#/definitions/userAgentHeader
identityId
Any following options needs to be fulfilled.
string
All instances must conform to this regular expression
^[aepus]{2}-[\w]{4}-\d:[a-f\d]{8}(-[a-f\d]{4}){3}-[a-f\d]{12}$
string
All instances must conform to this regular expression
^[A-Fa-f0-9]{8}(-[A-Fa-f0-9]{4}){3}-[A-Fa-f0-9]{12}$
"eu-west-1:4828507e-683f-41bf-9d87-689808fbf958"
"4828507e-683f-41bf-9d87-689808fbf958"
payload
object
object
with following properties:
Property | Type | Required | Default |
---|---|---|---|
count |
integer | Optional | 5 |
distance |
number | Optional | |
lat |
number | Required | |
locale |
string | Optional | "fi-FI" |
lon |
number | Required | |
name |
string | Required |
count
integer
5
integer
1
100
Distance in meters
distance
number
0
40075000
1
No-numeric precision version of MaaS core latitude
lat
number
-90
90
locale
"fi-FI"
string
All instances must conform to this regular expression (test examples here):
^[a-z]{2,3}(?:-[a-zA-Z]{4})?(?:-[A-Z]{2,3})?$
No-numeric precision version of MaaS core longitude
lon
number
-180
180
name
string
string