Skip to main content

Country

Defines a country.

type Country {
code: String!
id: ID!
name: String!
states: [State!]!
}

Fields

Country.code ● String! non-null scalar

A UTF-8 string of 2 characters representing the code for the country.

Country.id ● ID! non-null scalar

The identifier for the country.

Country.name ● String! non-null scalar

A UTF-8 string representation the name of the country.

Country.states ● [State!]! non-null object

A collection of states associated with the country.

Member Of

CountryList object