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
| Field | Type | Description |
|---|---|---|
| id | Int | Unique identifier for this country. |
| name | String | Display name of this country. |
| endonymName | String | Endonym (local) name of this country, if available. |
| isoCode | String | ISO 3166-1 alpha-2 code for this country. |
| currency | Currency | Currency 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.