Serveur MCP

Payments Law EU

eu.paymentslaw/legislation
Juridique et conformité Paiements et fintech Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Searches, retrieves, compares, and cites curated EU payments legislation and related legal definitions.

compare_versions
Compare PSR or PSD3 article versions
Use this to compare an article between the held Commission proposal and Council compromise versions of PSR or PSD3, within the same instrument. Serves the word-level comparison the build published: a pair is servable if and only if a diff artefact exists for it — the PSR and PSD3 proposal↔compromise pairs and nothing else. Every other pair, including every consolidated instrument's pinned as-adopted text, is refused with the URL where that text is published; this service never recomputes a comparison. Pairs match in either direction, and a reversed request is the same artefact with the ops inverted. `changes` reads that artefact structurally — paragraphs added or deleted, figures and durations moved, a heading rewritten — for a caller that needs what KIND of change this was without parsing the word-level ops. It is scoped to the article, not to the page of ops, and locates each entry no more precisely than the served text allows.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['instrument_id', 'from_version_id', 'to_version_id'], 'properties': {'limit': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'cursor': {'type': ['string', 'null']}, 'to_locator': {'anyOf': [{'type': 'object', 'required': ['kind'], 'properties': {'kind': {'enum': ['article', 'annex', 'recital'], 'type': 'string', 'description': 'Which kind of provision the locator names.'}, 'annex': {'type': ['string', 'null'], 'description': 'Annex number, roman or arabic ("I", "1"); omit for an instrument whose single annex is unnumbered.'}, 'point': {'type': ['string', 'null'], 'description': 'Lettered point within the paragraph, e.g. "b".'}, 'article': {'type': ['string', 'null'], 'description': 'Article number as printed: "97", "45a", "69-a".'}, 'recital': {'type': ['string', 'null'], 'description': 'Recital number, e.g. "95".'}, 'subpoint': {'type': ['string', 'null'], 'description': 'Sub-point within the point.'}, 'paragraph': {'type': ['string', 'null'], 'description': 'Numbered paragraph within the article, e.g. "2".'}}}, {'type': 'null'}], 'description': 'The article on the to side.'}, 'from_locator': {'anyOf': [{'type': 'object', 'required': ['kind'], 'properties': {'kind': {'enum': ['article', 'annex', 'recital'], 'type': 'string', 'description': 'Which kind of provision the locator names.'}, 'annex': {'type': ['string', 'null'], 'description': 'Annex number, roman or arabic ("I", "1"); omit for an instrument whose single annex is unnumbered.'}, 'point': {'type': ['string', 'null'], 'description': 'Lettered point within the paragraph, e.g. "b".'}, 'article': {'type': ['string', 'null'], 'description': 'Article number as printed: "97", "45a", "69-a".'}, 'recital': {'type': ['string', 'null'], 'description': 'Recital number, e.g. "95".'}, 'subpoint': {'type': ['string', 'null'], 'description': 'Sub-point within the point.'}, 'paragraph': {'type': ['string', 'null'], 'description': 'Numbered paragraph within the article, e.g. "2".'}}}, {'type': 'null'}], 'description': 'The article on the from side. Alignment is identity on the article number, so naming either side names both.'}, 'instrument_id': {'type': 'string', 'description': 'Registry id of the instrument, e.g. "psr".'}, 'to_version_id': {'type': 'string', 'description': 'Version id the other side.'}, 'from_version_id': {'type': 'string', 'description': 'Version id one side of the pair.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data', 'error', 'provenance', 'coverage', 'derivations', 'corpus_release', 'warnings', 'pagination'], 'properties': {'data': {'anyOf': [{'type': 'object', 'required': ['instrument_id', 'article', 'cite', 'from', 'to', 'status', 'direction', 'editorial_review_state', 'classification_note', 'changes', 'pairs'], 'properties': {'to': {'type': 'object', 'required': ['version_id'], 'properties': {'version_id': {'type': 'string'}}, 'additionalProperties': {}}, 'cite': {'type': 'string'}, 'from': {'type': 'object', 'required': ['version_id'], 'properties': {'version_id': {'type': 'string'}}, 'additionalProperties': {}}, 'pairs': {'type': 'array', 'items': {'type': 'object', 'required': ['ops'], 'properties': {'ops': {'type': 'array', 'items': {'type': 'array', 'items': False, 'maxItems': 2, 'minItems': 2, 'prefixItems': [{'type': 'string'}, {'type': 'string'}]}}}, 'additionalProperties': {}}}, 'status': {'type': 'string'}, 'article': {'type': 'string'}, 'changes': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}}, 'additionalProperties': {}}}, {'type': 'null'}], 'description': "What KIND of change this comparison evidences, read off the same artefact as pairs[]. Types: paragraph_added, paragraph_deleted, paragraph_amended (with words_changed, counting both sides of a substitution), figure_changed (with from/to quoting the served text), heading_changed, the article_* counterparts of the first three for an article's text outside any numbered paragraph, and none_detected where nothing was found â\x80\x94 never an empty list. An entry carries `paragraph` and, where the served text settles it, `point` and `subpoint`, in the §7 locator model's own field names; an article_* entry carries none of them. Those components are a CITATION, not a promise of retrieval: a sub-point is often not a block get_provision serves, so open an entry at the enclosing point, and then the paragraph, which does serve the text the entry quotes. A roman sub-point is always qualified by its letter point (PSR Art 97(2)(a)(ii), never (ii) alone), and a list the text does not settle is left unlocated. ARTICLE-SCOPED, not page-scoped: the whole inventory travels with every page of pairs[], so a client paging through must not concatenate it. Repeated identical entries are repeated occurrences in one paragraph, not duplicates. Null means this release predates the inventory, which is not the same as none_detected."}, 'direction': {'type': 'string'}, 'instrument_id': {'type': 'string'}, 'classification_note': {'type': 'string'}, 'editorial_review_state': {'type': 'string'}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'error': {'anyOf': [{'type': 'object', 'required': ['code', 'message', 'details'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'coverage': {'type': 'object', 'required': ['corpus', 'language', 'exhaustive', 'national_implementation'], 'properties': {'corpus': {'type': 'string'}, 'language': {'type': 'string'}, 'exhaustive': {'type': 'boolean'}, 'national_implementation': {'type': 'boolean'}}, 'additionalProperties': False}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'pagination': {'anyOf': [{'type': 'object', 'required': ['complete', 'next_cursor'], 'properties': {'total': {'type': 'number'}, 'complete': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'derivations': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}, 'method': {'type': 'string'}}, 'additionalProperties': False}}, 'corpus_release': {'type': 'object', 'required': ['corpus_release_id', 'schema_version', 'built_at'], 'properties': {'built_at': {'type': 'string'}, 'schema_version': {'type': 'string'}, 'corpus_release_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
fetch
Read EU legislative text (compatible)
Use this to open and cite an EU legislative provision found by search. OpenAI-compatible retrieval: the full text of one provision by its cite anchor id (e.g. "psd-2 Art 97"), with citation metadata. Accepts only ids this service minted — free-text citations belong to resolve_citation. get_provision returns more: paging, applicability and typed warnings.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'string', 'description': 'An id from search, or a cite anchor such as "psd-2 Art 97" or "psd-2 Recital 12", or an instrument id such as "psd-2". An optional version qualifier, e.g. "psr (com-2023-367) Art 105", retains its edition and refuses unserved text.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id', 'title', 'text', 'url', 'metadata'], 'properties': {'id': {'type': 'string'}, 'url': {'type': 'string'}, 'text': {'type': 'string', 'description': 'The legal text selected from the provision. Full referenced note bodies travel separately in metadata.source_notes; notes do not alter legal block counts or content_hash.'}, 'title': {'type': 'string'}, 'metadata': {'type': 'object', 'properties': {'source_notes': {'anyOf': [{'type': 'object', 'required': ['scope', 'source_version_id', 'complete', 'items'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['key', 'marker', 'text'], 'properties': {'key': {'type': 'string'}, 'text': {'type': 'string'}, 'marker': {'type': 'string'}}, 'additionalProperties': False}}, 'scope': {'type': 'string', 'const': 'returned_text'}, 'complete': {'type': 'boolean', 'const': True, 'description': "All notes referenced in this response's text, not the whole document or later pages."}, 'source_version_id': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Null means unverified/unsupported coverage or an older release; consult the typed warning. Not an empty note inventory. Legal content_hash and block counts exclude this attachment.'}}, 'additionalProperties': {}}}, 'additionalProperties': False}
get_defined_term
Read and compare legal definitions
Use this to read and compare the held legislative definitions of a term, such as payment transaction in PSD2 and PSR. These are source definitions, not a general dictionary or a legal opinion. Every definition verbatim and resolved, clustered by what the text actually says, with the chronological and concurrent views and word-level comparisons between them. Resolution follows the CITED version, never legislative succession: a definition citing a repealed act resolves to that act and is labelled repealed, not silently replaced by its successor's wording. A term the corpus does not define is refused with suggestions — nothing is substituted. references_in gives the reverse edges: which definitions lean on this one.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['term'], 'properties': {'term': {'type': 'string', 'description': 'The defined term, as written in the legislation ("payment account"). Matched exactly after normalisation; a term the corpus does not define is refused with suggestions, never answered with a neighbouring one.'}, 'view': {'anyOf': [{'enum': ['resolved', 'verbatim'], 'type': 'string'}, {'type': 'null'}], 'description': 'Which text clusters and comparisons run on. "resolved" (default) follows each definition\'s pointers to its root; "verbatim" uses the text as each instrument prints it.'}, 'on_date': {'type': ['string', 'null'], 'description': "ISO date. Adds operative_on_date and temporal_state_on_date per definer, and makes the concurrent view that date's rather than the release's."}, 'comparison': {'anyOf': [{'anyOf': [{'type': 'string', 'const': 'adjacent'}, {'type': 'object', 'required': ['baseline'], 'properties': {'baseline': {'type': 'string'}}}, {'type': 'object', 'required': ['pair'], 'properties': {'pair': {'type': 'array', 'items': False, 'maxItems': 2, 'minItems': 2, 'prefixItems': [{'type': 'string'}, {'type': 'string'}]}}}, {'type': 'object', 'required': ['concurrent_pairs'], 'properties': {'concurrent_pairs': {'type': 'object', 'properties': {'cursor': {'type': ['string', 'null']}}}}}]}, {'type': 'null'}], 'description': 'Which comparisons to compute. "adjacent" (default) compares consecutive distinct clusters in chronological order; {baseline: cluster_id} compares one cluster against every other; {pair: [cite, cite]} compares two named definitions; {concurrent_pairs: {}} compares every pair that was in force at once.'}, 'instrument': {'type': ['string', 'null'], 'description': 'Narrow the definitions listed to one definer. The clusters, views and comparisons stay corpus-wide: what the term means elsewhere does not change because you asked about one instrument.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data', 'error', 'provenance', 'coverage', 'derivations', 'corpus_release', 'warnings', 'pagination'], 'properties': {'data': {'anyOf': [{'type': 'object', 'required': ['term', 'view', 'definitions', 'clusters', 'views', 'comparisons', 'references_in'], 'properties': {'term': {'type': 'string'}, 'view': {'type': 'string'}, 'views': {'type': 'object', 'required': ['evolution', 'concurrent'], 'properties': {'evolution': {'type': 'array', 'items': {'type': 'object', 'required': ['cite'], 'properties': {'cite': {'type': 'string'}}, 'additionalProperties': {}}}, 'concurrent': {'type': 'array', 'items': {'type': 'object', 'required': ['cite'], 'properties': {'cite': {'type': 'string'}}, 'additionalProperties': {}}}}, 'additionalProperties': {}}, 'clusters': {'type': 'array', 'items': {'type': 'object', 'required': ['cluster_id', 'member_cites'], 'properties': {'cluster_id': {'type': 'string'}, 'member_cites': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': {}}}, 'comparisons': {'type': 'array', 'items': {'type': 'object', 'required': ['from_cite', 'to_cite', 'ops'], 'properties': {'ops': {'anyOf': [{'type': 'array', 'items': {'type': 'array', 'items': False, 'maxItems': 2, 'minItems': 2, 'prefixItems': [{'type': 'string'}, {'type': 'string'}]}}, {'type': 'null'}]}, 'to_cite': {'type': 'string'}, 'from_cite': {'type': 'string'}}, 'additionalProperties': {}}}, 'definitions': {'type': 'array', 'items': {'type': 'object', 'required': ['instrument_id', 'qualifier', 'defined_within', 'cite', 'verbatim_definition', 'resolved_definition', 'resolution_status'], 'properties': {'cite': {'type': 'string'}, 'qualifier': {'type': ['string', 'null']}, 'instrument_id': {'type': 'string'}, 'defined_within': {'type': ['string', 'null']}, 'resolution_status': {'type': 'string'}, 'resolved_definition': {'type': 'string'}, 'verbatim_definition': {'type': 'string'}}, 'additionalProperties': {}}}, 'references_in': {'type': 'array', 'items': {'type': 'object', 'required': ['instrument_id', 'cite'], 'properties': {'cite': {'type': 'string'}, 'instrument_id': {'type': 'string'}}, 'additionalProperties': {}}}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'error': {'anyOf': [{'type': 'object', 'required': ['code', 'message', 'details'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'coverage': {'type': 'object', 'required': ['corpus', 'language', 'exhaustive', 'national_implementation'], 'properties': {'corpus': {'type': 'string'}, 'language': {'type': 'string'}, 'exhaustive': {'type': 'boolean'}, 'national_implementation': {'type': 'boolean'}}, 'additionalProperties': False}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'pagination': {'anyOf': [{'type': 'object', 'required': ['complete', 'next_cursor'], 'properties': {'total': {'type': 'number'}, 'complete': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'derivations': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}, 'method': {'type': 'string'}}, 'additionalProperties': False}}, 'corpus_release': {'type': 'object', 'required': ['corpus_release_id', 'schema_version', 'built_at'], 'properties': {'built_at': {'type': 'string'}, 'schema_version': {'type': 'string'}, 'corpus_release_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
get_instrument
Check EU instrument status and version
Use this to check an EU instrument's recorded legal status, source version, dates and amendments, including whether a held PSR or PSD3 text is a proposal or compromise. Metadata, dates, lifecycle and application events, and curated relationships. Each relationship names the operative amending or repealing article where curated (openable with get_provision) and the counterpart's legal status at the release. An operative_cite can arrive without an operative_locator: the article is real but the served text has dropped it, and operative_locator_unavailable says so. An amender outside the corpus is named under source_external, whose via_article carries its article. No article index — use list_provisions. Pass on_date for the multi-axis applicability record on that date.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['instrument_id'], 'properties': {'on_date': {'type': ['string', 'null'], 'description': 'ISO date; returns the full applicability record.'}, 'instrument_id': {'type': 'string'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data', 'error', 'provenance', 'coverage', 'derivations', 'corpus_release', 'warnings', 'pagination'], 'properties': {'data': {'anyOf': [{'type': 'object', 'required': ['instrument_id', 'title', 'legal_status_at_release', 'version_id', 'text_state', 'url', 'relationships'], 'properties': {'url': {'type': 'string'}, 'title': {'type': 'string'}, 'text_state': {'type': 'string'}, 'version_id': {'type': 'string'}, 'instrument_id': {'type': 'string'}, 'relationships': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'direction', 'target_status', 'operative_locator', 'operative_cite', 'operative_locator_unavailable'], 'properties': {'kind': {'type': 'string'}, 'direction': {'type': 'string'}, 'target_status': {'type': ['string', 'null']}, 'operative_cite': {'type': ['string', 'null']}, 'source_external': {'anyOf': [{'type': 'object', 'required': ['celex', 'title', 'via_article'], 'properties': {'celex': {'type': 'string'}, 'title': {'type': 'string'}, 'via_article': {'type': ['string', 'null']}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'target_external': {'anyOf': [{'type': 'object', 'required': ['celex', 'title'], 'properties': {'celex': {'type': 'string'}, 'title': {'type': 'string'}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'operative_locator': {'anyOf': [{'type': 'object', 'required': ['instrument_id', 'kind', 'article'], 'properties': {'kind': {'type': 'string'}, 'article': {'type': 'string'}, 'instrument_id': {'type': 'string'}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'target_instrument_id': {'type': ['string', 'null']}, 'operative_locator_unavailable': {'type': ['string', 'null']}}, 'additionalProperties': {}}}, {'type': 'null'}]}, 'legal_status_at_release': {'type': 'string'}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'error': {'anyOf': [{'type': 'object', 'required': ['code', 'message', 'details'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'coverage': {'type': 'object', 'required': ['corpus', 'language', 'exhaustive', 'national_implementation'], 'properties': {'corpus': {'type': 'string'}, 'language': {'type': 'string'}, 'exhaustive': {'type': 'boolean'}, 'national_implementation': {'type': 'boolean'}}, 'additionalProperties': False}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'pagination': {'anyOf': [{'type': 'object', 'required': ['complete', 'next_cursor'], 'properties': {'total': {'type': 'number'}, 'complete': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'derivations': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}, 'method': {'type': 'string'}}, 'additionalProperties': False}}, 'corpus_release': {'type': 'object', 'required': ['corpus_release_id', 'schema_version', 'built_at'], 'properties': {'built_at': {'type': 'string'}, 'schema_version': {'type': 'string'}, 'corpus_release_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
get_orientation
Find an EU payments reading pathway
Use this for a starting reading order in EU payments legislation when a relevant curated pathway exists. For other subjects use search_legislation. Curated reading pathways into the corpus for a stated audience: ordered waypoints with cite anchors every other tool can open, related defined terms and known pitfalls. The prose is editorial and labelled as such — it maps the reading order, never legal weight. Omit the pathway argument for the catalogue; an unknown id is refused with the catalogue, nothing substituted. Catalogue entries and pathway waypoints paginate whole: follow pagination.next_cursor with the same pathway and limit until complete.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'anyOf': [{'type': 'integer', 'maximum': 100, 'minimum': 1}, {'type': 'null'}], 'description': 'Maximum catalogue entries or pathway waypoints per page; whole-item byte bounds may return fewer.'}, 'cursor': {'type': ['string', 'null'], 'description': 'pagination.next_cursor from this tool; repeat the same pathway and limit.'}, 'pathway': {'type': ['string', 'null'], 'description': 'Pathway id from the catalogue. Omit for the catalogue.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data', 'error', 'provenance', 'coverage', 'derivations', 'corpus_release', 'warnings', 'pagination'], 'properties': {'data': {'anyOf': [{'type': 'object', 'required': ['mode'], 'properties': {'mode': {'enum': ['catalogue', 'pathway'], 'type': 'string'}, 'items': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'required': ['pathway_id', 'title'], 'properties': {'title': {'type': 'string'}, 'pathway_id': {'type': 'string'}}, 'additionalProperties': {}}}, {'type': 'null'}]}, 'stages': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'required': ['stage_id', 'title', 'waypoints'], 'properties': {'title': {'type': 'string'}, 'stage_id': {'type': 'string'}, 'waypoints': {'type': 'array', 'items': {'type': 'object', 'required': ['cite', 'why'], 'properties': {'why': {'type': 'string'}, 'cite': {'type': 'string'}}, 'additionalProperties': {}}}}, 'additionalProperties': {}}}, {'type': 'null'}]}, 'pathway_id': {'type': ['string', 'null']}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'error': {'anyOf': [{'type': 'object', 'required': ['code', 'message', 'details'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'coverage': {'type': 'object', 'required': ['corpus', 'language', 'exhaustive', 'national_implementation'], 'properties': {'corpus': {'type': 'string'}, 'language': {'type': 'string'}, 'exhaustive': {'type': 'boolean'}, 'national_implementation': {'type': 'boolean'}}, 'additionalProperties': False}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'pagination': {'anyOf': [{'type': 'object', 'required': ['complete', 'next_cursor'], 'properties': {'total': {'type': 'number'}, 'complete': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'derivations': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}, 'method': {'type': 'string'}}, 'additionalProperties': False}}, 'corpus_release': {'type': 'object', 'required': ['corpus_release_id', 'schema_version', 'built_at'], 'properties': {'built_at': {'type': 'string'}, 'schema_version': {'type': 'string'}, 'corpus_release_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
get_provision
Read EU legislative provision
Use this to read or quote an EU legislative provision, such as PSD2 Article 97 or RTS-SCA Article 5. Returns the source text of an article, annex or recital as markdown, with its cite anchor, provenance and text-state disclosure. Large provisions paginate by structural block — never truncated silently. version_id is optional: the service serves one text per instrument, and a pinned version id is refused with the URL where it is published. include_correspondences adds the cross-instrument article equivalences — what a PSR article is amended from, or which PSR articles carry a PSD2 article's obligation — each openable by a second call.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['instrument_id', 'locator'], 'properties': {'cursor': {'type': ['string', 'null'], 'description': 'Continue a paginated provision. Bound to the release.'}, 'locator': {'type': 'object', 'required': ['kind'], 'properties': {'kind': {'enum': ['article', 'annex', 'recital'], 'type': 'string', 'description': 'Which kind of provision the locator names.'}, 'annex': {'type': ['string', 'null'], 'description': 'Annex number, roman or arabic ("I", "1"); omit for an instrument whose single annex is unnumbered.'}, 'point': {'type': ['string', 'null'], 'description': 'Lettered point within the paragraph, e.g. "b".'}, 'article': {'type': ['string', 'null'], 'description': 'Article number as printed: "97", "45a", "69-a".'}, 'recital': {'type': ['string', 'null'], 'description': 'Recital number, e.g. "95".'}, 'subpoint': {'type': ['string', 'null'], 'description': 'Sub-point within the point.'}, 'paragraph': {'type': ['string', 'null'], 'description': 'Numbered paragraph within the article, e.g. "2".'}}}, 'on_date': {'type': ['string', 'null'], 'description': 'ISO date; returns the provision-level applicability view.'}, 'version_id': {'type': ['string', 'null'], 'description': 'Omit, or pass "current", for the served text. A pinned version id returns version_not_served with the URL where that text is published.'}, 'instrument_id': {'type': 'string', 'description': 'Registry id of the instrument, e.g. "psd-2".'}, 'include_correspondences': {'type': ['boolean', 'null'], 'description': "Off by default. When true, an article carries `correspondences[]`: the cross-instrument article equivalences the corpus publishes â\x80\x94 which PSD2 article a PSR article is amended from, and, from the other side, which PSR articles carry a PSD2 article's obligation. Each entry names the counterpart's own `get_provision` locator, version and cite anchor, so it opens with a second call. The relationship vocabulary is the analysis layer's own â\x80\x94 `amended_from`, `supersedes` â\x80\x94 plus the mechanical inverses of the reverse view, `amended_into` and `superseded_by`. An annex or a recital carries an empty list: correspondences are article-level: a request narrowed to a paragraph or a point still receives the whole article's mappings, and says so in a warning. `null` means the release predates the mapping table, which is not the same as an article having none. Where the corpus records a mapping this service will not serve â\x80\x94 a correlation-table entry numbered against a superseded draft, or a counterpart absent from the served text â\x80\x94 the list omits it and a `correspondence_withheld` warning names the instrument and the reason, so an empty or short list is never silently under-claimed."}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data', 'error', 'provenance', 'coverage', 'derivations', 'corpus_release', 'warnings', 'pagination'], 'properties': {'data': {'anyOf': [{'type': 'object', 'required': ['instrument_id', 'version_id', 'cite', 'kind', 'markdown', 'source_notes', 'narrowed', 'blocks_in_page', 'blocks_total', 'blocks_in_provision', 'content_hash', 'url'], 'properties': {'url': {'type': 'string'}, 'cite': {'type': 'string'}, 'kind': {'type': 'string'}, 'markdown': {'type': 'string'}, 'narrowed': {'type': 'boolean'}, 'version_id': {'type': 'string'}, 'blocks_total': {'type': 'number'}, 'content_hash': {'type': 'string'}, 'source_notes': {'anyOf': [{'type': 'object', 'required': ['scope', 'source_version_id', 'complete', 'items'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['key', 'marker', 'text'], 'properties': {'key': {'type': 'string'}, 'text': {'type': 'string'}, 'marker': {'type': 'string'}}, 'additionalProperties': False}}, 'scope': {'type': 'string', 'const': 'returned_text'}, 'complete': {'type': 'boolean', 'const': True, 'description': "All notes referenced in this response's text, not the whole document or later pages."}, 'source_version_id': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}], 'description': 'Null means unverified/unsupported coverage or an older release; consult the typed warning. Not an empty note inventory. Legal content_hash and block counts exclude this attachment.'}, 'instrument_id': {'type': 'string'}, 'blocks_in_page': {'type': 'number'}, 'correspondences': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'required': ['relationship', 'derivation', 'note', 'target'], 'properties': {'note': {'type': ['string', 'null']}, 'target': {'type': 'object', 'required': ['instrument_id', 'version_id', 'cite', 'url', 'locator'], 'properties': {'url': {'type': 'string'}, 'cite': {'type': 'string'}, 'locator': {'type': 'object', 'required': ['kind'], 'properties': {'kind': {'enum': ['article', 'annex', 'recital'], 'type': 'string', 'description': 'Which kind of provision the locator names.'}, 'annex': {'type': ['string', 'null'], 'description': 'Annex number, roman or arabic ("I", "1"); omit for an instrument whose single annex is unnumbered.'}, 'point': {'type': ['string', 'null'], 'description': 'Lettered point within the paragraph, e.g. "b".'}, 'article': {'type': ['string', 'null'], 'description': 'Article number as printed: "97", "45a", "69-a".'}, 'recital': {'type': ['string', 'null'], 'description': 'Recital number, e.g. "95".'}, 'subpoint': {'type': ['string', 'null'], 'description': 'Sub-point within the point.'}, 'paragraph': {'type': ['string', 'null'], 'description': 'Numbered paragraph within the article, e.g. "2".'}}, 'additionalProperties': False}, 'version_id': {'type': 'string'}, 'instrument_id': {'type': 'string'}}, 'additionalProperties': {}}, 'derivation': {'type': 'string'}, 'relationship': {'type': 'string'}}, 'additionalProperties': {}}}, {'type': 'null'}]}, 'blocks_in_provision': {'type': 'number'}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'error': {'anyOf': [{'type': 'object', 'required': ['code', 'message', 'details'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'coverage': {'type': 'object', 'required': ['corpus', 'language', 'exhaustive', 'national_implementation'], 'properties': {'corpus': {'type': 'string'}, 'language': {'type': 'string'}, 'exhaustive': {'type': 'boolean'}, 'national_implementation': {'type': 'boolean'}}, 'additionalProperties': False}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'pagination': {'anyOf': [{'type': 'object', 'required': ['complete', 'next_cursor'], 'properties': {'total': {'type': 'number'}, 'complete': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'derivations': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}, 'method': {'type': 'string'}}, 'additionalProperties': False}}, 'corpus_release': {'type': 'object', 'required': ['corpus_release_id', 'schema_version', 'built_at'], 'properties': {'built_at': {'type': 'string'}, 'schema_version': {'type': 'string'}, 'corpus_release_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
get_source_notes
Read legislative source notes
Use this to read the original legislative footnotes and source-note bodies for a held instrument, including preamble and annex notes. Omit note_key for the paginated inventory; supply an exact returned key to retrieve one. Keys retain source scope because printed markers may repeat. This tool does not infer ownership by a provision. Historical versions return an explicit version_not_served link.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['instrument_id'], 'properties': {'limit': {'anyOf': [{'type': 'integer', 'maximum': 100, 'minimum': 1}, {'type': 'null'}], 'description': 'Notes per page, default 10; complete bodies are never truncated.'}, 'cursor': {'type': ['string', 'null'], 'description': 'Continue with the same arguments; bound to this corpus release.'}, 'note_key': {'anyOf': [{'type': 'string', 'minLength': 1}, {'type': 'null'}], 'description': 'Exact key returned by this tool. Omit to list notes. Printed markers may be reused and are not necessarily unique keys.'}, 'version_id': {'type': ['string', 'null'], 'description': 'Omit or use current for the served version; pinned versions return an explicit version_not_served link.'}, 'instrument_id': {'type': 'string', 'description': 'Registry instrument id.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data', 'error', 'provenance', 'coverage', 'derivations', 'corpus_release', 'warnings', 'pagination'], 'properties': {'data': {'anyOf': [{'type': 'object', 'required': ['instrument_id', 'version_id', 'items', 'total', 'next_cursor'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['instrument_id', 'version_id', 'note_key', 'marker', 'text', 'url'], 'properties': {'url': {'type': 'string'}, 'text': {'type': 'string'}, 'marker': {'type': 'string'}, 'note_key': {'type': 'string'}, 'version_id': {'type': 'string'}, 'instrument_id': {'type': 'string'}}, 'additionalProperties': False}}, 'total': {'type': 'number'}, 'version_id': {'type': 'string'}, 'next_cursor': {'type': ['string', 'null']}, 'instrument_id': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'error': {'anyOf': [{'type': 'object', 'required': ['code', 'message', 'details'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'coverage': {'type': 'object', 'required': ['corpus', 'language', 'exhaustive', 'national_implementation'], 'properties': {'corpus': {'type': 'string'}, 'language': {'type': 'string'}, 'exhaustive': {'type': 'boolean'}, 'national_implementation': {'type': 'boolean'}}, 'additionalProperties': False}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'pagination': {'anyOf': [{'type': 'object', 'required': ['complete', 'next_cursor'], 'properties': {'total': {'type': 'number'}, 'complete': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'derivations': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}, 'method': {'type': 'string'}}, 'additionalProperties': False}}, 'corpus_release': {'type': 'object', 'required': ['corpus_release_id', 'schema_version', 'built_at'], 'properties': {'built_at': {'type': 'string'}, 'schema_version': {'type': 'string'}, 'corpus_release_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
list_instruments
Discover held EU legislation
Use this to discover which EU instruments are held before a coverage question, or find their registry ids and legal status. Paginated, filterable by status, category, core/supplementary, and by whether an instrument was in force on a given date. For corpus-coverage questions, filter by category here, enumerate each instrument with list_provisions, then open what you need with get_provision.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'cursor': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null'], 'description': 'Legal status at the release, e.g. "in_force".'}, 'is_core': {'type': ['boolean', 'null']}, 'category': {'type': ['string', 'null']}, 'in_force_on_date': {'type': ['string', 'null'], 'description': 'ISO date; keeps instruments in force on that date.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data', 'error', 'provenance', 'coverage', 'derivations', 'corpus_release', 'warnings', 'pagination'], 'properties': {'data': {'anyOf': [{'type': 'object', 'required': ['items', 'next_cursor', 'total'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['instrument_id'], 'properties': {'instrument_id': {'type': 'string'}}, 'additionalProperties': {}}}, 'total': {'type': 'number'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'error': {'anyOf': [{'type': 'object', 'required': ['code', 'message', 'details'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'coverage': {'type': 'object', 'required': ['corpus', 'language', 'exhaustive', 'national_implementation'], 'properties': {'corpus': {'type': 'string'}, 'language': {'type': 'string'}, 'exhaustive': {'type': 'boolean'}, 'national_implementation': {'type': 'boolean'}}, 'additionalProperties': False}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'pagination': {'anyOf': [{'type': 'object', 'required': ['complete', 'next_cursor'], 'properties': {'total': {'type': 'number'}, 'complete': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'derivations': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}, 'method': {'type': 'string'}}, 'additionalProperties': False}}, 'corpus_release': {'type': 'object', 'required': ['corpus_release_id', 'schema_version', 'built_at'], 'properties': {'built_at': {'type': 'string'}, 'schema_version': {'type': 'string'}, 'corpus_release_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
list_provisions
Browse an instrument's provisions
Use this to browse an EU instrument's article, annex or recital index, or enumerate its topic-tagged provisions for a coverage question. Metadata only: each item carries the exact locator get_provision accepts. Articles and annexes by default; pass kind=recital for recitals.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['instrument_id'], 'properties': {'kind': {'anyOf': [{'enum': ['article', 'annex', 'recital'], 'type': 'string'}, {'type': 'null'}]}, 'limit': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'topic': {'type': ['string', 'null']}, 'cursor': {'type': ['string', 'null']}, 'chapter': {'type': ['string', 'null']}, 'instrument_id': {'type': 'string'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data', 'error', 'provenance', 'coverage', 'derivations', 'corpus_release', 'warnings', 'pagination'], 'properties': {'data': {'anyOf': [{'type': 'object', 'required': ['instrument_id', 'kinds_listed', 'items', 'next_cursor', 'total'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['cite'], 'properties': {'cite': {'type': 'string'}}, 'additionalProperties': {}}}, 'total': {'type': 'number'}, 'next_cursor': {'type': ['string', 'null']}, 'kinds_listed': {'type': 'array', 'items': {'type': 'string'}}, 'instrument_id': {'type': 'string'}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'error': {'anyOf': [{'type': 'object', 'required': ['code', 'message', 'details'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'coverage': {'type': 'object', 'required': ['corpus', 'language', 'exhaustive', 'national_implementation'], 'properties': {'corpus': {'type': 'string'}, 'language': {'type': 'string'}, 'exhaustive': {'type': 'boolean'}, 'national_implementation': {'type': 'boolean'}}, 'additionalProperties': False}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'pagination': {'anyOf': [{'type': 'object', 'required': ['complete', 'next_cursor'], 'properties': {'total': {'type': 'number'}, 'complete': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'derivations': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}, 'method': {'type': 'string'}}, 'additionalProperties': False}}, 'corpus_release': {'type': 'object', 'required': ['corpus_release_id', 'schema_version', 'built_at'], 'properties': {'built_at': {'type': 'string'}, 'schema_version': {'type': 'string'}, 'corpus_release_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
list_version_changes
Browse PSR or PSD3 text changes
Use this to browse which articles changed between the held proposal and Council compromise versions of PSR or PSD3. For one article's wording changes use compare_versions. Across the instrument's two published texts, lists every aligned article with its classification, filterable by status, materiality and article range. The editorial materiality markers travel on every response whatever the filters, because they exist precisely where the mechanical classification does not show what matters — a re-scoped defined term changes articles whose text did not change at all. Classifications are mechanical, and the response says on what basis.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['instrument_id'], 'properties': {'limit': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'cursor': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null'], 'description': 'One of the classification statuses, e.g. "amended_substantial".'}, 'articles': {'anyOf': [{'type': 'object', 'properties': {'to': {'type': ['string', 'null']}, 'from': {'type': ['string', 'null']}}}, {'type': 'null'}], 'description': 'Article-number range, in legal order.'}, 'instrument_id': {'type': 'string'}, 'material_only': {'type': ['boolean', 'null'], 'description': 'Keep only articles carrying an editorial materiality marker.'}, 'to_version_id': {'type': ['string', 'null']}, 'from_version_id': {'type': ['string', 'null'], 'description': 'Optional; where given, must name the published pair.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data', 'error', 'provenance', 'coverage', 'derivations', 'corpus_release', 'warnings', 'pagination'], 'properties': {'data': {'anyOf': [{'type': 'object', 'required': ['instrument_id', 'pair', 'items', 'next_cursor', 'total', 'counts', 'materiality_markers', 'definition_markers', 'classification_note'], 'properties': {'pair': {'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'object', 'required': ['version_id'], 'properties': {'version_id': {'type': 'string'}}, 'additionalProperties': {}}, 'from': {'type': 'object', 'required': ['version_id'], 'properties': {'version_id': {'type': 'string'}}, 'additionalProperties': {}}}, 'additionalProperties': {}}, 'items': {'type': 'array', 'items': {'type': 'object', 'required': ['article', 'status'], 'properties': {'status': {'type': 'string'}, 'article': {'type': 'string'}}, 'additionalProperties': {}}}, 'total': {'type': 'number'}, 'counts': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'number'}}, 'next_cursor': {'type': ['string', 'null']}, 'instrument_id': {'type': 'string'}, 'definition_markers': {'type': 'array', 'items': {'type': 'object', 'required': ['term'], 'properties': {'term': {'type': 'string'}}, 'additionalProperties': {}}}, 'classification_note': {'type': 'string'}, 'materiality_markers': {'type': 'array', 'items': {'type': 'object', 'required': ['article'], 'properties': {'article': {'type': 'string'}}, 'additionalProperties': {}}}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'error': {'anyOf': [{'type': 'object', 'required': ['code', 'message', 'details'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'coverage': {'type': 'object', 'required': ['corpus', 'language', 'exhaustive', 'national_implementation'], 'properties': {'corpus': {'type': 'string'}, 'language': {'type': 'string'}, 'exhaustive': {'type': 'boolean'}, 'national_implementation': {'type': 'boolean'}}, 'additionalProperties': False}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'pagination': {'anyOf': [{'type': 'object', 'required': ['complete', 'next_cursor'], 'properties': {'total': {'type': 'number'}, 'complete': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'derivations': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}, 'method': {'type': 'string'}}, 'additionalProperties': False}}, 'corpus_release': {'type': 'object', 'required': ['corpus_release_id', 'schema_version', 'built_at'], 'properties': {'built_at': {'type': 'string'}, 'schema_version': {'type': 'string'}, 'corpus_release_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
resolve_citation
Resolve an EU legal citation
Use this to resolve a written EU legal citation, such as Article 97(1) PSD2, into an instrument and provision locator. For a topic rather than a citation, use search_legislation. Ranked candidates with ambiguity flagged and confidence stated: exact (instrument certain, provision found), strong (instrument certain, provision not verified or not named) or ambiguous (more than one reading). A citation of an instrument this corpus does not hold is named, with its CELEX and ELI, rather than guessed at.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['citation'], 'properties': {'limit': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'cursor': {'type': ['string', 'null']}, 'citation': {'type': 'string', 'description': 'A citation in any form a reader would write: "Article 97(1) PSD2", "Art. 5a of Regulation (EU) No 910/2014", a CELEX number, an ELI path, or a bare acronym.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data', 'error', 'provenance', 'coverage', 'derivations', 'corpus_release', 'warnings', 'pagination'], 'properties': {'data': {'anyOf': [{'type': 'object', 'required': ['items', 'next_cursor', 'total', 'ambiguous', 'unresolved', 'not_in_corpus'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['instrument_id', 'cite', 'kind', 'locator', 'confidence', 'why', 'url'], 'properties': {'url': {'type': 'string'}, 'why': {'type': 'string'}, 'cite': {'type': 'string'}, 'kind': {'type': 'string'}, 'locator': {'anyOf': [{'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, {'type': 'null'}]}, 'confidence': {'enum': ['exact', 'strong', 'ambiguous'], 'type': 'string'}, 'instrument_id': {'type': 'string'}}, 'additionalProperties': {}}}, 'total': {'type': 'number'}, 'ambiguous': {'type': 'boolean'}, 'unresolved': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}, 'not_in_corpus': {'type': 'array', 'items': {'type': 'object', 'required': ['named', 'celex'], 'properties': {'celex': {'type': ['string', 'null']}, 'named': {'type': 'string'}}, 'additionalProperties': {}}}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'error': {'anyOf': [{'type': 'object', 'required': ['code', 'message', 'details'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'coverage': {'type': 'object', 'required': ['corpus', 'language', 'exhaustive', 'national_implementation'], 'properties': {'corpus': {'type': 'string'}, 'language': {'type': 'string'}, 'exhaustive': {'type': 'boolean'}, 'national_implementation': {'type': 'boolean'}}, 'additionalProperties': False}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'pagination': {'anyOf': [{'type': 'object', 'required': ['complete', 'next_cursor'], 'properties': {'total': {'type': 'number'}, 'complete': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'derivations': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}, 'method': {'type': 'string'}}, 'additionalProperties': False}}, 'corpus_release': {'type': 'object', 'required': ['corpus_release_id', 'schema_version', 'built_at'], 'properties': {'built_at': {'type': 'string'}, 'schema_version': {'type': 'string'}, 'corpus_release_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
search
Search EU payments legislation (compatible)
Use this to find EU payments legislation on topics such as SCA, open banking and safeguarding in the held PSD2, RTS-SCA, PSD3/PSR and related instruments. OpenAI-compatible search: the top hits as {id, title, url}, where id is the cite anchor fetch accepts. For filters, snippets, scores and paging use search_legislation, which returns more.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['query'], 'properties': {'query': {'type': 'string', 'description': 'EU payments legislative terms or citation, e.g. "strong customer authentication", "safeguarding" or "Article 97 PSD2".'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['results'], 'properties': {'results': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'title', 'url'], 'properties': {'id': {'type': 'string', 'description': 'The cite anchor; pass it to fetch unchanged.'}, 'url': {'type': 'string', 'description': 'Canonical paymentslaw.eu URL.'}, 'title': {'type': 'string', 'description': 'Cite anchor, then the heading.'}}, 'additionalProperties': False}, 'description': 'Top hits, best first.'}}, 'additionalProperties': False}
search_defined_terms
Find EU legislative definitions
Use this to find which EU instruments define a legal term, such as payment transaction or payment account, and where their definitions differ. For definition wording use get_defined_term. A listing: term, definers and divergence flags, with no definition text. Matching is over the term itself, never the definition body. Divergence is judged on the RESOLVED text as well as the verbatim one, because several instruments defining a term by pointing at the same root agree, however differently their pointers read. Pass only_divergent to find where the corpus does not agree with itself.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'limit': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'query': {'type': ['string', 'null'], 'description': 'Term text to match. Matching is over the TERM only, never the definition body. Omit for the full alphabetical listing of every term the corpus defines.'}, 'cursor': {'type': ['string', 'null']}, 'instrument': {'type': ['string', 'null'], 'description': 'Keep only terms defined in this instrument, e.g. "psd-2".'}, 'only_divergent': {'type': ['boolean', 'null'], 'description': 'Keep only terms whose definers disagree â\x80\x94 on the resolved text, the verbatim text, or both.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data', 'error', 'provenance', 'coverage', 'derivations', 'corpus_release', 'warnings', 'pagination'], 'properties': {'data': {'anyOf': [{'type': 'object', 'required': ['items', 'next_cursor', 'total'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['term', 'defined_in', 'divergent_verbatim', 'divergent_resolved'], 'properties': {'term': {'type': 'string'}, 'defined_in': {'type': 'array', 'items': {'type': 'object', 'required': ['instrument_id', 'qualifier', 'defined_within', 'cite'], 'properties': {'cite': {'type': 'string'}, 'qualifier': {'type': ['string', 'null']}, 'instrument_id': {'type': 'string'}, 'defined_within': {'type': ['string', 'null']}}, 'additionalProperties': {}}}, 'divergent_resolved': {'type': 'boolean'}, 'divergent_verbatim': {'type': 'boolean'}}, 'additionalProperties': {}}}, 'total': {'type': 'number'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'error': {'anyOf': [{'type': 'object', 'required': ['code', 'message', 'details'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'coverage': {'type': 'object', 'required': ['corpus', 'language', 'exhaustive', 'national_implementation'], 'properties': {'corpus': {'type': 'string'}, 'language': {'type': 'string'}, 'exhaustive': {'type': 'boolean'}, 'national_implementation': {'type': 'boolean'}}, 'additionalProperties': False}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'pagination': {'anyOf': [{'type': 'object', 'required': ['complete', 'next_cursor'], 'properties': {'total': {'type': 'number'}, 'complete': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'derivations': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}, 'method': {'type': 'string'}}, 'additionalProperties': False}}, 'corpus_release': {'type': 'object', 'required': ['corpus_release_id', 'schema_version', 'built_at'], 'properties': {'built_at': {'type': 'string'}, 'schema_version': {'type': 'string'}, 'corpus_release_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
search_legislation
Find EU payments requirements
Use this to find EU legislative provisions on payment-services questions: strong customer authentication (SCA), dynamic linking, open banking, safeguarding and payment liability. The held corpus includes PSD2, RTS-SCA, PSD3/PSR and DORA. For exact wording use get_provision; for defined-term wording use get_defined_term. This searches held legislation, not national law or regulator guidance. Full-text search across articles, annexes and recitals, ranked in that order of authority. Every hit carries the exact locator get_provision accepts, its cite anchor, the matched passage and why it matched. A citation-shaped query resolves through the citation grammar first; instrument acronyms become ranking hints; initialisms of the corpus's defined terms are expanded. Absence of a result is not evidence that no relevant law exists. The matched passage is a snippet of at most 320 characters, not the provision: open the hit with get_provision before citing it, and echo the cite it serves. topic narrows these hits rather than widening them: a topic-tagged provision whose words the query misses is never reached, so a page of hits is not a sweep. For coverage questions ('everything on X', 'which instruments deal with Y') pick the instruments with list_instruments by category, enumerate each with list_provisions filtered by topic, then open them with get_provision.
Lecture seule Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['query'], 'properties': {'kind': {'anyOf': [{'enum': ['article', 'annex', 'recital'], 'type': 'string'}, {'type': 'null'}], 'description': 'Restrict to one source type. Articles, annexes and recitals are all searched by default, ranked in that order of authority.'}, 'limit': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'query': {'type': 'string', 'description': 'EU legislative search terms, e.g. "strong customer authentication", "dynamic linking", "safeguarding" or "DORA ICT risk". Use words expected in the legal text, not an entire advice request. Quoted phrases are honoured; AND, OR and NOT are the only operators. A citation-shaped query ("Article 97(1) PSD2") is resolved through the citation grammar first.'}, 'topic': {'type': ['string', 'null'], 'description': 'Keep only provisions carrying this topic.'}, 'cursor': {'type': ['string', 'null']}, 'instrument_id': {'type': ['string', 'null'], 'description': 'Restrict to one instrument, e.g. "rts-sca".'}, 'in_force_on_date': {'type': ['string', 'null'], 'description': 'ISO date; keeps hits from instruments in force on that date, on the same semantics list_instruments uses.'}}}
Schéma de sortie
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data', 'error', 'provenance', 'coverage', 'derivations', 'corpus_release', 'warnings', 'pagination'], 'properties': {'data': {'anyOf': [{'type': 'object', 'required': ['query_terms', 'match_mode', 'citation_routed', 'items', 'next_cursor', 'total'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['instrument_id', 'cite', 'source_type', 'locator', 'url', 'snippet', 'score', 'why', 'matched_via'], 'properties': {'url': {'type': 'string'}, 'why': {'type': 'string'}, 'cite': {'type': 'string'}, 'score': {'type': ['number', 'null']}, 'locator': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'snippet': {'type': 'string'}, 'matched_via': {'type': 'string'}, 'source_type': {'type': 'string'}, 'instrument_id': {'type': 'string'}}, 'additionalProperties': {}}}, 'total': {'type': 'number'}, 'match_mode': {'type': 'string'}, 'next_cursor': {'type': ['string', 'null']}, 'query_terms': {'type': 'array', 'items': {'type': 'string'}}, 'citation_routed': {'type': 'boolean'}}, 'additionalProperties': {}}, {'type': 'null'}]}, 'error': {'anyOf': [{'type': 'object', 'required': ['code', 'message', 'details'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'coverage': {'type': 'object', 'required': ['corpus', 'language', 'exhaustive', 'national_implementation'], 'properties': {'corpus': {'type': 'string'}, 'language': {'type': 'string'}, 'exhaustive': {'type': 'boolean'}, 'national_implementation': {'type': 'boolean'}}, 'additionalProperties': False}, 'warnings': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'message'], 'properties': {'code': {'type': 'string'}, 'details': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'message': {'type': 'string'}}, 'additionalProperties': False}}, 'pagination': {'anyOf': [{'type': 'object', 'required': ['complete', 'next_cursor'], 'properties': {'total': {'type': 'number'}, 'complete': {'type': 'boolean'}, 'next_cursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'provenance': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'derivations': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string'}, 'method': {'type': 'string'}}, 'additionalProperties': False}}, 'corpus_release': {'type': 'object', 'required': ['corpus_release_id', 'schema_version', 'built_at'], 'properties': {'built_at': {'type': 'string'}, 'schema_version': {'type': 'string'}, 'corpus_release_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
Modifié
get_orientation
23 September 2026 02:42
Modifié
list_version_changes
23 September 2026 02:42
Modifié
compare_versions
23 September 2026 02:42
Modifié
get_defined_term
23 September 2026 02:42
Modifié
search_defined_terms
23 September 2026 02:42
Modifié
resolve_citation
23 September 2026 02:42
Modifié
search_legislation
23 September 2026 02:42
Modifié
list_provisions
23 September 2026 02:42
Modifié
get_source_notes
23 September 2026 02:42
Modifié
list_instruments
23 September 2026 02:42
Modifié
get_instrument
23 September 2026 02:42
Modifié
get_provision
23 September 2026 02:42
Ajouté
get_orientation
17 September 2026 12:39
Ajouté
fetch
17 September 2026 12:39
Ajouté
search
17 September 2026 12:39
Ajouté
list_version_changes
17 September 2026 12:39
Ajouté
compare_versions
17 September 2026 12:39
Ajouté
get_defined_term
17 September 2026 12:39
Ajouté
search_defined_terms
17 September 2026 12:39
Ajouté
resolve_citation
17 September 2026 12:39
Ajouté
search_legislation
17 September 2026 12:39
Ajouté
list_provisions
17 September 2026 12:39
Ajouté
get_source_notes
17 September 2026 12:39
Ajouté
list_instruments
17 September 2026 12:39
Ajouté
get_instrument
17 September 2026 12:39
Ajouté
get_provision
17 September 2026 12:39