changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "description": "Citation chain for the requested document: metadata, legal link, optional source file URL, and optional body.",
+ "properties": {
+ "citation_template": {
+ "description": "Document's citation template",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "content": {
+ "description": "Document body in content_format: structured Markdown or plain text",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "content_format": {
+ "anyOf": [
+ {
+ "enum": [
+ "markdown",
+ "plain"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Document's content format"
+ },
+ "legal_link": {
+ "description": "Document's legal link",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "metadata": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "classification": {
+ "additionalProperties": false,
+ "description": "Classification",
+ "properties": {
+ "authority_type": {
+ "description": "Authority Type of the content",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "issuing_authority": {
+ "description": "Issuing Authority of the content",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "issuing_authority_tags": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Issuing Authority Tags of the content"
+ },
+ "keywords": {
+ "description": "Keywords of the content",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "source_keywords": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Source Keywords of the content"
+ },
+ "tags": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Tags of the content"
+ }
+ },
+ "required": [
+ "authority_type",
+ "issuing_authority",
+ "issuing_authority_tags",
+ "keywords",
+ "tags",
+ "source_keywords"
+ ],
+ "type": "object"
+ },
+ "content": {
+ "additionalProperties": false,
+ "description": "Content",
+ "properties": {
+ "file": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "content_type": {
+ "description": "Content Type",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "size_bytes": {
+ "description": "Size in bytes",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "url": {
+ "description": "Source-file metadata, not a downloadable URL. Call document_presigned_url for a temporary source-file URL.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "content_type",
+ "size_bytes",
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "File metadata, or null when the document has no file. Not a citation bundle; call evidence_pull for that."
+ },
+ "markdown": {
+ "description": "Path hint for the structured Markdown body. Call list_markdown to read it; this field is not the Markdown.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "text": {
+ "description": "Path hint for the plain-text body. Call list_full_text to read it; this field is not the text.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "text",
+ "markdown",
+ "file"
+ ],
+ "type": "object"
+ },
+ "dates": {
+ "additionalProperties": false,
+ "description": "Dates",
+ "properties": {
+ "decided": {
+ "description": "Decision Date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "effective": {
+ "description": "Effective Date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "enacted": {
+ "description": "Date of Enactment",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "expired": {
+ "description": "Expiration Date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "last_amended": {
+ "description": "Date of Last Amendment",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "published": {
+ "description": "Publication Date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "repealed": {
+ "description": "Date of Repeal",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "published",
+ "enacted",
+ "effective",
+ "decided",
+ "last_amended",
+ "expired",
+ "repealed"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "description": "ID",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "is_repealed": {
+ "description": "Is Repealed",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "jurisdiction": {
+ "additionalProperties": false,
+ "description": "Jurisdiction",
+ "properties": {
+ "country": {
+ "description": "Country",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "iso": {
+ "description": "ISO code of the jurisdiction",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "state": {
+ "description": "State",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "iso",
+ "country",
+ "state"
+ ],
+ "type": "object"
+ },
+ "language": {
+ "description": "Language",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "provenance": {
+ "additionalProperties": false,
+ "description": "Provenance",
+ "properties": {
+ "crawled_at": {
+ "description": "Date and time the content was crawled",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_updated_at": {
+ "description": "Date and time the source was updated",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "crawled_at",
+ "source_updated_at"
+ ],
+ "type": "object"
+ },
+ "section_title": {
+ "description": "Section Title",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "additionalProperties": false,
+ "description": "Source",
+ "properties": {
+ "domain": {
+ "description": "Domain of the source",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "identifier": {
+ "description": "Identifier of the source",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "portal_id": {
+ "description": "Portal ID of the source",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "portal_name": {
+ "description": "Portal Name of the source",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "portal_tags": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Portal Tasks of the source"
+ },
+ "secondary_identifier": {
+ "description": "Secondary Identifier of the source",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "description": "URL of the source",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "portal_id",
+ "portal_name",
+ "portal_tags",
+ "domain",
+ "url",
+ "identifier",
+ "secondary_identifier"
+ ],
+ "type": "object"
+ },
+ "summary": {
+ "description": "Summary",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "description": "Title",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "uuid": {
+ "description": "UUID",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "version": {
+ "description": "Version",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "uuid",
+ "version",
+ "title",
+ "section_title",
+ "language",
+ "is_repealed",
+ "summary",
+ "jurisdiction",
+ "source",
+ "classification",
+ "dates",
+ "content",
+ "provenance"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Document's metadata"
+ },
+ "source_file_note": {
+ "description": "Document's source file note",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_file_url": {
+ "description": "Temporary signed URL to the original source file, or null when none exists. Permanent citation URL is legal_link.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "uuid": {
+ "description": "Document's UUID",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "version": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Document's version"
+ }
+ },
+ "required": [
+ "version"
+ ],
+ "type": "object"
+ },
+ "message": {
+ "description": "Result message",
+ "type": "string"
+ }
+ },
+ "required": [
+ "message",
+ "data"
+ ],
+ "type": "object"
+}