Special Filter: geography

The geography filter is made up of 3 granularity levels. These are continent, country, and usState.

The usState value applies only to United States. Continents and countries are presented in 2-letter codes. Countries follow ISO standard 3166-1 alpha-2. US states are presented in ISO 3166-2:US format.

In the following example, the clients have to be either:

In the continents Asia or Oceania
In the country Germany
In the US states New York, New Jersey, or Kansas

{

    "type": "stringArray",

    "continent": ["AS", "OC"],

    "country": ["DE"],

    "usState": ["US-NY", "US-NJ", "US-KS"]

}

Important:In this filter, the type can be string or stringArray. Regular expressions are not supported in geography filters.