Neynar · Schema

Location

Coordinates and place names for a location

FarcasterSocialDecentralizedWeb3BlockchainSocial GraphCastsChannelsFeedsReactionsNotificationsWebhooksOnchain

Properties

Name Type Description
address object
latitude number
longitude number
radius number The radius in meters for the location search. Any location within this radius will be returned.
View JSON Schema on GitHub

JSON Schema

location.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://neynar.com/schemas/Location",
  "title": "Location",
  "description": "Coordinates and place names for a location",
  "properties": {
    "address": {
      "$ref": "#/components/schemas/LocationAddress"
    },
    "latitude": {
      "format": "double",
      "maximum": 90,
      "minimum": -90,
      "type": "number"
    },
    "longitude": {
      "format": "double",
      "maximum": 180,
      "minimum": -180,
      "type": "number"
    },
    "radius": {
      "description": "The radius in meters for the location search. Any location within this radius will be returned.",
      "minimum": 0,
      "type": "number"
    }
  },
  "required": [
    "latitude",
    "longitude"
  ],
  "type": "object"
}