Jede Datei nennt fortan ihren Urheber und ihre Lizenz

Das Erzeugnis steht seit seinem ersten Tage unter der GNU Affero General Public
License. Ausgesprochen war das indes nur an drei verstreuten Stellen: im
Lizenzvolltext „COPYING“, in einem Satz des Impressums und in einer Bemerkung der
Datei „.gitattributes“. Keine einzige Quelldatei nannte ihren Urheber oder ihre
Lizenz. Wer eine Datei für sich betrachtet — und so betrachtet sie jeder, der sie
übernimmt —, fand daran nichts.

Maßstab ist die REUSE-Spezifikation in der Fassung 3.3. Das Verzeichnis
„LICENSES“ nimmt die Wortlaute auf: die AGPL in der Fassung 3 oder später, die
Apache-Lizenz für den unverändert mitgelieferten Maven-Wrapper und
„LicenseRef-AmtlichesWerk.txt“. „COPYING“ bleibt an seiner Stelle, tritt aber als
symbolische Verknüpfung auf; der gewohnte Pfad trägt damit fort, ohne dass zwei
Wortlaute nebeneinander zu pflegen wären, und die Prüfung übergeht Verknüpfungen,
sodass für den Lizenztext selbst keine sachfremde Lizenzangabe zu erfinden war.

Die dritte Datei bezeichnet keine erteilte Lizenz, sondern hält die gesetzliche
Rechtslage des Prüfbestandes fest. Fünfundvierzig PDF-Dateien, fünf EPUB-Dateien
und die XML-Fassungen sind fremde Werke: Verkündungsblätter, Drucksachen,
Plenarprotokolle und Entwürfe des Bundes und der Länder. Sie sind nach § 5 Abs. 1
UrhG gemeinfrei, die ministeriellen Entwürfe und Synopsen nach § 5 Abs. 2, und
gleichwohl gebunden an Änderungsverbot und Quellenangabe nach §§ 62 und 63.
Ausdrücklich festgehalten ist, dass die technische Aufbereitung durch die
Rechtsportale kein eigenes Recht am Text begründet und dass der Bestand kein
„Corresponding Source“ im Sinne der AGPL ist — gebaut wird ohne ihn.

„REUSE.toml“ ordnet zu, was keinen Kommentar verträgt, und scheidet den
Prüfbestand nach Herkunft: Bund in Verkündung und Parlament, Bund in den
ministeriellen Entwürfen, gesetze-im-internet.de nebst der Aufbereitung durch die
juris GmbH, sodann neun Länder je einzeln. Die selbst abgeleiteten Textfassungen
tragen „AGPL-3.0-or-later AND LicenseRef-AmtlichesWerk“, denn der Wortlaut ist
amtlich, die Aufbereitung — Einrückung, Superskript-Satznummern,
Gliederungsüberschriften — eigene Arbeit. Maßgeblich für die Fundstelle der
einzelnen Datei bleibt die Datei „SOURCES“ des jeweiligen Verzeichnisses; die
Lizenzdatei nimmt sie in Bezug, wie es § 63 UrhG verlangt.

Die übrigen Dateien tragen ihre Angabe in sich, im jeweils üblichen
Kommentarstil, vor dem vorhandenen erläuternden Text und ohne diesen anzutasten.
„mini-gii.xml“ und „.mvn/maven.config“ bleiben bewusst unberührt und erhalten
stattdessen einen Eintrag: Ersteres liest der GiiXmlLoader, Letzteres Maven vor
jedem Bau. Ein Ausrollwerkzeug hinterließ mit „.wrangler“ ein Zwischenverzeichnis
im Arbeitsbaum; es ist fortan übergangen.

Die Java-Dateien und die Angleichung der Lizenzaussage folgen gesondert. An
diesem Stand bestehen dreihundertfünfundzwanzig Testfälle unverändert; am
Verhalten des Erzeugnisses ändert sich nichts.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Change-Id: Id08e26d8e15545b2d00dd3d4fa7ffca86cf14944
diff --git a/.gitattributes b/.gitattributes
index ea305c0..a54b68f 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
 # Der Beispielkorpus besteht aus Gesetzes- und Drucksachen-PDFs fremder Urheberschaft.
 # Er ist nicht „Corresponding Source“ im Sinne der AGPLv3 — gebaut wird ohne ihn —, und
 # er machte das der Browserfassung beigelegte Quelltextarchiv dreißigmal so groß wie den
diff --git a/.gitignore b/.gitignore
index 8d936de..f1907ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
 # Eclipse
 .project
 .classpath
@@ -33,6 +36,9 @@
 # Shell
 .envrc
 
+# Wrangler
+.wrangler/
+
 # Maven
 target/
 *.versionsBackup
diff --git a/COPYING b/COPYING
new file mode 120000
index 0000000..d2385e4
--- /dev/null
+++ b/COPYING
@@ -0,0 +1 @@
+LICENSES/AGPL-3.0-or-later.txt
\ No newline at end of file
diff --git a/COPYING b/LICENSES/AGPL-3.0-or-later.txt
similarity index 100%
rename from COPYING
rename to LICENSES/AGPL-3.0-or-later.txt
diff --git a/LICENSES/Apache-2.0.txt b/LICENSES/Apache-2.0.txt
new file mode 100644
index 0000000..4fa588f
--- /dev/null
+++ b/LICENSES/Apache-2.0.txt
@@ -0,0 +1,202 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       https://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
diff --git a/LICENSES/LicenseRef-AmtlichesWerk.txt b/LICENSES/LicenseRef-AmtlichesWerk.txt
new file mode 100644
index 0000000..c11b93c
--- /dev/null
+++ b/LICENSES/LicenseRef-AmtlichesWerk.txt
@@ -0,0 +1,46 @@
+Amtliche Werke nach § 5 UrhG
+===========================
+
+Diese Kennung bezeichnet keine erteilte Lizenz, sondern hält die gesetzliche
+Rechtslage der so ausgezeichneten Dateien fest. Sie wird im Erzeugnis „ÄndGgner“
+für den Beispielkorpus unter src/test/resources/sampledata/ verwendet.
+
+1. Gemeinfreiheit
+
+   Gesetze, Rechtsverordnungen, amtliche Erlasse und Bekanntmachungen sowie
+   Entscheidungen und amtlich verfasste Leitsätze zu Entscheidungen genießen
+   nach § 5 Absatz 1 des Urheberrechtsgesetzes keinen urheberrechtlichen
+   Schutz. Das erfasst die hier abgelegten Verkündungsblätter des Bundes und
+   der Länder (Bundesgesetzblatt, Gesetz- und Verordnungsblätter) samt der
+   darin verkündeten Stammgesetze und Änderungsvorschriften sowie die
+   Drucksachen und Plenarprotokolle des Deutschen Bundestages, des Bundesrates
+   und der Landtage.
+
+   Referentenentwürfe, Regierungsentwürfe und amtliche Synopsen, die von den
+   Bundes- oder Landesministerien im amtlichen Interesse zur allgemeinen
+   Kenntnisnahme veröffentlicht wurden, sind andere amtliche Werke im Sinne
+   des § 5 Absatz 2 UrhG und stehen den vorgenannten gleich.
+
+2. Änderungsverbot und Quellenangabe
+
+   § 5 Absatz 1 und 2 UrhG lassen die entsprechend anzuwendenden Vorschriften
+   der §§ 62 Absatz 1 bis 3 und 63 Absatz 1 und 2 UrhG unberührt: Die Werke
+   dürfen nicht geändert werden, und die Quelle ist anzugeben. Die maßgeblichen
+   Fundstellen — Verkündungsblatt, Drucksachennummer, Abrufadresse und
+   Abrufdatum — sind für jede Datei in der Datei SOURCES des jeweiligen
+   Verzeichnisses nachgewiesen.
+
+3. Technische Aufbereitung
+
+   Ein Teil der Dateien stammt aus den amtlichen Rechtsportalen
+   (gesetze-im-internet.de des Bundesministeriums der Justiz, betrieben von der
+   juris GmbH, sowie die entsprechenden Portale der Länder) und liegt in deren
+   Satz- und Auszeichnungsform vor (PDF, gii-XML, EPUB). Diese technische
+   Aufbereitung begründet nach § 5 UrhG kein eigenes Recht am Text.
+
+4. Zweck und Verhältnis zur AGPL
+
+   Der Korpus dient allein als Prüfmaterial der Tests. Er ist nicht
+   „Corresponding Source“ im Sinne der GNU Affero General Public License, unter
+   der der Quelltext des Erzeugnisses steht; gebaut wird ohne ihn, und die
+   Datei .gitattributes nimmt ihn deshalb vom Quelltextarchiv aus.
diff --git a/REUSE.toml b/REUSE.toml
new file mode 100644
index 0000000..b5dd93c
--- /dev/null
+++ b/REUSE.toml
@@ -0,0 +1,215 @@
+# Zuordnung von Urheberschaft und Lizenz für Dateien, die keinen Kommentar vertragen
+# (Binärdateien, JSON, reiner Text) sowie für unverändert übernommene Fremddateien.
+# Alle übrigen Dateien tragen ihre SPDX-Kopfzeilen unmittelbar in sich.
+#
+# Der Beispielkorpus unter src/test/resources/sampledata/ ist nach Herkunft gegliedert:
+#
+#   1. Bund — Verkündungsblätter und Parlamentsdokumente (§ 5 Abs. 1 UrhG)
+#   2. Bund — ministerielle Entwürfe und Synopsen (§ 5 Abs. 2 UrhG)
+#   3. gesetze-im-internet.de — konsolidierte Stammfassungen (BMJ, Aufbereitung juris)
+#   4. Länder — Verkündungsblätter, Landtagsdrucksachen, Landesportale
+#   5. Selbst abgeleitete Textfassungen und Herkunftsnachweise
+#
+# Maßgeblich für die Fundstelle jeder einzelnen Datei — Verkündungsblatt,
+# Drucksachennummer, Abrufadresse, Abrufdatum — bleibt die Datei SOURCES des
+# jeweiligen Verzeichnisses; sie ist der Quellennachweis nach § 63 UrhG, den
+# LICENSES/LicenseRef-AmtlichesWerk.txt in Bezug nimmt.
+
+version = 1
+SPDX-PackageName = "ÄndGgner"
+SPDX-PackageSupplier = "Matthias Andreas Benkard <code@mail.matthias.benkard.de>"
+SPDX-PackageDownloadLocation = "https://gerrit.benkard.de/plugins/gitiles/aendggner"
+
+
+# ── Eigenes, aber ohne Kommentarsyntax ───────────────────────────────────────
+#
+# mini-gii.xml und maven.config bekommen bewusst keine Kopfzeile: Ersteres wird von
+# GiiXmlLoader gelesen, Letzteres von Maven vor jedem Bau, und beide sollen von der
+# Auszeichnung unberührt bleiben.
+
+[[annotations]]
+path = [
+  "FASSUNGEN.txt",
+  ".mvn/maven.config",
+  "src/main/resources/META-INF/native-image/eu.mulk/aendggner/reachability-metadata.json",
+  "src/test/resources/eu/mulk/aendggner/mini-gii.xml",
+]
+SPDX-FileCopyrightText = "2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>"
+SPDX-License-Identifier = "AGPL-3.0-or-later"
+
+
+# ── Mitgelieferter Maven-Wrapper ─────────────────────────────────────────────
+#
+# Unverändert von der Apache Software Foundation übernommen; mvnw und mvnw.cmd
+# tragen den ASF-Kopf bereits im Original und werden deshalb nicht angefasst.
+
+[[annotations]]
+path = [
+  "mvnw",
+  "mvnw.cmd",
+  ".mvn/wrapper/maven-wrapper.properties",
+]
+SPDX-FileCopyrightText = "The Apache Software Foundation"
+SPDX-License-Identifier = "Apache-2.0"
+
+
+# ── 1. Bund: Verkündungsblätter und Parlamentsdokumente ──────────────────────
+
+[[annotations]]
+path = [
+  "src/test/resources/sampledata/AGG/BT-Drs-21-6178_Regierungsentwurf.pdf",
+  "src/test/resources/sampledata/GEG/BR-Drs-170-23.pdf",
+  "src/test/resources/sampledata/GEG/BT-Drs-20-6875_Regierungsentwurf.pdf",
+  "src/test/resources/sampledata/GEG/BT-Drs-20-7619_Beschlussempfehlung.pdf",
+  "src/test/resources/sampledata/GEG/BT-Drs-21-6278_Regierungsentwurf.pdf",
+  "src/test/resources/sampledata/GEG/BT-Drs-21-7071_Beschlussempfehlung.pdf",
+  "src/test/resources/sampledata/GEG/bgbl123s0280_regelungstext.pdf",
+  "src/test/resources/sampledata/IfSG/0645-20.pdf",
+  "src/test/resources/sampledata/IfSG/1918111.pdf",
+  "src/test/resources/sampledata/IfSG/1923944.pdf",
+  "src/test/resources/sampledata/IfSG/1924232.pdf",
+  "src/test/resources/sampledata/IfSG/1924334.pdf",
+  "src/test/resources/sampledata/IfSG/bgbl120s2397_78991.pdf",
+  "src/test/resources/sampledata/ProdHaftG/BT-Drs-21-4297_Regierungsentwurf.pdf",
+  "src/test/resources/sampledata/UWG/BR-Drs-8-26.pdf",
+  "src/test/resources/sampledata/UWG/BR-Drs-8-26_zu.pdf",
+  "src/test/resources/sampledata/UWG/BT-Drs-21-1855_Regierungsentwurf.pdf",
+  "src/test/resources/sampledata/UWG/bgbl126s0043_regelungstext.pdf",
+]
+SPDX-FileCopyrightText = "Bundesrepublik Deutschland"
+SPDX-License-Identifier = "LicenseRef-AmtlichesWerk"
+
+
+# ── 2. Bund: ministerielle Entwürfe und Synopsen ─────────────────────────────
+
+[[annotations]]
+path = [
+  "src/test/resources/sampledata/AGG/RefE_2_AGGAEndG_2026-04-14.pdf",
+  "src/test/resources/sampledata/AGG/RegE_AGG_AendG_2026-05-06.pdf",
+  "src/test/resources/sampledata/AGG/Synopse_AGGAendG_RegE_2026.pdf",
+  "src/test/resources/sampledata/GEG/Referentenentwurf_GModG_2026-05-05.pdf",
+  "src/test/resources/sampledata/GEG/Regierungsentwurf_GModG_2026-05-13.pdf",
+  "src/test/resources/sampledata/ProdHaftG/RefE_Produkthaftung_2025-09-11.pdf",
+  "src/test/resources/sampledata/ProdHaftG/RegE_Produkthaftungsrecht_2025-12-17.pdf",
+  "src/test/resources/sampledata/ProdHaftG/Synopse_Produkthaftungsrecht_RegE.pdf",
+]
+SPDX-FileCopyrightText = "Bundesrepublik Deutschland, vertreten durch die jeweils federführenden Bundesministerien"
+SPDX-License-Identifier = "LicenseRef-AmtlichesWerk"
+
+
+# ── 3. gesetze-im-internet.de: konsolidierte Stammfassungen ──────────────────
+
+[[annotations]]
+path = [
+  "src/test/resources/sampledata/AGG/AGG.pdf",
+  "src/test/resources/sampledata/AGG/BJNR189710006.epub",
+  "src/test/resources/sampledata/AGG/BJNR189710006.xml",
+  "src/test/resources/sampledata/GEG/GEG.pdf",
+  "src/test/resources/sampledata/GEG/BJNR172810020.epub",
+  "src/test/resources/sampledata/GEG/BJNR172810020.xml",
+  "src/test/resources/sampledata/IfSG/IfSG.pdf",
+  "src/test/resources/sampledata/IfSG/BJNR104510000.epub",
+  "src/test/resources/sampledata/IfSG/BJNR104510000.xml",
+  "src/test/resources/sampledata/IfSG/IfSG - Gesetz zur Verhütung und Bekämpfung von Infektionskrankheiten beim Menschen.webarchive",
+  "src/test/resources/sampledata/ProdHaftG/ProdHaftG.pdf",
+  "src/test/resources/sampledata/ProdHaftG/BJNR021980989.epub",
+  "src/test/resources/sampledata/ProdHaftG/BJNR021980989.xml",
+  "src/test/resources/sampledata/UWG/UWG.pdf",
+  "src/test/resources/sampledata/UWG/BJNR141400004.epub",
+  "src/test/resources/sampledata/UWG/BJNR141400004.xml",
+]
+SPDX-FileCopyrightText = "Bundesrepublik Deutschland, vertreten durch das Bundesministerium der Justiz; technische Aufbereitung: juris GmbH"
+SPDX-License-Identifier = "LicenseRef-AmtlichesWerk"
+
+
+# ── 4. Länder ────────────────────────────────────────────────────────────────
+
+[[annotations]]
+path = [
+  "src/test/resources/sampledata/BayJG/BayJG.pdf",
+  "src/test/resources/sampledata/BayJG/gvbl-2026-06.pdf",
+  "src/test/resources/sampledata/BayJG/Ltg-Drs-19-9707_Gesetzentwurf.pdf",
+  "src/test/resources/sampledata/BayJG/Ltg-Drs-19-10365_Aenderungsantrag-Gruene.pdf",
+  "src/test/resources/sampledata/BayJG/Plenarprotokoll-19-72_2te-Lesung.pdf",
+]
+SPDX-FileCopyrightText = "Freistaat Bayern"
+SPDX-License-Identifier = "LicenseRef-AmtlichesWerk"
+
+[[annotations]]
+path = ["src/test/resources/sampledata/NRW/GV-NRW-2026-S202_22-Rundfunkaenderungsgesetz.pdf"]
+SPDX-FileCopyrightText = "Land Nordrhein-Westfalen"
+SPDX-License-Identifier = "LicenseRef-AmtlichesWerk"
+
+[[annotations]]
+path = [
+  "src/test/resources/sampledata/Niedersachsen/Nds-GVBl-2026-10_ELER-Foerdergesetz-AendG.pdf",
+  "src/test/resources/sampledata/Niedersachsen/Nds-GVBl-2026-23_BeurtVO-Steuer_amtliche-Satznummern.pdf",
+]
+SPDX-FileCopyrightText = "Land Niedersachsen"
+SPDX-License-Identifier = "LicenseRef-AmtlichesWerk"
+
+[[annotations]]
+path = ["src/test/resources/sampledata/Sachsen/SaechsGVBl-2026-S134_AendG-SaechsBeamtVG_revosax.pdf"]
+SPDX-FileCopyrightText = "Freistaat Sachsen"
+SPDX-License-Identifier = "LicenseRef-AmtlichesWerk"
+
+[[annotations]]
+path = ["src/test/resources/sampledata/Thueringen/GVBl-TH-2026-02_KiGaFinanzVO-AendVO-ua.pdf"]
+SPDX-FileCopyrightText = "Freistaat Thüringen"
+SPDX-License-Identifier = "LicenseRef-AmtlichesWerk"
+
+[[annotations]]
+path = ["src/test/resources/sampledata/Berlin/GVBl-2026-17_ASOG-LAF-AendG.pdf"]
+SPDX-FileCopyrightText = "Land Berlin"
+SPDX-License-Identifier = "LicenseRef-AmtlichesWerk"
+
+[[annotations]]
+path = ["src/test/resources/sampledata/BadenWuerttemberg/GBl-2026-26_KommunalwahlO-AendVO.pdf"]
+SPDX-FileCopyrightText = "Land Baden-Württemberg"
+SPDX-License-Identifier = "LicenseRef-AmtlichesWerk"
+
+[[annotations]]
+path = ["src/test/resources/sampledata/Hessen/GVBl-2026-05_11-AendVO-verkehrsrechtl-Zustaendigkeiten.pdf"]
+SPDX-FileCopyrightText = "Land Hessen"
+SPDX-License-Identifier = "LicenseRef-AmtlichesWerk"
+
+[[annotations]]
+path = ["src/test/resources/sampledata/SchleswigHolstein/GVOBl-2026-27_Kommunalrecht-AendG.pdf"]
+SPDX-FileCopyrightText = "Land Schleswig-Holstein"
+SPDX-License-Identifier = "LicenseRef-AmtlichesWerk"
+
+
+# ── 5. Selbst abgeleitete Textfassungen und Herkunftsnachweise ───────────────
+#
+# Die *-alt.txt tragen amtlichen Wortlaut in selbst hergestellter Aufbereitung
+# (Einrückung, Superskript-Satznummern, Gliederungsüberschriften); der Wortlaut ist
+# gemeinfrei, die Aufbereitung eigene Arbeit. Die SOURCES-Dateien sind vollständig
+# eigener Text, stehen aber im selben Zusammenhang.
+
+[[annotations]]
+path = [
+  "src/test/resources/sampledata/BayJG/BayJG-alt.txt",
+  "src/test/resources/sampledata/NRW/17-RAEStV-AusfG-alt.txt",
+  "src/test/resources/sampledata/NRW/LMG-NRW-alt.txt",
+  "src/test/resources/sampledata/NRW/TMZ-Gesetz-alt.txt",
+  "src/test/resources/sampledata/NRW/WDR-Gesetz-alt.txt",
+  "src/test/resources/sampledata/Niedersachsen/NEFG-alt.txt",
+  "src/test/resources/sampledata/Sachsen/SaechsBeamtVG-alt.txt",
+  "src/test/resources/sampledata/Thueringen/ThuerKigaFinVO-alt.txt",
+]
+SPDX-FileCopyrightText = "2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>"
+SPDX-License-Identifier = "AGPL-3.0-or-later AND LicenseRef-AmtlichesWerk"
+
+[[annotations]]
+path = [
+  "src/test/resources/sampledata/AGG/SOURCES",
+  "src/test/resources/sampledata/BayJG/SOURCES",
+  "src/test/resources/sampledata/GEG/SOURCES",
+  "src/test/resources/sampledata/IfSG/SOURCES",
+  "src/test/resources/sampledata/NRW/SOURCES",
+  "src/test/resources/sampledata/ProdHaftG/SOURCES",
+  "src/test/resources/sampledata/Thueringen/SOURCES",
+  "src/test/resources/sampledata/UWG/SOURCES",
+]
+SPDX-FileCopyrightText = "2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>"
+SPDX-License-Identifier = "AGPL-3.0-or-later"
diff --git a/deploy/cloudflare.sh b/deploy/cloudflare.sh
index d64325f..5f18f62 100755
--- a/deploy/cloudflare.sh
+++ b/deploy/cloudflare.sh
@@ -1,4 +1,7 @@
 #!/bin/sh
+# SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
 # Baut die Browserfassung und schiebt sie zu Cloudflare Workers (README § 15).
 #
 #   1. ./mvnw -Pwasm package — erzeugt target/web und lässt deploy/webpaket.sh darüber
diff --git a/deploy/nginx-aendggner.conf b/deploy/nginx-aendggner.conf
index 78677b5..3a4ad44 100644
--- a/deploy/nginx-aendggner.conf
+++ b/deploy/nginx-aendggner.conf
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
 # Vorlage für die Auslieferung der ÄndGgner-Browserfassung unter
 # https://matthias.benkard.de/aendggner/.
 #
diff --git a/deploy/webpaket.sh b/deploy/webpaket.sh
index 75ad471..7ace69c 100755
--- a/deploy/webpaket.sh
+++ b/deploy/webpaket.sh
@@ -1,4 +1,7 @@
 #!/bin/sh
+# SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
 # Macht aus dem Übersetzerergebnis ein auslieferbares Verzeichnis. Läuft in der Phase
 # „package“ des Profils -Pwasm, unmittelbar nach native-image.
 #
diff --git a/src/main/resources/eu/mulk/aendggner/logging.properties b/src/main/resources/eu/mulk/aendggner/logging.properties
index cdebd0e..4d435c0 100644
--- a/src/main/resources/eu/mulk/aendggner/logging.properties
+++ b/src/main/resources/eu/mulk/aendggner/logging.properties
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
 #
 # General settings
 #
diff --git a/src/main/resources/eu/mulk/aendggner/web/app.js b/src/main/resources/eu/mulk/aendggner/web/app.js
index c59f6e3..3a2957c 100644
--- a/src/main/resources/eu/mulk/aendggner/web/app.js
+++ b/src/main/resources/eu/mulk/aendggner/web/app.js
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
 // Nimmt die Dateien aus dem Formular entgegen, reicht sie an den Worker und zeigt die Synopse.
 // Es gibt keinen Server: Alles läuft im Browser.
 
diff --git a/src/main/resources/eu/mulk/aendggner/web/datenschutz.html b/src/main/resources/eu/mulk/aendggner/web/datenschutz.html
index 6a38035..1a57392 100644
--- a/src/main/resources/eu/mulk/aendggner/web/datenschutz.html
+++ b/src/main/resources/eu/mulk/aendggner/web/datenschutz.html
@@ -1,4 +1,6 @@
 <!doctype html>
+<!-- SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+     SPDX-License-Identifier: AGPL-3.0-or-later -->
 <html lang="de">
 <head>
   <meta charset="utf-8">
diff --git a/src/main/resources/eu/mulk/aendggner/web/favicon.svg b/src/main/resources/eu/mulk/aendggner/web/favicon.svg
index 5b19c76..6293ddf 100644
--- a/src/main/resources/eu/mulk/aendggner/web/favicon.svg
+++ b/src/main/resources/eu/mulk/aendggner/web/favicon.svg
@@ -1,3 +1,5 @@
+<!-- SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+     SPDX-License-Identifier: AGPL-3.0-or-later -->
 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" role="img" aria-label="ÄndGgner">
   <!-- Farben wie in style.css: Papier, Haarlinie, schwarzes Zeichen. Ein Favicon erbt keine
        CSS-Variablen, deshalb stehen die Werte hier ausgeschrieben. -->
diff --git a/src/main/resources/eu/mulk/aendggner/web/style.css b/src/main/resources/eu/mulk/aendggner/web/style.css
index c872cbe..69fd246 100644
--- a/src/main/resources/eu/mulk/aendggner/web/style.css
+++ b/src/main/resources/eu/mulk/aendggner/web/style.css
@@ -1,3 +1,6 @@
+/* SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+   SPDX-License-Identifier: AGPL-3.0-or-later */
+
 /* Schwarz auf Papier wie ein Gesetzblatt. Farbe tritt allein an den Balken der
    Hinweiskästen auf und meint dort dasselbe wie in der Synopse: rot warnt, grün
    bestätigt. Die Kästen bleiben auch ohne den Balken lesbar; er hebt sie hervor,
diff --git a/src/main/resources/eu/mulk/aendggner/web/worker.js b/src/main/resources/eu/mulk/aendggner/web/worker.js
index 12ba400..f20e873 100644
--- a/src/main/resources/eu/mulk/aendggner/web/worker.js
+++ b/src/main/resources/eu/mulk/aendggner/web/worker.js
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
 // Führt das Wasm-Modul in einem eigenen Thread aus: Web Image ist einthreadig, und ein Lauf über
 // mehrere Sekunden würde die Oberfläche sonst einfrieren.
 
diff --git a/src/test/resources/sampledata/Landesrecht-Beispiele.adoc b/src/test/resources/sampledata/Landesrecht-Beispiele.adoc
index 3eb455c..eabc0bf 100644
--- a/src/test/resources/sampledata/Landesrecht-Beispiele.adoc
+++ b/src/test/resources/sampledata/Landesrecht-Beispiele.adoc
@@ -1,5 +1,7 @@
 = Beispieldaten: Landesrecht weiterer Länder
 Matthias Andreas Benkard
+// SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+// SPDX-License-Identifier: AGPL-3.0-or-later
 
 Ergänzend zum bayerischen Belegfall (`BayJG/`) sind hier Änderungsgesetze und
 Änderungsverordnungen aus dem Landesrecht weiterer Länder gesammelt. Sie dienen als
diff --git a/wrangler.toml b/wrangler.toml
index 3647802..624c2c5 100644
--- a/wrangler.toml
+++ b/wrangler.toml
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2020 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
 # Auslieferung über Cloudflare Workers (README § 15). Der Worker führt keinen eigenen
 # Code aus: hochgeladen wird allein das Verzeichnis target/web, das `-Pwasm package`
 # erzeugt und deploy/webpaket.sh auslieferfertig hinterlässt.