Skip to main content

Overview

Frameworks represent EU regulations such as GDPR, CRA, NIS2, and the AI Act. Use client.frameworks() to list and fetch them.

Methods

list()

Returns a page of all available frameworks.
Returns Page<Framework>

list(int page, int perPage)

Fetch a specific page with custom page size.
Parameters
ParameterTypeDefaultDescription
pageint1Page number (1-indexed)
perPageint20Items per page (max 100)
Returns Page<Framework>

get()

Fetch full detail for a single framework by slug.
Parameters
ParameterTypeDescription
slugStringFramework slug, e.g. "gdpr"
Returns FrameworkDetail

iter()

Lazily iterate all frameworks across all pages.
Returns Iterable<Framework>

Models

Framework

Returned by list() and iter().
FieldTypeDescription
id()intInternal numeric ID
slug()StringURL-safe identifier, e.g. "cra"
name()StringFull framework name
shortName()StringShort name, e.g. "CRA"
celexNumber()StringEUR-Lex CELEX identifier
description()StringBrief description
isActive()booleanWhether data is actively maintained
status()String"active", "draft", or "superseded"
articleCount()intNumber of synced articles
recitalCount()intNumber of synced recitals
createdAt()StringISO 8601 creation timestamp

FrameworkDetail

Returned by get(). Includes all Framework fields plus:
FieldTypeDescription
eurLexUrl()StringLink to the official EUR-Lex page
requirementCount()intNumber of extracted requirements
annexCount()intNumber of annexes
tagCount()intNumber of associated tags

Examples

List all active frameworks

Build a framework lookup map

Print frameworks with full article coverage