OBJECT

CountryRegion

A region in a country. This could be a state, province, district, or otherwise major political division.

link GraphQL Schema definition

1type CountryRegion {
2
3# The region FIPS 10-4 code
4fipsCode: ID
56
5# The region ISO-3166 code
6isoCode: ID!
56
7# The region WikiData id
8wikiDataId: ID
56
9# The region name
10name: String!
56
11# The region's capital city
12capital: String
56
13# The region this region is in, if any
14containingRegion: CountryRegion
56
15# The region's country
16country: Country!
56
17# The number of populated places in this region
18numPopulatedPlaces: 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
42populatedPlaces(
43namePrefix: String,
44namePrefixDefaultLangResults: Boolean,
45minPopulation: Int,
46maxPopulation: Int,
47timeZoneIds: [ID],
48types: [String],
49sort: String,
50first: Int,
51after: String,
52last: Int,
53before: String,
54includeDeleted: IncludeDeletedFilterType
55): RegionPopulatedPlacesConnection
57
58}