{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "jp-diet-production.mk-career-planning.workers.dev",
    "site": "jp-diet-production.mk-career-planning.workers.dev",
    "addresses": [
      {
        "address": "104.21.19.95",
        "endpoints": 27,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.0.0/19",
          "country": "US"
        }
      },
      {
        "address": "172.67.185.185",
        "endpoints": 27,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.176.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3036::ac43:b9b9",
        "endpoints": 27,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3036::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3037::6815:135f",
        "endpoints": 27,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3037::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.19.95",
          "172.67.185.185",
          "2606:4700:3036::ac43:b9b9",
          "2606:4700:3037::6815:135f"
        ],
        "first_seen": "2026-11-23T00:58:02.736Z",
        "last_seen": "2026-11-23T00:58:02.736Z",
        "checks": 1
      },
      {
        "addresses": [
          "172.67.185.185",
          "104.21.19.95",
          "2606:4700:3036::ac43:b9b9",
          "2606:4700:3037::6815:135f"
        ],
        "first_seen": "2026-11-22T00:44:02.076Z",
        "last_seen": "2026-11-22T00:44:02.076Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare Workers",
        "evidence": "host name ends in .workers.dev"
      }
    ],
    "software": [],
    "server_info": {
      "name": "jp-diet",
      "version": "0.2.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 26,
      "sample": [
        {
          "id": "33151",
          "url": "https://japan-agent-api-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/japan-agent-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:58:02.499Z"
        },
        {
          "id": "33152",
          "url": "https://jp-caa-actions-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-caa-actions",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:58:02.523Z"
        },
        {
          "id": "33153",
          "url": "https://jp-corporate-number-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-corporate-number",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:58:02.600Z"
        },
        {
          "id": "33155",
          "url": "https://jp-drone-airspace-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-drone-airspace",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:58:02.747Z"
        },
        {
          "id": "33156",
          "url": "https://jp-drug-supply-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-drug-supply",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:58:02.868Z"
        },
        {
          "id": "33157",
          "url": "https://jp-edinet-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-edinet",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:58:02.893Z"
        },
        {
          "id": "33158",
          "url": "https://jp-elections-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-elections",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:58:03.031Z"
        },
        {
          "id": "33159",
          "url": "https://jp-entity-evidence-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-entity-evidence",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:58:03.038Z"
        },
        {
          "id": "33160",
          "url": "https://jp-exam-results-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-exam-results",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:58:03.039Z"
        },
        {
          "id": "33161",
          "url": "https://jp-exam-schedules-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-exam-schedules",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:58:03.227Z"
        },
        {
          "id": "33162",
          "url": "https://jp-finance-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-finance",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:58:03.228Z"
        },
        {
          "id": "33163",
          "url": "https://jp-flu-regional-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-flu-regional",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:59:00.730Z"
        },
        {
          "id": "33164",
          "url": "https://jp-food-import-orders-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-food-import-orders",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:59:00.730Z"
        },
        {
          "id": "33165",
          "url": "https://jp-forecast-archive-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-forecast-archive",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:59:01.005Z"
        },
        {
          "id": "33166",
          "url": "https://jp-foreign-patient-hospitals-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-foreign-patient-hospitals",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:59:01.010Z"
        },
        {
          "id": "33167",
          "url": "https://jp-gbizinfo-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-gbizinfo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:59:01.171Z"
        },
        {
          "id": "33168",
          "url": "https://jp-invoice-registry-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-invoice-registry",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:59:01.158Z"
        },
        {
          "id": "33169",
          "url": "https://jp-organic-jas-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-organic-jas",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:59:01.235Z"
        },
        {
          "id": "33170",
          "url": "https://jp-real-estate-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-real-estate",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:59:01.237Z"
        },
        {
          "id": "33171",
          "url": "https://jp-residence-processing-production.mk-career-planning.workers.dev/mcp",
          "server_name": "io.github.mk-career-planning/jp-residence-processing",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T00:59:01.200Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.mk-career-planning",
      "total": 26,
      "sample": [
        {
          "name": "io.github.mk-career-planning/japan-agent-api",
          "title": "Japan Agent API"
        },
        {
          "name": "io.github.mk-career-planning/jp-caa-actions",
          "title": "Japan CAA Commercial Transactions Actions"
        },
        {
          "name": "io.github.mk-career-planning/jp-corporate-number",
          "title": "Japan Corporate Number (NTA)"
        },
        {
          "name": "io.github.mk-career-planning/jp-drone-airspace",
          "title": "Japan Drone Rule Pre-check (partial coverage)"
        },
        {
          "name": "io.github.mk-career-planning/jp-drug-supply",
          "title": "Japan Drug Supply Status Relay"
        },
        {
          "name": "io.github.mk-career-planning/jp-edinet",
          "title": "Japan EDINET Filing Index"
        },
        {
          "name": "io.github.mk-career-planning/jp-elections",
          "title": "Japan Election Schedules"
        },
        {
          "name": "io.github.mk-career-planning/jp-entity-evidence",
          "title": "Japan Entity Evidence"
        },
        {
          "name": "io.github.mk-career-planning/jp-exam-results",
          "title": "Japan National Exam Pass Results"
        },
        {
          "name": "io.github.mk-career-planning/jp-exam-schedules",
          "title": "Japan National Exam Schedules"
        },
        {
          "name": "io.github.mk-career-planning/jp-finance",
          "title": "Japan Finance Reference Checks"
        },
        {
          "name": "io.github.mk-career-planning/jp-flu-regional",
          "title": "Japan Regional Influenza Records"
        },
        {
          "name": "io.github.mk-career-planning/jp-food-import-orders",
          "title": "Japan Imported Food Inspection Orders"
        },
        {
          "name": "io.github.mk-career-planning/jp-forecast-archive",
          "title": "Japan Weather Forecast Archive (JMA, as issued)"
        },
        {
          "name": "io.github.mk-career-planning/jp-foreign-patient-hospitals",
          "title": "Japan Hospitals Accepting Foreign Patients"
        },
        {
          "name": "io.github.mk-career-planning/jp-gbizinfo",
          "title": "Japan Corporate Number and Certifications (gBizINFO)"
        },
        {
          "name": "io.github.mk-career-planning/jp-invoice-registry",
          "title": "Japan Qualified Invoice Issuers (Corporations)"
        },
        {
          "name": "io.github.mk-career-planning/jp-organic-jas",
          "title": "Japan Organic JAS Certified Operators"
        },
        {
          "name": "io.github.mk-career-planning/jp-real-estate",
          "title": "Japan Real Estate Transaction Prices (MLIT)"
        },
        {
          "name": "io.github.mk-career-planning/jp-residence-processing",
          "title": "Japan Residence Processing Times"
        }
      ]
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "33154",
    "server_name": "io.github.mk-career-planning/jp-diet",
    "url": "https://jp-diet-production.mk-career-planning.workers.dev/mcp",
    "host": "jp-diet-production.mk-career-planning.workers.dev",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T00:58:02.736Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "57a3c1f42bffb62781cef948a567f6b180428a352fc4cdb8dd4f7f46ae93cf3a",
    "first_listed_at": "2026-11-22T00:44:02.076Z",
    "created_at": "2026-11-21T10:35:02.055Z",
    "resolved_addresses": [
      "104.21.19.95",
      "172.67.185.185",
      "2606:4700:3036::ac43:b9b9",
      "2606:4700:3037::6815:135f"
    ]
  },
  "server": {
    "name": "io.github.mk-career-planning/jp-diet",
    "title": "Japan Diet Bill Tracker",
    "description": "Where is a bill in Japan's Diet now? Stages, dates, laws it amends and when, with source URLs.",
    "version": "0.2.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://jp-diet-production.mk-career-planning.workers.dev/llms.txt",
    "published_at": "2026-11-14T22:50:02.709Z",
    "updated_at": "2026-11-14T22:50:02.709Z",
    "first_seen": "2026-11-21T10:35:01.295Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T16:17:08.522Z"
  },
  "operator": {
    "key": "workers.dev",
    "name": "workers.dev",
    "platform": false,
    "marketplace": true
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 506,
    "first_check_in_window": "2026-11-22T00:44:02.076Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "57a3c1f42bffb62781cef948a567f6b180428a352fc4cdb8dd4f7f46ae93cf3a",
    "tools": 10,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-22T00:44:02.653Z",
    "tool_names": [
      "catalog",
      "jp_diet_bills_list",
      "jp_diet_sessions_list",
      "jp_diet_bill_status",
      "jp_diet_group_votes",
      "jp_diet_stats",
      "jp_diet_changes",
      "jp_diet_enforcement_calendar",
      "jp_diet_law_history",
      "get_receipt"
    ],
    "declared": {
      "tools": [
        {
          "name": "catalog",
          "title": "Catalog: tools, prices and limits",
          "description": "List the tools of this server with prices, data sources, licensing, daily limits and data freshness.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "server",
              "payment",
              "daily_limits",
              "paused",
              "tools",
              "legal",
              "terms"
            ],
            "properties": {
              "legal": {
                "type": "object",
                "properties": {},
                "additionalProperties": {}
              },
              "terms": {
                "type": "string",
                "description": "URL of the terms of service."
              },
              "tools": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "price_usd",
                    "description"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "price_usd": {
                      "type": "number",
                      "description": "Price per call in USD (0 = free)."
                    },
                    "description": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                },
                "description": "Every tool of this server with its price."
              },
              "paused": {
                "type": "object",
                "description": "Operator pause flags (true = paused).",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "boolean"
                }
              },
              "server": {
                "type": "object",
                "required": [
                  "name",
                  "version",
                  "stage"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "stage": {
                    "type": "string"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "payment": {
                "type": "object",
                "required": [
                  "protocol",
                  "network",
                  "asset",
                  "enabled"
                ],
                "properties": {
                  "asset": {
                    "type": "string"
                  },
                  "enabled": {
                    "type": "boolean"
                  },
                  "network": {
                    "type": "string"
                  },
                  "protocol": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "provenance": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "source",
                    "upstream_updated_at",
                    "retrieved_at",
                    "content_sha256",
                    "parser_version",
                    "fetch_status",
                    "processed_by"
                  ],
                  "properties": {
                    "source": {
                      "type": "object",
                      "required": [
                        "publisher",
                        "url"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "publisher": {
                          "type": "string"
                        }
                      },
                      "description": "Publisher and URL of the upstream document or dataset.",
                      "additionalProperties": {}
                    },
                    "fetch_status": {
                      "enum": [
                        "found",
                        "empty",
                        "stale",
                        "unavailable",
                        "unsupported"
                      ],
                      "type": "string",
                      "description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
                    },
                    "processed_by": {
                      "type": "string"
                    },
                    "retrieved_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "When this service retrieved the upstream data (null if unknown)."
                    },
                    "content_sha256": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "parser_version": {
                      "type": "string"
                    },
                    "upstream_updated_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Update time stated by the upstream, or null when it states none."
                    }
                  },
                  "description": "Freshness receipt for one upstream source.",
                  "additionalProperties": {}
                },
                "description": "Freshness receipts for every upstream source used."
              },
              "daily_limits": {
                "type": "object",
                "properties": {},
                "description": "Daily limits of paid calls (calls, usd, timezone) or a misconfiguration notice.",
                "additionalProperties": {}
              },
              "fetch_status_values": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true
          }
        },
        {
          "name": "jp_diet_bills_list",
          "title": "Japan Diet: law bills of a session",
          "description": "List the law bills of a Diet session (default: current; past sessions from 142 (1998) as loaded, see jp_diet_sessions_list; 閣法 = cabinet bills, 衆法/参法 = member bills of the House of Representatives/Councillors) with where each is now: status as published (審議状況, e.g. 成立 = enacted), a status code, the position read from published stages (e.g. in_committee), latest stage date and source URLs. Filters: session, house, kind, status, title words. Free.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "kind": {
                "enum": [
                  "閣法",
                  "衆法",
                  "参法",
                  "cabinet",
                  "hr_member",
                  "hc_member"
                ],
                "type": "string",
                "description": "Bill kind: 閣法 or cabinet (cabinet bill), 衆法 or hr_member (House of Representatives member bill), 参法 or hc_member (House of Councillors member bill)"
              },
              "house": {
                "enum": [
                  "house_of_representatives",
                  "house_of_councillors"
                ],
                "type": "string",
                "description": "Only bills now with this house, according to the published status"
              },
              "limit": {
                "type": "integer",
                "maximum": 200,
                "minimum": 1,
                "description": "Maximum number of bills, 1-200 (default 100)"
              },
              "query": {
                "type": "string",
                "maxLength": 100,
                "minLength": 1,
                "description": "Words in the bill title, in Japanese (for example 消費税 = consumption tax)"
              },
              "status": {
                "enum": [
                  "under_deliberation_house_of_representatives",
                  "under_deliberation_house_of_councillors",
                  "enacted",
                  "withdrawn",
                  "finished_in_house_of_representatives",
                  "finished_in_house_of_councillors",
                  "not_concluded_at_session_end",
                  "review_while_closed_house_of_representatives",
                  "review_while_closed_house_of_councillors",
                  "rejected",
                  "house_of_representatives_agreed_to_councillors_amendments",
                  "house_of_representatives_disagreed_to_councillors_amendments",
                  "house_of_representatives_passed_again",
                  "other",
                  "not_listed_by_house_of_representatives"
                ],
                "type": "string",
                "description": "Only bills with this status code (see status_meaning in the answer)"
              },
              "session": {
                "type": "integer",
                "maximum": 999,
                "minimum": 1,
                "description": "Diet session number, for example 222 (default: the current session)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query",
              "status",
              "unknown_reason",
              "total",
              "truncated",
              "bills",
              "session_coverage",
              "official_check",
              "source",
              "attribution",
              "disclaimer",
              "status_note",
              "answered_at",
              "provenance",
              "terms"
            ],
            "properties": {
              "bills": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "bill_id",
                    "kind",
                    "kind_en",
                    "title_ja",
                    "current",
                    "source_urls"
                  ],
                  "properties": {
                    "kind": {
                      "enum": [
                        "閣法",
                        "衆法",
                        "参法"
                      ],
                      "type": "string"
                    },
                    "bill_id": {
                      "type": "string",
                      "description": "submitted session - kind - number, for example 222-閣法-1"
                    },
                    "current": {
                      "type": "object",
                      "required": [
                        "session",
                        "status_ja",
                        "status",
                        "position",
                        "last_change_date"
                      ],
                      "properties": {
                        "status": {
                          "enum": [
                            "under_deliberation_house_of_representatives",
                            "under_deliberation_house_of_councillors",
                            "enacted",
                            "withdrawn",
                            "finished_in_house_of_representatives",
                            "finished_in_house_of_councillors",
                            "not_concluded_at_session_end",
                            "review_while_closed_house_of_representatives",
                            "review_while_closed_house_of_councillors",
                            "rejected",
                            "house_of_representatives_agreed_to_councillors_amendments",
                            "house_of_representatives_disagreed_to_councillors_amendments",
                            "house_of_representatives_passed_again",
                            "other",
                            "not_listed_by_house_of_representatives"
                          ],
                          "type": "string"
                        },
                        "session": {
                          "type": "number"
                        },
                        "position": {
                          "enum": [
                            "received_not_yet_referred",
                            "in_committee",
                            "committee_decided_awaiting_plenary",
                            "passed_house",
                            "enacted_not_yet_promulgated",
                            "promulgated",
                            "closed",
                            "unknown"
                          ],
                          "type": "string"
                        },
                        "status_ja": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "審議状況 as published on the House of Representatives list (null when the bill is not on it)."
                        },
                        "last_change_date": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "description": "Where the bill is now, from published stages only (not a forecast).",
                      "additionalProperties": {}
                    },
                    "kind_en": {
                      "type": "string"
                    },
                    "title_ja": {
                      "type": "string",
                      "description": "Bill title as published."
                    },
                    "source_urls": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": {}
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "query": {
                "type": "object",
                "properties": {},
                "additionalProperties": {}
              },
              "terms": {
                "type": "string",
                "description": "URL of the terms of service."
              },
              "total": {
                "type": "number"
              },
              "source": {
                "type": "object",
                "required": [
                  "house_of_representatives_list_url",
                  "current_session",
                  "retrieved_at",
                  "freshness",
                  "processed_by"
                ],
                "properties": {
                  "freshness": {
                    "enum": [
                      "fresh",
                      "stale",
                      "not_loaded_yet"
                    ],
                    "type": "string"
                  },
                  "processed_by": {
                    "type": "string"
                  },
                  "retrieved_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "When this service last read the current session's House of Representatives bill list."
                  },
                  "current_session": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Current (or latest) Diet session number read from the House of Representatives list."
                  },
                  "house_of_representatives_list_url": {
                    "type": "string"
                  }
                },
                "description": "Where the answer comes from and how fresh it is.",
                "additionalProperties": {}
              },
              "status": {
                "enum": [
                  "found",
                  "not_found_in_checked_records",
                  "unknown"
                ],
                "type": "string"
              },
              "truncated": {
                "type": "boolean"
              },
              "disclaimer": {
                "type": "string"
              },
              "provenance": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "source",
                    "upstream_updated_at",
                    "retrieved_at",
                    "content_sha256",
                    "parser_version",
                    "fetch_status",
                    "processed_by"
                  ],
                  "properties": {
                    "source": {
                      "type": "object",
                      "required": [
                        "publisher",
                        "url"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "publisher": {
                          "type": "string"
                        }
                      },
                      "description": "Publisher and URL of the upstream document or dataset.",
                      "additionalProperties": {}
                    },
                    "fetch_status": {
                      "enum": [
                        "found",
                        "empty",
                        "stale",
                        "unavailable",
                        "unsupported"
                      ],
                      "type": "string",
                      "description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
                    },
                    "processed_by": {
                      "type": "string"
                    },
                    "retrieved_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "When this service retrieved the upstream data (null if unknown)."
                    },
                    "content_sha256": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "parser_version": {
                      "type": "string"
                    },
                    "upstream_updated_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Update time stated by the upstream, or null when it states none."
                    }
                  },
                  "description": "Freshness receipt for one upstream source.",
                  "additionalProperties": {}
                },
                "description": "Freshness receipts for every upstream source used."
              },
              "answered_at": {
                "type": "string"
              },
              "attribution": {
                "type": "object",
                "required": [
                  "en",
                  "ja"
                ],
                "properties": {
                  "en": {
                    "type": "string"
                  },
                  "ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "status_note": {
                "type": "string"
              },
              "official_check": {
                "type": "object",
                "required": [
                  "message",
                  "message_ja"
                ],
                "properties": {
                  "message": {
                    "type": "string"
                  },
                  "message_ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "unknown_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "session_coverage": {
                "type": "object",
                "required": [
                  "session",
                  "status",
                  "coverage"
                ],
                "properties": {
                  "status": {
                    "type": "string",
                    "description": "current / recent (read every day), loading / loaded / loaded_with_gaps (past sessions), or not_loaded."
                  },
                  "session": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "coverage": {
                    "enum": [
                      "complete",
                      "partial",
                      "not_loaded"
                    ],
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "jp_diet_sessions_list",
          "title": "Japan Diet: sessions and coverage",
          "description": "Which Diet sessions does this service hold bill records for? Returns every session the House of Representatives bill pages list (from 142, 1998), newest first: number, type (常会 ordinary, 臨時会 extraordinary, 特別会 special), start and end dates, number of law bills, and how far it is loaded (coverage complete, partial or not_loaded; past sessions are loaded newest first). Free.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "status",
              "unknown_reason",
              "coverage",
              "counts",
              "sessions",
              "sessions_note",
              "official_check",
              "source",
              "attribution",
              "disclaimer",
              "status_note",
              "answered_at",
              "provenance",
              "terms"
            ],
            "properties": {
              "terms": {
                "type": "string",
                "description": "URL of the terms of service."
              },
              "counts": {
                "type": "object",
                "required": [
                  "sessions",
                  "complete",
                  "partial",
                  "not_loaded"
                ],
                "properties": {
                  "partial": {
                    "type": "number"
                  },
                  "complete": {
                    "type": "number"
                  },
                  "sessions": {
                    "type": "number"
                  },
                  "not_loaded": {
                    "type": "number"
                  }
                },
                "additionalProperties": {}
              },
              "source": {
                "type": "object",
                "required": [
                  "house_of_representatives_list_url",
                  "current_session",
                  "retrieved_at",
                  "freshness",
                  "processed_by"
                ],
                "properties": {
                  "freshness": {
                    "enum": [
                      "fresh",
                      "stale",
                      "not_loaded_yet"
                    ],
                    "type": "string"
                  },
                  "processed_by": {
                    "type": "string"
                  },
                  "retrieved_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "When this service last read the current session's House of Representatives bill list."
                  },
                  "current_session": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Current (or latest) Diet session number read from the House of Representatives list."
                  },
                  "house_of_representatives_list_url": {
                    "type": "string"
                  }
                },
                "description": "Where the answer comes from and how fresh it is.",
                "additionalProperties": {}
              },
              "status": {
                "enum": [
                  "found",
                  "unknown"
                ],
                "type": "string"
              },
              "coverage": {
                "enum": [
                  "complete",
                  "partial",
                  "not_loaded"
                ],
                "type": "string",
                "description": "partial while past sessions are still being loaded."
              },
              "sessions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "session",
                    "status",
                    "coverage",
                    "type_ja",
                    "start",
                    "end",
                    "bills"
                  ],
                  "properties": {
                    "end": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "bills": {
                      "type": "number"
                    },
                    "start": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "status": {
                      "type": "string",
                      "description": "current / recent (read every day), loading / loaded / loaded_with_gaps (past sessions), or not_loaded."
                    },
                    "session": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "type_ja": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "coverage": {
                      "enum": [
                        "complete",
                        "partial",
                        "not_loaded"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "disclaimer": {
                "type": "string"
              },
              "provenance": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "source",
                    "upstream_updated_at",
                    "retrieved_at",
                    "content_sha256",
                    "parser_version",
                    "fetch_status",
                    "processed_by"
                  ],
                  "properties": {
                    "source": {
                      "type": "object",
                      "required": [
                        "publisher",
                        "url"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "publisher": {
                          "type": "string"
                        }
                      },
                      "description": "Publisher and URL of the upstream document or dataset.",
                      "additionalProperties": {}
                    },
                    "fetch_status": {
                      "enum": [
                        "found",
                        "empty",
                        "stale",
                        "unavailable",
                        "unsupported"
                      ],
                      "type": "string",
                      "description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
                    },
                    "processed_by": {
                      "type": "string"
                    },
                    "retrieved_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "When this service retrieved the upstream data (null if unknown)."
                    },
                    "content_sha256": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "parser_version": {
                      "type": "string"
                    },
                    "upstream_updated_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Update time stated by the upstream, or null when it states none."
                    }
                  },
                  "description": "Freshness receipt for one upstream source.",
                  "additionalProperties": {}
                },
                "description": "Freshness receipts for every upstream source used."
              },
              "answered_at": {
                "type": "string"
              },
              "attribution": {
                "type": "object",
                "required": [
                  "en",
                  "ja"
                ],
                "properties": {
                  "en": {
                    "type": "string"
                  },
                  "ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "status_note": {
                "type": "string"
              },
              "sessions_note": {
                "type": "string"
              },
              "official_check": {
                "type": "object",
                "required": [
                  "message",
                  "message_ja"
                ],
                "properties": {
                  "message": {
                    "type": "string"
                  },
                  "message_ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "unknown_reason": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "jp_diet_bill_status",
          "title": "Japan Diet: one bill's stage and timeline",
          "description": "Where is this Diet bill now and how did it get there? Give bill_id (e.g. 222-閣法-1 or 222-cabinet-1) or a title. Returns status, position and the timeline per session and house (referral, committee and plenary decisions, promulgation), each with date, source URL and first observed time; the Diet meetings that dealt with the bill (house, meeting, date, official record link); for cabinet bills the cabinet decision date and page. Each block has a status. Free.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "title": {
                "type": "string",
                "maxLength": 100,
                "minLength": 2,
                "description": "Bill title or part of it, in Japanese (used when bill_id is not given)"
              },
              "bill_id": {
                "type": "string",
                "maxLength": 30,
                "minLength": 5,
                "description": "Bill id: submitted session, kind and number, for example 222-閣法-1, 222-cabinet-1, 221-hr-1, 222-hc-2"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query",
              "status",
              "unknown_reason",
              "bill",
              "candidates",
              "official_check",
              "source",
              "attribution",
              "disclaimer",
              "status_note",
              "answered_at",
              "provenance",
              "terms"
            ],
            "properties": {
              "bill": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "bill_id",
                      "current",
                      "timeline"
                    ],
                    "properties": {
                      "bill_id": {
                        "type": "string"
                      },
                      "current": {
                        "type": "object",
                        "required": [
                          "session",
                          "status_ja",
                          "status",
                          "position",
                          "last_change_date"
                        ],
                        "properties": {
                          "status": {
                            "enum": [
                              "under_deliberation_house_of_representatives",
                              "under_deliberation_house_of_councillors",
                              "enacted",
                              "withdrawn",
                              "finished_in_house_of_representatives",
                              "finished_in_house_of_councillors",
                              "not_concluded_at_session_end",
                              "review_while_closed_house_of_representatives",
                              "review_while_closed_house_of_councillors",
                              "rejected",
                              "house_of_representatives_agreed_to_councillors_amendments",
                              "house_of_representatives_disagreed_to_councillors_amendments",
                              "house_of_representatives_passed_again",
                              "other",
                              "not_listed_by_house_of_representatives"
                            ],
                            "type": "string"
                          },
                          "session": {
                            "type": "number"
                          },
                          "position": {
                            "enum": [
                              "received_not_yet_referred",
                              "in_committee",
                              "committee_decided_awaiting_plenary",
                              "passed_house",
                              "enacted_not_yet_promulgated",
                              "promulgated",
                              "closed",
                              "unknown"
                            ],
                            "type": "string"
                          },
                          "status_ja": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "審議状況 as published on the House of Representatives list (null when the bill is not on it)."
                          },
                          "last_change_date": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "description": "Where the bill is now, from published stages only (not a forecast).",
                        "additionalProperties": {}
                      },
                      "timeline": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "session",
                            "house",
                            "stage",
                            "date",
                            "source_url",
                            "first_observed_at"
                          ],
                          "properties": {
                            "date": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "house": {
                              "anyOf": [
                                {
                                  "enum": [
                                    "house_of_representatives",
                                    "house_of_councillors"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "stage": {
                              "enum": [
                                "submitted",
                                "preliminary_received",
                                "preliminary_referred",
                                "received",
                                "referred_to_committee",
                                "committee_decision",
                                "plenary_decision",
                                "sent_to_other_house",
                                "promulgated"
                              ],
                              "type": "string"
                            },
                            "session": {
                              "type": "number"
                            },
                            "source_url": {
                              "type": "string"
                            },
                            "first_observed_at": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "When this service first observed this stage."
                            }
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "query": {
                "type": "object",
                "properties": {},
                "additionalProperties": {}
              },
              "terms": {
                "type": "string",
                "description": "URL of the terms of service."
              },
              "source": {
                "type": "object",
                "required": [
                  "house_of_representatives_list_url",
                  "current_session",
                  "retrieved_at",
                  "freshness",
                  "processed_by"
                ],
                "properties": {
                  "freshness": {
                    "enum": [
                      "fresh",
                      "stale",
                      "not_loaded_yet"
                    ],
                    "type": "string"
                  },
                  "processed_by": {
                    "type": "string"
                  },
                  "retrieved_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "When this service last read the current session's House of Representatives bill list."
                  },
                  "current_session": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Current (or latest) Diet session number read from the House of Representatives list."
                  },
                  "house_of_representatives_list_url": {
                    "type": "string"
                  }
                },
                "description": "Where the answer comes from and how fresh it is.",
                "additionalProperties": {}
              },
              "status": {
                "enum": [
                  "found",
                  "ambiguous",
                  "not_found_in_checked_records",
                  "unknown"
                ],
                "type": "string"
              },
              "meetings": {
                "type": "object",
                "required": [
                  "status",
                  "retrieved_at",
                  "truncated",
                  "meetings",
                  "note"
                ],
                "properties": {
                  "note": {
                    "type": "string"
                  },
                  "status": {
                    "enum": [
                      "found",
                      "not_found",
                      "not_loaded_yet",
                      "paused",
                      "upstream_unavailable"
                    ],
                    "type": "string"
                  },
                  "meetings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "house_ja",
                        "meeting_ja",
                        "date",
                        "meeting_url",
                        "relation"
                      ],
                      "properties": {
                        "date": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "house_ja": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "relation": {
                          "enum": [
                            "stage_on_same_day",
                            "title_mentioned"
                          ],
                          "type": "string"
                        },
                        "meeting_ja": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "meeting_url": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The meeting's page in the Diet Record Search System."
                        }
                      },
                      "additionalProperties": {}
                    }
                  },
                  "truncated": {
                    "type": "boolean"
                  },
                  "retrieved_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "When this service's scheduled job read the meeting record API for this bill."
                  }
                },
                "description": "Diet meetings whose record contains the bill title (meeting-level data and links only; no speeches, no speaker names).",
                "additionalProperties": {}
              },
              "candidates": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "bill_id",
                    "title_ja"
                  ],
                  "properties": {
                    "bill_id": {
                      "type": "string"
                    },
                    "title_ja": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "disclaimer": {
                "type": "string"
              },
              "provenance": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "source",
                    "upstream_updated_at",
                    "retrieved_at",
                    "content_sha256",
                    "parser_version",
                    "fetch_status",
                    "processed_by"
                  ],
                  "properties": {
                    "source": {
                      "type": "object",
                      "required": [
                        "publisher",
                        "url"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "publisher": {
                          "type": "string"
                        }
                      },
                      "description": "Publisher and URL of the upstream document or dataset.",
                      "additionalProperties": {}
                    },
                    "fetch_status": {
                      "enum": [
                        "found",
                        "empty",
                        "stale",
                        "unavailable",
                        "unsupported"
                      ],
                      "type": "string",
                      "description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
                    },
                    "processed_by": {
                      "type": "string"
                    },
                    "retrieved_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "When this service retrieved the upstream data (null if unknown)."
                    },
                    "content_sha256": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "parser_version": {
                      "type": "string"
                    },
                    "upstream_updated_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Update time stated by the upstream, or null when it states none."
                    }
                  },
                  "description": "Freshness receipt for one upstream source.",
                  "additionalProperties": {}
                },
                "description": "Freshness receipts for every upstream source used."
              },
              "answered_at": {
                "type": "string"
              },
              "attribution": {
                "type": "object",
                "required": [
                  "en",
                  "ja"
                ],
                "properties": {
                  "en": {
                    "type": "string"
                  },
                  "ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "status_note": {
                "type": "string"
              },
              "official_check": {
                "type": "object",
                "required": [
                  "message",
                  "message_ja"
                ],
                "properties": {
                  "message": {
                    "type": "string"
                  },
                  "message_ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "unknown_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "cabinet_decision": {
                "type": "object",
                "required": [
                  "status",
                  "entries",
                  "note"
                ],
                "properties": {
                  "note": {
                    "type": "string"
                  },
                  "status": {
                    "enum": [
                      "found",
                      "not_found",
                      "not_checked",
                      "not_applicable",
                      "not_loaded_yet",
                      "paused",
                      "upstream_unavailable"
                    ],
                    "type": "string"
                  },
                  "entries": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "date",
                        "page_url",
                        "item_title_ja",
                        "attribution"
                      ],
                      "properties": {
                        "date": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "page_url": {
                          "type": "string"
                        },
                        "attribution": {
                          "type": "object",
                          "required": [
                            "source_ja"
                          ],
                          "properties": {
                            "source_ja": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": {}
                        },
                        "item_title_ja": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {}
                    }
                  }
                },
                "description": "Cabinet decision of a cabinet bill from the Prime Minister's Office agenda pages (PDL1.0; keep the source line).",
                "additionalProperties": {}
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "jp_diet_group_votes",
          "title": "Japan Diet: parliamentary group votes of a session",
          "description": "How did each parliamentary group (会派) vote on the law bills of a Diet session? From the House of Representatives bill progress pages: for each bill with a plenary vote, the groups for and against as published (names exactly as published, not merged across renames), a bills x groups table, and pairwise agreement between groups (share of bills where both were on the same side, with n). Group-level public votes only; no individual members. Free.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "session": {
                "type": "integer",
                "maximum": 999,
                "minimum": 1,
                "description": "Diet session number, for example 222 (default: the current session)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query",
              "status",
              "unknown_reason",
              "session_coverage",
              "groups",
              "bills",
              "bills_without_group_data",
              "agreement",
              "note",
              "official_check",
              "source",
              "attribution",
              "disclaimer",
              "observation_note",
              "answered_at",
              "provenance",
              "terms"
            ],
            "properties": {
              "note": {
                "type": "string"
              },
              "bills": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "bill_id",
                    "title_ja",
                    "decision",
                    "positions"
                  ],
                  "properties": {
                    "bill_id": {
                      "type": "string"
                    },
                    "decision": {
                      "type": "object",
                      "required": [
                        "date",
                        "result_ja",
                        "vote_ja",
                        "source_url"
                      ],
                      "properties": {
                        "date": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "vote_ja": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "result_ja": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "source_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {}
                    },
                    "title_ja": {
                      "type": "string"
                    },
                    "positions": {
                      "type": "object",
                      "description": "Group name as published -> for / against.",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "enum": [
                          "for",
                          "against"
                        ],
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "query": {
                "type": "object",
                "required": [
                  "session"
                ],
                "properties": {
                  "session": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "terms": {
                "type": "string",
                "description": "URL of the terms of service."
              },
              "groups": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name_ja",
                    "votes",
                    "for",
                    "against"
                  ],
                  "properties": {
                    "for": {
                      "type": "number"
                    },
                    "votes": {
                      "type": "number"
                    },
                    "against": {
                      "type": "number"
                    },
                    "name_ja": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "source": {
                "type": "object",
                "required": [
                  "current_session",
                  "freshness"
                ],
                "properties": {
                  "freshness": {
                    "enum": [
                      "fresh",
                      "stale",
                      "not_loaded_yet"
                    ],
                    "type": "string"
                  },
                  "current_session": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "status": {
                "enum": [
                  "found",
                  "not_found_in_checked_records",
                  "unknown"
                ],
                "type": "string"
              },
              "agreement": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "group_a",
                    "group_b",
                    "n",
                    "same",
                    "rate"
                  ],
                  "properties": {
                    "n": {
                      "type": "number"
                    },
                    "rate": {
                      "type": "number"
                    },
                    "same": {
                      "type": "number"
                    },
                    "group_a": {
                      "type": "string"
                    },
                    "group_b": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "disclaimer": {
                "type": "string"
              },
              "provenance": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "source",
                    "upstream_updated_at",
                    "retrieved_at",
                    "content_sha256",
                    "parser_version",
                    "fetch_status",
                    "processed_by"
                  ],
                  "properties": {
                    "source": {
                      "type": "object",
                      "required": [
                        "publisher",
                        "url"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "publisher": {
                          "type": "string"
                        }
                      },
                      "description": "Publisher and URL of the upstream document or dataset.",
                      "additionalProperties": {}
                    },
                    "fetch_status": {
                      "enum": [
                        "found",
                        "empty",
                        "stale",
                        "unavailable",
                        "unsupported"
                      ],
                      "type": "string",
                      "description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
                    },
                    "processed_by": {
                      "type": "string"
                    },
                    "retrieved_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "When this service retrieved the upstream data (null if unknown)."
                    },
                    "content_sha256": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "parser_version": {
                      "type": "string"
                    },
                    "upstream_updated_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Update time stated by the upstream, or null when it states none."
                    }
                  },
                  "description": "Freshness receipt for one upstream source.",
                  "additionalProperties": {}
                },
                "description": "Freshness receipts for every upstream source used."
              },
              "answered_at": {
                "type": "string"
              },
              "attribution": {
                "type": "object",
                "required": [
                  "en",
                  "ja"
                ],
                "properties": {
                  "en": {
                    "type": "string"
                  },
                  "ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "official_check": {
                "type": "object",
                "required": [
                  "message",
                  "message_ja"
                ],
                "properties": {
                  "message": {
                    "type": "string"
                  },
                  "message_ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "unknown_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "observation_note": {
                "type": "string"
              },
              "session_coverage": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "coverage"
                    ],
                    "properties": {
                      "coverage": {
                        "enum": [
                          "complete",
                          "partial",
                          "not_loaded"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "bills_without_group_data": {
                "type": "number"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "jp_diet_stats",
          "title": "Japan Diet: bill statistics by session and kind",
          "description": "Counts of law bills per Diet session and kind (cabinet / member bills): listed, newly submitted, carried in, enacted, withdrawn, not concluded, carried over, rejected, enactment share of closed sessions; days from submission to enactment (median, p25, p75, n); by committee. This service's own aggregation of the bill pages it has loaded, always with coverage (which sessions are complete or still loading). Past facts only, not a forecast. Free.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "kind": {
                "enum": [
                  "閣法",
                  "衆法",
                  "参法",
                  "cabinet",
                  "hr_member",
                  "hc_member"
                ],
                "type": "string",
                "description": "Only this bill kind: 閣法 or cabinet, 衆法 or hr_member, 参法 or hc_member"
              },
              "session": {
                "type": "integer",
                "maximum": 999,
                "minimum": 1,
                "description": "Only this Diet session (default: every loaded session)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query",
              "status",
              "unknown_reason",
              "coverage",
              "totals",
              "sessions",
              "days_to_enactment",
              "by_committee",
              "definitions",
              "computed_at",
              "official_check",
              "source",
              "attribution",
              "disclaimer",
              "observation_note",
              "answered_at",
              "provenance",
              "terms"
            ],
            "properties": {
              "query": {
                "type": "object",
                "required": [
                  "session",
                  "kind"
                ],
                "properties": {
                  "kind": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "session": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "terms": {
                "type": "string",
                "description": "URL of the terms of service."
              },
              "source": {
                "type": "object",
                "required": [
                  "current_session",
                  "freshness"
                ],
                "properties": {
                  "freshness": {
                    "enum": [
                      "fresh",
                      "stale",
                      "not_loaded_yet"
                    ],
                    "type": "string"
                  },
                  "current_session": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "status": {
                "enum": [
                  "found",
                  "not_found_in_checked_records",
                  "unknown"
                ],
                "type": "string"
              },
              "totals": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "by_kind"
                    ],
                    "properties": {
                      "by_kind": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "object",
                          "required": [
                            "listed",
                            "submitted",
                            "enacted",
                            "enactment_share"
                          ],
                          "properties": {
                            "listed": {
                              "type": "number"
                            },
                            "enacted": {
                              "type": "number"
                            },
                            "submitted": {
                              "type": "number"
                            },
                            "enactment_share": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "coverage": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "overall",
                      "complete_sessions",
                      "partial_sessions",
                      "not_loaded_sessions",
                      "note"
                    ],
                    "properties": {
                      "note": {
                        "type": "string"
                      },
                      "overall": {
                        "enum": [
                          "complete",
                          "partial",
                          "not_loaded"
                        ],
                        "type": "string"
                      },
                      "partial_sessions": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "complete_sessions": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      },
                      "not_loaded_sessions": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        }
                      }
                    },
                    "description": "Which sessions the numbers cover. While past sessions are still loading, numbers are partial and will grow.",
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sessions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "session",
                    "closed",
                    "coverage",
                    "by_kind"
                  ],
                  "properties": {
                    "closed": {
                      "type": "boolean"
                    },
                    "by_kind": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "object",
                        "required": [
                          "listed",
                          "submitted",
                          "enacted",
                          "enactment_share"
                        ],
                        "properties": {
                          "listed": {
                            "type": "number"
                          },
                          "enacted": {
                            "type": "number"
                          },
                          "submitted": {
                            "type": "number"
                          },
                          "enactment_share": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": {}
                      }
                    },
                    "session": {
                      "type": "number"
                    },
                    "coverage": {
                      "enum": [
                        "complete",
                        "partial",
                        "not_loaded"
                      ],
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "disclaimer": {
                "type": "string"
              },
              "provenance": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "source",
                    "upstream_updated_at",
                    "retrieved_at",
                    "content_sha256",
                    "parser_version",
                    "fetch_status",
                    "processed_by"
                  ],
                  "properties": {
                    "source": {
                      "type": "object",
                      "required": [
                        "publisher",
                        "url"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "publisher": {
                          "type": "string"
                        }
                      },
                      "description": "Publisher and URL of the upstream document or dataset.",
                      "additionalProperties": {}
                    },
                    "fetch_status": {
                      "enum": [
                        "found",
                        "empty",
                        "stale",
                        "unavailable",
                        "unsupported"
                      ],
                      "type": "string",
                      "description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
                    },
                    "processed_by": {
                      "type": "string"
                    },
                    "retrieved_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "When this service retrieved the upstream data (null if unknown)."
                    },
                    "content_sha256": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "parser_version": {
                      "type": "string"
                    },
                    "upstream_updated_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Update time stated by the upstream, or null when it states none."
                    }
                  },
                  "description": "Freshness receipt for one upstream source.",
                  "additionalProperties": {}
                },
                "description": "Freshness receipts for every upstream source used."
              },
              "answered_at": {
                "type": "string"
              },
              "attribution": {
                "type": "object",
                "required": [
                  "en",
                  "ja"
                ],
                "properties": {
                  "en": {
                    "type": "string"
                  },
                  "ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "computed_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "definitions": {
                "type": "object",
                "properties": {},
                "additionalProperties": {}
              },
              "by_committee": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "house",
                    "committee_ja",
                    "referred",
                    "enacted",
                    "median_days_to_enactment",
                    "n_days"
                  ],
                  "properties": {
                    "house": {
                      "type": "string"
                    },
                    "n_days": {
                      "type": "number"
                    },
                    "enacted": {
                      "type": "number"
                    },
                    "referred": {
                      "type": "number"
                    },
                    "committee_ja": {
                      "type": "string"
                    },
                    "median_days_to_enactment": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "official_check": {
                "type": "object",
                "required": [
                  "message",
                  "message_ja"
                ],
                "properties": {
                  "message": {
                    "type": "string"
                  },
                  "message_ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "unknown_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "observation_note": {
                "type": "string"
              },
              "days_to_enactment": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "by_kind"
                    ],
                    "properties": {
                      "by_kind": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {
                          "type": "object",
                          "required": [
                            "n",
                            "median_days",
                            "p25_days",
                            "p75_days"
                          ],
                          "properties": {
                            "n": {
                              "type": "number"
                            },
                            "p25_days": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "p75_days": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "median_days": {
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        }
                      }
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "jp_diet_changes",
          "title": "Japan Diet: observed bill changes since a date",
          "description": "Which Diet bills moved since a date? Changes this service observed on the bill pages of both houses, newest first: bill id and title, from-stage and to-stage (or list status before and after), the published date of the new stage, when observed, and the source URL. First loads and loading of past sessions are not counted. Free.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 500,
                "minimum": 1,
                "description": "Maximum number of changes, 1-500 (default 200)"
              },
              "since": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Japan date YYYY-MM-DD; changes observed on or after it (default: 7 days ago)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query",
              "status",
              "unknown_reason",
              "total",
              "truncated",
              "changes",
              "note",
              "official_check",
              "source",
              "attribution",
              "disclaimer",
              "observation_note",
              "answered_at",
              "provenance",
              "terms"
            ],
            "properties": {
              "note": {
                "type": "string"
              },
              "query": {
                "type": "object",
                "required": [
                  "since",
                  "limit"
                ],
                "properties": {
                  "limit": {
                    "type": "number"
                  },
                  "since": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "terms": {
                "type": "string",
                "description": "URL of the terms of service."
              },
              "total": {
                "type": "number"
              },
              "source": {
                "type": "object",
                "required": [
                  "current_session",
                  "freshness"
                ],
                "properties": {
                  "freshness": {
                    "enum": [
                      "fresh",
                      "stale",
                      "not_loaded_yet"
                    ],
                    "type": "string"
                  },
                  "current_session": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "status": {
                "enum": [
                  "found",
                  "not_found_in_checked_records",
                  "unknown"
                ],
                "type": "string"
              },
              "changes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "bill_id",
                    "title_ja",
                    "session",
                    "change",
                    "from",
                    "to",
                    "date",
                    "observed_at",
                    "source_url"
                  ],
                  "properties": {
                    "to": {
                      "type": "object",
                      "properties": {
                        "date": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "house": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "stage": {
                          "type": "string"
                        },
                        "status_ja": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "additionalProperties": {}
                    },
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Published date of the new stage (null for list changes)."
                    },
                    "from": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "date": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "house": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "stage": {
                              "type": "string"
                            },
                            "status_ja": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "change": {
                      "enum": [
                        "newly_listed",
                        "status_changed",
                        "stage_added"
                      ],
                      "type": "string"
                    },
                    "bill_id": {
                      "type": "string"
                    },
                    "session": {
                      "type": "number"
                    },
                    "title_ja": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "source_url": {
                      "type": "string"
                    },
                    "observed_at": {
                      "type": "string",
                      "description": "When this service read the page."
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "truncated": {
                "type": "boolean"
              },
              "disclaimer": {
                "type": "string"
              },
              "provenance": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "source",
                    "upstream_updated_at",
                    "retrieved_at",
                    "content_sha256",
                    "parser_version",
                    "fetch_status",
                    "processed_by"
                  ],
                  "properties": {
                    "source": {
                      "type": "object",
                      "required": [
                        "publisher",
                        "url"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "publisher": {
                          "type": "string"
                        }
                      },
                      "description": "Publisher and URL of the upstream document or dataset.",
                      "additionalProperties": {}
                    },
                    "fetch_status": {
                      "enum": [
                        "found",
                        "empty",
                        "stale",
                        "unavailable",
                        "unsupported"
                      ],
                      "type": "string",
                      "description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
                    },
                    "processed_by": {
                      "type": "string"
                    },
                    "retrieved_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "When this service retrieved the upstream data (null if unknown)."
                    },
                    "content_sha256": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "parser_version": {
                      "type": "string"
                    },
                    "upstream_updated_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Update time stated by the upstream, or null when it states none."
                    }
                  },
                  "description": "Freshness receipt for one upstream source.",
                  "additionalProperties": {}
                },
                "description": "Freshness receipts for every upstream source used."
              },
              "answered_at": {
                "type": "string"
              },
              "attribution": {
                "type": "object",
                "required": [
                  "en",
                  "ja"
                ],
                "properties": {
                  "en": {
                    "type": "string"
                  },
                  "ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "official_check": {
                "type": "object",
                "required": [
                  "message",
                  "message_ja"
                ],
                "properties": {
                  "message": {
                    "type": "string"
                  },
                  "message_ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "unknown_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "observation_note": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "jp_diet_enforcement_calendar",
          "title": "Japan: law enforcement calendar",
          "description": "Which Japanese laws change on which dates? Enforcement dates of amendments, new laws and repeals made by Acts between two dates (Japan time; default the next 365 days; the last year also works): law changed (e-Gov id, title, number, category), amending law number and title, promulgation date, date and its basis, e-Gov's note on the provision, e-Gov link, and the Diet bill id when known. From e-Gov law search (PDL1.0). Facts only. Free.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Last date, YYYY-MM-DD (default from + 365 days; at most 731 days after from)"
              },
              "from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "First date, YYYY-MM-DD in Japan time (default today)"
              },
              "limit": {
                "type": "integer",
                "maximum": 500,
                "minimum": 1,
                "description": "Maximum number of dated entries, 1-500 (default 500)"
              },
              "include_undated": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "enum": [
                      "0",
                      "1",
                      "true",
                      "false"
                    ],
                    "type": "string"
                  }
                ],
                "description": "true: also list revisions whose enforcement date is not set yet (default false)"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query",
              "status",
              "unknown_reason",
              "total",
              "truncated",
              "events",
              "coverage",
              "attribution",
              "note",
              "answered_at",
              "terms"
            ],
            "properties": {
              "note": {
                "type": "string"
              },
              "query": {
                "type": "object",
                "required": [
                  "from",
                  "to"
                ],
                "properties": {
                  "to": {
                    "type": "string"
                  },
                  "from": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "terms": {
                "type": "string",
                "description": "URL of the terms of service."
              },
              "total": {
                "type": "number"
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "date",
                    "state",
                    "law_id",
                    "law_title",
                    "change",
                    "amending_law_num",
                    "egov_url",
                    "bill"
                  ],
                  "properties": {
                    "bill": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "bill_id",
                            "title_ja"
                          ],
                          "properties": {
                            "bill_id": {
                              "type": "string"
                            },
                            "title_ja": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "state": {
                      "enum": [
                        "in_force",
                        "scheduled",
                        "date_not_set"
                      ],
                      "type": "string"
                    },
                    "change": {
                      "enum": [
                        "enacted",
                        "amended",
                        "repealed"
                      ],
                      "type": "string"
                    },
                    "law_id": {
                      "type": "string"
                    },
                    "egov_url": {
                      "type": "string"
                    },
                    "law_title": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "amending_law_num": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "status": {
                "enum": [
                  "found",
                  "not_found_in_checked_records",
                  "unknown"
                ],
                "type": "string"
              },
              "coverage": {
                "type": "object",
                "required": [
                  "status",
                  "laws_total",
                  "laws_read"
                ],
                "properties": {
                  "status": {
                    "enum": [
                      "not_started",
                      "loading",
                      "complete"
                    ],
                    "type": "string"
                  },
                  "laws_read": {
                    "type": "number"
                  },
                  "laws_total": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "description": "How far this service has read e-Gov's revision histories.",
                "additionalProperties": {}
              },
              "truncated": {
                "type": "boolean"
              },
              "answered_at": {
                "type": "string"
              },
              "attribution": {
                "type": "object",
                "required": [
                  "source_ja",
                  "processed_ja",
                  "license",
                  "en"
                ],
                "properties": {
                  "en": {
                    "type": "string"
                  },
                  "license": {
                    "type": "string"
                  },
                  "source_ja": {
                    "type": "string"
                  },
                  "processed_ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "unknown_reason": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "jp_diet_law_history",
          "title": "Japan: one law's amendments and enforcement dates",
          "description": "How has this Japanese law been changed, by which Acts, and from when? Give an e-Gov law id (e.g. 322AC0000000049 = 労働基準法). Returns amendments by Acts since 1998 that e-Gov's revision history lists (mostly from 2016-2017 on), newest first: amending law number and title, promulgation date, each enforcement stage with its date (future included) and e-Gov's note, e-Gov link, and the Diet bill id when known. No law text. Free.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "law_id"
            ],
            "properties": {
              "law_id": {
                "type": "string",
                "pattern": "^\\d{3}[A-Za-z]{2}\\d{10}$",
                "description": "e-Gov law id, for example 322AC0000000049"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "query",
              "status",
              "law",
              "changes",
              "coverage",
              "attribution",
              "note",
              "answered_at",
              "terms"
            ],
            "properties": {
              "law": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "law_id",
                      "law_num",
                      "law_title",
                      "category",
                      "egov_url"
                    ],
                    "properties": {
                      "law_id": {
                        "type": "string"
                      },
                      "law_num": {
                        "type": "string"
                      },
                      "category": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "egov_url": {
                        "type": "string"
                      },
                      "law_title": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "note": {
                "type": "string"
              },
              "query": {
                "type": "object",
                "required": [
                  "law_id"
                ],
                "properties": {
                  "law_id": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              },
              "terms": {
                "type": "string",
                "description": "URL of the terms of service."
              },
              "status": {
                "enum": [
                  "found",
                  "not_found_in_checked_records",
                  "not_loaded_yet"
                ],
                "type": "string"
              },
              "changes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "law_id",
                    "law_title",
                    "law_num",
                    "category",
                    "change",
                    "amending_law_num",
                    "promulgate_date",
                    "enforcement_date",
                    "scheduled_enforcement_date",
                    "enforcement_comment",
                    "stages",
                    "egov_url",
                    "bill"
                  ],
                  "properties": {
                    "bill": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "bill_id",
                            "title_ja"
                          ],
                          "properties": {
                            "bill_id": {
                              "type": "string"
                            },
                            "title_ja": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "change": {
                      "enum": [
                        "enacted",
                        "amended",
                        "repealed"
                      ],
                      "type": "string"
                    },
                    "law_id": {
                      "type": "string",
                      "description": "e-Gov law id of the law changed."
                    },
                    "stages": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "revision_id",
                          "date",
                          "date_basis",
                          "state",
                          "enforcement_comment"
                        ],
                        "properties": {
                          "date": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Enforcement date (or e-Gov's provisional date when no enforcement date is listed)."
                          },
                          "state": {
                            "enum": [
                              "in_force",
                              "scheduled",
                              "date_not_set"
                            ],
                            "type": "string",
                            "description": "in_force = the date has passed (Japan time); scheduled = a future date listed by e-Gov; not a forecast."
                          },
                          "date_basis": {
                            "enum": [
                              "enforcement_date",
                              "egov_provisional_date",
                              "not_set"
                            ],
                            "type": "string"
                          },
                          "revision_id": {
                            "type": "string"
                          },
                          "enforcement_comment": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": {}
                      }
                    },
                    "law_num": {
                      "type": "string"
                    },
                    "category": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "egov_url": {
                      "type": "string"
                    },
                    "law_title": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "promulgate_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "amending_law_num": {
                      "type": "string"
                    },
                    "enforcement_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "enforcement_comment": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "scheduled_enforcement_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              },
              "coverage": {
                "type": "object",
                "required": [
                  "status",
                  "laws_total",
                  "laws_read"
                ],
                "properties": {
                  "status": {
                    "enum": [
                      "not_started",
                      "loading",
                      "complete"
                    ],
                    "type": "string"
                  },
                  "laws_read": {
                    "type": "number"
                  },
                  "laws_total": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "description": "How far this service has read e-Gov's revision histories.",
                "additionalProperties": {}
              },
              "answered_at": {
                "type": "string"
              },
              "attribution": {
                "type": "object",
                "required": [
                  "source_ja",
                  "processed_ja",
                  "license",
                  "en"
                ],
                "properties": {
                  "en": {
                    "type": "string"
                  },
                  "license": {
                    "type": "string"
                  },
                  "source_ja": {
                    "type": "string"
                  },
                  "processed_ja": {
                    "type": "string"
                  }
                },
                "additionalProperties": {}
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "get_receipt",
          "title": "Get receipt of a paid call",
          "description": "Re-fetch the stored result of a settled paid call by its receipt_id, for when the response was lost after payment. Free. Unknown or unsettled receipt ids return RECEIPT_NOT_FOUND. Results are kept for 30 days after settlement.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "receipt_id"
            ],
            "properties": {
              "receipt_id": {
                "type": "string",
                "maxLength": 80,
                "minLength": 1,
                "description": "The receipt_id returned with a paid result (\"rcpt_\" + 64 hex characters)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "receipt_id",
              "tool",
              "settled_at",
              "payment",
              "result",
              "provenance",
              "terms"
            ],
            "properties": {
              "tool": {
                "type": "string",
                "description": "Name of the paid tool that produced the result."
              },
              "terms": {
                "type": "string",
                "description": "URL of the terms of service."
              },
              "result": {
                "description": "The stored result, exactly as returned by the paid call."
              },
              "payment": {
                "type": "object",
                "required": [
                  "network",
                  "transaction"
                ],
                "properties": {
                  "network": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "transaction": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": {}
              },
              "provenance": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "source",
                    "upstream_updated_at",
                    "retrieved_at",
                    "content_sha256",
                    "parser_version",
                    "fetch_status",
                    "processed_by"
                  ],
                  "properties": {
                    "source": {
                      "type": "object",
                      "required": [
                        "publisher",
                        "url"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        },
                        "publisher": {
                          "type": "string"
                        }
                      },
                      "description": "Publisher and URL of the upstream document or dataset.",
                      "additionalProperties": {}
                    },
                    "fetch_status": {
                      "enum": [
                        "found",
                        "empty",
                        "stale",
                        "unavailable",
                        "unsupported"
                      ],
                      "type": "string",
                      "description": "found / empty / stale / unavailable / unsupported (see catalog fetch_status_values)."
                    },
                    "processed_by": {
                      "type": "string"
                    },
                    "retrieved_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "When this service retrieved the upstream data (null if unknown)."
                    },
                    "content_sha256": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "parser_version": {
                      "type": "string"
                    },
                    "upstream_updated_at": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Update time stated by the upstream, or null when it states none."
                    }
                  },
                  "description": "Freshness receipt for one upstream source.",
                  "additionalProperties": {}
                },
                "description": "Freshness receipts for every upstream source used."
              },
              "receipt_id": {
                "type": "string",
                "description": "Receipt id of the settled paid call (\"rcpt_\" + 64 hex). Use with get_receipt."
              },
              "settled_at": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": {}
          },
          "annotations": {
            "readOnlyHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": null
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}