changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "description": "Documents in the requested jurisdiction that have crawled links; empty if none match. Each item is a content item.",
+ "items": {
+ "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": "array"
+ },
+ "message": {
+ "description": "Result message",
+ "type": "string"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "limit": {
+ "description": "Maximum number of documents returned",
+ "type": "number"
+ },
+ "next_id": {
+ "description": "Cursor ID for the next page, or null when there is no next page",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "total_count": {
+ "description": "Total number of matching documents",
+ "type": "number"
+ }
+ },
+ "required": [
+ "limit",
+ "next_id"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "message",
+ "data"
+ ],
+ "type": "object"
+}