Jp Courts

v0.1.0
io.github.pipeworx-io/jp-courts Checked 1 day ago Published 1 day ago

jp-courts -- the Courts of Japan (裁判所) case-law database: judgments of the Supreme Court, the high…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

jp_court_get

Fetch one decision from the Courts of Japan judgments database by the id jp_court_search returned (use get_id, e.g. "89915-2"; a bare record number such as "89915" also works, with extra page reads): the case number, name, date, court, the court's holding (判示事項) and summary (裁判要旨) where it gives them, every field on the record, and the judgment text read from the court's PDF. A scan with no readable text layer returns text null with empty_reason no_text_layer; an unknown id returns found false. Long judgments are returned in slices: max_chars (default 40,000) and offset, with n…

ParameterTypeDescription
id *stringRecord id from jp_court_search, e.g. "89915".
max_charsnumberCharacters of judgment text to return (1,000-200,000, default 40,000).
offsetnumberCharacter offset into the judgment text, for the next slice.