CustomLocalAqi
Stay organized with collections
Save and categorize content based on your preferences.
Expresses a 'country/region to AQI' relationship. Pairs a country/region with a desired AQI so that air quality data that is required for that country/region will be displayed according to the chosen AQI.
JSON representation |
{
"regionCode": string,
"aqi": string
} |
Fields |
regionCode |
string
The country/region requiring the custom AQI. Value should be provided using ISO 3166-1 alpha-2 code.
|
aqi |
string
The AQI to associate the country/region with. Value should be a valid index code.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eThe JSON object defines a relationship between a country/region and a specific Air Quality Index (AQI).\u003c/p\u003e\n"],["\u003cp\u003eIt uses \u003ccode\u003eregionCode\u003c/code\u003e (ISO 3166-1 alpha-2 code) to identify the country/region and \u003ccode\u003eaqi\u003c/code\u003e to specify the desired AQI.\u003c/p\u003e\n"],["\u003cp\u003eThis ensures air quality data for that country/region is displayed using the chosen AQI.\u003c/p\u003e\n"]]],[],null,["# CustomLocalAqi\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nExpresses a 'country/region to AQI' relationship. Pairs a country/region with a desired AQI so that air quality data that is required for that country/region will be displayed according to the chosen AQI.\n\n| JSON representation |\n|-------------------------------------------------|\n| ``` { \"regionCode\": string, \"aqi\": string } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `regionCode` | `string` The country/region requiring the custom AQI. Value should be provided using [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code. |\n| `aqi` | `string` The AQI to associate the country/region with. Value should be a [valid index](/maps/documentation/air-quality/laqis) code. |"]]