feat: law-source-eurlex 0.1.0 (source.eu-recht)
All checks were successful
CI / Linux x86_64 (Forgejo) (push) Successful in 1m45s

Fetch one EU legal act from EUR-Lex by CELEX number and return its
FORMEX-4 XML content-addressed (SHA-256), so a flow's audit trail
pins the exact Gesetzesstand it processed.

- CELLAR content negotiation (application/xml;type=fmx4) on
  publications.europa.eu; 303 multiple-choice item selection
- host-pinned redirect handling (max 3 hops), 64 MB body cap
- consolidated CELEX (0...-YYYYMMDD) yields consolidation_date
- net permission pinned to publications.europa.eu; no auth
- 10 unit tests (no network), wasm32-wasip2 build green

Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
flemming-it 2026-07-17 00:29:06 +02:00
commit 0e768ae6db
16 changed files with 1726 additions and 0 deletions

28
STORE.yaml Normal file
View file

@ -0,0 +1,28 @@
schema_version: 1
author:
name: "Flemming.AI"
email: chain@flemming.ai
url: https://flemming.ai
license: Apache-2.0
tagline:
en: "Fetch EU legal acts from EUR-Lex by CELEX"
de: "EU-Rechtsakte per CELEX von EUR-Lex holen"
description:
en: "Resolves a CELEX number against the public EUR-Lex endpoint and returns the act's FORMEX-4 XML, content-addressed (SHA-256) so the audit trail pins the exact legal state processed."
de: "Löst eine CELEX-Nummer gegen den öffentlichen EUR-Lex-Endpunkt auf und liefert das FORMEX-4-XML des Rechtsakts, inhaltsadressiert (SHA-256) — das Prüfprotokoll hält den exakten Gesetzesstand fest."
category: data
tags: [legal, eu, eur-lex, formex, source]
assets:
icon: assets/icon.svg
documentation:
long_description: MODULE.md
links:
repository: https://git.flemming.ai/chain-modules/law-source-eurlex