{"id":"lovdata","name":"Lovdata public data","description":"Norwegian laws, central regulations, sections and Supreme Court case law.","documentation":"https://api.lovdata.no/","operations":[{"name":"search_rules","description":"Search Norwegian laws and central regulations currently in force. Signature: search_rules(query: string, required; source: string, optional, default None; full_text: yes/no, optional, default False; limit: integer, items, optional, default 20; offset: integer, items, optional, default 0).","signature":"search_rules(query: string, required; source: string, optional, default None; full_text: yes/no, optional, default False; limit: integer, items, optional, default 20; offset: integer, items, optional, default 0)","parameters":[{"name":"query","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"Words that must all match (case-insensitive), e.g. \"straffeloven\" or \"krav byggverk\". Matches title/short title/id; with full_text=True the whole document text is searched instead (slower, a few seconds).","unit":null,"display_type":"string"},{"name":"source","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Optional filter: \"lov\" (laws) or \"forskrift\" (central regulations).","unit":null,"display_type":"string"},{"name":"full_text","type":"boolean","schema":{"type":"boolean"},"required":false,"default":false,"description":"Search inside the document texts, not just titles.","unit":null,"display_type":"yes/no"},{"name":"limit","type":"integer","schema":{"type":"integer"},"required":false,"default":20,"description":"Max hits to return. Unit: items.","unit":"items","display_type":"integer"},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/search_rules?query={query}&source={source}&full_text=false&limit=20&offset=0","output_fields":["data_updated","total","hits","hits[].document_id","hits[].source","hits[].legacy_id","hits[].title","hits[].title_short","hits[].ministry","hits[].in_force_from","hits[].last_change_in_force","hint"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["hits[].title"]},"description_language":"en","documentation":"Search Norwegian laws and central regulations currently in force.\n\nArgs:\n    query: Words that must all match (case-insensitive), e.g. \"straffeloven\"\n        or \"krav byggverk\". Matches title/short title/id; with full_text=True\n        the whole document text is searched instead (slower, a few seconds).\n    source: Optional filter: \"lov\" (laws) or \"forskrift\" (central regulations).\n    full_text: Search inside the document texts, not just titles.\n    limit: Max hits to return.\n\nReturns matching rules with ref_id for get_rule()/get_section().\n\nSignature: search_rules(query: string, required; source: string, optional, default None; full_text: yes/no, optional, default False; limit: integer, items, optional, default 20; offset: integer, items, optional, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/lovdata/search_rules/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/lovdata/search_rules/?query={query}&source={source}&full_text=false&limit=20&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/search_rules","response_schema":{"type":"object","properties":{"data_updated":{"type":["string","null"],"format":"date"},"total":{"type":"integer"},"hits":{"type":"array","items":{"type":"object","properties":{"document_id":{"type":"string"},"source":{"type":["string","null"]},"legacy_id":{"type":["string","null"]},"title":{"type":["string","null"]},"title_short":{"type":["string","null"]},"ministry":{"type":["string","null"]},"in_force_from":{"type":["string","null"]},"last_change_in_force":{"type":["string","null"]}},"additionalProperties":false,"required":["document_id"]}},"hint":{"type":["string","null"]}},"additionalProperties":false,"required":["total","hits"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["legal_document"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/search_rules/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/search_rules","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/search_rules?query={query}&source={source}&full_text=false&limit=20&offset=0","response_example":{"source":"lovdata","operation":"search_rules","parameters":{"query":"example value","source":"example value","full_text":false,"limit":20},"data":{"data_updated":"2026-01-15T12:00:00Z","total":1,"hits":[{"document_id":"example-id","source":"example value","legacy_id":"example-id","title":"Example","title_short":"example value","ministry":"example value","in_force_from":"example value","last_change_in_force":"example value"}],"hint":"example value"},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"lovdata","name":"Lovdata public data","description":"Norwegian laws, central regulations, sections and Supreme Court case law.","cache_ttl_seconds":300,"documentation":"https://api.lovdata.no/"}]},"_provenance":{"data":{"source":"lovdata","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata"},"entities":{"source":"lovdata","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/search_rules","source":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","wiki":"https://allemannsdata.com/wiki/kilder/lovdata/search_rules/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}},{"name":"get_rule","description":"Get one law or regulation: metadata plus its list of sections. Signature: get_rule(document_id: string, required; full_text: yes/no, optional, default False; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"get_rule(document_id: string, required; full_text: yes/no, optional, default False; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"document_id","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"Lovdata id from search_rules, e.g. \"lov/2005-05-20-28\" or \"forskrift/2017-06-19-840\".","unit":null,"display_type":"string"},{"name":"full_text","type":"boolean","schema":{"type":"boolean"},"required":false,"default":false,"description":"Also include the complete document as plain text. Prefer get_section() for large laws.","unit":null,"display_type":"yes/no"},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100).","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_rule?document_id={document_id}&full_text=false&limit=25&offset=0","output_fields":["document_id","source","legacy_id","title","title_short","ministry","in_force_from","last_change_in_force","sections","sections[].section","sections[].title","text"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["title","sections[].title"]},"description_language":"en","documentation":"Get one law or regulation: metadata plus its list of sections.\n\nArgs:\n    ref_id: Lovdata id from search_rules, e.g. \"lov/2005-05-20-28\" or\n        \"forskrift/2017-06-19-840\".\n    full_text: Also include the complete document as plain text. Prefer\n        get_section() for large laws.\n\nPass a listed section id to get_section() to read a single provision.\n\nSignature: get_rule(document_id: string, required; full_text: yes/no, optional, default False; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/lovdata/get_rule/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/lovdata/get_rule/?document_id={document_id}&full_text=false&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_rule","response_schema":{"type":"object","properties":{"document_id":{"type":"string"},"source":{"type":["string","null"]},"legacy_id":{"type":["string","null"]},"title":{"type":["string","null"]},"title_short":{"type":["string","null"]},"ministry":{"type":["string","null"]},"in_force_from":{"type":["string","null"]},"last_change_in_force":{"type":["string","null"]},"sections":{"type":"array","items":{"type":"object","properties":{"section":{"type":["string","null"]},"title":{"type":["string","null"]}},"additionalProperties":false}},"text":{"type":["string","null"]}},"additionalProperties":false,"required":["document_id","sections"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["legal_document"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_rule/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_rule","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_rule?document_id={document_id}&full_text=false&limit=25&offset=0","response_example":{"source":"lovdata","operation":"get_rule","parameters":{"document_id":"example-id","full_text":false},"data":{"document_id":"example-id","source":"example value","legacy_id":"example-id","title":"Example","title_short":"example value","ministry":"example value","in_force_from":"example value","last_change_in_force":"example value","sections":[{"section":"example value","title":"Example"}],"text":"example value"},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"lovdata","name":"Lovdata public data","description":"Norwegian laws, central regulations, sections and Supreme Court case law.","cache_ttl_seconds":300,"documentation":"https://api.lovdata.no/"}]},"_provenance":{"data":{"source":"lovdata","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata"},"entities":{"source":"lovdata","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_rule","source":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","wiki":"https://allemannsdata.com/wiki/kilder/lovdata/get_rule/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}},{"name":"get_section","description":"Get the text of a single section (paragraf) of a law or regulation. Signature: get_section(document_id: string, required; section: string, required; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"get_section(document_id: string, required; section: string, required; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"document_id","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"Lovdata id from search_rules, e.g. \"lov/2005-05-20-28\".","unit":null,"display_type":"string"},{"name":"section","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"Section id as listed by get_rule, e.g. \"\u00a74\", \"\u00a7 10-2\" or \"b5/k1/a1\" (spaces are ignored; \"4\" means \"\u00a74\").","unit":null,"display_type":"string"},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100).","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_section?document_id={document_id}&section={section}&limit=25&offset=0","output_fields":["document_id","title","section","text"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["title"]},"description_language":"en","documentation":"Get the text of a single section (paragraf) of a law or regulation.\n\nArgs:\n    ref_id: Lovdata id from search_rules, e.g. \"lov/2005-05-20-28\".\n    section: Section id as listed by get_rule, e.g. \"\u00a74\", \"\u00a7 10-2\" or\n        \"b5/k1/a1\" (spaces are ignored; \"4\" means \"\u00a74\").\n\nSignature: get_section(document_id: string, required; section: string, required; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/lovdata/get_section/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/lovdata/get_section/?document_id={document_id}&section={section}&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_section","response_schema":{"type":"object","properties":{"document_id":{"type":"string"},"title":{"type":["string","null"]},"section":{"type":"string"},"text":{"type":"string"}},"additionalProperties":false,"required":["document_id","section","text"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["legal_document"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_section/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_section","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_section?document_id={document_id}&section={section}&limit=25&offset=0","response_example":{"source":"lovdata","operation":"get_section","parameters":{"document_id":"example-id","section":"example value"},"data":{"document_id":"example-id","title":"Example","section":"example value","text":"example value"},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"lovdata","name":"Lovdata public data","description":"Norwegian laws, central regulations, sections and Supreme Court case law.","cache_ttl_seconds":300,"documentation":"https://api.lovdata.no/"}]},"_provenance":{"data":{"source":"lovdata","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata"},"entities":{"source":"lovdata","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_section","source":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","wiki":"https://allemannsdata.com/wiki/kilder/lovdata/get_section/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}},{"name":"search_case_law","description":"Free-text search in Norwegian Supreme Court (H\u00f8yesterett) decisions. Signature: search_case_law(query: string, required; limit: integer, items, optional, default 10; offset: integer, items, optional, default 0).","signature":"search_case_law(query: string, required; limit: integer, items, optional, default 10; offset: integer, items, optional, default 0)","parameters":[{"name":"query","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"Search words, e.g. \"uf\u00f8retrygd virkningstidspunkt\".","unit":null,"display_type":"string"},{"name":"limit","type":"integer","schema":{"type":"integer"},"required":false,"default":10,"description":"Max hits to return. Unit: items.","unit":"items","display_type":"integer"},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/search_case_law?query={query}&limit=10&offset=0","output_fields":["query","hits","hits[].title","hits[].hr_number","hits[].excerpt","hits[].published","hits[].url"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["hits[].title"]},"description_language":"en","documentation":"Free-text search in Norwegian Supreme Court (H\u00f8yesterett) decisions.\n\nSearches domstol.no's published decisions (2000-present). Matches the\npublished summaries and titles, not the full decision PDFs. Lower courts\n(lagmannsrett/tingrett) do not publish open case law and are not covered.\n\nArgs:\n    query: Search words, e.g. \"uf\u00f8retrygd virkningstidspunkt\".\n    limit: Max hits to return.\n\nPass a hit's url or hr_number to get_case_law() for the full summary.\n\nSignature: search_case_law(query: string, required; limit: integer, items, optional, default 10; offset: integer, items, optional, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/lovdata/search_case_law/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/lovdata/search_case_law/?query={query}&limit=10&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/search_case_law","response_schema":{"type":"object","properties":{"query":{"type":"string"},"hits":{"type":"array","items":{"type":"object","properties":{"title":{"type":["string","null"]},"hr_number":{"type":["string","null"]},"excerpt":{"type":["string","null"]},"published":{"type":["string","null"],"format":"date"},"url":{"type":["string","null"],"format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["query","hits"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["legal_document"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/search_case_law/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/search_case_law","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/search_case_law?query={query}&limit=10&offset=0","response_example":{"source":"lovdata","operation":"search_case_law","parameters":{"query":"example value","limit":10},"data":{"query":"example value","hits":[{"title":"Example","hr_number":"example value","excerpt":"example value","published":"2026-01-15","url":"https://example.invalid/resource"}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"lovdata","name":"Lovdata public data","description":"Norwegian laws, central regulations, sections and Supreme Court case law.","cache_ttl_seconds":300,"documentation":"https://api.lovdata.no/"}]},"_provenance":{"data":{"source":"lovdata","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata"},"entities":{"source":"lovdata","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/search_case_law","source":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","wiki":"https://allemannsdata.com/wiki/kilder/lovdata/search_case_law/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}},{"name":"list_case_law","description":"List Norwegian Supreme Court (H\u00f8yesterett) decisions for one year. Signature: list_case_law(year: integer, calendar year, required; category: string, optional, default None; limit: integer, items, optional, default 50; offset: integer, items, optional, default 0).","signature":"list_case_law(year: integer, calendar year, required; category: string, optional, default None; limit: integer, items, optional, default 50; offset: integer, items, optional, default 0)","parameters":[{"name":"year","type":"integer","schema":{"type":"integer"},"required":true,"default":null,"description":"2000 or later. Unit: calendar year.","unit":"calendar year","display_type":"integer"},{"name":"category","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Optional substring filter on the category name, e.g. \"sivil\", \"straff\", \"ankeutvalg\" or \"prosessuelle\". Note \"straff\" also matches \"H\u00f8yesteretts ankeutvalg - straff\". (Older years use \"kj\u00e6rem\u00e5lsutvalg\" instead of \"ankeutvalg\".)","unit":null,"display_type":"string"},{"name":"limit","type":"integer","schema":{"type":"integer"},"required":false,"default":50,"description":"Max decisions to return (default 50). Unit: items.","unit":"items","display_type":"integer"},{"name":"offset","type":"integer","schema":{"type":"integer"},"required":false,"default":0,"description":"Skip this many matching decisions (for paging, default 0). Unit: items.","unit":"items","display_type":"integer"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/list_case_law?year={year}&category={category}&limit=50&offset=0","output_fields":["year","categories","total","offset","returned","decisions","decisions[].title","decisions[].hr_number","decisions[].published","decisions[].category","decisions[].url","note"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["decisions[].title"]},"description_language":"en","documentation":"List Norwegian Supreme Court (H\u00f8yesterett) decisions for one year.\n\nPaged: the response has `total` matching decisions and returns at most\n`limit` from `offset`; a `note` says which offset fetches the next page\nwhen there is one. Each row is a title, hr_number, published date,\ncategory and url only.\n\nArgs:\n    year: 2000 or later.\n    category: Optional substring filter on the category name, e.g.\n        \"sivil\", \"straff\", \"ankeutvalg\" or \"prosessuelle\". Note \"straff\"\n        also matches \"H\u00f8yesteretts ankeutvalg - straff\". (Older years use\n        \"kj\u00e6rem\u00e5lsutvalg\" instead of \"ankeutvalg\".)\n    limit: Max decisions to return (default 50).\n    offset: Skip this many matching decisions (for paging, default 0).\n\nPass a decision's url or hr_number to get_case_law() for its summary,\nmetadata and PDF.\n\nSignature: list_case_law(year: integer, calendar year, required; category: string, optional, default None; limit: integer, items, optional, default 50; offset: integer, items, optional, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/lovdata/list_case_law/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/lovdata/list_case_law/?year={year}&category={category}&limit=50&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/list_case_law","response_schema":{"type":"object","properties":{"year":{"type":"integer"},"categories":{"type":"array","items":{"type":"string"}},"total":{"type":"integer"},"offset":{"type":"integer"},"returned":{"type":"integer"},"decisions":{"type":"array","items":{"type":"object","properties":{"title":{"type":["string","null"]},"hr_number":{"type":["string","null"]},"published":{"type":["string","null"],"format":"date"},"category":{"type":["string","null"]},"url":{"type":["string","null"],"format":"uri"}},"additionalProperties":false}},"note":{"type":["string","null"]}},"additionalProperties":false,"required":["year","categories","total","offset","returned","decisions"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["legal_document"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/list_case_law/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/list_case_law","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/list_case_law?year={year}&category={category}&limit=50&offset=0","response_example":{"source":"lovdata","operation":"list_case_law","parameters":{"year":1,"category":"example value","limit":50,"offset":0},"data":{"year":1,"categories":["example value"],"total":1,"offset":1,"returned":1,"decisions":[{"title":"Example","hr_number":"example value","published":"2026-01-15","category":"example value","url":"https://example.invalid/resource"}],"note":"example value"},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"lovdata","name":"Lovdata public data","description":"Norwegian laws, central regulations, sections and Supreme Court case law.","cache_ttl_seconds":300,"documentation":"https://api.lovdata.no/"}]},"_provenance":{"data":{"source":"lovdata","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata"},"entities":{"source":"lovdata","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/list_case_law","source":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","wiki":"https://allemannsdata.com/wiki/kilder/lovdata/list_case_law/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}},{"name":"get_case_law","description":"Get one H\u00f8yesterett decision: summary, metadata and PDF link. Signature: get_case_law(ref: string, required; full_text: yes/no, optional, default False; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"get_case_law(ref: string, required; full_text: yes/no, optional, default False; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"ref","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"An HR number like \"HR-2026-1431-A\", or a decision url from search_case_law()/list_case_law().","unit":null,"display_type":"string"},{"name":"full_text","type":"boolean","schema":{"type":"boolean"},"required":false,"default":false,"description":"Also download the decision PDF and include its extracted text (recent years only; older decisions have no PDF).","unit":null,"display_type":"yes/no"},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"display_type":"integer","required":false,"default":25,"description":"Maximum list items returned by the gateway (default 25, maximum 100).","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_case_law?ref={ref}&full_text=false&limit=25&offset=0","output_fields":["title","hr_number","published","url","case_intro","summary","pdf_url","full_text","note"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["title"]},"description_language":"en","documentation":"Get one H\u00f8yesterett decision: summary, metadata and PDF link.\n\nThe summary includes Rettsomr\u00e5de (area of law), N\u00f8kkelavsnitt (key\nparagraphs) and Dommere (justices) where domstol.no provides them.\n\nArgs:\n    ref: An HR number like \"HR-2026-1431-A\", or a decision url from\n        search_case_law()/list_case_law().\n    full_text: Also download the decision PDF and include its extracted\n        text (recent years only; older decisions have no PDF).\n\nSignature: get_case_law(ref: string, required; full_text: yes/no, optional, default False; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","documentation_language":"en","wiki_get_endpoint":"https://allemannsdata.com/wiki/kilder/lovdata/get_case_law/","wiki_get_url_template":"https://allemannsdata.com/wiki/kilder/lovdata/get_case_law/?ref={ref}&full_text=false&limit=25&offset=0","json_endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_case_law","response_schema":{"type":"object","properties":{"title":{"type":"string"},"hr_number":{"anyOf":[{"type":"string"},{"type":"null"}]},"published":{"type":"boolean"},"url":{"type":["string","null"],"format":"uri"},"case_intro":{"type":"string"},"summary":{"type":"string"},"pdf_url":{"anyOf":[{"type":["string","null"],"format":"uri"},{"type":"null"}]},"full_text":{"type":"string"},"note":{"type":"string"}},"additionalProperties":false},"response_schema_status":{"status":"inferred","codegen_safe":true,"description":"Safe for code generation from the currently published fields. The contract is statically inferred rather than independently maintained, so clients should tolerate additional fields."},"entity_projection":{"status":"projected","entity_types":["legal_document"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"response_schema_url":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_case_law/schema","endpoint":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_case_law","get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/get_case_law?ref={ref}&full_text=false&limit=25&offset=0"}],"operation_schema_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata/{operation}/schema","related_sources":[{"id":"stortinget","name":"Stortinget open data","reason":"Parliamentary cases, votes and representatives behind legislation.","api":"https://allemannsdata.com/wiki/api/v1/kilder/stortinget","wiki":"https://allemannsdata.com/wiki/kilder/stortinget/"}],"_meta":{"retrieved_at":"2026-09-20T20:02:49Z","language":"en","content_languages":["en"],"sources":[{"id":"lovdata","name":"Lovdata public data","description":"Norwegian laws, central regulations, sections and Supreme Court case law.","documentation":"https://api.lovdata.no/","cache_ttl_seconds":300}]},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","names":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata?view=names","compact":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata?view=compact","full":"https://allemannsdata.com/wiki/api/v1/kilder/lovdata","wiki":"https://allemannsdata.com/wiki/kilder/lovdata/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}
