Skip to content
This repository was archived by the owner on Jun 6, 2026. It is now read-only.

Commit 5e65f62

Browse files
authored
feat: add Belgium and Portugal cross-border corridors — #40 PR 4/4 (#50)
Part 4 of 4 for issue #40. Completes the cross-border corridor infrastructure with Belgium and Portugal. --- ## Context This PR adds the two remaining corridors: - **Belgium** — ~50,000 daily frontaliers, third largest corridor - **Portugal** — ~100,000 residents, the largest foreign national community in Luxembourg --- ## Files added ### `data/sources/be/belgium-be-deces.yaml` **URL verified:** https://www.belgium.be/fr/famille/deces — loads correctly, title confirmed as "Décès". - `source_type: government_portal` - `verification_status: source-checked` - `languages: [fr, nl, de]` — belgium.be is trilingual - Includes `title_fr`, `title_de`, `description_fr`, `description_de` **Key facts documented in notes (from issue #40 research):** - Death must be declared to the municipality where the person died, usually handled by the undertaker - Death certificate is then forwarded to the municipality of last residence - Succession duties in Belgium are regional and depend on fiscal residence --- ### `data/institutions/be/sfp.yaml` **URL verified:** https://www.sfpd.fgov.be — loads correctly as "Federal Pensions Service". - `id: institution:be:sfp` - `verification_status: structured-from-source` - `languages: [fr, nl, de]` — Belgian trilingual institution (SFP in French, FPD in Dutch) - References `source:be:belgium-be-deces` **Key facts documented in notes:** - Survivor pension applications submitted via mypension.be - Coordinates with CNAP via EU social security coordination for cross-border cases - Covers ~50,000 Belgian frontaliers --- ### `data/scenarios/corridor-lu-be.yaml` - `scenario_type: corridor` - `countries: [LU, BE]` - `publication_status: draft` - References all 5 PR1 conditions and both EU sources + BE source --- ### `data/sources/pt/gov-pt-obito.yaml` **URL:** https://eportugal.gov.pt/en/temas/familia/morte — identified from official ePortugal portal structure; page was inaccessible during creation. - `source_type: government_portal` - `verification_status: discovered` — honest status, URL could not be confirmed loading - `last_verified_at: null` - Notes explicitly state full content verification requires further access **Key facts encoded from issue #40 research:** - Death of a Portuguese citizen abroad must be declared in Portugal - Survivor pension (pensão de sobrevivência) requires minimum 36 months of contributions - Application via Segurança Social Direta using form RP 5075 --- ### `data/institutions/pt/seguranca-social.yaml` **URL:** https://www.seg-social.pt — confirmed loading from research. - `id: institution:pt:seguranca-social` - `verification_status: discovered` — consistent with PT source status - `languages: [pt]` **Key facts documented in notes:** - Portugal has the largest foreign national community in Luxembourg (~100,000 residents) - 36-month contribution requirement for survivor pension - Death of Portuguese national abroad must be registered in Portugal via consular services - Centro Nacional de Pensões (CNP) within ISS handles international pension coordination --- ### `data/scenarios/corridor-lu-pt.yaml` - `scenario_type: corridor` - `countries: [LU, PT]` - `publication_status: draft` - Notes explicitly flag that further source verification is needed for full PT corridor detail --- ## Verification status honesty Belgium sources are `source-checked` — URLs verified loading, content confirmed. Portugal sources are `discovered` — URL identified from official portal structure but could not be verified loading during creation. This is consistent with issue #40's own note: "Detailed survivor-pension routing and death transcription process need further verification." --- ## Issue #40 complete With this PR all four corridors are now in main: - PR 1/4 (#47) — EU foundation (conditions + EU regulations) ✅ - PR 2/4 (#48) — France corridor ✅ - PR 3/4 (#49) — Germany corridor ✅ - PR 4/4 (this PR) — Belgium + Portugal corridors Total new files across all 4 PRs: 25 files covering 2 EU regulations, 5 cross-border conditions, 4 corridor scenarios, 6 foreign sources, 5 foreign institutions. --- ## Schema compliance - All schemas read before writing — `additionalProperties: false` respected throughout - All condition IDs reference conditions from PR 1 (merged) - All EU source IDs reference sources from PR 1 (merged) - `institution_ids` and `source_ids` cross-references consistent within each PR --- ## Verified - `python3 scripts/validate.py` — passes (34 data files, up from 28) - All 6 trailing newlines confirmed `0a` - 6 new files, 0 existing files modified - `git status` confirmed no unintended changes
1 parent 865fb47 commit 5e65f62

6 files changed

Lines changed: 158 additions & 0 deletions

File tree

data/institutions/be/sfp.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
id: institution:be:sfp
2+
object_type: Institution
3+
name: "Service fédéral des Pensions (SFP) / Federale Pensioendienst (FPD)"
4+
jurisdiction:
5+
country: BE
6+
region: null
7+
municipality: null
8+
function: "Belgian federal pension authority responsible for retirement and survivor pensions for employees, self-employed workers, and civil servants. Handles survivor pension (pension de survie) claims for bereaved spouses and orphans."
9+
official_site: "https://www.sfpd.fgov.be"
10+
contact_channels:
11+
- type: website
12+
value: "https://www.sfpd.fgov.be"
13+
notes: "Main SFP portal for pension information, survivor pension claims, and mypension.be online services."
14+
languages:
15+
- fr
16+
- nl
17+
- de
18+
source_ids:
19+
- source:be:belgium-be-deces
20+
verification_status: structured-from-source
21+
provenance:
22+
created_at: "2026-05-30"
23+
created_by: "HirenGajjar"
24+
updated_at: null
25+
updated_by: null
26+
notes: "SFP is the Belgian federal pension authority (trilingual: SFP in French, FPD in Dutch). Covers ~50,000 frontaliers who commute daily from Belgium to Luxembourg. Survivor pension applications can be submitted via mypension.be. Coordinates with CNAP via EU social security coordination for cross-border cases."
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
id: institution:pt:seguranca-social
2+
object_type: Institution
3+
name: "Instituto da Segurança Social (ISS) — Segurança Social"
4+
jurisdiction:
5+
country: PT
6+
region: null
7+
municipality: null
8+
function: "Portuguese social security authority responsible for survivor pensions, death grants, and social protection coordination. Handles cross-border pension claims for Portuguese nationals who worked abroad, coordinating with foreign pension authorities via EU social security rules."
9+
official_site: "https://www.seg-social.pt"
10+
contact_channels:
11+
- type: website
12+
value: "https://www.seg-social.pt"
13+
notes: "Main Segurança Social portal. Online claims via Segurança Social Direta at segurancasocialdirecta.pt."
14+
languages:
15+
- pt
16+
source_ids: []
17+
verification_status: discovered
18+
provenance:
19+
created_at: "2026-05-30"
20+
created_by: "HirenGajjar"
21+
updated_at: null
22+
updated_by: null
23+
notes: "Portugal has the largest foreign national community in Luxembourg (~100,000 residents). Survivor pension (pensão de sobrevivência) requires 36 months of contributions; apply via Segurança Social Direta using form RP 5075. Death of a Portuguese national abroad must also be registered in Portugal via consular services. Centro Nacional de Pensões (CNP) within ISS handles international pension coordination."

data/scenarios/corridor-lu-be.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
id: scenario:corridor-lu-be
2+
object_type: Scenario
3+
title: "Luxembourg — Belgium cross-border bereavement corridor"
4+
description: "Cross-border bereavement scenario for families connected to both Luxembourg and Belgium, covering approximately 50,000 frontaliers who commute to Luxembourg from Belgium daily."
5+
scenario_type: corridor
6+
countries:
7+
- LU
8+
- BE
9+
condition_ids:
10+
- condition:deceased-is-foreign-national
11+
- condition:deceased-is-frontalier
12+
- condition:survivor-resides-abroad
13+
- condition:assets-in-multiple-jurisdictions
14+
- condition:repatriation-of-remains
15+
source_ids:
16+
- source:eu:brussels-iv-regulation
17+
- source:eu:social-security-coordination
18+
- source:be:belgium-be-deces
19+
verification_status: discovered
20+
publication_status: draft
21+
provenance:
22+
created_at: "2026-05-30"
23+
created_by: "HirenGajjar"
24+
updated_at: null
25+
updated_by: null
26+
notes: "Belgium is the third largest frontalier corridor for Luxembourg (~50,000 daily commuters). Key cross-border facts: death declared to municipality where death occurred, usually by undertaker; death certificate forwarded to municipality of last residence; succession duties are regional in Belgium and depend on fiscal residence; Brussels IV governs cross-border succession; SFP handles survivor pension coordination with CNAP via EU social security rules."

data/scenarios/corridor-lu-pt.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
id: scenario:corridor-lu-pt
2+
object_type: Scenario
3+
title: "Luxembourg — Portugal cross-border bereavement corridor"
4+
description: "Cross-border bereavement scenario for families connected to both Luxembourg and Portugal, covering the largest foreign national community in Luxembourg at approximately 100,000 Portuguese residents."
5+
scenario_type: corridor
6+
countries:
7+
- LU
8+
- PT
9+
condition_ids:
10+
- condition:deceased-is-foreign-national
11+
- condition:deceased-is-frontalier
12+
- condition:survivor-resides-abroad
13+
- condition:assets-in-multiple-jurisdictions
14+
- condition:repatriation-of-remains
15+
source_ids:
16+
- source:eu:brussels-iv-regulation
17+
- source:eu:social-security-coordination
18+
- source:pt:gov-pt-obito
19+
verification_status: discovered
20+
publication_status: draft
21+
provenance:
22+
created_at: "2026-05-30"
23+
created_by: "HirenGajjar"
24+
updated_at: null
25+
updated_by: null
26+
notes: "Portugal represents the largest foreign national community in Luxembourg (~100,000 residents). Key cross-border facts: death of a Portuguese national in Luxembourg must be registered in Portugal via consular services; survivor pension (pensão de sobrevivência) requires 36 months of contributions and form RP 5075 via Segurança Social Direta; Brussels IV governs succession under habitual residence rule; further source verification needed for full PT corridor detail — see issue #40 notes."
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
id: source:be:belgium-be-deces
2+
object_type: Source
3+
title: "Décès"
4+
title_fr: "Décès"
5+
title_de: "Todesfall"
6+
description: "Official Belgian government guidance on administrative steps following a death, covering declaration, burial, incineration, succession, inheritance, and international aspects including procedures for deaths occurring abroad."
7+
description_fr: "Guidance officielle du gouvernement belge sur les démarches administratives après un décès, couvrant la déclaration, l'inhumation, l'incinération, la succession, l'héritage et les aspects internationaux."
8+
description_de: "Offizielle belgische Regierungsanleitung zu den Verwaltungsschritten nach einem Todesfall, einschließlich Meldung, Beerdigung, Einäscherung, Erbfolge und internationalem Kontext."
9+
source_type: government_portal
10+
url: "https://www.belgium.be/fr/famille/deces"
11+
jurisdiction:
12+
country: BE
13+
region: null
14+
municipality: null
15+
languages:
16+
- fr
17+
- nl
18+
- de
19+
institution_ids: []
20+
accessed_at: "2026-05-30"
21+
last_verified_at: "2026-05-30"
22+
evidence_locator: null
23+
reuse_notes: "Official Belgian federal public service portal. Available in French, Dutch, and German. Extract only source-backed administrative facts."
24+
verification_status: source-checked
25+
provenance:
26+
created_at: "2026-05-30"
27+
created_by: "HirenGajjar"
28+
updated_at: null
29+
updated_by: null
30+
notes: "URL verified 2026-05-30 — page loads correctly, title confirmed as 'Décès'. Key fact from issue #40 research: death must be declared to the municipality where the person died (usually handled by the undertaker); the death certificate is then forwarded to the municipality of last residence. Succession duties in Belgium are regional and depend on fiscal residence."

data/sources/pt/gov-pt-obito.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
id: source:pt:gov-pt-obito
2+
object_type: Source
3+
title: "Death"
4+
title_fr: "Décès"
5+
description: "Official Portuguese government portal covering administrative procedures following a death, including death declaration, death certificate, survivor pension, death grant, and procedures for Portuguese nationals who die abroad."
6+
description_fr: "Portail officiel du gouvernement portugais sur les démarches administratives après un décès, notamment la déclaration de décès, l'acte de décès, la pension de survie, le subside de décès et les procédures pour les ressortissants portugais décédés à l'étranger."
7+
source_type: government_portal
8+
url: "https://eportugal.gov.pt/en/temas/familia/morte"
9+
jurisdiction:
10+
country: PT
11+
region: null
12+
municipality: null
13+
languages:
14+
- pt
15+
- en
16+
institution_ids: []
17+
accessed_at: "2026-05-30"
18+
last_verified_at: null
19+
evidence_locator: null
20+
reuse_notes: "Official ePortugal portal source. Available in Portuguese and English. Extract only source-backed administrative facts."
21+
verification_status: discovered
22+
provenance:
23+
created_at: "2026-05-30"
24+
created_by: "HirenGajjar"
25+
updated_at: null
26+
updated_by: null
27+
notes: "URL identified from official ePortugal portal structure. Full content verification requires further access — marked discovered. The death of a Portuguese citizen abroad must be declared in Portugal. Survivor pension (pensão de sobrevivência) requires minimum 36 months of registered contributions; application via Segurança Social Direta (form RP 5075) or online at seg-social.pt."

0 commit comments

Comments
 (0)