{
 "openapi": "3.1.0",
 "info": {
  "title": "IPMA fire risk: data.promptugal.news",
  "version": "v0.1.47",
  "description": "The daily fire risk class (RCM, low to maximum) for every municipality of mainland Portugal, today and the next two days.\n\nPublisher: IPMA, Instituto Português do Mar e da Atmosfera. Reuse terms: IPMA: free to copy and use for personal or public use if the use has no profit-making or offensive purpose; always name IPMA as the source. Not a warning service: follow IPMA and ANEPC.\n\nCode: Apache-2.0. Text: CC BY 4.0. The data keeps the terms of its own source (see each source card); nothing here relaxes them.",
  "license": {
   "name": "Apache-2.0 for code; each source keeps its own data terms",
   "identifier": "Apache-2.0"
  },
  "contact": {
   "name": "PrompTugal.news data",
   "url": "https://github.com/PrompTugal/PrompTugal__News__Data"
  }
 },
 "servers": [
  {
   "url": "https://data.promptugal.news",
   "description": "Production"
  }
 ],
 "externalDocs": {
  "description": "How to use the API",
  "url": "https://data.promptugal.news/api/"
 },
 "paths": {
  "/api/v1/ipma-fire-risk/latest.json": {
   "get": {
    "operationId": "get_ipma_fire_risk_latest",
    "tags": [
     "ipma-fire-risk"
    ],
    "summary": "IPMA fire risk: the latest read",
    "description": "IPMA's daily fire risk class (RCM, 1 low to 5 maximum) for each municipality by its DICO code (district and municipality), for today and the next two days.",
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "source": {
           "type": "string"
          },
          "title": {
           "type": "string"
          },
          "read_at": {
           "type": "string"
          },
          "provenance": {
           "type": "object",
           "properties": {
            "source": {
             "type": "string"
            },
            "page": {
             "type": "string"
            },
            "read_at": {
             "type": "string"
            },
            "by": {
             "type": "string"
            },
            "terms": {
             "type": "string"
            },
            "sources": {
             "type": "array",
             "items": {
              "type": "string",
              "format": "uri"
             }
            },
            "source_pattern": {
             "type": "string"
            }
           },
           "required": [
            "source",
            "page",
            "read_at",
            "by",
            "terms",
            "sources",
            "source_pattern"
           ]
          },
          "about": {
           "type": "string"
          },
          "files": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "d": {
              "type": "integer"
             },
             "date": {
              "type": "string",
              "format": "date"
             },
             "run": {
              "type": "string",
              "format": "date"
             },
             "file_date": {
              "type": "string"
             },
             "source": {
              "type": "string",
              "format": "uri"
             }
            },
            "required": [
             "d",
             "date",
             "run",
             "file_date",
             "source"
            ]
           }
          },
          "counts": {
           "type": "object",
           "properties": {
            "municipalities": {
             "type": "integer"
            },
            "today_by_level": {
             "type": "object",
             "properties": {
              "low": {
               "type": "integer"
              }
             },
             "required": [
              "low"
             ]
            }
           },
           "required": [
            "municipalities",
            "today_by_level"
           ]
          },
          "municipalities": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "dico": {
              "type": "string"
             },
             "lat": {
              "type": "number"
             },
             "lon": {
              "type": "number"
             },
             "days": {
              "type": "array",
              "items": {
               "type": "object",
               "properties": {
                "date": {
                 "type": "string",
                 "format": "date"
                },
                "rcm": {
                 "type": "integer"
                },
                "level": {
                 "type": "string"
                }
               },
               "required": [
                "date",
                "rcm",
                "level"
               ]
              }
             }
            },
            "required": [
             "dico",
             "lat",
             "lon",
             "days"
            ]
           }
          }
         },
         "required": [
          "source",
          "title",
          "read_at",
          "provenance",
          "about",
          "files",
          "counts",
          "municipalities"
         ],
         "x-inferred": true
        },
        "examples": {
         "example": {
          "summary": "A real file, cut to a readable size",
          "value": {
           "source": "ipma-fire-risk",
           "title": "IPMA fire risk",
           "read_at": "2026-11-18T19:17:22Z",
           "provenance": {
            "source": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d0.json",
            "page": "https://www.ipma.pt/en/riscoincendio/rcm.pt/",
            "read_at": "2026-11-18T19:17:22Z",
            "by": "sources/ipma-fire-risk/collect.mjs (code, no model; run by data@PrompTugal.dinis)",
            "terms": "IPMA: free to copy and use for personal or public use if the use has no profit-making or offensive purpose; always name IPMA as the source.",
            "sources": [
             "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d0.json",
             "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d1.json",
             "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d2.json"
            ],
            "source_pattern": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d{0,1,2}.json"
           },
           "about": "IPMA's daily fire risk class (RCM, 1 low to 5 maximum) for each municipality by its DICO code (district and municipality), for today and the next two days.",
           "files": [
            {
             "d": 0,
             "date": "2026-11-18",
             "run": "2026-11-17",
             "file_date": "2026-11-18 09:35:01",
             "source": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d0.json"
            },
            {
             "d": 1,
             "date": "2026-11-19",
             "run": "2026-11-17",
             "file_date": "2026-11-18 09:35:02",
             "source": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d1.json"
            },
            {
             "d": 2,
             "date": "2026-11-20",
             "run": "2026-11-17",
             "file_date": "2026-11-18 09:35:03",
             "source": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d2.json"
            }
           ],
           "counts": {
            "municipalities": 278,
            "today_by_level": {
             "low": 278
            }
           },
           "municipalities": [
            {
             "dico": "0101",
             "lat": 40.58,
             "lon": -8.44,
             "days": [
              {
               "date": "2026-11-18",
               "rcm": 1,
               "level": "low"
              },
              {
               "date": "2026-11-19",
               "rcm": 1,
               "level": "low"
              },
              {
               "date": "2026-11-20",
               "rcm": 1,
               "level": "low"
              }
             ]
            },
            {
             "dico": "0102",
             "lat": 40.6909,
             "lon": -8.4784,
             "days": [
              {
               "date": "2026-11-18",
               "rcm": 1,
               "level": "low"
              },
              {
               "date": "2026-11-19",
               "rcm": 1,
               "level": "low"
              },
              {
               "date": "2026-11-20",
               "rcm": 1,
               "level": "low"
              }
             ]
            },
            {
             "dico": "0103",
             "lat": 40.44,
             "lon": -8.44,
             "days": [
              {
               "date": "2026-11-18",
               "rcm": 1,
               "level": "low"
              },
              {
               "date": "2026-11-19",
               "rcm": 1,
               "level": "low"
              },
              {
               "date": "2026-11-20",
               "rcm": 1,
               "level": "low"
              }
             ]
            }
           ]
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No such file"
     }
    }
   }
  },
  "/api/v1/ipma-fire-risk/reads.json": {
   "get": {
    "operationId": "get_ipma_fire_risk_reads",
    "tags": [
     "ipma-fire-risk"
    ],
    "summary": "IPMA fire risk: every read, newest first",
    "description": "Every run of sources/ipma-fire-risk/collect.mjs, newest first: each request's address, HTTP status, size, the first 16 hex of its sha256, and whether the bytes changed since the run before. The bytes and the full sha256 go to the source's vault (see card.json: latest/reads-full.json), never to git.",
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "about": {
           "type": "string"
          },
          "source": {
           "type": "string"
          },
          "runs": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "at": {
              "type": "string"
             },
             "finished": {
              "type": "string"
             },
             "ok": {
              "type": "integer"
             },
             "failed": {
              "type": "integer"
             },
             "reads": {
              "type": "array",
              "items": {
               "type": "object",
               "properties": {
                "name": {
                 "type": "string"
                },
                "url": {
                 "type": "string",
                 "format": "uri"
                },
                "at": {
                 "type": "string"
                },
                "status": {
                 "type": [
                  "integer",
                  "string"
                 ]
                },
                "bytes": {
                 "type": "integer"
                },
                "sha256_prefix": {
                 "type": [
                  "string",
                  "null"
                 ]
                },
                "changed": {
                 "type": [
                  "boolean",
                  "string",
                  "null"
                 ]
                },
                "error": {
                 "type": "string"
                }
               },
               "required": [
                "name",
                "url",
                "at",
                "status",
                "bytes",
                "sha256_prefix",
                "changed"
               ]
              }
             }
            },
            "required": [
             "at",
             "finished",
             "ok",
             "failed",
             "reads"
            ]
           }
          }
         },
         "required": [
          "about",
          "source",
          "runs"
         ],
         "x-inferred": true
        },
        "examples": {
         "example": {
          "summary": "A real file, cut to a readable size",
          "value": {
           "about": "Every run of sources/ipma-fire-risk/collect.mjs, newest first: each request's address, HTTP status, size, the first 16 hex of its sha256, and whether the bytes changed since the run before. The bytes and the full sha256 go to the source's vault (see card.json: latest/reads-full.json), never to git.",
           "source": "ipma-fire-risk",
           "runs": [
            {
             "at": "2026-11-18T19:17:22Z",
             "finished": "2026-11-18T19:17:29Z",
             "ok": 3,
             "failed": 0,
             "reads": [
              {
               "name": "rcm-d0",
               "url": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d0.json",
               "at": "2026-11-18T19:17:24Z",
               "status": 200,
               "bytes": 24302,
               "sha256_prefix": "f2fb458ba8e7c7a6",
               "changed": false
              },
              {
               "name": "rcm-d1",
               "url": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d1.json",
               "at": "2026-11-18T19:17:27Z",
               "status": 200,
               "bytes": 24302,
               "sha256_prefix": "1f0ee00e2a4072f2",
               "changed": false
              },
              {
               "name": "rcm-d2",
               "url": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d2.json",
               "at": "2026-11-18T19:17:29Z",
               "status": 200,
               "bytes": 24302,
               "sha256_prefix": "bf53ba0ec258a101",
               "changed": false
              }
             ]
            },
            {
             "at": "2026-11-18T19:11:59Z",
             "finished": "2026-11-18T19:12:06Z",
             "ok": 3,
             "failed": 0,
             "reads": [
              {
               "name": "rcm-d0",
               "url": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d0.json",
               "at": "2026-11-18T19:12:01Z",
               "status": 200,
               "bytes": 24302,
               "sha256_prefix": "f2fb458ba8e7c7a6",
               "changed": false
              },
              {
               "name": "rcm-d1",
               "url": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d1.json",
               "at": "2026-11-18T19:12:04Z",
               "status": 200,
               "bytes": 24302,
               "sha256_prefix": "1f0ee00e2a4072f2",
               "changed": false
              },
              {
               "name": "rcm-d2",
               "url": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d2.json",
               "at": "2026-11-18T19:12:06Z",
               "status": 200,
               "bytes": 24302,
               "sha256_prefix": "bf53ba0ec258a101",
               "changed": false
              }
             ]
            },
            {
             "at": "2026-11-18T19:08:27Z",
             "finished": "2026-11-18T19:08:34Z",
             "ok": 3,
             "failed": 0,
             "reads": [
              {
               "name": "rcm-d0",
               "url": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d0.json",
               "at": "2026-11-18T19:08:29Z",
               "status": 200,
               "bytes": 24302,
               "sha256_prefix": "f2fb458ba8e7c7a6",
               "changed": false
              },
              {
               "name": "rcm-d1",
               "url": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d1.json",
               "at": "2026-11-18T19:08:32Z",
               "status": 200,
               "bytes": 24302,
               "sha256_prefix": "1f0ee00e2a4072f2",
               "changed": false
              },
              {
               "name": "rcm-d2",
               "url": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/rcm-d2.json",
               "at": "2026-11-18T19:08:34Z",
               "status": 200,
               "bytes": 24302,
               "sha256_prefix": "bf53ba0ec258a101",
               "changed": false
              }
             ]
            }
           ]
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No such file"
     }
    }
   }
  },
  "/api/v1/ipma-fire-risk/card.json": {
   "get": {
    "operationId": "get_ipma_fire_risk_card",
    "tags": [
     "ipma-fire-risk"
    ],
    "summary": "IPMA fire risk: the card",
    "description": "Who publishes the source, its reuse terms, the schedule, who owns it, what runs by code, by agents and by people, and the vault.",
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "id": {
           "type": "string"
          },
          "title": {
           "type": "string"
          },
          "what": {
           "type": "string"
          },
          "publisher": {
           "type": "string"
          },
          "owner": {
           "type": "string"
          },
          "collector": {
           "type": "string"
          },
          "source_home": {
           "type": "string"
          },
          "reader_page": {
           "type": "string"
          },
          "schedule": {
           "type": "object",
           "properties": {
            "cadence": {
             "type": "string"
            },
            "how": {
             "type": "string"
            }
           },
           "required": [
            "cadence",
            "how"
           ]
          },
          "terms": {
           "type": "object",
           "properties": {
            "summary": {
             "type": "string"
            },
            "page": {
             "type": "string"
            },
            "read_at": {
             "type": "string"
            },
            "quote": {
             "type": "string"
            },
            "quote_lang": {
             "type": "string"
            },
            "republish": {
             "type": "string"
            },
            "open_question": {
             "type": "string"
            }
           },
           "required": [
            "summary",
            "page",
            "read_at",
            "quote",
            "quote_lang",
            "republish",
            "open_question"
           ]
          },
          "api": {
           "type": "object",
           "properties": {
            "latest": {
             "type": "string"
            },
            "reads": {
             "type": "string"
            },
            "card": {
             "type": "string"
            },
            "openapi": {
             "type": "string"
            },
            "page": {
             "type": "string"
            }
           },
           "required": [
            "latest",
            "reads",
            "card",
            "openapi",
            "page"
           ]
          },
          "vault": {
           "type": "object",
           "properties": {
            "id": {
             "type": "string"
            },
            "name": {
             "type": "string"
            },
            "endpoint": {
             "type": "string"
            },
            "read_key": {
             "type": "string"
            },
            "clone": {
             "type": "string"
            },
            "layout": {
             "type": "string"
            },
            "note": {
             "type": "string"
            },
            "created": {
             "type": "string"
            },
            "by": {
             "type": "string"
            }
           },
           "required": [
            "id",
            "name",
            "endpoint",
            "read_key",
            "clone",
            "layout",
            "note",
            "created",
            "by"
           ]
          },
          "split": {
           "type": "object",
           "properties": {
            "code": {
             "type": "array",
             "items": {
              "type": "string"
             }
            },
            "agents": {
             "type": "array",
             "items": {
              "type": "string"
             }
            },
            "people": {
             "type": "array",
             "items": {
              "type": "string"
             }
            }
           },
           "required": [
            "code",
            "agents",
            "people"
           ]
          },
          "cost": {
           "type": "object",
           "properties": {
            "per_run_tokens": {
             "type": "integer"
            },
            "per_run_model_cost_usd": {
             "type": "integer"
            },
            "runner": {
             "type": "string"
            },
            "build_tokens": {
             "type": "string"
            },
            "note": {
             "type": "string"
            }
           },
           "required": [
            "per_run_tokens",
            "per_run_model_cost_usd",
            "runner",
            "build_tokens",
            "note"
           ]
          },
          "since": {
           "type": "string"
          }
         },
         "required": [
          "id",
          "title",
          "what",
          "publisher",
          "owner",
          "collector",
          "source_home",
          "reader_page",
          "schedule",
          "terms",
          "api",
          "vault",
          "split",
          "cost",
          "since"
         ],
         "x-inferred": true
        },
        "examples": {
         "example": {
          "summary": "A real file, cut to a readable size",
          "value": {
           "id": "ipma-fire-risk",
           "title": "IPMA fire risk",
           "what": "The daily fire risk class (RCM, low to maximum) for every municipality of mainland Portugal, today and the next two days.",
           "publisher": "IPMA, Instituto Português do Mar e da Atmosfera",
           "owner": "data@PrompTugal.dinis",
           "collector": "sources/ipma-fire-risk/collect.mjs",
           "source_home": "https://api.ipma.pt/open-data/forecast/meteorology/rcm/",
           "reader_page": "https://www.ipma.pt/en/riscoincendio/rcm.pt/",
           "schedule": {
            "cadence": "hourly",
            "how": "the Pages workflow (.github/workflows/pages.yml), on a schedule at 17 minutes past each hour, and on every push to dev"
           },
           "terms": {
            "summary": "IPMA: free to copy and use for personal or public use if the use has no profit-making or offensive purpose; always name IPMA as the source.",
            "page": "https://api.ipma.pt/",
            "read_at": "2026-11-17",
            "quote": "O Utilizador pode copiar, importar ou utilizar gratuitamente informações ou símbolos nacionais existentes neste site para uso pessoal ou público desde que dessa utilização não decorram finalidades lucrativas ou ofensivas. O Utilizador deve referir, sempre, a fonte de informação.",
            "quote_lang": "pt",
            "republish": "with conditions: attribution to IPMA; no profit-making purpose",
            "open_question": "Whether a paid reading meter on a PrompTugal site counts as a profit-making purpose under these terms is for Dinis to decide (or to ask IPMA). Until then the data site itself carries no meter."
           },
           "api": {
            "latest": "https://data.promptugal.news/api/v1/ipma-fire-risk/latest.json",
            "reads": "https://data.promptugal.news/api/v1/ipma-fire-risk/reads.json",
            "card": "https://data.promptugal.news/api/v1/ipma-fire-risk/card.json",
            "openapi": "https://data.promptugal.news/api/v1/ipma-fire-risk/openapi.json",
            "page": "https://data.promptugal.news/sources/ipma-fire-risk/"
           },
           "vault": {
            "id": "94lw1wl8",
            "name": "promptugal-data-ipma-fire-risk",
            "endpoint": "https://dev.send.sgraph.ai",
            "read_key": "sgit_public_read_542db136a20c646072fd95c2f976d361eb17d073b45287bc9cac9405f0f1d1c8",
            "clone": "sgit clone sgit_public_read_542db136a20c646072fd95c2f976d361eb17d073b45287bc9cac9405f0f1d1c8:94lw1wl8",
            "layout": "latest/<file> (the bytes as received, overwritten each run), <yyyy>/<mm>/<dd>/<hh>/<file>-<hhmmss>.json (a dated copy only when the bytes changed), latest/reads.json",
            "note": "Public read key: the source is public, so anyone may read the vault. A read key is derived one way and cannot write. The write key is never in this repository.",
            "created": "2026-11-17",
            "by": "data@PrompTugal.dinis"
           },
           "split": {
            "code": [
             "the collector reads the source and writes latest.json, reads.json and the vault copy",
             "GitHub Actions runs it every hour and deploys the site",
             "the build makes the API, the OpenAPI description and the pages"
            ],
            "agents": [
             "data@PrompTugal.dinis (Opus) wrote the collector, this card and the pages on 17 November 2026; data.dev@ and data.design@ (Sonnet) wrote parts of the site build and the design variations"
            ],
            "people": [
             "Dinis Cruz instructs; no person has checked the values yet (not reviewed)"
            ]
           },
           "cost": {
            "per_run_tokens": 0,
            "per_run_model_cost_usd": 0,
            "runner": "GitHub Actions on a public repository: no charge (GitHub's terms for public repositories); about 3 minutes a run for all sources together (measured locally, 17 November 2026)",
            "build_tokens": "not measured: accountant@'s ledger is not running on this account; to be added when it is",
            "note": "Code only: no model is called when the data is collected."
           },
           "since": "2026-11-17"
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No such file"
     }
    }
   }
  },
  "/api/v1/ipma-fire-risk/openapi.json": {
   "get": {
    "operationId": "get_ipma_fire_risk_openapi",
    "tags": [
     "ipma-fire-risk"
    ],
    "summary": "IPMA fire risk: this document",
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/ipma-fire-risk/raw/{file}": {
   "get": {
    "operationId": "get_ipma_fire_risk_raw",
    "tags": [
     "ipma-fire-risk"
    ],
    "summary": "IPMA fire risk: the publisher's own file, as read",
    "description": "The bytes IPMA served at the latest read, parsed and re-serialised, unprocessed. The address each came from is in reads.json.",
    "parameters": [
     {
      "name": "file",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "rcm-d0.json",
        "rcm-d1.json",
        "rcm-d2.json"
       ]
      },
      "example": "rcm-d0.json"
     }
    ],
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "dataPrev": {
           "type": "string",
           "format": "date"
          },
          "dataRun": {
           "type": "string",
           "format": "date"
          },
          "fileDate": {
           "type": "string"
          },
          "local": {
           "type": "object",
           "additionalProperties": true
          }
         },
         "required": [
          "dataPrev",
          "dataRun",
          "fileDate",
          "local"
         ],
         "x-inferred": true
        },
        "examples": {
         "rcm-d0.json": {
          "summary": "A real file, cut to a readable size",
          "value": {
           "dataPrev": "2026-11-18",
           "dataRun": "2026-11-17",
           "fileDate": "2026-11-18 09:35:01",
           "local": {
            "1001": {
             "data": {
              "rcm": 1
             },
             "dico": "1001",
             "latitude": 39.55,
             "longitude": -8.97
            },
            "1002": {
             "data": {
              "rcm": 1
             },
             "dico": "1002",
             "latitude": 39.8222,
             "longitude": -8.3814
            },
            "1003": {
             "data": {
              "rcm": 1
             },
             "dico": "1003",
             "latitude": 39.9131,
             "longitude": -8.4378
            },
            "1004": {
             "data": {
              "rcm": 1
             },
             "dico": "1004",
             "latitude": 39.6605,
             "longitude": -8.8228
            },
            "1005": {
             "data": {
              "rcm": 1
             },
             "dico": "1005",
             "latitude": 39.27,
             "longitude": -9.16
            },
            "1006": {
             "data": {
              "rcm": 1
             },
             "dico": "1006",
             "latitude": 39.4067,
             "longitude": -9.1405
            },
            "1007": {
             "data": {
              "rcm": 1
             },
             "dico": "1007",
             "latitude": 40.01,
             "longitude": -8.21
            },
            "1008": {
             "data": {
              "rcm": 1
             },
             "dico": "1008",
             "latitude": 39.9,
             "longitude": -8.27
            },
            "1009": {
             "data": {
              "rcm": 1
             },
             "dico": "1009",
             "latitude": 39.7473,
             "longitude": -8.8069
            },
            "1010": {
             "data": {
              "rcm": 1
             },
             "dico": "1010",
             "latitude": 39.75,
             "longitude": -8.93
            },
            "1011": {
             "data": {
              "rcm": 1
             },
             "dico": "1011",
             "latitude": 39.6,
             "longitude": -9.07
            },
            "1012": {
             "data": {
              "rcm": 1
             },
             "dico": "1012",
             "latitude": 39.36,
             "longitude": -9.16
            },
            "1013": {
             "data": {
              "rcm": 1
             },
             "dico": "1013",
             "latitude": 39.92,
             "longitude": -8.15
            },
            "1014": {
             "data": {
              "rcm": 1
             },
             "dico": "1014",
             "latitude": 39.3617,
             "longitude": -9.3893
            },
            "1015": {
             "data": {
              "rcm": 1
             },
             "dico": "1015",
             "latitude": 39.92,
             "longitude": -8.63
            },
            "1016": {
             "data": {
              "rcm": 1
             },
             "dico": "1016",
             "latitude": 39.6001,
             "longitude": -8.8169
            },
            "1101": {
             "data": {
              "rcm": 1
             },
             "dico": "1101",
             "latitude": 39.0537,
             "longitude": -9.0095
            },
            "1102": {
             "data": {
              "rcm": 1
             },
             "dico": "1102",
             "latitude": 38.9834,
             "longitude": -9.0777
            },
            "1103": {
             "data": {
              "rcm": 1
             },
             "dico": "1103",
             "latitude": 39.0697,
             "longitude": -8.8695
            },
            "1104": {
             "data": {
              "rcm": 1
             },
             "dico": "1104",
             "latitude": 39.25,
             "longitude": -9.1
            },
            "1105": {
             "data": {
              "rcm": 1
             },
             "dico": "1105",
             "latitude": 38.6995,
             "longitude": -9.4296
            },
            "1106": {
             "data": {
              "rcm": 1
             },
             "dico": "1106",
             "latitude": 38.766,
             "longitude": -9.1286
            },
            "1107": {
             "data": {
              "rcm": 1
             },
             "dico": "1107",
             "latitude": 38.83,
             "longitude": -9.17
            },
            "1108": {
             "data": {
              "rcm": 1
             },
             "dico": "1108",
             "latitude": 39.2426,
             "longitude": -9.3126
            },
            "1109": {
             "data": {
              "rcm": 1
             },
             "dico": "1109",
             "latitude": 38.94,
             "longitude": -9.33
            },
            "1110": {
             "data": {
              "rcm": 1
             },
             "dico": "1110",
             "latitude": 38.7005,
             "longitude": -9.3059
            },
            "1111": {
             "data": {
              "rcm": 1
             },
             "dico": "1111",
             "latitude": 38.7973,
             "longitude": -9.3904
            },
            "1112": {
             "data": {
              "rcm": 1
             },
             "dico": "1112",
             "latitude": 39.02,
             "longitude": -9.15
            },
            "1113": {
             "data": {
              "rcm": 1
             },
             "dico": "1113",
             "latitude": 39.095,
             "longitude": -9.261
            },
            "1114": {
             "data": {
              "rcm": 1
             },
             "dico": "1114",
             "latitude": 38.9541,
             "longitude": -8.9899
            },
            "1115": {
             "data": {
              "rcm": 1
             },
             "dico": "1115",
             "latitude": 38.7566,
             "longitude": -9.2267
            },
            "1116": {
             "data": {
              "rcm": 1
             },
             "dico": "1116",
             "latitude": 38.79,
             "longitude": -9.19
            },
            "1201": {
             "data": {
              "rcm": 1
             },
             "dico": "1201",
             "latitude": 39.2,
             "longitude": -7.66
            },
            "1202": {
             "data": {
              "rcm": 1
             },
             "dico": "1202",
             "latitude": 39.13,
             "longitude": -7.29
            },
            "1203": {
             "data": {
              "rcm": 1
             },
             "dico": "1203",
             "latitude": 39.11,
             "longitude": -7.88
            },
            "1204": {
             "data": {
              "rcm": 1
             },
             "dico": "1204",
             "latitude": 39.01,
             "longitude": -7.07
            },
            "1205": {
             "data": {
              "rcm": 1
             },
             "dico": "1205",
             "latitude": 39.4151,
             "longitude": -7.4552
            },
            "1206": {
             "data": {
              "rcm": 1
             },
             "dico": "1206",
             "latitude": 39.29,
             "longitude": -7.64
            },
            "1207": {
             "data": {
              "rcm": 1
             },
             "dico": "1207",
             "latitude": 38.8788,
             "longitude": -7.1662
            },
            "1208": {
             "data": {
              "rcm": 1
             },
             "dico": "1208",
             "latitude": 39.06,
             "longitude": -7.65
            },
            "1209": {
             "data": {
              "rcm": 1
             },
             "dico": "1209",
             "latitude": 39.4651,
             "longitude": -7.936
            },
            "...": "238 more keys"
           }
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No such file"
     }
    }
   }
  }
 },
 "tags": [
  {
   "name": "ipma-fire-risk",
   "description": "The daily fire risk class (RCM, low to maximum) for every municipality of mainland Portugal, today and the next two days."
  }
 ],
 "x-source": {
  "id": "ipma-fire-risk",
  "card": "https://data.promptugal.news/api/v1/ipma-fire-risk/card.json",
  "page": "https://data.promptugal.news/sources/ipma-fire-risk/"
 }
}
