Overview
Recitals are the numbered preamble paragraphs that provide context and legislative intent for each regulation. Useclient.recitals() to access them.
Methods
list(String frameworkSlug)
Returns the first page of recitals for a framework.
Page<Recital>
list(String frameworkSlug, int page, int perPage)
Fetch a specific page with custom page size.
| Parameter | Type | Default | Description |
|---|---|---|---|
frameworkSlug | String | required | Framework slug, e.g. "gdpr" |
page | int | 1 | Page number (1-indexed) |
perPage | int | 20 | Items per page (max 100) |
Page<Recital>
get()
Fetch a single recital by number.
| Parameter | Type | Description |
|---|---|---|
frameworkSlug | String | Framework slug |
recitalNumber | String | Recital number, e.g. "4" |
Recital
iter()
Lazily iterate all recitals for a framework.
Iterable<Recital>
Model
Recital
| Field | Type | Description |
|---|---|---|
id() | int | Internal numeric ID |
number() | String | Recital number, e.g. "4" |
title() | String | Short title or topic |
text() | String | Full recital text |
frameworkSlug() | String | Parent framework slug |
