Live articles

The frontend renders only what KB/src/kb/index.ts exports as allArticles. As of this note, that array contains 10 inline KBArticle literals:

idtitlecategoryapplicability
gdpr/article-6GDPR Article 6 — Lawfulness of Processinggdpreu
gdpr/article-14GDPR Article 14 — Transparency for Indirectly Obtained Datagdpreu
gdpr/article-17GDPR Article 17 — Right to Erasuregdpreu
swedish-law/dataskyddslagenThe Swedish Data Protection Act (Dataskyddslagen)swedish-lawsweden
swedish-law/imy-supervisionIMY — The Swedish Data Protection Authorityswedish-lawsweden
b2b-enrichment/legitimate-interest-assessmentConducting a Legitimate Interest Assessment (LIA) for B2B Enrichmentb2b-enrichmentsweden
b2b-enrichment/data-sourcesPermissible Data Sources for Swedish B2B Enrichmentb2b-enrichmentsweden
enforcement/imy-fines-2023-2024IMY Enforcement Actions 2023–2024: Key Decisionsenforcementsweden
templates/art14-noticeTemplate: Article 14 Notification Emailtemplatessweden
templates/dpa-templateTemplate: Data Processing Agreement (DPA)templateseu

Source: KB/src/kb/index.ts (~480 lines, all literals).

Unwired draft modules

The following files exist in the repo but are not imported by index.ts:

  • KB/src/kb/gdpr/article-6.ts — exports gdprArticle6 (deep-dive, ~190 lines)
  • KB/src/kb/gdpr/article-13-14.ts — exports gdprArticle1314 (~205 lines)
  • KB/src/kb/gdpr/article-30.ts — exports gdprArticle30 (RoPA, ~185 lines)
  • KB/src/kb/gdpr/overview.ts — exports gdprOverview (~190 lines)
  • KB/src/kb/swedish-law/dataskyddslagen.ts — exports dataskyddslagen (deeper than the inline one, ~155 lines)
  • KB/src/kb/swedish-law/bolagsverket.ts — exports bolagsverketData (~190 lines)
  • KB/src/kb/b2b-enrichment/legitimate-interest.ts — exports legitimateInterest
  • KB/src/kb/b2b-enrichment/data-minimization.ts — exports dataMinimization
  • KB/src/kb/b2b-enrichment/art14-obligations.ts — exports art14Obligations
  • KB/src/kb/b2b-enrichment/retention-limits.ts — exports retentionLimits
  • KB/src/kb/enforcement/imy-decisions.ts — exports imyDecisions

Warning

All five files under b2b-enrichment/ and enforcement/ import from "../../types", which does not exist. Correct path is "../../lib/types". They will not compile if they were ever imported. The gdpr/ and swedish-law/ files use the correct relative path ("../../lib/types").

Todo

No templates/ subdirectory exists despite templates being a KBCategory. The two template articles live inline in index.ts.

Welcome screen claim

The welcome screen advertises “29 Legal Articles” (KB/src/components/ArticleViewer.tsx:171). The actual count rendered is 10. The discrepancy presumably reflects the planned merge of the unwired draft modules.

Article schema

Defined in KB/src/lib/types.ts:21:

interface KBArticle {
  id: string;                  // e.g. "gdpr/article-6"
  title: string;
  category: KBCategory;        // gdpr | swedish-law | b2b-enrichment | enforcement | templates
  tags: string[];
  summary: string;             // 2–3 sentences shown in summary box and search results
  content: KBSection[];        // ordered, nested by `level: 2 | 3 | 4`
  citations: Citation[];
  lastUpdated: string;         // ISO date
  applicability: Applicability; // sweden | eu | global
}

See also

KB Overview, KB GDPR Articles, KB Swedish Law, KB B2B Enrichment, KB IMY Decisions.

See also