Resolve Single OSCOLA Citation
citations_resolveParse OSCOLA legal citations to extract structured data and resolve them to canonical URLs for UK cases, legislation, and statutory instruments.
Instructions
Parse and resolve a single OSCOLA citation to its canonical URL.
Supports: neutral citations, SIs, legislation sections, retained EU law. Returns parsed fields and resolved_url if resolvable. Raises ValueError if no recognised citation is found in the input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | CitationsResolveInput with a single citation string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | Yes | Original citation text as found in the source | |
| type | Yes | Classification of the citation type | |
| year | No | Year component of the citation | |
| court | No | Court code: UKSC, UKPC, EWCA Civ, EWCA Crim, EWHC (KB), EWHC (Ch), EWHC (Comm), EWHC (Fam), EWHC (Pat), EWHC (IPEC), UKUT (IAC), UKUT (TCC), UKUT (AAC), UKUT (LC), EAT, UKFTT (TC), UKFTT (GRC) | |
| number | No | Judgment number within the year | |
| report_series | No | Law report series abbreviation: WLR, AC, QB, KB, Ch, All ER, EWCA Civ, etc. | |
| volume | No | Report volume number (for law reports) | |
| page | No | Starting page in the law report | |
| legislation_title | No | Title of legislation (for s.NN Act YYYY citations) | |
| section | No | Section number referenced | |
| si_year | No | SI year (for SI YYYY/NNN citations) | |
| si_number | No | SI number | |
| resolved_url | No | TNA Find Case Law or legislation.gov.uk URL if successfully resolved | |
| confidence | Yes | Parse confidence 0.0–1.0. Citations below 0.7 are ambiguous and may have been sent for LLM disambiguation. |