Documentation Index
Fetch the complete documentation index at: https://docs.law4devs.eu/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Requirements are structured, machine-readable compliance obligations extracted from articles. They are classified by type and stakeholder role. Useclient.requirements() to list and iterate them.
Methods
list()
Returns the first page of requirements across all frameworks.
Page<Requirement>
list(String frameworkSlug)
Returns the first page of requirements scoped to a specific framework.
Page<Requirement>
list(String frameworkSlug, int page, int perPage)
Fetch a specific page with custom page size.
| Parameter | Type | Default | Description |
|---|---|---|---|
frameworkSlug | String | null | Scope to one framework (optional) |
page | int | 1 | Page number (1-indexed) |
perPage | int | 20 | Items per page (max 100) |
Page<Requirement>
iter()
Lazily iterate all requirements across all frameworks.
Iterable<Requirement>
iter(String frameworkSlug)
Lazily iterate all requirements for a specific framework.
Iterable<Requirement>
Model
Requirement
| Field | Type | Description |
|---|---|---|
id() | int | Internal numeric ID |
frameworkSlug() | String | Parent framework slug |
articleNumber() | String | Source article number |
requirementType() | String | e.g. "MUST", "SHOULD", "MAY" |
description() | String | Human-readable requirement description |
stakeholderRole() | String | Target role, e.g. "manufacturer", "controller" |
legalReference() | String | Article and paragraph reference |
