OBJECT
CountryRegion
A region in a country. This could be a state, province, district, or otherwise major political division.
link GraphQL Schema definition
1 type CountryRegion { 2 3 # The region FIPS 10-4 code 4 ID : 56 5 # The region ISO-3166 code 6 ID! : 56 7 # The region WikiData id 8 ID : 56 9 # The region name 10 String! : 56 11 # The region's capital city 12 String : 56 13 # The region this region is in, if any 14 CountryRegion : 56 15 # The region's country 16 Country! : 56 17 # The number of populated places in this region 18 Int : 56 19 # Find populated places in this region 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 ): RegionPopulatedPlacesConnection 57 58 }
link Required by
- CountryA country
- CountryRegionA region in a country. This could be a state, province, district, or otherwise major political division.
- CountryRegionEdgeWhen paging regions, wraps a region node together with the cursor referencing its position in the results
- PopulatedPlaceA place with some population of inhabitants