{
 "site": "PrompTugal.news Civic (independent, not a government or official site)",
 "version": "v0.1.100",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "license_note": "CC BY 4.0 covers our calculations and text; each source and each record keeps its own license, given beside it.",
 "licence": "CC BY 4.0 (our text and calculations); public data as each source publishes it",
 "about": "The sources behind this site, one entry each: publisher, licence, last read, what we keep and leave out, our files and pages.",
 "sources": [
  {
   "id": "impic-contracts",
   "name": "IMPIC: contracts published on the Portal BASE",
   "publisher": "IMPIC, Instituto dos Mercados Públicos, do Imobiliário e da Construção (Portugal)",
   "country": "Portugal",
   "url": "https://dados.gov.pt/pt/datasets/66d72d488ca4b7cb2de28712/",
   "files": [
    "https://dados.gov.pt/s/resources/contratos-publicos-portal-base-impic-contratos-de-2012-a-2026/20261129-100608-43775856/contratos2026.zip",
    "https://dados.gov.pt/s/resources/contratos-publicos-portal-base-impic-contratos-de-2012-a-2026/20261129-100621-727acaab/contratos2025.zip"
   ],
   "read_on": "2026-11-29",
   "license": {
    "name": "Outra (Domínio Público), as dados.gov.pt publishes it for this dataset",
    "url": "https://dados.gov.pt/pt/datasets/66d72d488ca4b7cb2de28712/",
    "id": "other-pd"
   },
   "what": "Every public contract that Portuguese public bodies publish on the Portal BASE, as yearly open-data files on dados.gov.pt. We read 2025 and 2026 and keep the 16 Algarve councils' contracts and their municipal companies'.",
   "keep": "contract id, buyer, supplier name and NIF (companies only), what was bought (withheld where a supplier is a private individual), procedure, price, base price, dates, the record's link on base.gov.pt.",
   "leave": "suppliers who are private individuals are never named (they still count in totals); contract documents; anything outside the 16 councils and their companies.",
   "code": "tools/extract-base.mjs",
   "ours": [
    "/data/procurement/base-2026.json",
    "/data/procurement/base-2025.json",
    "/api/v1/councils.json",
    "/api/v1/procurement/summary.json",
    "/api/v1/municipal-companies.json"
   ],
   "pages": [
    "/money/",
    "/councils/",
    "/map/",
    "/money/tech-and-ai/",
    "/money/municipal-companies/"
   ],
   "gaps": "A contract can appear on BASE some time after it is signed, and IMPIC refreshes the open-data files from time to time (the files we read are dated 15 Nov 2026). The live tables on the council pages read the twice-daily copy on PrompTugal.news's data site (data.promptugal.news) instead.",
   "page": "https://civic.promptugal.news/sources/impic-contracts/"
  },
  {
   "id": "impic-notices",
   "name": "IMPIC: procurement notices (Anúncios)",
   "publisher": "IMPIC (Portugal)",
   "country": "Portugal",
   "url": "https://dados.gov.pt/pt/datasets/66d72fbc58cd7a63dae28712/",
   "files": [
    "https://dados.gov.pt/s/resources/contratos-publicos-portal-base-impic-anuncios-de-2012-a-2026/20261129-100814-be1b8921/anuncios2025.json",
    "https://dados.gov.pt/s/resources/contratos-publicos-portal-base-impic-anuncios-de-2012-a-2026/20261129-100800-c48485ec/anuncios2026.json"
   ],
   "read_on": "2026-11-29",
   "license": {
    "name": "Outra (Domínio Público), as dados.gov.pt publishes it for this dataset",
    "url": "https://dados.gov.pt/pt/datasets/66d72fbc58cd7a63dae28712/",
    "id": "other-pd"
   },
   "what": "The notices a body publishes in the Diário da República when it opens a procedure, with the base price: the most it will pay, stated before any bid. Joined to the contracts that cite them.",
   "keep": "notice number, council, kind, dates, deadline, base price, the Diário da República link, the contracts that cite the notice.",
   "leave": "tender-platform links; a notice's text where it may name a private person, or where a contract that cites it went to one.",
   "code": "tools/extract-notices.mjs",
   "ours": [
    "/data/procurement/notices-2026.json",
    "/data/procurement/notices-2025.json",
    "/api/v1/use-cases/notices.json",
    "/api/v1/use-cases/estimates.json"
   ],
   "pages": [
    "/money/estimates/"
   ],
   "gaps": "A notice and its contracts are joined by the notice number; contracts that cite no notice (most direct awards) have none.",
   "page": "https://civic.promptugal.news/sources/impic-notices/"
  },
  {
   "id": "impic-changes",
   "name": "IMPIC: contract changes (Modificações contratuais)",
   "publisher": "IMPIC (Portugal)",
   "country": "Portugal",
   "url": "https://dados.gov.pt/pt/datasets/668d65dbcb1b953e80198435/",
   "files": [
    "https://dados.gov.pt/s/resources/contratos-publicos-portal-base-impic-modificacoes-contratuais-de-2012-a-2026/20261129-100930-cc20f8ea/modcontrats2025.json",
    "https://dados.gov.pt/s/resources/contratos-publicos-portal-base-impic-modificacoes-contratuais-de-2012-a-2026/20261129-100929-28cb35fc/modcontrats2026.json"
   ],
   "read_on": "2026-11-29",
   "license": {
    "name": "Outra (Domínio Público), as dados.gov.pt publishes it for this dataset",
    "url": "https://dados.gov.pt/pt/datasets/668d65dbcb1b953e80198435/"
   },
   "what": "Changes agreed after a contract was signed: the price and term after each change, and the legal basis.",
   "keep": "contract id, date, legal basis, price and term after the change.",
   "leave": "the change documents; when a contract's last two changes share their date and publication date but not their price, which came last is unknown (IMPIC gives no change number), and that contract is left out of the totals.",
   "code": "tools/extract-changes.mjs",
   "ours": [
    "/data/procurement/changes.json",
    "/api/v1/use-cases/changes.json"
   ],
   "pages": [
    "/money/changes/"
   ],
   "gaps": "IMPIC records the full price after each change, not the amount changed.",
   "page": "https://civic.promptugal.news/sources/impic-changes/"
  },
  {
   "id": "dgal-local-companies",
   "name": "DGAL: the list of local companies",
   "publisher": "DGAL, Direção-Geral das Autarquias Locais (Portugal)",
   "country": "Portugal",
   "url": "https://portalautarquico.dgal.gov.pt/ficheiros/?schema=f7664ca7-3a1a-4b25-9f46-2056eef44c33&channel=266f4a32-848e-4d2c-99c6-ad5b5511d7fe&content_id=B669C074-A01A-452C-8C35-5AE2B31F71D5&field=storage_image&lang=pt&ver=1&filetype=xlsx&dtestate=2025-02-12162211",
   "files": [],
   "read_on": "2026-11-18",
   "license": {
    "name": "the source's terms (no open licence stated)",
    "url": "https://portalautarquico.dgal.gov.pt/"
   },
   "what": "Which companies each council owns (water, waste, sport, markets, housing), dated 12 February 2025.",
   "keep": "company name, NIF, owner council, what it does, status; their contracts come from IMPIC.",
   "leave": "the list's other columns.",
   "code": "data/municipal-companies.json (kept by hand from the list; each company's NIF as IMPIC's open data publishes it as a buyer)",
   "ours": [
    "/api/v1/municipal-companies.json"
   ],
   "pages": [
    "/money/municipal-companies/"
   ],
   "gaps": "The list is from February 2025; a company created or closed since may be missing.",
   "page": "https://civic.promptugal.news/sources/dgal-local-companies/"
  },
  {
   "id": "council-sites",
   "name": "The 16 councils' own websites",
   "publisher": "Each Câmara Municipal of the Algarve",
   "country": "Portugal",
   "url": "https://civic.promptugal.news/councils/",
   "sites": [
    "https://www.cm-albufeira.pt",
    "https://cm-alcoutim.pt",
    "https://cm-castromarim.pt",
    "https://www.cm-lagoa.pt",
    "https://www.cm-lagos.pt",
    "https://cm-olhao.pt",
    "https://www.cm-portimao.pt",
    "https://cm-tavira.pt/site/",
    "https://www.cm-viladobispo.pt"
   ],
   "files": [],
   "read_on": "2026-11-17",
   "license": {
    "name": "each council site's own terms (no open licence stated)"
   },
   "where_note": "each council's own site, listed council by council on [Councils](/councils/)",
   "what": "Where each council publishes its meeting minutes, agendas, assembly papers, public notices and budget, and who its mayor is.",
   "keep": "links to those listings, the date of the latest minutes listed, the mayor's name as each council publishes it.",
   "leave": "the documents themselves: we link, we do not copy.",
   "code": "data/councils.json (read by hand, robots.txt checked per site)",
   "ours": [
    "/api/v1/councils/faro.json"
   ],
   "pages": [
    "/councils/"
   ],
   "gaps": "Where we could not find a listing on a council's site, its page says \"not found yet\".",
   "page": "https://civic.promptugal.news/sources/council-sites/"
  },
  {
   "id": "contracts-finder",
   "name": "Contracts Finder: London buyers' notices",
   "publisher": "Contracts Finder, UK government (Crown Commercial Service, as its licence names)",
   "country": "United Kingdom",
   "url": "https://www.contractsfinder.service.gov.uk/",
   "files": [
    "https://data.promptugal.news/api/v1/contracts-finder/latest.json"
   ],
   "read_on": "2026-12-01",
   "license": {
    "name": "Open Government Licence v3.0",
    "url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"
   },
   "what": "Contract opportunities and awards published by public bodies in England and UK-wide bodies; we show those whose buyer is based in London, the last 24 hours, through PrompTugal.news's data site (data.promptugal.news).",
   "keep": "notice link, date, stage, title, buyer and its postcode district, value and award value in pounds, deadline, procedure.",
   "leave": "suppliers and contacts (the data site's file keeps none); outer-London buyers whose postcode area reaches beyond London.",
   "code": "tools/snapshot-london.mjs, assets/live/london.js",
   "ours": [
    "/data/london/contracts-finder.json"
   ],
   "pages": [
    "/money/london/"
   ],
   "gaps": "One day only; no history kept yet. Values are as published, in pounds, and are never added to the Algarve's euro figures.",
   "attribution": "Contains public sector information licensed under the Open Government Licence v3.0.",
   "page": "https://civic.promptugal.news/sources/contracts-finder/"
  }
 ]
}
