changedInput schema / properties / limit / description
Previous value: -"How many clauses to return"New value: +"How many results to return, each a whole rule"
changedInput schema / properties / query / description
Previous value: -"The question, in words"New value: +"One question, in words: what the code does, with which data"
addedOutput schema / $defs / Beneath
Added value: +{
+ "description": "A clause beneath a rule's own words. Cite it by its own key, with the rule's document\nand version.",
+ "properties": {
+ "coming": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/Coming"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "in_force": {
+ "title": "In Force",
+ "type": "boolean"
+ },
+ "key": {
+ "title": "Key",
+ "type": "string"
+ },
+ "prevailing_text": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Prevailing Text"
+ },
+ "text": {
+ "title": "Text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "text",
+ "in_force"
+ ],
+ "title": "Beneath",
+ "type": "object"
+}
addedOutput schema / $defs / Coming
Added value: +{
+ "description": "The words an amendment gives a clause from a later day.",
+ "properties": {
+ "in_force_from": {
+ "title": "In Force From",
+ "type": "string"
+ },
+ "set_by": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The amendment that brings them",
+ "title": "Set By"
+ },
+ "text": {
+ "description": "The words as the amendment gives them, word for word",
+ "title": "Text",
+ "type": "string"
+ }
+ },
+ "required": [
+ "text",
+ "in_force_from",
+ "set_by"
+ ],
+ "title": "Coming",
+ "type": "object"
+}
changedOutput schema / $defs / Match / description
Previous value: -"A clause a search returned, with what else it points at."New value: +"A rule a search returned, with the clauses beneath it and what they point at."
addedOutput schema / $defs / Match / properties / beneath
Added value: +{
+ "description": "The clauses beneath the rule, in reading order",
+ "items": {
+ "$ref": "#/$defs/Beneath"
+ },
+ "title": "Beneath",
+ "type": "array"
+}
addedOutput schema / $defs / Match / properties / coming
Added value: +{
+ "anyOf": [
+ {
+ "$ref": "#/$defs/Coming"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The words an amendment gives this clause from a later day. Mention them when the answer depends on what will apply then"
+}
changedOutput schema / $defs / Match / properties / cross_references / description
Previous value: -"Keys this clause's own words point at, to read with get_clause"New value: +"Keys the words shown point at, to read with get_clause"
addedOutput schema / $defs / Match / properties / dates_set_by
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "What set those days, when anything other than the version's date did",
+ "title": "Dates Set By"
+}
addedOutput schema / $defs / Match / properties / document / description
Added value: +"The document's title, in the language of the text"
addedOutput schema / $defs / Match / properties / in_force
Added value: +{
+ "description": "Whether this text applies on the day asked about. A provision can be returned before it starts to apply, so a duty can be prepared for: say so when citing it",
+ "title": "In Force",
+ "type": "boolean"
+}
addedOutput schema / $defs / Match / properties / in_force_from
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The day this text starts to apply, or null while nothing has set it",
+ "title": "In Force From"
+}
removedOutput schema / $defs / Match / properties / in_force_since
Removed value: -{
- "description": "The date this version took effect",
- "title": "In Force Since",
- "type": "string"
-}
addedOutput schema / $defs / Match / properties / in_force_until
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The day it stops applying, when a law or an amendment has set one",
+ "title": "In Force Until"
+}
addedOutput schema / $defs / Match / properties / law
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "What people call the law, such as GDPR. Null for the organisation's policy",
+ "title": "Law"
+}
addedOutput schema / $defs / Match / properties / whole
Added value: +{
+ "default": true,
+ "description": "False when only the two clauses the search ranked highest are beneath: get_clause with whole_subtree reads the rest",
+ "title": "Whole",
+ "type": "boolean"
+}
changedOutput schema / $defs / Match / required
Previous value: -[
- "key",
- "citation",
- "text",
- "breadcrumb",
- "obliges",
- "document",
- "version",
- "in_force_since",
- "lang",
- "authoritative",
- "jurisdiction",
- "trust_tier",
- "source_url",
- "score",
- "cross_references"
-]New value: +[
+ "key",
+ "citation",
+ "text",
+ "breadcrumb",
+ "obliges",
+ "document",
+ "law",
+ "version",
+ "in_force",
+ "in_force_from",
+ "in_force_until",
+ "lang",
+ "authoritative",
+ "jurisdiction",
+ "trust_tier",
+ "source_url",
+ "score",
+ "cross_references"
+]