changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "checked_scope": {
+ "type": "string"
+ },
+ "count": {
+ "type": "number"
+ },
+ "disclaimer": {
+ "type": "string"
+ },
+ "license_note": {
+ "type": "string"
+ },
+ "national_rules": {},
+ "out_of_scope": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "provenance": {
+ "description": "Freshness receipts for every upstream source used.",
+ "items": {
+ "additionalProperties": {},
+ "description": "Freshness receipt for one upstream source.",
+ "properties": {
+ "content_sha256": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fetch_status": {
+ "description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values).",
+ "enum": [
+ "found",
+ "empty",
+ "stale",
+ "unavailable",
+ "unsupported"
+ ],
+ "type": "string"
+ },
+ "parser_version": {
+ "type": "string"
+ },
+ "processed_by": {
+ "type": "string"
+ },
+ "retrieved_at": {
+ "description": "When this service retrieved the upstream data (null if unknown).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "additionalProperties": {},
+ "description": "Publisher and URL of the upstream document or dataset.",
+ "properties": {
+ "publisher": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "publisher",
+ "url"
+ ],
+ "type": "object"
+ },
+ "upstream_updated_at": {
+ "description": "Update time stated by the upstream, or null when it states none.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "source",
+ "upstream_updated_at",
+ "retrieved_at",
+ "content_sha256",
+ "parser_version",
+ "fetch_status",
+ "processed_by"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "receipt_id": {
+ "description": "Receipt id of the settled paid call (\"rcpt_\" + 64 hex). Use with get_receipt.",
+ "type": "string"
+ },
+ "responded_at": {
+ "type": "string"
+ },
+ "results": {
+ "description": "One result per item, in input order.",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "as_of": {
+ "type": "string"
+ },
+ "as_of_codes": {
+ "description": "Codes valid on as_of, with names, JMA area and J-LIS certificate availability.",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "convenience_store_certificates": {
+ "additionalProperties": {},
+ "properties": {
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ "jma_area": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ }
+ },
+ "required": [
+ "code",
+ "jma_area",
+ "convenience_store_certificates"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "changes": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "input": {
+ "additionalProperties": {},
+ "description": "The query as understood (code or prefecture and name, and as_of).",
+ "properties": {
+ "as_of": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "as_of"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "description": "mapped / split_candidates / unknown / invalid.",
+ "enum": [
+ "mapped",
+ "split_candidates",
+ "unknown",
+ "invalid"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "input",
+ "status",
+ "as_of",
+ "as_of_codes",
+ "changes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "retrieved_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "type": "string"
+ },
+ "status_values": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "summary": {
+ "additionalProperties": {},
+ "properties": {
+ "invalid": {
+ "type": "number"
+ },
+ "mapped": {
+ "type": "number"
+ },
+ "split_candidates": {
+ "type": "number"
+ },
+ "unknown": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "mapped",
+ "split_candidates",
+ "unknown",
+ "invalid"
+ ],
+ "type": "object"
+ },
+ "terms": {
+ "description": "URL of the terms of service.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "receipt_id",
+ "count",
+ "summary",
+ "results",
+ "national_rules",
+ "out_of_scope",
+ "status_values",
+ "disclaimer",
+ "checked_scope",
+ "source",
+ "license_note",
+ "provenance",
+ "retrieved_at",
+ "responded_at",
+ "terms"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "x402 PaymentRequired (returned with isError true when payment is required or was not accepted).",
+ "properties": {
+ "accepts": {
+ "description": "Payment options (x402 v2 PaymentRequirements).",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "network": {
+ "type": "string"
+ },
+ "scheme": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "scheme",
+ "network"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "error": {
+ "type": "string"
+ },
+ "resource": {
+ "additionalProperties": {},
+ "properties": {
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ "x402Version": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x402Version",
+ "accepts"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "Either the paid result (with receipt_id) or, with isError true, the x402 PaymentRequired to pay and retry.",
+ "properties": {},
+ "type": "object"
+}