Otter · JSON Structure

Public Api Location Structure

Latitude and longitude of the address.

Type: object Properties: 2 Required: 2
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Location is a JSON Structure definition published by Otter, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

latitude longitude

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-location-structure.json",
  "name": "Location",
  "description": "Latitude and longitude of the address.",
  "type": "object",
  "properties": {
    "latitude": {
      "type": "double",
      "description": "The latitude of the location.",
      "example": 38.8977
    },
    "longitude": {
      "type": "double",
      "description": "The longitude of the location.",
      "example": 77.0365
    }
  },
  "required": [
    "latitude",
    "longitude"
  ]
}