Skip to main content

Overview

Recitals are the numbered preamble paragraphs that provide context and legislative intent for each regulation. Use client.recitals() to access them.

Methods

list(String frameworkSlug)

Returns the first page of recitals for a framework.
Returns Page<Recital>

list(String frameworkSlug, int page, int perPage)

Fetch a specific page with custom page size.
Parameters
ParameterTypeDefaultDescription
frameworkSlugStringrequiredFramework slug, e.g. "gdpr"
pageint1Page number (1-indexed)
perPageint20Items per page (max 100)
Returns Page<Recital>

get()

Fetch a single recital by number.
Parameters
ParameterTypeDescription
frameworkSlugStringFramework slug
recitalNumberStringRecital number, e.g. "4"
Returns Recital

iter()

Lazily iterate all recitals for a framework.
Returns Iterable<Recital>

Model

Recital

FieldTypeDescription
id()intInternal numeric ID
number()StringRecital number, e.g. "4"
title()StringShort title or topic
text()StringFull recital text
frameworkSlug()StringParent framework slug

Examples

Search recitals for a keyword