{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"air-quality.schema.json","title":"Daily air quality summary per monitoring station and pollutant (EEA up-to-date data, E2a)","description":"Source: European Environment Agency Air Quality Download Service, data set E2a (up-to-date hourly values reported by the national networks of the EEA member and cooperating countries, tested by EEA automated QC, not yet validated), with station metadata from the EEA AQ e-Reporting sampling point extract. Licence CC BY 4.0, source: European Environment Agency. One record per sampling point, pollutant and day: the mean, minimum and maximum of the valid hourly values, computed by agentdatafeed. Exceedances are indicative only. Refreshed daily, last 7 days, not real time.","type":"object","required":["id","country","sampling_point","pollutant","date","mean","min_hourly","max_hourly","hours","last_hour_end","last_value","unit","exceedances","eea_verification","url","verification","paid_placement","source_id","source_url","retrieved_at"],"additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^EEA-[A-Z]{2}-.+-(PM10|PM2\\.5|NO2|O3)-[0-9]{4}-[0-9]{2}-[0-9]{2}$","description":"EEA- plus country, sampling point, pollutant and date"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"Reporting country as used by the EEA (ISO 3166-1 alpha-2, with GB for the United Kingdom and XK for Kosovo)"},"station_code":{"type":["string","null"],"description":"European (EoI) station code, for example NL00014; null when the station is not yet in the EEA metadata"},"station_name":{"type":["string","null"],"description":"Station name as reported"},"sampling_point":{"type":"string","description":"EEA sampling point identifier (one instrument for one pollutant at a station), for example SPO-NL00014_00008_101"},"pollutant":{"enum":["PM2.5","PM10","NO2","O3"],"description":"Pollutant: fine particulate matter (PM2.5), particulate matter (PM10), nitrogen dioxide (NO2) or ozone (O3)"},"date":{"type":"string","format":"date","description":"Measurement day as reported, in the station's reporting time zone (see timezone)"},"mean":{"type":"number","description":"Mean of the valid hourly values of the day, computed by agentdatafeed; with fewer than 18 hours it is not a valid daily mean under Directive 2008/50/EC"},"min_hourly":{"type":"number","description":"Lowest valid hourly value of the day"},"max_hourly":{"type":"number","description":"Highest valid hourly value of the day"},"hours":{"type":"integer","minimum":1,"maximum":25,"description":"Number of valid hourly values that day (24 for a complete day)"},"last_hour_end":{"type":"string","format":"date-time","description":"End of the last valid hour of the day, as reported (no time zone offset; see timezone)"},"last_value":{"type":"number","description":"Value of the last valid hour of the day"},"unit":{"type":"string","description":"Unit of all values, ug/m3 (micrograms per cubic metre)"},"exceedances":{"type":"array","items":{"enum":["pm10-daily-limit-50","no2-hourly-limit-200","no2-alert-threshold-400","o3-information-threshold-180","o3-alert-threshold-240"]},"description":"Indicative crossings of Directive 2008/50/EC values that day: PM10 daily mean above 50 (only with 18 or more hours), NO2 hour above 200, NO2 above 400 for three consecutive hours, O3 hour above 180 (information threshold) or above 240 (alert threshold). Based on unverified data; not an official exceedance count"},"eea_verification":{"enum":["verified","preliminary-verified","not-verified"],"description":"Verification status of the values as reported to the EEA (E2a data are normally not-verified)"},"station_type":{"enum":["background","traffic","industrial",null],"description":"Station type as reported"},"station_area":{"type":["string","null"],"description":"Station area as reported: urban, suburban, rural, rural-nearcity, rural-regional or rural-remote"},"municipality":{"type":["string","null"],"description":"Municipality of the station as reported"},"network":{"type":["string","null"],"description":"Name of the national or regional air quality network"},"latitude":{"type":["number","null"],"minimum":-90,"maximum":90,"description":"Station latitude (WGS 84)"},"longitude":{"type":["number","null"],"minimum":-180,"maximum":180,"description":"Station longitude (WGS 84)"},"altitude_m":{"type":["number","null"],"description":"Station altitude in metres"},"timezone":{"type":["string","null"],"description":"Reporting time zone of the station as an offset from UTC, for example UTC+01"},"url":{"type":"string","description":"EEA datahub page of the air quality time series"},"verification":{"const":"official-publication"},"paid_placement":{"const":false},"source_id":{"const":"eea-air-quality-e2a"},"source_url":{"type":"string"},"retrieved_at":{"type":"string"}}}