Skip to main content

GeonameData

Geoname data, which contain a reference to his parent location

type GeonameData {
code: ID!
name: String!
parent: Geoname!
country: Country
type: String!
coordinates: Coordinates!
}

Fields​

GeonameData.code ● ID! non-null scalar​

location code

GeonameData.name ● String! non-null scalar​

name of location

GeonameData.parent ● Geoname! non-null object​

Parent location, the top location is itself

GeonameData.country ● Country scalar​

ISO 3166-1 alpha-2 format country code with enclosing double quotes "ES"

GeonameData.type ● String! non-null scalar​

Hierarchy returned by geonames service. It might change depending on the hotel and its location.

GeonameData.coordinates ● Coordinates! non-null object​

Geographical coordinates corresponding to a location.

Member Of​

Geoname object