Apache Cordova · Schema
Position
A Position object returned by the Apache Cordova Geolocation plugin containing coordinates and timestamp.
ApacheCross-PlatformHybrid AppsJavaScriptMobileOpen-SourcePlugins
Properties
| Name | Type | Description |
|---|---|---|
| coords | object | A set of geographic coordinates. |
| timestamp | integer | Creation time for coords as a DOMTimeStamp (milliseconds since UNIX epoch). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/apache-cordova/refs/heads/main/json-schema/apache-cordova-geolocation-position-schema.json",
"title": "Position",
"description": "A Position object returned by the Apache Cordova Geolocation plugin containing coordinates and timestamp.",
"type": "object",
"properties": {
"coords": {
"type": "object",
"description": "A set of geographic coordinates.",
"$id": "#Coordinates",
"properties": {
"latitude": {
"type": "number",
"description": "Latitude in decimal degrees.",
"example": 37.7749
},
"longitude": {
"type": "number",
"description": "Longitude in decimal degrees.",
"example": -122.4194
},
"altitude": {
"type": "number",
"description": "Height of the position in meters above the ellipsoid.",
"example": 15.0
},
"accuracy": {
"type": "number",
"description": "Accuracy level of the latitude and longitude coordinates in meters.",
"example": 10.0
},
"altitudeAccuracy": {
"type": ["number", "null"],
"description": "Accuracy level of the altitude coordinate in meters. null if not available.",
"example": 5.0
},
"heading": {
"type": ["number", "null"],
"description": "Direction of travel, specified in degrees counting clockwise relative to true north. null if not available.",
"example": 180.0
},
"speed": {
"type": ["number", "null"],
"description": "Current ground speed of the device, specified in meters per second. null if not available.",
"example": 1.5
}
},
"required": ["latitude", "longitude", "accuracy"]
},
"timestamp": {
"type": "integer",
"description": "Creation time for coords as a DOMTimeStamp (milliseconds since UNIX epoch).",
"example": 1718153645993
}
},
"required": ["coords", "timestamp"]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/apache-cordova-geolocation-position"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.