USE THIS TOOL WHEN you have a judgment slug and want to map every citation it makes — cases cited, legislation referenced, SIs, retained EU law.
Fetches the judgment XML from TNA and parses all OSCOLA citations
within. Returns citations grouped by type, deduplicated and sorted.
AFTER calling, pass any individual citation through citations_resolve
to confirm it resolves and to retrieve its canonical URL.
Useful for authority-network analysis (what did this judgment rely on?)
and for surfacing the legislative landscape a case sits inside.
Connector