Skip to main content

Overview

Articles are the numbered provisions within each regulation. Use client.articles() to list, fetch, and iterate articles for any framework.

Methods

list(String frameworkSlug)

Returns the first page of articles for a framework.
Returns Page<ArticleSummary>

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<ArticleSummary>

get()

Fetch full detail for a single article including all paragraphs.
Parameters
ParameterTypeDescription
frameworkSlugStringFramework slug
articleNumberStringArticle number, e.g. "17" or "17a"
Returns Article
Fetch articles related to a given article (cross-references).
Returns Page<ArticleSummary>

iter()

Lazily iterate all articles for a framework.
Returns Iterable<ArticleSummary>

Models

ArticleSummary

Returned by list(), related(), and iter().
FieldTypeDescription
id()intInternal numeric ID
number()StringArticle number, e.g. "17"
title()StringArticle title
frameworkSlug()StringParent framework slug
paragraphCount()intNumber of paragraphs

Article

Returned by get(). Includes all ArticleSummary fields plus:
FieldTypeDescription
paragraphs()List<ArticleParagraph>All paragraphs of the article
tags()List<String>Associated compliance tags

ArticleParagraph

FieldTypeDescription
reference()StringParagraph reference, e.g. "1", "1(a)"
text()StringFull paragraph text

Examples

Find articles containing specific obligations

Collect all DORA articles into a list