law_sources
Read-only
Sources: by default short excerpts (view=summary), 5 texts per page, with the address of the full text in fragments[].full. Either package or fragment is required (a StableId from law_search/law_rules). view=full returns exact parts of the text: textRange sets a range of Unicode characters, fragments[].next is the continuation with a contentHash. The hash refers to the WHOLE source, not to the excerpt or the part. textOffset/textLimit require fragment; a continuation requires contentHash. Lists are paged with offset/limit; the answer budget may shrink a page.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | summary | |
| limit | No | how many texts: summary 5, full 1 (the budget may lower it) | |
| offset | No | from which fragment (0) | |
| status | No | the status of the variant, as given on the source card | |
| package | No | the package key — every fragment of that instrument | |
| fragment | No | the StableId of a fragment | |
| language | No | the language of the variant, as given on the source card | |
| textLimit | No | the maximum number of Unicode characters in a part of the text (also ≤8000 bytes of UTF-8) | |
| textOffset | No | ||
| contentHash | No | the hash of the full text taken from the previous part |