{
  "$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"
}