{"components":{"parameters":{"active":{"description":"Filter, warning active within this time interval. ISO8601 interval format using '/' separator (e.g., '2025-04-16T16:25:04+02:00/2025-04-17T16:25:04+02:00'). Start or end may be omitted for open-ended intervals.","example":"2025-04-16T16:25:04+02:00/2025-04-17T16:25:04+02:00","explode":false,"in":"query","name":"active","required":false,"schema":{"type":"string"}},"awareness_level":{"description":"Filter, warning having this awareness_level. One awareness_level, or several awareness_level values separated by a pipe symbol (|). Reference: https://gitlab.com/meteoalarm-pm-group/documents/-/raw/master/MeteoAlarm_CAP_Profile_v2.0.pdf?inline=true","example":"2; yellow; Moderate","explode":false,"in":"query","name":"awareness_level","required":false,"schema":{"type":"string"}},"awareness_type":{"description":"Filter, warning having this awareness_type. One awareness_type, or several awareness_type values separated by a pipe symbol (|). Reference: https://gitlab.com/meteoalarm-pm-group/documents/-/raw/master/MeteoAlarm_CAP_Profile_v2.0.pdf?inline=true","example":"14; Marine-Hazard","explode":false,"in":"query","name":"awareness_type","required":false,"schema":{"type":"string"}},"collectionId":{"description":"id of the collection","in":"path","name":"collectionId","required":true,"schema":{"enum":["warnings"],"type":"string"}},"datetime":{"description":"Filter, warning sent within this time interval. ISO8601 interval format using '/' separator (e.g., '2025-04-16T16:25:04+02:00/2025-04-17T16:25:04+02:00'). Both start and end dates are required.","example":"2025-04-16T16:25:04+02:00/2025-04-17T16:25:04+02:00","explode":false,"in":"query","name":"datetime","required":true,"schema":{"type":"string"}},"language":{"description":"Filter, language of the info block. The format is a locale, 2-digit ISO 639-1 language code followed by a dash (-), followed by an ISO 3166-1 country code","example":"en-GB","explode":false,"in":"query","name":"language","required":false,"schema":{"type":"string"}},"locationId":{"description":"id of the location","in":"path","name":"locationId","required":true,"schema":{"enum":["ALL","SE","SI","RO","MK","PL","FR","EE","GR","LU","LT","IT","DE","ES","BA","NL","CH","FI","PT","RS","MD","SK","HR","BG","IE","CZ","LV","IS","HU","UK","BE","DK","ME","AT","MT","CY","IL","UA"],"type":"string"}},"page":{"description":"specifies page number of result to be retrieved","in":"query","name":"page","required":false,"schema":{"type":"integer"}}},"schemas":{"collection":{"properties":{"crs":{"default":["http://www.opengis.net/def/crs/OGC/1.3/CRS84"],"description":"The coordinate reference systems in which geometries may be retrieved. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e.WGS84 longitude/latitude.","items":{"type":"string"},"type":"array"},"default_output_format":{"description":"the default output format","example":"GeoJSON","type":"string"},"description":{"description":"Description of the collection","example":"Access to realtime and archived warnings issued by the MeteoAlarm Members","type":"string"},"extent":{"$ref":"#/components/schemas/extent"},"id":{"description":"the id of the collection","example":"warnings","type":"string"},"links":{"example":[{"href":"/edr/v1/collections/warnings","rel":"self","title":"Warnings Collection","type":"application/json"},{"href":"/edr/v1/collections/warnings/locations","rel":"data","title":"Locations for Warnings Collection","type":"application/geo+json"}],"type":"array"},"mqtt":{"$ref":"#/components/schemas/mqtt"},"output_formats":{"description":"supported output formats","example":["GeoJSON"],"type":"array"},"title":{"description":"Title of the collection","example":"Warning Collection","type":"string"}},"required":["links"],"type":"object"},"collections":{"properties":{"collections":{"items":{"$ref":"#/components/schemas/collection"},"type":"array"},"links":{"example":[{"href":"/edr/v1/collections","rel":"self","title":"List of collections","type":"application/json"}],"items":{"$ref":"#/components/schemas/linkurl"},"type":"array"}},"required":["collections","links"],"type":"object"},"documentation":{"properties":{"description":{"type":"string"},"title":{"type":"string"},"url":{"type":"string"}},"required":["description","title","url"],"type":"object"},"exception":{"properties":{"code":{"type":"string"},"description":{"type":"string"}},"required":["code"],"type":"object"},"extent":{"properties":{"crs":{"default":"http://www.opengis.net/def/crs/OGC/1.3/CRS84","description":"Coordinate reference system of the coordinates in the spatial extent.  Only WGS84 longitude / latitude is supported.","enum":["http://www.opengis.net/def/crs/OGC/1.3/CRS84"],"type":"string"},"spatial":{"description":"West, north, east, south edges of the spatial extent. Only WGS84 longitude / latitude is supported.","example":[-180,-90,180,90],"items":{"type":"number"},"type":"array"},"temporal":{"description":"Begin and end times of the temporal extent.","example":["2023-11-11T12:22:11Z","2023-11-24T12:32:43Z"],"items":{"type":"string"},"type":"array"},"trs":{"default":"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian","description":"Temporal reference system of the coordinates in the temporal extent (property `temporal`). Only the Gregorian calendar is supported.","enum":["http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"],"type":"string"}},"type":"object"},"featureCollectionGeoJSON":{"properties":{"features":{"items":{"$ref":"#/components/schemas/featureGeoJSON"},"type":"array"},"links":{"items":{"$ref":"#/components/schemas/linkurl"},"type":"array"},"metadata":{"description":"Pagination / query metadata","type":"object"},"numberMatched":{"type":"integer"},"numberReturned":{"type":"integer"},"timeStamp":{"type":"string"},"type":{"enum":["FeatureCollection"],"type":"string"}},"required":["features","type"],"type":"object"},"featureCollectionGeoJSONForLocations":{"example":{"features":[{"geometry":{"coordinates":[[[-25,35],[45,35],[45,75],[-25,75],[-25,35]]],"type":"Polygon"},"id":"ALL","properties":{"title":"All of Europe"},"type":"Feature"}],"type":"FeatureCollection"},"properties":{"features":{"items":{"$ref":"#/components/schemas/locationFeatureGeoJSON"},"type":"array"},"type":{"enum":["FeatureCollection"],"type":"string"}},"required":["features","type"],"type":"object"},"featureGeoJSON":{"properties":{"geometry":{"$ref":"#/components/schemas/geometryGeoJSON"},"id":{"description":"Feature UUID (same as properties.OBJECTID)","example":"81da3377-4c35-4479-ab26-4fe5418ca464","type":"string"},"links":{"$ref":"#/components/schemas/geometryLinks"},"properties":{"properties":{"OBJECTID":{"description":"Unique id of this GIS feature","example":"81da3377-4c35-4479-ab26-4fe5418ca464","type":"string"},"alertId":{"description":"Warning UUID shared by all features belonging to the same CAP alert","example":"830b871b-da1d-49a7-9d75-c8f7276de440","type":"string"},"countryCode":{"description":"ISO country code(s) of the warning region(s)","example":"AT","type":"string"},"featureType":{"description":"Area type — geocode (named area) or polygon (custom polygon)","enum":["geocode","polygon"],"example":"geocode","type":"string"},"geometryDescription":{"description":"Human-readable explanation of geometryType","example":"geometry is bbox only, link (member of the feature's links array) with type application/geo+json points to geojson describing the exact shape","type":"string"},"geometryType":{"description":"What the inline geometry represents — exact shape, bounding box only, or no geometry","enum":["exact","bbox","no_geometry"],"example":"bbox","type":"string"},"hubLanguage":{"description":"Language/locale of this feature's CAP info block","example":"de-DE","type":"string"},"hubLink":{"description":"Convenience URL to the CAP XML for this warning","example":"https://storage.meteoalarm.org/api/warnings/aee7f756-c1f6-49d3-8691-96038b6d4e3a.xml","type":"string"},"hubTime":{"description":"When the warning was ingested into MeteoAlarm","example":"2025-04-16T14:30:00Z","type":"string"},"indexArea":{"description":"Index of the CAP area within the info block","example":0,"type":"integer"},"indexFeature":{"description":"Index of the geometry/feature within that area","example":0,"type":"integer"},"indexInfo":{"description":"Index of the CAP info block this feature comes from","example":0,"type":"integer"},"referencedAlertIds":{"description":"Related/referenced warning UUIDs (e.g. Update/Cancel references)","example":["d4ca9bd4-e8df-43fe-906a-7719ce0dc871"],"items":{"type":"string"},"type":"array"},"supersedeType":{"description":"How it was superseded (e.g. Update, Cancel) when applicable","nullable":true,"type":"string"},"supersededAt":{"description":"Timestamp when this warning was superseded","nullable":true,"type":"string"},"supersededByAlertId":{"description":"UUID of the warning that superseded this one, if any","nullable":true,"type":"string"}},"type":"object"},"type":{"enum":["Feature"],"type":"string"}},"required":["geometry","properties","type"],"type":"object"},"geometryGeoJSON":{"properties":{"type":{"enum":["Polygon","MultiPolygon"],"type":"string"}},"required":["type"],"type":"object"},"geometryLinks":{"description":"Related CAP and geometry resources for the feature","example":[{"href":"https://storage.meteoalarm.org/api/warnings/aee7f756-c1f6-49d3-8691-96038b6d4e3a.xml","rel":"canonical","type":"application/xml"},{"href":"https://storage.meteoalarm.org/api/warnings/aee7f756-c1f6-49d3-8691-96038b6d4e3a.json","rel":"json","type":"application/json"},{"href":"https://storage.meteoalarm.org/api/warnings/aee7f756-c1f6-49d3-8691-96038b6d4e3a.xml","rel":"xml","type":"application/xml"},{"href":"https://storage.meteoalarm.org/api/features/cee7f756-c1f6-49d3-8691-96038b6d4e3a.geojson","rel":"geometry","type":"application/geo+json"}],"type":"array"},"linkurl":{"properties":{"href":{"type":"string"},"hreflang":{"example":"en","type":"string"},"rel":{"example":"prev","type":"string"},"type":{"example":"application/geo+json","type":"string"}},"required":["href"],"type":"object"},"locationFeatureGeoJSON":{"example":{"geometry":{"coordinates":[[[-25,35],[45,35],[45,75],[-25,75],[-25,35]]],"type":"Polygon"},"id":"ALL","properties":{"title":"All of Europe"},"type":"Feature"},"properties":{"geometry":{"$ref":"#/components/schemas/geometryGeoJSON"},"id":{"description":"Location identifier (country code or 'ALL' for all of Europe)","example":"ALL","type":"string"},"properties":{"properties":{"title":{"description":"Human-readable name of the location","example":"All of Europe","type":"string"}},"required":["title"],"type":"object"},"type":{"enum":["Feature"],"type":"string"}},"required":["geometry","properties","type","id"],"type":"object"},"mqtt":{"properties":{"broker_url":{"description":"the url of the MQTT broker","example":"mqtt://api.meteoalarm.org","type":"string"},"description":{"description":"the description of the MQTT broker","type":"string"},"topics":{"description":"available topics","example":["realtime/HU","realtime/ALL"],"type":"array"}},"type":"object"},"req-classes":{"properties":{"conformsTo":{"example":["http://www.opengis.net/spec/ogcapi-edr-1/1.0/conf/core","http://www.opengis.net/spec/ogcapi-common-1/1.0/conf/core","http://www.opengis.net/spec/ogcapi-common-2/1.0/conf/collections","http://www.opengis.net/spec/ogcapi-edr-1/1.0/conf/html","http://www.opengis.net/spec/ogcapi-edr-1/1.0/conf/geojson"],"items":{"type":"string"},"type":"array"}},"required":["conformsTo"],"type":"object"},"root":{"properties":{"links":{"example":[{"href":"/edr/v1","rel":"self","title":"Landing Page","type":"application/json"},{"href":"/edr/v1/api","rel":"service-desc","title":"API definition","type":"application/json"},{"href":"https://api.meteoalarm.org/conformance","rel":"conformance","title":"OGC conformance classes implemented by this API","type":"application/json"},{"href":"https://api.meteoalarm.org/ogc-api/collections","rel":"data","title":"Metadata about the resource collections","type":"application/json"}],"items":{"$ref":"#/components/schemas/linkurl"},"type":"array"}},"required":["links"],"type":"object"},"timeStamp":{"description":"This property indicates the time and date when the response was generated.","type":"string"}},"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","description":"Use Bearer token in Authorization header: 'Authorization: Bearer <token>'","scheme":"bearer","type":"http"},"tokenQuery":{"description":"Use token as query parameter: '?token=<token>'","in":"query","name":"token","type":"apiKey"}}},"externalDocs":{"description":"MQTT API - Real-time warnings documentation","url":"/mqtt"},"info":{"description":"MeteoAlarm is an Early Warning Dissemination System that visualises, aggregates, and accessibly provides awareness information from 38 European National Meteorological and Hydrological Services. MeteoAlarm aggregates and accessibly provides warnings from the MeteoAlarm Members through this OGC API.\nReal-time warnings are available via MQTT. See the [MQTT API documentation](/mqtt) for broker details, topics, and message format.\n","title":"MeteoAlarm OGC-API EDR","version":"1.0.0"},"openapi":"3.0.1","paths":{"/collections/warnings/locations":{"get":{"operationId":"getLocations","parameters":[{"$ref":"#/components/parameters/collectionId"}],"responses":{"200":{"content":{"application/geo+json":{"schema":{"$ref":"#/components/schemas/featureCollectionGeoJSONForLocations"}},"text/html":{"schema":{"type":"string"}}},"description":"Available locations within the collection.\n\nAnnotated example (`# comments` are documentation-only; not present in real responses):\n\n```\n{\n  \"type\": \"FeatureCollection\", # GeoJSON FeatureCollection\n  \"features\": [\n    {\n      \"type\": \"Feature\", # GeoJSON Feature\n      \"id\": \"ALL\", # Location id (ISO country code, or ALL for Europe)\n      \"geometry\": {\n        \"type\": \"Polygon\", # Bounding box of the location as a polygon\n        \"coordinates\": [[[-25, 35], [45, 35], [45, 75], [-25, 75], [-25, 35]]]\n      },\n      \"properties\": {\n        \"title\": \"All of Europe\" # Human-readable location name\n      }\n    }\n  ]\n}\n```\n"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/exception"}}},"description":"Unauthorized - Invalid or missing authentication token"}},"security":[{"bearerAuth":[]},{"tokenQuery":[]}],"summary":"Retrieve available locations within the warnings collection"}},"/collections/warnings/locations/{locationId}":{"get":{"operationId":"queryLocation","parameters":[{"$ref":"#/components/parameters/collectionId"},{"$ref":"#/components/parameters/locationId"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/datetime"},{"$ref":"#/components/parameters/active"},{"$ref":"#/components/parameters/language"},{"$ref":"#/components/parameters/awareness_type"},{"$ref":"#/components/parameters/awareness_level"}],"responses":{"200":{"content":{"application/geo+json":{"example":{"features":[{"geometry":{"coordinates":[[[16.2,48.1],[16.6,48.1],[16.6,48.3],[16.2,48.3],[16.2,48.1]]],"type":"Polygon"},"id":"81da3377-4c35-4479-ab26-4fe5418ca464","links":[{"href":"https://storage.meteoalarm.org/api/warnings/aee7f756-c1f6-49d3-8691-96038b6d4e3a.xml","rel":"canonical","type":"application/xml"},{"href":"https://storage.meteoalarm.org/api/warnings/aee7f756-c1f6-49d3-8691-96038b6d4e3a.xml","rel":"xml","type":"application/xml"},{"href":"https://storage.meteoalarm.org/api/warnings/aee7f756-c1f6-49d3-8691-96038b6d4e3a.json","rel":"json","type":"application/json"},{"href":"https://storage.meteoalarm.org/api/features/cee7f756-c1f6-49d3-8691-96038b6d4e3a.geojson","rel":"geometry","type":"application/geo+json"}],"properties":{"OBJECTID":"81da3377-4c35-4479-ab26-4fe5418ca464","alertId":"830b871b-da1d-49a7-9d75-c8f7276de440","countryCode":"AT","featureType":"geocode","geometryDescription":"geometry is bbox only, link (member of the feature's links array) with type application/geo+json points to geojson describing the exact shape","geometryType":"bbox","hubLanguage":"de-DE","hubLink":"https://storage.meteoalarm.org/api/warnings/aee7f756-c1f6-49d3-8691-96038b6d4e3a.xml","hubTime":"2025-04-16T14:30:00Z","indexArea":0,"indexFeature":0,"indexInfo":0,"referencedAlertIds":["d4ca9bd4-e8df-43fe-906a-7719ce0dc871"]},"type":"Feature"}],"metadata":{"page":1,"page_size":100,"total_count":1,"total_pages":1},"type":"FeatureCollection"},"schema":{"$ref":"#/components/schemas/featureCollectionGeoJSON"}}},"description":"A GeoJSON FeatureCollection of warning features for the requested location.\n\nAnnotated example (`# comments` are documentation-only; not present in real responses):\n\n```\n{\n  \"type\": \"FeatureCollection\", # GeoJSON FeatureCollection\n  \"metadata\": { # Pagination / query metadata from the API\n    \"page\": 1,\n    \"page_size\": 100,\n    \"total_count\": 1,\n    \"total_pages\": 1\n  },\n  \"features\": [\n    {\n      \"type\": \"Feature\", # GeoJSON Feature\n      \"id\": \"81da3377-4c35-4479-ab26-4fe5418ca464\", # Feature UUID (same as properties.OBJECTID)\n      \"geometry\": { # Inline geometry (often a bbox polygon when geometryType is bbox)\n        \"type\": \"Polygon\",\n        \"coordinates\": [[[16.2, 48.1], [16.6, 48.1], [16.6, 48.3], [16.2, 48.3], [16.2, 48.1]]]\n      },\n      \"links\": [ # Related resources (CAP XML/JSON, exact geometry, etc.)\n        {\n          \"href\": \"https://storage.meteoalarm.org/api/warnings/aee7f756-c1f6-49d3-8691-96038b6d4e3a.xml\",\n          \"rel\": \"canonical\", # Preferred CAP XML location for this warning\n          \"type\": \"application/xml\"\n        },\n        {\n          \"href\": \"https://storage.meteoalarm.org/api/warnings/aee7f756-c1f6-49d3-8691-96038b6d4e3a.xml\",\n          \"rel\": \"xml\", # CAP alert as XML\n          \"type\": \"application/xml\"\n        },\n        {\n          \"href\": \"https://storage.meteoalarm.org/api/warnings/aee7f756-c1f6-49d3-8691-96038b6d4e3a.json\",\n          \"rel\": \"json\", # CAP alert as JSON\n          \"type\": \"application/json\"\n        },\n        {\n          \"href\": \"https://storage.meteoalarm.org/api/features/cee7f756-c1f6-49d3-8691-96038b6d4e3a.geojson\",\n          \"rel\": \"geometry\", # Exact warning geometry (when inline geometry is only a bbox)\n          \"type\": \"application/geo+json\"\n        }\n      ],\n      \"properties\": {\n        \"OBJECTID\": \"81da3377-4c35-4479-ab26-4fe5418ca464\", # Unique id of this GIS feature\n        \"alertId\": \"830b871b-da1d-49a7-9d75-c8f7276de440\", # Warning UUID (shared by all features of the same CAP alert)\n        \"countryCode\": \"AT\", # ISO country code(s) of the warning region(s)\n        \"featureType\": \"geocode\", # Area type: geocode (named area) or polygon (custom polygon)\n        \"geometryType\": \"bbox\", # What the inline geometry represents\n        \"geometryDescription\": \"geometry is bbox only, link (member of the feature's links array) with type application/geo+json points to geojson describing the exact shape\",\n        \"hubLanguage\": \"de-DE\", # Language/locale of this feature's CAP info block\n        \"hubTime\": \"2025-04-16T14:30:00Z\", # When the warning was ingested into MeteoAlarm\n        \"hubLink\": \"https://storage.meteoalarm.org/api/warnings/aee7f756-c1f6-49d3-8691-96038b6d4e3a.xml\", # Link to CAP Warning XML (also in links)\n        \"indexInfo\": 0, # Index of the CAP <info> block this feature comes from\n        \"indexArea\": 0, # Index of the CAP <area> within that info block\n        \"indexFeature\": 0, # Index of the geometry/feature within that area\n        \"referencedAlertIds\": [\"d4ca9bd4-e8df-43fe-906a-7719ce0dc871\"], # Related/referenced warning UUIDs (e.g. Update/Cancel references)\n        \"supersededByAlertId\": null, # If set, UUID of the warning that superseded this one\n        \"supersededAt\": null, # Timestamp when this warning was superseded\n        \"supersedeType\": null # How it was superseded (e.g. Update, Cancel) when applicable\n      }\n    }\n  ]\n}\n```\n"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/exception"}}},"description":"Unauthorized - Invalid or missing authentication token"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/exception"}},"text/html":{"schema":{"type":"string"}}},"description":"An error occured."}},"security":[{"bearerAuth":[]},{"tokenQuery":[]}],"summary":"Query warning data of collection for location"}}},"servers":[{"url":"https://api-test.meteoalarm.org/edr/v1"}]}