Skip to main content

Overview

Compliance deadlines are specific dates by which organisations must have completed certain obligations under a regulation. They are extracted from articles and classified by type (e.g. "transposition", "application", "notification").

Methods

deadlines()

Returns a page of compliance deadlines, optionally filtered to a single framework.
Parameters
ParameterTypeDefaultDescription
frameworkSlugstringFilter to a specific framework
pagenumber1Page number
perPagenumber20Items per page (1–100)
Returns Promise<Page<ComplianceDeadline>>

iterDeadlines()

Iterate over all compliance deadlines without managing pagination.
The method is iterDeadlines(), not iter(). This is intentional — the compliance resource covers deadlines across multiple frameworks rather than scoping to a single one.
Parameters — same options as deadlines() (except page, which is managed internally). Returns AsyncGenerator<ComplianceDeadline>

Model

ComplianceDeadline

FieldTypeDescription
idnumberInternal numeric ID
frameworkSlugstringParent framework slug
articleNumbernumberSource article number
paragraphRefstring | nullSource paragraph reference
deadlineDatestring | nullISO 8601 deadline date, or null if ongoing
deadlineTypestringCategory, e.g. "transposition", "application", "notification"
descriptionstringHuman-readable description of the obligation

Example: build a deadline calendar

To get deadlines across all frameworks at once, call iterDeadlines() without a frameworkSlug filter.