Schema Structure
- type (
string) - enum: map - default: map (required) - data (
object- ref: Base Map Component location object) (required) — Containsprovider,latitude,longitude,placeId, and optionallyplaceName.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
We've updated our API endpoints to match what we use in our application. Some endpoints have been deprecated. See our Deprecated Endpoints page for migration details.
Validate map category
string) - enum: map - default: map (required)object - ref: Base Map Component location object) (required) — Contains provider, latitude, longitude, placeId, and optionally placeName.{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Map category schema",
"description": "Validate map category",
"examples": [],
"required": [
"type",
"data"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"map"
],
"default": "map"
},
"data": {
"$ref": "components/_base_map.json#properties/location"
}
}
}
{
"type": "map",
"data": {
"provider": "google",
"latitude": 40.724974,
"longitude": -73.9337742,
"placeId": "ChIJNXse7rRewokRNinJ2bCR8ss",
"placeName": "2100 Cherry St, Brooklyn, NY 11222, USA"
}
}
Was this page helpful?