OBJECT
Country
A country
link GraphQL Schema definition
1 type Country { 2 3 # The ISO-3166 country code 4 : ID! 88 5 # The country dialing prefix 6 : String! 88 7 # The country WikiData id 8 : ID! 88 9 # The country's capital city 10 : String 88 11 # The country name 12 : String! 88 13 # A list of supported ISO-4217 currency codes 14 : [String]! 88 15 # The country flag image 16 : String! 88 17 # The number of regions in this country 18 : Int! 88 19 # Find populated places in this country 20 # 21 # Arguments 22 # namePrefix: Only places whose names start with this prefix. If 23 # language is set, the prefix will be matched on the name as it appears in that 24 # language. 25 # namePrefixDefaultLangResults: When name-prefix matching, 26 # whether or not to match on names in the default language if a non-default 27 # language is requested. 28 # minPopulation: Only places having at least this population 29 # maxPopulation: Only places having no more than this population 30 # timeZoneIds: Only places in these time-zones 31 # types: Only places for these types 32 # sort: How to sort place results 33 # Format: ±SORT_FIELD,±SORT_FIELD 34 # where SORT_FIELD = elevation | name | population 35 # first: How many results to retrieve from the beginning (or 36 # after the 'after' cursor, if specified) 37 # after: The cursor id after which to get results 38 # last: How many results to retrieve from the end (or before the 39 # 'before' cursor, if specified) 40 # before: The cursor id before which to get results 41 # includeDeleted: Whether to include any places marked deleted 42 ( 43 : String, 44 : Boolean, 45 : Int, 46 : Int, 47 : [ID], 48 : [String], 49 : String, 50 : Int, 51 : String, 52 : Int, 53 : String, 54 : IncludeDeletedFilterType 55 ): CountryPopulatedPlacesConnection 88 56 # Look up a region in this country 57 # 58 # Arguments 59 # code: An ISO-3166 or FIPS region code 60 (: ID): CountryRegion 88 61 # Find regions in this country 62 # 63 # Arguments 64 # namePrefix: Only regions whose names start with this prefix. If 65 # language is set, the prefix will be matched on the name as it appears in that 66 # language. 67 # namePrefixDefaultLangResults: When name-prefix matching, 68 # whether or not to match on names in the default language if a non-default 69 # language is requested. 70 # sort: How to sort regions 71 # Format: ±SORT_FIELD 72 # where SORT_FIELD = fipsCode | isoCode | name 73 # first: How many results to retrieve from the beginning (or 74 # after the 'after' cursor, if specified) 75 # after: The cursor id after which to get results 76 # last: How many results to retrieve from the end (or before the 77 # 'before' cursor, if specified) 78 # before: The cursor id before which to get results 79 ( 80 : String, 81 : Boolean, 82 : String, 83 : Int, 84 : String, 85 : Int, 86 : String 87 ): CountryRegionsConnection 89 90 }
link Required by
- CountryEdgeWhen paging countries, wraps a country node together with the cursor referencing its position in the results
- CountryRegionA region in a country. This could be a state, province, district, or otherwise major political division.
- PopulatedPlaceA place with some population of inhabitants
- QueryThe set of possible top-level queries