Skip to Content

Location

Information about the user location.

Type Definition

type Location { zipcode: String city: String subdivisions: [String] country: String continent: String accuracyRadius: Int latitude: Float longitude: Float timeZone: String }

Fields

FieldTypeDescription
zipcodeStringReturns the zipcode for this location.
cityStringReturns the city for this location.
subdivisions[String]Returns the subdivisions for this location.
countryStringReturns the country for this location.
continentStringReturns the continent for this location.
accuracyRadiusIntReturns the accuracy radius in meters for this location.
latitudeFloatReturns the latitude for this location.
longitudeFloatReturns the longitude for this location.
timeZoneStringReturns the time zone for this location.

Relationships

The Location type represents structured geolocation data that can be returned by queries or mutations. It contains coordinate information, administrative divisions, and timezone data that together provide comprehensive location context for a user.

Example

{ zipcode city subdivisions country continent accuracyRadius latitude longitude timeZone }

Implements

This type does not implement any interfaces.

  • String