Skip to Content

Country

Provides information about a country, such as its name, ISO code, endonym, and currency.

Type Definition

type Country { id: Int name: String endonymName: String isoCode: String currency: Currency }

Fields

FieldTypeDescription
idIntUnique identifier for this country.
nameStringDisplay name of this country.
endonymNameStringEndonym (local) name of this country, if available.
isoCodeStringISO 3166-1 alpha-2 code for this country.
currencyCurrencyCurrency object for this country.

Relationships

The Country type represents a geographic region and its associated economic information. It maintains a relationship with the Currency type, which provides details about the currency used in that country.

Example

{ id name endonymName isoCode currency { code name } }

Implements

This type does not implement any interfaces.