Skip to main content

Overview

Articles are the core legal text units of each framework. Each article has a number, title, content, paragraphs, and associated tags.

Methods

list()

get()

iter()


Models

ArticleSummary

FieldTypeDescription
idintInternal ID
frameworkSlugStringParent framework (e.g. gdpr)
numberStringArticle number (e.g. 5)
titleStringArticle title
positionintOrdering position
paragraphCountintNumber of paragraphs
tagsList<Tag>Semantic tags

Article

Extends ArticleSummary with:
FieldTypeDescription
contentStringFull text content
paragraphsList<ArticleParagraph>Structured paragraphs

ArticleParagraph

FieldTypeDescription
paragraphRefStringParagraph reference (e.g. 1, 1a)
contentStringParagraph text
positionintOrdering position

Examples

List articles for a framework

Get a specific article

Auto-paginate all articles