{
  "openapi": "3.1.1",
  "info": {
    "title": "ReConnect China API",
    "version": "11.8.0",
    "summary": "Search official Chinese government publications in English and Chinese.",
    "description": "The ReConnect China API gives partner organizations scripted access to the corpus behind\n[reconnectchina.org](https://reconnectchina.org): official publications from central,\nministry, provincial and local government websites in China, with English titles and\nsummaries.\n\n## How it is used\n\n1. **Search.** {op}`POST /v1/search` returns the number of hits, the first page of summaries\n   and a {key}`next` token when there is more. Histograms over time, issuer, level and topic\n   come back when the request names them in {key}`histograms`. With {set}`\"pageSize\": 0`\n   a search returns only the counts: {key}`hits` and the histograms asked for.\n2. **Page.** Send {key}`next` to {op}`POST /v1/continue_search` for the following page, until a\n   response carries no {key}`next`.\n3. **Fetch detail.** Summaries carry the Chinese headline, the English title and summary,\n   the dates, the document number and the start of the Chinese text. {op}`POST /v1/detail`\n   returns the full text and the links on the page, for up to 32 ids at a time. Fields\n   your organization's agreement does not include are named in {key}`hidden` instead (see\n   *Fields left out*).\n4. **Save.** A search worth keeping is stored under a name with\n   `PUT /v1/saved_searches/account/{name}` and run again with\n   `POST /v1/saved_searches/account/{name}`. `account` keeps it to yourself; where your\n   organization's agreement includes it, `organization` shares it with everyone in your\n   organization (see *Saved searches and scopes*).\n\n## Authentication\n\nEvery request carries an access token in the `Authorization` header:\n`Authorization: Bearer <access token>`. Researchers log in with their reconnectchina.org\naccount; there are no API keys to generate or paste. See the `bearer` security scheme\nfor the login flow.\n\nTokens never go into URLs.\n\n## Organizations\n\nAccess belongs to your organization, not to you personally: its agreement sets what you\nmay search and how much. {op}`GET /v1/me` says what it allows you on the server you ask. An\naccount that belongs to more than one organization is refused.\n\nRegistering a reconnectchina.org account is an application. While we review it, the account\nbelongs to no organization. It can read this documentation, but every request it sends is\nrefused with `403` and the type {problem}`no-organization`, on the sandbox too. Once the application\nis accepted, the account is placed in an organization and gets an email saying so. From then\non it can use the sandbox.\n\n## Sandbox\n\n`https://sandbox.api.reconnectchina.org` serves the same API over a small, fixed set of\ninvented documents, which are marked as test data and exist nowhere else. Their {key}`rc` links\nlead nowhere, because reconnectchina.org does not have them. Write and debug a script\nthere, then point it at `https://api.reconnectchina.org`. Your login is the same on both.\n\nEvery account that belongs to an organization can use the sandbox. Searching the real\ndocuments on `api.reconnectchina.org` is only for partner organizations with an active\nagreement. An account in an organization that has sandbox access only is refused there\nwith the problem type {problem}`tier-served-elsewhere`, and the problem's {key}`server` names the sandbox.\n\nOn the sandbox, searches can be saved in the scope `account` only, so two people trying\nthe sandbox never see or replace each other's searches, and a saved search there is\ndeleted a short time after it was last saved. Nothing you save on the sandbox appears on\n`api.reconnectchina.org`, and deleting one on the sandbox deletes nothing on\n`api.reconnectchina.org`.\n\n## Saved searches and scopes\n\nA saved search lives in a **scope**, which says who can see it, and is stored under a\nname there. Scope and name together are its address: `/v1/saved_searches/{scope}/{name}`.\n\n- `account` is yours alone: nobody else can read, run, replace or delete what you save\n  there.\n- `organization` is shared by everyone in your organization: any member can read, run,\n  replace and delete any search saved there. Your organization's agreement may not\n  include it, and the sandbox never does. Where it is not included, every request in it\n  is refused with `403` and the type {problem}`scope-not-entitled`.\n\nYour organization's agreement says which scopes you may use, `account` included. An\nagreement without saved searches answers every operation on them with `403` and the type\n{problem}`not-entitled`, {op}`GET /v1/scopes` included. Keep a search in `account` unless the people in\nyour organization are meant to share it.\n{op}`GET /v1/scopes` lists the scopes you can use on the server you ask, with your\norganization's name for `organization`, so a program can offer exactly those.\n{op}`POST /v1/list_saved_searches` lists the saved searches in all of them at once, each with\nits {key}`scope`, or in those its {key}`scopeIn` names.\n\nThe same name can be used in two scopes, for two different searches. A search cannot be\nmoved or renamed: save it again in the other scope or under the other name, and delete\nthe old one.\n\nEach scope holds only so many saved searches, as your organization's agreement sets.\nSaving a new name in a scope that is full is refused with `409` and the type\n{problem}`saved-search-limit`, while replacing a search under a name the scope already holds\nalways works.\n\n`account` and `organization` will always mean what they mean here. More scopes may come,\nso treat a scope as an identifier: compare it whole, and show one you do not know by the\n{key}`title` that {op}`GET /v1/scopes` gives it.\n\n## Paging\n\nSearches and the list of saved searches both come in pages, and page the same way: the\nfirst request carries the parameters, and a page that is not the last carries {key}`next`.\nSend {key}`next`, and nothing else, as {json}`{\"next\": \"…\"}` to the operation's name with\n`continue_` in front: {op}`POST /v1/continue_search` after `/v1/search`, and\n{op}`POST /v1/continue_list_saved_searches` after {op}`POST /v1/list_saved_searches`. Running a\nsaved search is a search, so its pages continue with `continue_search` too. A response\nwithout {key}`next` is the last page.\n\n{key}`next` is opaque. Send it back exactly as you received it, and do not build or modify\none. {key}`next` works for the account that received it, so do not pass it to a colleague. A\nsearch's {key}`next` **expires**, at the earliest one hour after the first request of its\nsearch. An expired token is answered with `410`, and the remedy is to start again from the\nfirst request.\n\nFor search, {key}`hits` and the histograms come with the first response only. The pages after\nit carry the summaries and {key}`next`.\n\nA search can be paged only so deep: your organization's agreement sets how many hits one\nsearch may page through, and {op}`GET /v1/me` says how many ({key}`agreement.depth`). The page that\nreaches that depth while the search matches more carries no {key}`next`, but\n{set}`\"truncated\": {\"reason\": \"depth\"}`, even though the first response's {key}`hits` counts every\nmatch. To reach the rest, narrow the search, for example into shorter time frames with\n{key}`from` and {key}`to`.\n\nSo a page without {key}`next` is the last one, and the end of the matches unless it carries\n{key}`truncated`. Treat every {key}`truncated` as \"there is more\", whatever its {key}`reason`.\n\nPaging in general does not guarantee strict point-in-time semantics with regard to\nprevious pages. The underlying data accessed by the API changes as new items are\ndiscovered and added, or changed to have improved summaries or additional fields.\nThis makes it possible for the data of multiple pages taken together to disagree\nwith first-page counts or histograms and amount to slightly more or less items.\nSimilarly it is also possible, although rare, for an item to appear on two pages.\n\n## Errors and retrying\n\nErrors are [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem documents\n(`application/problem+json`). {key}`type` identifies the problem, and is the field to\nbranch on; {key}`title` and {key}`detail` are for people.\n\n`429` and `503` are a pause, not a failure: wait for the number of seconds in\n`Retry-After`, then send the same request again.\n\nEvery limit answers `429` with the one type {problem}`rate-limited`, whichever limit it was: your\naccount's rate, your organization's rate, your organization's requests in progress, or too\nmany requests from one network address. What to do is the same for each, so there is\nnothing to branch on; {key}`detail` names the limit, for the person reading the log. Limits\nhold per account and per organization, not per server, and your organization's agreement\nsays what they are.\n\n`403` with the type {problem}`suspended` means that we have suspended access to the API over\nmisuse. It is the same answer whether it concerns your account, your organization or the\nnetwork you send from, and it does not end by waiting, so do not retry it. Get in touch\nthrough the contact your organization's agreement names.\n\n`403` with the type {problem}`access-ended` means that your organization's access to the API has\ncome to the end its agreement sets, and {key}`detail` says when. It does not end by waiting\neither, so do not retry it.\n\nA path that is not an operation of the API is answered `404` with the type {problem}`not-found`,\nand a method the path does not take `405` with the type {problem}`method-not-allowed`, whatever\nthe token. Check the request against the operations below.\n\nThe API is offered on a best-effort basis. It may be throttled at peak times, and it\ncomes with no uptime guarantee.\n\n*Problem types* lists every type, with what it means and what to do about it.\n\n## Problem types\n\nA problem's {key}`type` is `https://api.reconnectchina.org/docs/v1/problems/<name>`, on every\nserver of the API, the sandbox included. Compare it whole, as the identifier it is; it is\nalso the address of the type's documentation, the section of the same name below. `/v1`\nmay gain types, so handle one you do not know by its {key}`status`.\n\n### invalid-request\n\n`400`. The request is not valid: a path that cannot be read, a body that is not JSON or does\nnot match the schema, an unknown field, a {key}`from` or {key}`to` that is not a valid instant\nexpression (an unknown time zone, or a time of day the zone skips, included), a {key}`from` that\nis not earlier than {key}`to`, a {key}`term` that does not parse or is longer than your organization's\nagreement allows, an unknown issuer, a scope in the body that does not exist, or a saved\nsearch's name that breaks the naming rule. {key}`errors` names each offending part: a {key}`pointer`\ninto the body, or the {key}`parameter` of the path. Correct the request; sending it again\nunchanged fails the same way.\n\nA {key}`term` or an instant expression that does not parse, or names no instant, has an entry\nin {key}`errors` for each mistake in it, and each entry's {key}`span` marks where in the string the\nmistake is, so that a form can underline it. Where the whole value is at fault, such as a\n{key}`from` that is not earlier than {key}`to`, there is no {key}`span`.\n\n### invalid-continuation\n\n`400`. The {key}`next` token is malformed, or was issued to another account or organization.\nSend {key}`next` back exactly as you received it, from the account that ran the search (see\n*Paging*).\n\n### unauthenticated\n\n`401`. The request carries no access token, or one that is invalid or has expired.\nRefresh the access token and try again (see *Authentication*).\n\n### no-organization\n\n`403`. Your account belongs to no organization yet, which means we are still reviewing\nyour application (see *Organizations*). Until it is accepted, you can use neither the API,\nthe sandbox included, nor search on reconnectchina.org. Searching the real documents\nthrough the API is only for partner organizations with an active agreement.\n\n### multiple-organizations\n\n`403`. Your account belongs to more than one organization, which the API refuses (see\n*Organizations*).\n\n### organization-not-registered\n\n`403`. Your organization has no access to the API.\n\n### not-entitled\n\n`403`. Your organization has access to the API, but not to this operation.\n\n### access-ended\n\n`403`. Your organization's access to the API has come to the end its agreement sets, and\n{key}`detail` says when. It does not end by waiting, so do not retry it.\n\n### tier-served-elsewhere\n\n`403`. Your account may use another server of the API than this one, and {key}`server` names\nit, for example `https://sandbox.api.reconnectchina.org`. This is how\n`api.reconnectchina.org` answers an account in an organization that has\nsandbox access only. Send the request to {key}`server` instead.\n\n### range-not-entitled\n\n`403`. The search reaches further than your organization's agreement allows: {key}`from`\nfurther back, or {key}`to` further ahead. {key}`earliestFrom` is the earliest {key}`from` it may use and\n{key}`latestTo` the latest {key}`to`, each as an instant expression such as {rcie}`now-1y`, {rcie}`1900-01-01`\nor {rcie}`3000-01-01`. {key}`errors` has an entry for each end that reaches too far, its {key}`pointer`\nat {key}`from`, at {key}`to`, or one at each, as for {problem}`invalid-request`: in a saved search's save or\nrun, `/parameters/from`. Send the request again with {key}`from` no earlier and {key}`to` no later\nthan those.\n\n### scope-not-entitled\n\n`403`. Your organization's agreement does not include the scope the request names, or\nthis server does not offer it: the sandbox never offers `organization`. {op}`GET /v1/scopes`\nlists the scopes you can use; use one of those (see *Saved searches and scopes*).\n\n### suspended\n\n`403`. We have suspended access to the API over misuse. It is the same answer whether it\nconcerns your account, your organization or the network you send from, and it does not\nend by waiting, so do not retry it. Get in touch through the contact your organization's\nagreement names.\n\n### saved-search-not-found\n\n`404`. There is no saved search of that name in that scope.\n\n### scope-not-found\n\n`404`. The scope in the path is neither `account`, nor `organization`, nor any other\nscope you can use. {op}`GET /v1/scopes` lists the ones you can. A scope in a request body\nthat does not exist is {problem}`invalid-request`.\n\n### document-not-found\n\n`404`. The API does not know the document the request names. An id is known from the\nmoment search can return its document, and stays known. Check that the id is one a search\nor {op}`POST /v1/detail` returned, sent as it was received.\n\n### not-found\n\n`404`. The path is not an operation of the API, whatever the token. Check the path\nagainst the operations of this document.\n\n### method-not-allowed\n\n`405`. The path is an operation of the API, but not with this method, whatever the\ntoken. The `Allow` header lists the methods it takes.\n\n### saved-search-limit\n\n`409`. The scope holds as many saved searches as it may. Delete one there, or save under\na name it already holds, to make room.\n\n### continuation-expired\n\n`410`. The {key}`next` token has expired. Start again from the first request: run the search,\nor list the saved searches, again.\n\n### payload-too-large\n\n`413`. The request body is too large.\n\n### unsupported-media-type\n\n`415`. The request body is not `application/json`.\n\n### rate-limited\n\n`429`. Too many requests, or too many at the same time, from your account, your\norganization, or your network address. {key}`detail` names the limit. Wait for `Retry-After`\nseconds, then send the same request again.\n\n### headers-too-large\n\n`431`. The request's headers are too large. An access token is far below the limit, so\nlook for a header your client adds.\n\n### internal\n\n`500`. The API failed to answer the request, through no fault of the request.\n\n### saved-search-invalid\n\n`500`. A saved search no longer validates. This is our fault, and we are alerted.\n\n### unavailable\n\n`503`. The API is temporarily unavailable, because our servers are under pressure or\nbriefly out of service. Wait for `Retry-After` seconds, then send the same request again.\n\n## Compatibility\n\n`/v1` does not change incompatibly. Within `/v1`:\n\n- responses may gain fields: **ignore fields you do not know**;\n- requests may gain optional fields, so what you send today keeps working;\n- {key}`strategy` and {key}`dateField` may gain values, and the lists of issuers and of time zones\n  may grow. An issuer is never removed, even when the institution no longer exists, and\n  neither is a time zone. Handle a value you do not know in a response instead of failing\n  on it;\n- {key}`typeIn`, {key}`levelIn` and {key}`topicIn` are fixed sets for the lifetime of `/v1`;\n- an instant expression that `/v1` accepts keeps being accepted, and keeps its meaning,\n  for the lifetime of `/v1`, except where a time zone's rules change (see *Dates and time\n  zones*);\n- a term expression that `/v1` accepts keeps being accepted, and keeps its meaning, for\n  the lifetime of `/v1` (see *Search terms*);\n- {key}`hidden` may come to name other fields, and give other reasons. Treat every field it\n  names as left out, whatever the reason;\n- {key}`truncated` may give other reasons. Treat every {key}`truncated` page as one after which\n  there is more.\n\nAn incompatible change is a new version, `/v2`, published alongside `/v1`.\n\nOperations marked preview or experimental, and the schemas only they use, are outside this\npromise (see *Stability*).\n\nThis document is published as JSON at `/docs/v1/openapi.json` on every server above,\nbeside the documentation, and needs no token. `info.version` is the version of the\ndocument, and it changes with every release, compatible or not.\n\nRequests are strict: a field the API does not know is refused with `400`, so a typo\nsuch as `levelin` is reported instead of silently matching everything.\n\nA response is compressed with `gzip` when the request's `Accept-Encoding` allows it.\n\n## Stability\n\nMost operations are stable: *Compatibility* holds for them. Some are marked, with\n`x-stability` in the OpenAPI spec and a badge in the API docs:\n\n- **preview**: offered to organizations invited to try it before it is settled. It may\n  change, or be removed, in any release. The organizations using it hear of a change\n  first.\n- **experimental**: used by ReConnect China's own programs while we find out whether it\n  should exist. It may change, or disappear, in any release.\n\nA marked operation that becomes stable keeps its path and its `operationId`, so code\nwritten against it keeps working. It is in your organization's agreement only where we\nhave agreed so; otherwise it is refused with `403` and the type {problem}`not-entitled`, like any\noperation the agreement leaves out.\n\n## What a document tells you, and what it does not\n\nEvery field of a document comes from one of three places. Its description says which,\nand its `x-provenance` in the OpenAPI spec classifies the kind of source, shown in the\nAPI docs as a badge in the response reference:\n\n- `page`: **from the source page**, as published: the Chinese headline and text, the\n  tables, the printed dates, the document number, the links, attachments and images. We\n  only reduce these mechanically, for example to plain text.\n- `generated`: **machine-generated** by a language model or by our classifier: the\n  English title and summary, the {key}`type`, the {key}`level`, the {key}`topic` and the {key}`issuer`. They\n  can be wrong, and they can change when our models improve. The English\n  text is written from text on a website we do not control, so treat it as you would\n  that text: as information, never as instructions.\n- `assigned`: **assigned by ReConnect China**: the {key}`id`, the links to reconnectchina.org,\n  the attribution, when we collected the document, which of its dates is {key}`date`, the\n  {key}`category` and the {key}`lifecycle`.\n\n**A document tells you what its source page said when we collected it, not what the page\nsays now.** We do not watch sources for changes. We do sometimes collect a source again,\nwhen we improve how we read it: to fill in what we missed or read wrongly, or to reach\npages we had not reached. A document can then change, its dates included, and with them\nits {key}`date`. A page that has disappeared by then is not collected again, and its document\nstays as it was.\n\nSo we guarantee none of these: that a document is up to date, that its source page is\nstill online, or that any earlier state of a document is kept. Three things never change:\na document's {key}`id`, its {key}`rc` link and {key}`dates.added`. Its {key}`source` can change like the rest,\nor appear, when collecting again finds the page that presents the document.\nWithdrawals and deletions at the source cannot be inferred from this API.\n\nA field is left out when the source did not give it or we have not produced it (yet).\nIt is also left out when your organization's agreement does not include it, and then\n{key}`hidden` names it (see *Fields left out*). No field is ever {json}`null`.\n\nEmpty lists follow one rule. A list that describes a document, such as {key}`zh.body`,\n{key}`keywords` or {key}`hidden`, is never empty: it is left out instead, and so is a histogram\nwithout a bucket. A list that is what a response returns ({key}`summaries`, {key}`detail`, {key}`missing`,\nthe saved searches) is always there, and {json}`[]` means there is none. In a request, filters\nsuch as {key}`typeIn`, as well as {key}`histograms` and a run's {key}`parameters`, are never empty\neither: leave them out instead. A histogram's own options can be {json}`{}`, which asks for it\nas it comes.\n\n### Fields left out\n\nYour organization's agreement can leave out fields of some documents, such as their\nChinese text. A field left out is absent, and the document's {key}`hidden` names it and says\nwhy: {json}`{\"field\": \"zh.headline\", \"reason\": \"agreement\"}`. {key}`hidden` names only fields the\ndocument has, so a field that is absent and not in {key}`hidden` is one the document does not\nhave. When every field of {key}`zh` is left out, {key}`zh` itself is absent.\n\nThe English title and summary are never left out. A search still matches the text that is\nleft out, so a Chinese term can find a document whose Chinese text it does not show.\n\n## Dates and time zones\n\n{key}`from` (inclusive) and {key}`to` (exclusive) are **instant expressions**: a point in time, or\ndate math relative to one, documented in full at\n[/docs/v1/instants](https://api.reconnectchina.org/docs/v1/instants). Both are\nevaluated with the same {rcie}`now`, the time the request arrives, and {key}`from` has to come out\nearlier than {key}`to`, defaults included: an empty time frame, such as {set}`\"from\": \"now\"` with no\n{key}`to`, is refused with `400`.\n\nA script that sends only points in time needs nothing more than this. Each of these is an\ninstant expression and means what it says:\n\n- {rcie}`now`;\n- a date, {rcie}`2026-09-03`, which means midnight UTC at its start;\n- an [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339) date-time with at most three\n  digits of fractional seconds, {rcie}`2026-09-03T08:00:00.250+08:00`.\n\nDate math adds or subtracts a count of a unit (`+`, `-`) and rounds down to the start of\na unit (`/`), from left to right: {rcie}`now-7d/d` is midnight seven days ago, and\n{rcie}`2026-09-03+M` is `2026-10-03T00:00:00Z`. All of this happens in UTC unless the\nexpression names a time zone (see *Time zones* below).\n\nThe dates a document carries ({key}`date` and {key}`dates`) are instants in UTC too. The ones printed\non a source page are read as China Standard Time (UTC+08:00), unless the page gives an\noffset of its own, so a page that prints `2026-09-03` without a time of day says\n`2026-09-02T16:00:00Z`. {key}`added` is not printed anywhere: we stamp it when we collect the\npage. How to show these dates, and how to choose {key}`from` and {key}`to` to match, is below.\n\n{key}`dateField` chooses which of a document's dates {key}`from` and {key}`to` filter on and the time\nhistogram counts: `date`, the one date each document is treated as having, which is the\ndefault, or one of `published`, `issued`, `implemented`\nand `added`. Those four find only documents that have that date, so\n{set}`\"dateField\": \"published\"` leaves out every document whose page gives no publication\ndate. The ranking uses the chosen date too: with a term, relevance falls off with its\ndistance from {key}`to`, and without one, results come newest first by it.\n\nWithout {key}`from` and {key}`to`, a search covers the last seven days ({rcie}`now-7d` to {rcie}`now`) of the\nchosen date. To look further back, name {key}`from`. How far back you may look depends on your\norganization's agreement; a {key}`from` beyond it is refused with a `403` that says the earliest\n{key}`from` you may use. The agreement also bounds how far ahead {key}`to` may reach, and a {key}`to`\nbeyond that is refused the same way, with the latest {key}`to` you may use. A saved search is\nheld to both when it is saved and again each time it runs. Whatever {key}`dateField` says, a\nsearch never finds a document whose {key}`date` lies before that. It limits what a search finds,\nnot what you can read: {op}`POST /v1/detail` answers for any id, however old.\n\n### Time zones\n\nA time zone in brackets right after the point in time makes the date math that follows\nhappen in that zone: {rcie}`now[Europe/Berlin]/d` is the start of today in Berlin. The zone is\na name from the time zone database, spelled exactly as listed, or a fixed offset such as\n`+08:00`. It decides how the expression is worked\nout, and the result is an instant like any other.\n\n- {rcie}`now[Europe/Berlin]` is {rcie}`now`: a zone does not move a point in time.\n- A date, or a date-time without an offset, is read in the zone:\n  {rcie}`2025-01-01[Asia/Shanghai]` is the start of that day in Shanghai,\n  `2024-12-31T16:00:00Z`.\n- A date-time with an offset is the instant the offset says, and the zone applies to the\n  date math after it: {rcie}`2026-09-29T09:39:49.933Z[Asia/Shanghai]/d` is the start of that\n  day in Shanghai, `2026-09-28T16:00:00Z`.\n- Years, months, weeks and days (`y`, `M`, `w`, `d`) are counted on the calendar in the\n  zone and keep the time of day, so {rcie}`now[Europe/Berlin]-d` is this time yesterday in\n  Berlin, 23 or 25 hours back when the clocks changed in between. Hours, minutes, seconds\n  and milliseconds (`h`, `m`, `s`, `ms`) are exact: `-24h` is always 24 hours back.\n- Rounding goes to the first instant of the day, week (from Monday), month or year in the\n  zone, and to the start of the hour, minute or second on its clock.\n\nSo these time frames are written as they sound:\n\n| Time frame           | {key}`from`                      | {key}`to`                        |\n| -------------------- | --------------------------- | --------------------------- |\n| yesterday in Berlin  | {rcie}`now[Europe/Berlin]-d/d`    | {rcie}`now[Europe/Berlin]/d`      |\n| last month in Berlin | {rcie}`now[Europe/Berlin]-M/M`    | {rcie}`now[Europe/Berlin]/M`      |\n| today in China       | {rcie}`now[Asia/Shanghai]/d`      | {rcie}`now[Asia/Shanghai]+d/d`    |\n| 2025 in China        | {rcie}`2025-01-01[Asia/Shanghai]` | {rcie}`2026-01-01[Asia/Shanghai]` |\n\n{key}`from` and {key}`to` are separate expressions, each with its own zone, so name the same zone in\nboth. A saved search keeps them as written: \"last month in Berlin\" is saved once and stays\nright whenever the clocks change.\n\nA time of day the zone skips when its clocks go forward, such as\n{rcie}`2026-03-29T02:30:00[Europe/Berlin]`, is refused with `400`, as {rcie}`2024-02-30` is. One that\noccurs twice when they go back means the first time; an offset picks the second:\n{rcie}`2026-10-25T02:30:00+01:00[Europe/Berlin]`. Date math never fails this way: landing in a\ngap moves on past it, and landing in a repeated hour takes the first time. A few zones\nchange their clocks at midnight, so a day there can begin at 01:00:\n{rcie}`2024-03-10[America/Havana]` is that day's first instant, while\n{rcie}`2024-03-10T00:00:00[America/Havana]` names a time of day that did not occur.\n\nTime zones change their rules now and then. We update the time zone database with our\nreleases, and when a country changes its rules at short notice, results for the dates\nthe change affects follow our update. A fixed offset never changes.\n\n### Showing a date, and choosing a range\n\nAn instant does not say how to show it. Choose a time zone by what the date is and by who\nreads it.\n\n- {key}`published`, {key}`issued` and {key}`implemented` are dates the document bears in China. To show\n  one as the page printed it, format it at UTC+08:00, the offset we read the pages at. (A\n  time zone database's `Asia/Shanghai` agrees, except for some summers before 1992.) We\n  cannot tell a page that printed only a date from one that printed midnight, so an instant\n  at midnight in China is best shown as a date alone.\n- {key}`added` is when we collected the page. What the time was in China then rarely matters;\n  your readers' own time usually suits it better, but that depends on what you use it for.\n\nChoose {key}`from` and {key}`to` in the time zone your readers think in, and show the dates in that\nsame zone, or a document inside the range can seem to fall outside it. Say you build a\nspreadsheet or a dashboard of yesterday's documents for readers in Berlin: ask for\nyesterday in Berlin, and show the publication dates in Berlin time too. A column beside\nit can give the date as printed, in China. Yesterday in Berlin is\n{set}`\"from\": \"now[Europe/Berlin]-d/d\"` and {set}`\"to\": \"now[Europe/Berlin]/d\"`.\n\nThe time histogram counts days, months and years in UTC unless it is given a zone:\n{set}`\"histograms\": {\"time\": {\"timeZone\": \"Europe/Berlin\"}}` counts Berlin days. To count by\nthe day a page printed, give it the offset we read pages at, and the printed date:\n{set}`\"dateField\": \"published\"` with {set}`\"histograms\": {\"time\": {\"timeZone\": \"+08:00\"}}`. A\ndocument printed with only the date `2026-09-04` then counts in the day that begins\n`2026-09-03T16:00:00Z`.\n\nThe first and the last period end where the range does, so they are whole only when {key}`from`\nand {key}`to` are where a period begins. To count whole days, round both in the histogram's\nzone: the last 30 days in Berlin, per Berlin day, are {set}`\"from\": \"now[Europe/Berlin]-30d/d\"`\nand {set}`\"to\": \"now[Europe/Berlin]/d\"` with {set}`\"histograms\": {\"time\": {\"timeZone\":\n\"Europe/Berlin\"}}`.\n\n## Search terms\n\n{key}`term` is a **term expression**, documented in full at\n[/docs/v1/terms](https://api.reconnectchina.org/docs/v1/terms). Text on its own is searched\nfor as a phrase, and {rcql}`&&` (and), {rcql}`||` (or), {rcql}`!` (not) and parentheses combine texts:\n{rcql}`(半导体 || semiconductor) && !补贴`.\n\nTo search for a text literally, whatever characters it holds, put a backslash before\nevery `\"` and every `\\` in it, and wrap the result in double quotes: `R&D \"A\"\\B` becomes\n{rcql}`\"R&D \\\"A\\\"\\\\B\"`.\n\nHow long {key}`term` may be depends on your organization's agreement. The limit counts the\nexpression as sent, escapes included, and a longer one is refused with `400`\n{problem}`invalid-request`.\n\n## Searching without a term\n\n{key}`term` is optional. A search without one leaves out {key}`strategy` too, and finds every document\nthat passes its filters, **newest first** by the chosen date ({key}`dateField`). With {key}`topicIn`,\n{key}`typeIn` and {key}`levelIn` it is a stream of what has just come in. Here, for example, are the\nlaws, regulations and plans on trade and commerce from central and provincial issuers that\nwe collected in the last day:\n\n```json\n{\n  \"typeIn\": [\"law/decree\", \"regulation\", \"opinion/plan\"],\n  \"levelIn\": [\"centre\", \"provinces\"],\n  \"topicIn\": [\"trade\", \"commerce\"],\n  \"dateField\": \"added\",\n  \"from\": \"now-1d\"\n}\n```\n\nSaved and run every morning, it returns what is new since the day before, most recently\ncollected first, including documents dated earlier that we only found now.\n\n## Checking before you send\n\nA form that builds a search can check it as it is written. {op}`POST /v1/validate_search`\ntakes what {op}`POST /v1/search` takes and checks it the same way, without searching. It\nanswers with the search as it would run: the defaults you left out filled in, and {key}`from`\nand {key}`to` as the instants they mean right now, so {rcie}`now[Europe/Berlin]-M/M` can be shown as\na date. {op}`POST /v1/validate_saved_search/{scope}/{name}` takes what\n{op}`PUT /v1/saved_searches/{scope}/{name}` takes, and checks the save the same way without\nstoring it: the scope, the name, the title and the description, the parameters, and\nwhether the scope has room for a new name. It answers `204` if the save would be stored;\nhow its parameters would run now is `validate_search`'s answer.\n\nEach answers a request that would be refused with the same problem the real request would\nget, {key}`errors` included, so a form can show each one beside the field it concerns: the one\n{key}`pointer` points at in the body, or the one {key}`parameter` names in the path. Each counts\nagainst your limits like any request, so check when the person pauses, not on every key.\n",
    "contact": {
      "name": "ReConnect China",
      "url": "https://reconnectchina.org"
    }
  },
  "servers": [
    {
      "url": "https://api.reconnectchina.org",
      "description": "The API, over the whole corpus."
    },
    {
      "url": "https://sandbox.api.reconnectchina.org",
      "description": "The sandbox, for building and testing a script: the same operations over a small set of\ninvented documents, open to every account in an organization. See *Sandbox*.\n"
    }
  ],
  "security": [
    {
      "bearer": []
    }
  ],
  "tags": [
    {
      "name": "Search",
      "description": "Ad-hoc searches and paging through their results."
    },
    {
      "name": "Saved searches",
      "description": "Searches stored under a name in a scope: your own, or shared in your organization where its agreement includes that (see *Saved searches and scopes*)."
    },
    {
      "name": "Detail",
      "description": "The full text and metadata of documents found by a search."
    },
    {
      "name": "Account",
      "description": "What your organization's agreement allows you on this server, and what this server holds about you."
    }
  ],
  "paths": {
    "/v1/search": {
      "post": {
        "operationId": "search",
        "tags": [
          "Search"
        ],
        "summary": "Search",
        "description": "Runs a search and returns its first page, together with the total number of hits and\nthe histograms named in {key}`histograms`. Use {key}`next` with {op}`POST /v1/continue_search` for the\nfollowing pages. With {set}`\"pageSize\": 0` there is no page: only {key}`hits` and the histograms.\n",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchParameters"
              },
              "examples": {
                "term": {
                  "summary": "A term, over the last 30 days, with a histogram",
                  "value": {
                    "term": "低空经济 || \"low-altitude economy\"",
                    "strategy": "body",
                    "typeIn": [
                      "law/decree",
                      "regulation",
                      "notice/announcement",
                      "opinion/plan"
                    ],
                    "from": "now-30d/d",
                    "pageSize": 1,
                    "histograms": {
                      "level": {}
                    }
                  }
                },
                "newest": {
                  "summary": "No term: the newest laws and regulations from Shanghai",
                  "value": {
                    "issuerIn": [
                      "上海市"
                    ],
                    "typeIn": [
                      "law/decree",
                      "regulation"
                    ],
                    "pageSize": 1
                  }
                },
                "count": {
                  "summary": "Only counting: hits per day, no page",
                  "value": {
                    "term": "低空经济 || \"low-altitude economy\"",
                    "strategy": "body",
                    "typeIn": [
                      "law/decree",
                      "regulation",
                      "notice/announcement",
                      "opinion/plan"
                    ],
                    "from": "now-30d/d",
                    "to": "now/d",
                    "pageSize": 0,
                    "histograms": {
                      "time": {}
                    }
                  }
                },
                "printedDay": {
                  "summary": "Only counting: hits per day as printed in China, no page",
                  "value": {
                    "term": "低空经济 || \"low-altitude economy\"",
                    "strategy": "body",
                    "typeIn": [
                      "law/decree",
                      "regulation",
                      "notice/announcement",
                      "opinion/plan"
                    ],
                    "dateField": "published",
                    "from": "now[+08:00]-7d/d",
                    "to": "now[+08:00]/d",
                    "pageSize": 0,
                    "histograms": {
                      "time": {
                        "timeZone": "+08:00"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The first page of results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchFirstPage"
                },
                "examples": {
                  "term": {
                    "summary": "The first page of a term search",
                    "value": {
                      "histograms": {
                        "level": [
                          {
                            "hits": 71,
                            "level": "cities"
                          },
                          {
                            "hits": 42,
                            "level": "provinces"
                          },
                          {
                            "hits": 10,
                            "level": "centre"
                          }
                        ]
                      },
                      "hits": 123,
                      "next": "AgGqDAH8o_WHpdGuOtp5YfwB7HrpXWaQBNN-JpDgEpG0aAbMeNuLqEfCM_rddksYrFX9lpANkEQHEZSIUAWCn529-fzAouwT7TcW1IlFVUVHLRE4TPG5B-eX5dpskNDOkgSFaAIqF-VI6Nx0T0vp3Unx4DNAR87bHQP25u4UpiwVQHjEkXHTjqa3oT7uoWfNsVA6GXDtTRIH4-RBa1JlrDDjkmmhx8wunKPcYHTRKRLI6szmImebenM6P5Qj8snnM9oS5bRglVOtoL8Xa_fus30noLMlLWELVOcs5SYagK66hbIrNZ15bzLQ0PbkGttunU1vTVzsFTze4x0ceosRDRJGe1zccazU2c6YXT0CNTH2_uKySX7lhU32zn5terpwv-_jPArDA107T_xK2HFaRNj5fYLnEtkY5PDIed0e9LMyOyt4",
                      "summaries": [
                        {
                          "attribution": "ReConnect China Database, University of Vienna — https://reconnectchina.org/items/6ab8282aed91061889a10ace/notice-of-the-zhuhai-municipal-people-s-government-on-issuing-several-measures-to-support-the-high",
                          "date": "2026-09-26T20:16:42.391Z",
                          "dateKind": "added",
                          "dates": {
                            "added": "2026-09-26T20:16:42.391Z"
                          },
                          "en": {
                            "summary": "The notice (Zhu Fu [2024] No. 45, dated June 12, 2024) announces the “Several Measures for Supporting the High-Quality Development of the Low-Altitude Economy,” approved at the 60th executive meeting of the 10th Municipal Government. Valid through December 31, 2026, the measures cover four areas:\n\n- **Industry ecology:** Up to 20% of equipment costs for major manufacturing projects; rewards for airworthiness certification (5M for large manned UAS, 1M for large non-manned, 0.5M for medium); up to 3M for public service platforms; 30% of test flight costs (max 1M/year); exhibition rewards (1.8M for trade fairs, 1M for conferences) and booth fee subsidies (max 0.5M/year).\n- **Applications:** Drone freight routes (30–90–300 yuan per flight, max 5M/year per enterprise); eVTOL passenger routes (100–200–300 yuan per flight, 400 for cross-border, max 5M/year); infrastructure subsidies (50% of fixed-asset investment, max 5M/year).\n- **Resources:** Talent support for enterprises with annual output value of 20M, 50M, or 100M yuan; financial services including credit and insurance products.\n- **Eligibility:** Independent legal entities in Zhuhai (excluding Hengqin), engaged in UAS, eVTOL, or flight-car development, manufacturing, or operations.",
                            "title": "Notice of the Zhuhai Municipal People's Government on Issuing Several Measures to Support the High-Quality Development of the Low-Altitude Economy (Zhuhai Government [2024] No. 45)"
                          },
                          "id": "6ab8282aed91061889a10ace",
                          "issuer": "广东省",
                          "level": "cities",
                          "rc": "https://reconnectchina.org/items/6ab8282aed91061889a10ace/notice-of-the-zhuhai-municipal-people-s-government-on-issuing-several-measures-to-support-the-high",
                          "source": "https://www.zhuhai.gov.cn/attachment/0/376/376718/3672905.doc",
                          "topic": "tech",
                          "type": "notice/announcement",
                          "zh": {
                            "headline": [
                              "珠海市人民政府关于印发支持低空经济高质量发展若干措施的通知（珠府〔2024〕45号）"
                            ],
                            "teaser": "ZFGS-2024-07 珠府〔2024〕45号 珠海市人民政府关于印发支持低空经济 高质量发展若干措施的通知 各区政府（管委会），市政府各部门、各直属机构： 《珠海市支持低空经济高质量发展的若干措施》已经十届市政府第60次常务会议审议通过，现印发给你们，请认真组织实施。实施过程中遇到问题，请径向市工业和信息化局反映…"
                          }
                        }
                      ]
                    }
                  },
                  "newest": {
                    "summary": "The first page without a term",
                    "value": {
                      "hits": 2,
                      "next": "AgGD_4nav3dJG-T2E1BEq9qbPO1O3bg35U44dph3ObgtUg-AsXT6OPkwFT80c92kNnhUp3TXVkiJU9yphFwFzu9rF1l_TX7EFEViUQzvkUks7-y9s4gE_JBCIWC2yHuuf8EEFcvGyUV2HtU3Sag0pQdImYTRbR6Ox9gJ9IQIT8VNml7aNhQbQp3oiAjwq-bexvDRqzdaaPWleSV-SGmHhrFKZ1GloWketFIriRyu0SYx0R8fauYF4fuazzCsp0v7IqgGfyZK8CpcI-MpjWz2OfusqA4BT-v1mT5Mi2RU10qFjD-BWbcmrJXS-wpvbtzrikccVWivCMimRMo",
                      "summaries": [
                        {
                          "attribution": "ReConnect China Database, University of Vienna — https://reconnectchina.org/items/6abe34baed91061889a19484/notice-of-the-general-office-of-shanghai-municipal-people-s-government-on-printing-and-distributing",
                          "date": "2026-09-29T16:00:00Z",
                          "dateKind": "published",
                          "dates": {
                            "added": "2026-10-01T10:23:54.119Z",
                            "implemented": "2026-09-30T16:00:00Z",
                            "issued": "2026-09-21T16:00:00Z",
                            "published": "2026-09-29T16:00:00Z"
                          },
                          "en": {
                            "summary": "The document, issued by the General Office of Shanghai Municipal People's Government on September 20, 2026, promulgates the Several Provisions on Promoting and Regulating the Development of Commercial Mediation, effective October 1, 2026, valid until September 30, 2031.\n\nKey provisions:\n- Applies to establishment, change, cancellation, practice, and supervision of commercial mediation organizations within Shanghai's Administrative District.\n- Judicial administration departments at municipal and district levels guide and regulate the industry; other departments coordinate support.\n- Organizations must have at least 5 full-time staff; fees are market-regulated and publicly disclosed.\n- Annual reports to district judicial administration include overseas mediation activities.\n- Encourages mediation-to-litigation/arbitration/guarantee linkage and judicial confirmation of mediation agreements.\n- Supports international mediation organizations and overseas business expansion.\n- Establishes a tiered talent training system and a mediation priority clause in contracts.\n- Special zones (China (Shanghai) Pilot Free Trade Zone, Hongqiao International Central Business District, etc.) may set local policies.\n- Digital systems with online application, mediation, and e-signature are encouraged.\n- Existing organizations must obtain a practice certificate by April 30, 2027; otherwise, pending cases are terminated.\n- New non-commercial mediation organizations are restricted to family, inheritance, guardianship, labor, and consumer disputes.",
                            "title": "Notice of the General Office of Shanghai Municipal People's Government on Printing and Distributing the Several Provisions of Shanghai on Promoting and Regulating the Development of Commercial Mediation"
                          },
                          "id": "6abe34baed91061889a19484",
                          "issuer": "上海市",
                          "level": "provinces",
                          "rc": "https://reconnectchina.org/items/6abe34baed91061889a19484/notice-of-the-general-office-of-shanghai-municipal-people-s-government-on-printing-and-distributing",
                          "source": "https://www.shanghai.gov.cn/nw12344/20260930/e5f69a0380f345369a224013267a1c8d.html",
                          "topic": "other",
                          "type": "regulation",
                          "zh": {
                            "headline": [
                              "上海市人民政府办公厅关于印发《上海市促进和规范商事调解发展若干规定》的通知"
                            ],
                            "teaser": "各区人民政府，市政府各委、办、局，各有关单位： 《上海市促进和规范商事调解发展若干规定》已经市政府同意，现印发给你们，请认真按照执行。 上海市人民政府办公厅 2026年9月20日 上海市促进和规范商事调解发展若干规定 第一条（目的依据） 为了促进本市商事调解行业健康发展，建设商事调解国际优选地，助力打造市场化、法治化…"
                          }
                        }
                      ]
                    }
                  },
                  "count": {
                    "summary": "Hits per day, no page",
                    "value": {
                      "histograms": {
                        "time": [
                          {
                            "from": "2026-09-02T00:00:00Z",
                            "hits": 5,
                            "to": "2026-09-03T00:00:00Z"
                          },
                          {
                            "from": "2026-09-03T00:00:00Z",
                            "hits": 8,
                            "to": "2026-09-04T00:00:00Z"
                          },
                          {
                            "from": "2026-09-04T00:00:00Z",
                            "hits": 5,
                            "to": "2026-09-05T00:00:00Z"
                          },
                          {
                            "from": "2026-09-05T00:00:00Z",
                            "hits": 1,
                            "to": "2026-09-06T00:00:00Z"
                          },
                          {
                            "from": "2026-09-06T00:00:00Z",
                            "hits": 7,
                            "to": "2026-09-07T00:00:00Z"
                          },
                          {
                            "from": "2026-09-07T00:00:00Z",
                            "hits": 3,
                            "to": "2026-09-08T00:00:00Z"
                          },
                          {
                            "from": "2026-09-08T00:00:00Z",
                            "hits": 3,
                            "to": "2026-09-09T00:00:00Z"
                          },
                          {
                            "from": "2026-09-09T00:00:00Z",
                            "hits": 7,
                            "to": "2026-09-10T00:00:00Z"
                          },
                          {
                            "from": "2026-09-10T00:00:00Z",
                            "hits": 4,
                            "to": "2026-09-11T00:00:00Z"
                          },
                          {
                            "from": "2026-09-11T00:00:00Z",
                            "hits": 0,
                            "to": "2026-09-12T00:00:00Z"
                          },
                          {
                            "from": "2026-09-12T00:00:00Z",
                            "hits": 0,
                            "to": "2026-09-13T00:00:00Z"
                          },
                          {
                            "from": "2026-09-13T00:00:00Z",
                            "hits": 0,
                            "to": "2026-09-14T00:00:00Z"
                          },
                          {
                            "from": "2026-09-14T00:00:00Z",
                            "hits": 0,
                            "to": "2026-09-15T00:00:00Z"
                          },
                          {
                            "from": "2026-09-15T00:00:00Z",
                            "hits": 7,
                            "to": "2026-09-16T00:00:00Z"
                          },
                          {
                            "from": "2026-09-16T00:00:00Z",
                            "hits": 6,
                            "to": "2026-09-17T00:00:00Z"
                          },
                          {
                            "from": "2026-09-17T00:00:00Z",
                            "hits": 7,
                            "to": "2026-09-18T00:00:00Z"
                          },
                          {
                            "from": "2026-09-18T00:00:00Z",
                            "hits": 6,
                            "to": "2026-09-19T00:00:00Z"
                          },
                          {
                            "from": "2026-09-19T00:00:00Z",
                            "hits": 4,
                            "to": "2026-09-20T00:00:00Z"
                          },
                          {
                            "from": "2026-09-20T00:00:00Z",
                            "hits": 3,
                            "to": "2026-09-21T00:00:00Z"
                          },
                          {
                            "from": "2026-09-21T00:00:00Z",
                            "hits": 2,
                            "to": "2026-09-22T00:00:00Z"
                          },
                          {
                            "from": "2026-09-22T00:00:00Z",
                            "hits": 3,
                            "to": "2026-09-23T00:00:00Z"
                          },
                          {
                            "from": "2026-09-23T00:00:00Z",
                            "hits": 4,
                            "to": "2026-09-24T00:00:00Z"
                          },
                          {
                            "from": "2026-09-24T00:00:00Z",
                            "hits": 1,
                            "to": "2026-09-25T00:00:00Z"
                          },
                          {
                            "from": "2026-09-25T00:00:00Z",
                            "hits": 2,
                            "to": "2026-09-26T00:00:00Z"
                          },
                          {
                            "from": "2026-09-26T00:00:00Z",
                            "hits": 6,
                            "to": "2026-09-27T00:00:00Z"
                          },
                          {
                            "from": "2026-09-27T00:00:00Z",
                            "hits": 17,
                            "to": "2026-09-28T00:00:00Z"
                          },
                          {
                            "from": "2026-09-28T00:00:00Z",
                            "hits": 3,
                            "to": "2026-09-29T00:00:00Z"
                          },
                          {
                            "from": "2026-09-29T00:00:00Z",
                            "hits": 5,
                            "to": "2026-09-30T00:00:00Z"
                          },
                          {
                            "from": "2026-09-30T00:00:00Z",
                            "hits": 2,
                            "to": "2026-10-01T00:00:00Z"
                          },
                          {
                            "from": "2026-10-01T00:00:00Z",
                            "hits": 2,
                            "to": "2026-10-02T00:00:00Z"
                          }
                        ]
                      },
                      "hits": 123,
                      "summaries": []
                    }
                  },
                  "printedDay": {
                    "summary": "Hits per day as printed in China, no page",
                    "value": {
                      "histograms": {
                        "time": [
                          {
                            "from": "2026-09-24T16:00:00Z",
                            "hits": 0,
                            "to": "2026-09-25T16:00:00Z"
                          },
                          {
                            "from": "2026-09-25T16:00:00Z",
                            "hits": 0,
                            "to": "2026-09-26T16:00:00Z"
                          },
                          {
                            "from": "2026-09-26T16:00:00Z",
                            "hits": 0,
                            "to": "2026-09-27T16:00:00Z"
                          },
                          {
                            "from": "2026-09-27T16:00:00Z",
                            "hits": 1,
                            "to": "2026-09-28T16:00:00Z"
                          },
                          {
                            "from": "2026-09-28T16:00:00Z",
                            "hits": 3,
                            "to": "2026-09-29T16:00:00Z"
                          },
                          {
                            "from": "2026-09-29T16:00:00Z",
                            "hits": 3,
                            "to": "2026-09-30T16:00:00Z"
                          },
                          {
                            "from": "2026-09-30T16:00:00Z",
                            "hits": 0,
                            "to": "2026-10-01T16:00:00Z"
                          }
                        ]
                      },
                      "hits": 7,
                      "summaries": []
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/InvalidRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenRange"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/scopes": {
      "get": {
        "operationId": "listScopes",
        "tags": [
          "Saved searches"
        ],
        "summary": "List the scopes you can save to",
        "description": "Lists the scopes your account can use on this server, each where your organization's\nagreement includes it; the sandbox never offers `organization` (see *Saved searches\nand scopes*). Offer to save only to these. There is always at least one: an agreement\nwithout saved searches answers this, like every saved-search operation, with `403`\nand the type {problem}`not-entitled`.\n",
        "responses": {
          "200": {
            "description": "The scopes, ordered by id.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScopeList"
                },
                "examples": {
                  "both": {
                    "summary": "An organization whose agreement includes organization scope",
                    "value": {
                      "scopes": [
                        {
                          "id": "account"
                        },
                        {
                          "id": "organization",
                          "title": "Example China Research Institute"
                        }
                      ]
                    }
                  },
                  "sandbox": {
                    "summary": "On the sandbox",
                    "value": {
                      "scopes": [
                        {
                          "id": "account"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/list_saved_searches": {
      "post": {
        "operationId": "listSavedSearches",
        "tags": [
          "Saved searches"
        ],
        "summary": "List saved searches",
        "description": "Lists the saved searches you can use, with their parameters, and returns the first\npage: in every scope you can use (see *Saved searches and scopes*), or in those that\n{key}`scopeIn` names. Each carries its {key}`scope`, so the list can show which are your own and\nwhich are shared. They are ordered by scope, then by name, both by Unicode code point\n(so `Z` comes before `a`). Use {key}`next` with {op}`POST /v1/continue_list_saved_searches` for\nthe following pages.\n\nA scope in {key}`scopeIn` that does not exist is refused with `400` ({problem}`invalid-request`),\nwith {key}`errors` pointing at it, and one your organization's agreement leaves out with\n`403` ({problem}`scope-not-entitled`).\n",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ListSavedSearchesRequest"
              },
              "examples": {
                "both": {
                  "summary": "Every scope you can use",
                  "value": {}
                },
                "organization": {
                  "summary": "Only the searches shared in your organization",
                  "value": {
                    "scopeIn": [
                      "organization"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The first page of saved searches.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedSearchList"
                },
                "examples": {
                  "both": {
                    "summary": "One of your own, and one shared in your organization",
                    "value": {
                      "searches": [
                        {
                          "scope": "account",
                          "name": "low-altitude-monthly",
                          "title": "Low-altitude economy, last month",
                          "description": "Laws, regulations, notices and plans on the low-altitude economy in the last calendar month\nin Berlin, per Berlin day. The monthly report starts from this one.",
                          "changedAt": "2026-09-01T06:30:00Z",
                          "parameters": {
                            "term": "低空经济 || \"low-altitude economy\"",
                            "strategy": "body",
                            "typeIn": [
                              "law/decree",
                              "regulation",
                              "notice/announcement",
                              "opinion/plan"
                            ],
                            "from": "now[Europe/Berlin]-M/M",
                            "to": "now[Europe/Berlin]/M",
                            "histograms": {
                              "time": {
                                "timeZone": "Europe/Berlin"
                              }
                            }
                          }
                        },
                        {
                          "scope": "organization",
                          "name": "低空经济",
                          "title": "Low-altitude economy, last 30 days",
                          "description": "Laws, regulations, notices and plans on the low-altitude economy in the last month, by\nlevel. The weekly briefing starts from this one.",
                          "changedAt": "2026-09-20T08:12:44Z",
                          "parameters": {
                            "term": "低空经济 || \"low-altitude economy\"",
                            "strategy": "body",
                            "typeIn": [
                              "law/decree",
                              "regulation",
                              "notice/announcement",
                              "opinion/plan"
                            ],
                            "from": "now-30d/d",
                            "histograms": {
                              "level": {}
                            }
                          }
                        }
                      ]
                    }
                  },
                  "organization": {
                    "summary": "The searches shared in your organization",
                    "value": {
                      "searches": [
                        {
                          "scope": "organization",
                          "name": "低空经济",
                          "title": "Low-altitude economy, last 30 days",
                          "description": "Laws, regulations, notices and plans on the low-altitude economy in the last month, by\nlevel. The weekly briefing starts from this one.",
                          "changedAt": "2026-09-20T08:12:44Z",
                          "parameters": {
                            "term": "低空经济 || \"low-altitude economy\"",
                            "strategy": "body",
                            "typeIn": [
                              "law/decree",
                              "regulation",
                              "notice/announcement",
                              "opinion/plan"
                            ],
                            "from": "now-30d/d",
                            "histograms": {
                              "level": {}
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/InvalidRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenScope"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/continue_list_saved_searches": {
      "post": {
        "operationId": "continueListSavedSearches",
        "tags": [
          "Saved searches"
        ],
        "summary": "Next page of saved searches",
        "description": "Returns the page of saved searches after the one that carried {key}`next`, for the same\n{key}`scopeIn`.\n",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinueListSavedSearchesRequest"
              },
              "examples": {
                "next": {
                  "summary": "The `next` of a page of saved searches",
                  "value": {
                    "next": "AgJrYzV2Tn0qR8bq1u3kQm9oWfXe2ZlC4yHsPdVtG7aJhNcB0rEi6gUwKxLzMpSv5DfO"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The next page of saved searches.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedSearchList"
                },
                "examples": {
                  "last": {
                    "summary": "The last page of saved searches",
                    "value": {
                      "searches": [
                        {
                          "scope": "organization",
                          "name": "新能源",
                          "changedAt": "2026-09-22T14:03:10Z",
                          "parameters": {
                            "term": "新能源",
                            "strategy": "headline",
                            "typeIn": [
                              "law/decree",
                              "regulation",
                              "notice/announcement",
                              "opinion/plan"
                            ],
                            "from": "now-6M/M"
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/InvalidContinuation"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenScope"
          },
          "410": {
            "$ref": "#/components/responses/ContinuationExpired"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/continue_search": {
      "post": {
        "operationId": "continueSearch",
        "tags": [
          "Search"
        ],
        "summary": "Next page of a search",
        "description": "Returns the page after the one that carried {key}`next`. This works for ad-hoc and saved\nsearches alike. The page carries no {key}`hits` and no histograms: they came with the first\npage.\n",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContinueSearchRequest"
              },
              "examples": {
                "term": {
                  "summary": "The `next` of the term search's first page",
                  "value": {
                    "next": "AgGqDAH8o_WHpdGuOtp5YfwB7HrpXWaQBNN-JpDgEpG0aAbMeNuLqEfCM_rddksYrFX9lpANkEQHEZSIUAWCn529-fzAouwT7TcW1IlFVUVHLRE4TPG5B-eX5dpskNDOkgSFaAIqF-VI6Nx0T0vp3Unx4DNAR87bHQP25u4UpiwVQHjEkXHTjqa3oT7uoWfNsVA6GXDtTRIH4-RBa1JlrDDjkmmhx8wunKPcYHTRKRLI6szmImebenM6P5Qj8snnM9oS5bRglVOtoL8Xa_fus30noLMlLWELVOcs5SYagK66hbIrNZ15bzLQ0PbkGttunU1vTVzsFTze4x0ceosRDRJGe1zccazU2c6YXT0CNTH2_uKySX7lhU32zn5terpwv-_jPArDA107T_xK2HFaRNj5fYLnEtkY5PDIed0e9LMyOyt4"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The next page of results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchPage"
                },
                "examples": {
                  "term": {
                    "summary": "The term search's second page",
                    "value": {
                      "next": "AgHsM3I26PQimvnBY1aNTJGV8suLCB7V5iY31zJBtP3GHByzTa3HlpiSXbv1nXGoYq0zoJc9SnPNauL-hV7Kff77xQnuCft0MSo1Ayx9xzVa3jtcawm8hTdLluvEiPS9drkeFPojYax2zGt9yd5XLBX5wGABc67wZEE7CeM3RdBZCAlrYIDfEeDjujaivPUiHO___jkeFxrBKeMHSnKufhxzDuGx5aW_9EWBCYENrFeyVIBnOTE-XbFslFYEU7QOZTt3r_wWWnjsTMVrFIXzEM3uca-svUCQGxiHRFQyPpBSRpoXowtDCsc44msL8MNlklMTOJfFDSYYMxFJJrXRF6aEykoLuo04y1-YBRhGpavJr402uAWeD_m0lixBzOaluDuUZtbtzcgeSdUJNHi2EpZP896v4GswDCACVR92GKVAWAKRBw",
                      "summaries": [
                        {
                          "attribution": "ReConnect China Database, University of Vienna — https://reconnectchina.org/items/6a9fd752485858e1f78a9a0d/notice-of-the-hinggan-league-administrative-office-on-issuing-the-implementation-plan-for-the",
                          "date": "2026-09-08T09:37:22.877Z",
                          "dateKind": "added",
                          "dates": {
                            "added": "2026-09-08T09:37:22.877Z"
                          },
                          "en": {
                            "summary": "The document announces the Hinggan League “AI+” Action Implementation Plan (2026–2028), issued on July 18, 2026, and publicly released. It implements the Inner Mongolia Autonomous Region’s plan (Inner Mongolia Government Document [2026] No. 11) and aims for scaled AI application in 2028 across modern agriculture, animal husbandry, forestry/grassland, cultural tourism, energy, manufacturing, low-altitude economy, healthcare, education, elderly care, border management, and social governance, with a major model breakthrough in cold-region industries.\n\nKey tasks include:\n- AI-driven smart grain bases and precision farming in corn, soybean, and rice.\n- Smart pasture systems for meat cattle (≥50 head/year) and sheep (≥200 head/year).\n- Forest/grassland monitoring and smart traceability for agricultural products.\n- AI-enhanced tourism services and cultural heritage digital collections.\n- Energy applications: wind farm fault prediction, hydrogen production chain control, and green electricity for data centers.\n- Manufacturing upgrades in tobacco, steel, and machinery.\n- Low-altitude economy service centers and CAAC training bases.\n- Medical AI for major disease risk prediction and grassroots diagnosis.\n- Education AI for personalized learning and evaluation.\n- Smart elderly care and border security systems.\n- Green computing and data security safeguards.\n\nThe plan also sets up public data authorization, talent training, and cross-departmental coordination.",
                            "title": "Notice of the Hinggan League Administrative Office on Issuing the Implementation Plan for the \"Artificial Intelligence+\" Action of Hinggan League (2026–2028)"
                          },
                          "id": "6a9fd752485858e1f78a9a0d",
                          "issuer": "内蒙古自治区",
                          "level": "cities",
                          "rc": "https://reconnectchina.org/items/6a9fd752485858e1f78a9a0d/notice-of-the-hinggan-league-administrative-office-on-issuing-the-implementation-plan-for-the",
                          "source": "https://www.xam.gov.cn/xam/2026-09/08/article_2026090810473743724.html",
                          "topic": "tech",
                          "type": "notice/announcement",
                          "zh": {
                            "headline": [
                              "兴安盟行政公署关于印发《兴安盟“人工智能＋”行动实施方案（2026—2028年）》的通知"
                            ],
                            "teaser": "各旗县市人民政府，盟直各委、办、局，各企业、事业单位: 现将《兴安盟“人工智能＋”行动实施方案（2026—2028年）》印发给你们，请结合实际，认真贯彻落实。 2026年7月18日 （此件公开发布） 兴安盟“人工智能＋”行动实施方案 （2026—2028年） 为深入贯彻《内蒙古自治区人民政府关于印发自治区“人工智能+…"
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/InvalidContinuation"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "410": {
            "$ref": "#/components/responses/ContinuationExpired"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/saved_searches/{scope}/{name}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/SavedSearchScope"
        },
        {
          "$ref": "#/components/parameters/SavedSearchName"
        }
      ],
      "put": {
        "operationId": "saveSearch",
        "tags": [
          "Saved searches"
        ],
        "summary": "Save a search",
        "description": "Validates the search and stores it under `name` in `scope`, replacing any search\nalready saved under that name there. Nothing is run. {key}`parameters` is what\n{op}`POST /v1/search` takes as its body; {key}`title` and {key}`description` are for people, and\neach is left out of the stored search when the body leaves it out.\n\n`scope` and `name` identify the search and cannot be changed: to rename one, or to\nmove it to another scope, save it under the new name or in the other scope and delete\nthe old. {key}`title` is what to show, and can be changed with any save.\n\nA new search is answered `201`, a replaced one `204`. In `organization`, a `204` you\ndid not expect means you replaced a search someone else saved under that name.\n\nThe parameters are checked as a search would check them: a {key}`term` that is not a term\nexpression, a {key}`from` or {key}`to` that is not an instant expression, or a {key}`from` that is\nnot earlier than {key}`to`, is refused with `400`, and a {key}`from` further back or a {key}`to`\nfurther ahead than your organization may search with `403` ({problem}`range-not-entitled`).\n\nParameters are stored as sent: date math such as {rcie}`now-7d/d` is kept as an expression\nand evaluated each time the search runs, and an absent {key}`from` or {key}`to` takes its\ndefault at run time.\n",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSearchRequest"
              },
              "examples": {
                "term": {
                  "summary": "A term, over the last 30 days, with a histogram",
                  "value": {
                    "title": "Low-altitude economy, last 30 days",
                    "description": "Laws, regulations, notices and plans on the low-altitude economy in the last month, by\nlevel. The weekly briefing starts from this one.",
                    "parameters": {
                      "term": "低空经济 || \"low-altitude economy\"",
                      "strategy": "body",
                      "typeIn": [
                        "law/decree",
                        "regulation",
                        "notice/announcement",
                        "opinion/plan"
                      ],
                      "from": "now-30d/d",
                      "histograms": {
                        "level": {}
                      }
                    }
                  }
                },
                "lastMonthBerlin": {
                  "summary": "Last month in Berlin, per day",
                  "value": {
                    "title": "Low-altitude economy, last month",
                    "description": "Laws, regulations, notices and plans on the low-altitude economy in the last calendar month\nin Berlin, per Berlin day. The monthly report starts from this one.",
                    "parameters": {
                      "term": "低空经济 || \"low-altitude economy\"",
                      "strategy": "body",
                      "typeIn": [
                        "law/decree",
                        "regulation",
                        "notice/announcement",
                        "opinion/plan"
                      ],
                      "from": "now[Europe/Berlin]-M/M",
                      "to": "now[Europe/Berlin]/M",
                      "histograms": {
                        "time": {
                          "timeZone": "Europe/Berlin"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Saved, under a name the scope did not hold yet."
          },
          "204": {
            "description": "Saved, replacing the search the scope held under that name."
          },
          "400": {
            "$ref": "#/components/responses/InvalidRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenScopeOrRange"
          },
          "404": {
            "$ref": "#/components/responses/ScopeNotFound"
          },
          "409": {
            "$ref": "#/components/responses/SavedSearchLimit"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      },
      "get": {
        "operationId": "getSavedSearch",
        "tags": [
          "Saved searches"
        ],
        "summary": "Read a saved search",
        "description": "Returns the saved search without running it.",
        "responses": {
          "200": {
            "description": "The saved search.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavedSearch"
                },
                "examples": {
                  "term": {
                    "summary": "The saved term search",
                    "value": {
                      "scope": "organization",
                      "name": "低空经济",
                      "title": "Low-altitude economy, last 30 days",
                      "description": "Laws, regulations, notices and plans on the low-altitude economy in the last month, by\nlevel. The weekly briefing starts from this one.",
                      "changedAt": "2026-09-20T08:12:44Z",
                      "parameters": {
                        "term": "低空经济 || \"low-altitude economy\"",
                        "strategy": "body",
                        "typeIn": [
                          "law/decree",
                          "regulation",
                          "notice/announcement",
                          "opinion/plan"
                        ],
                        "from": "now-30d/d",
                        "histograms": {
                          "level": {}
                        }
                      }
                    }
                  },
                  "lastMonthBerlin": {
                    "summary": "The saved search for last month in Berlin",
                    "value": {
                      "scope": "account",
                      "name": "low-altitude-monthly",
                      "title": "Low-altitude economy, last month",
                      "description": "Laws, regulations, notices and plans on the low-altitude economy in the last calendar month\nin Berlin, per Berlin day. The monthly report starts from this one.",
                      "changedAt": "2026-09-01T06:30:00Z",
                      "parameters": {
                        "term": "低空经济 || \"low-altitude economy\"",
                        "strategy": "body",
                        "typeIn": [
                          "law/decree",
                          "regulation",
                          "notice/announcement",
                          "opinion/plan"
                        ],
                        "from": "now[Europe/Berlin]-M/M",
                        "to": "now[Europe/Berlin]/M",
                        "histograms": {
                          "time": {
                            "timeZone": "Europe/Berlin"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/InvalidRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenScope"
          },
          "404": {
            "$ref": "#/components/responses/SavedSearchNotFound"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      },
      "post": {
        "operationId": "runSavedSearch",
        "tags": [
          "Saved searches"
        ],
        "summary": "Run a saved search",
        "description": "Runs the saved search and returns its first page, exactly like {op}`POST /v1/search`.\n\nThe body is optional. Each field of its {key}`parameters` replaces the saved one, whole, for\nthis run only; the saved search itself is not changed. This is mainly for {key}`from` and\n{key}`to`, for anyone who would rather not store date math, and for counting what a saved\nsearch finds: with\n{set}`\"parameters\": {\"pageSize\": 0, \"histograms\": {\"time\": {}}, \"dateField\": \"published\"}`\nthe run returns its hits over time by publication date, without a page.\n\nDate math is evaluated when the search runs, so a saved search that mixes it with a\nfixed date can come to name an empty time frame (`\"from\": \"now-7d\"` with\n`\"to\": \"2026-10-01\"`, run in the middle of October). That run is refused with `400`,\nlike any search whose {key}`from` is not earlier than its {key}`to`, and {key}`errors` points at\n`/parameters/to`, as though the body had sent the saved parameters. To run it again,\nsave it with a {key}`from` and {key}`to` that cannot cross, or send both in {key}`parameters` with this\nrun.\n",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RunSearchRequest"
              },
              "examples": {
                "count": {
                  "summary": "Only counting: hits per day, no page",
                  "value": {
                    "parameters": {
                      "to": "now/d",
                      "pageSize": 0,
                      "histograms": {
                        "time": {}
                      }
                    }
                  }
                },
                "lastDay": {
                  "summary": "Only yesterday and today",
                  "value": {
                    "parameters": {
                      "from": "now-1d/d"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The first page of results.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchFirstPage"
                },
                "examples": {
                  "count": {
                    "summary": "Hits per day, no page",
                    "value": {
                      "histograms": {
                        "time": [
                          {
                            "from": "2026-09-02T00:00:00Z",
                            "hits": 5,
                            "to": "2026-09-03T00:00:00Z"
                          },
                          {
                            "from": "2026-09-03T00:00:00Z",
                            "hits": 8,
                            "to": "2026-09-04T00:00:00Z"
                          },
                          {
                            "from": "2026-09-04T00:00:00Z",
                            "hits": 5,
                            "to": "2026-09-05T00:00:00Z"
                          },
                          {
                            "from": "2026-09-05T00:00:00Z",
                            "hits": 1,
                            "to": "2026-09-06T00:00:00Z"
                          },
                          {
                            "from": "2026-09-06T00:00:00Z",
                            "hits": 7,
                            "to": "2026-09-07T00:00:00Z"
                          },
                          {
                            "from": "2026-09-07T00:00:00Z",
                            "hits": 3,
                            "to": "2026-09-08T00:00:00Z"
                          },
                          {
                            "from": "2026-09-08T00:00:00Z",
                            "hits": 3,
                            "to": "2026-09-09T00:00:00Z"
                          },
                          {
                            "from": "2026-09-09T00:00:00Z",
                            "hits": 7,
                            "to": "2026-09-10T00:00:00Z"
                          },
                          {
                            "from": "2026-09-10T00:00:00Z",
                            "hits": 4,
                            "to": "2026-09-11T00:00:00Z"
                          },
                          {
                            "from": "2026-09-11T00:00:00Z",
                            "hits": 0,
                            "to": "2026-09-12T00:00:00Z"
                          },
                          {
                            "from": "2026-09-12T00:00:00Z",
                            "hits": 0,
                            "to": "2026-09-13T00:00:00Z"
                          },
                          {
                            "from": "2026-09-13T00:00:00Z",
                            "hits": 0,
                            "to": "2026-09-14T00:00:00Z"
                          },
                          {
                            "from": "2026-09-14T00:00:00Z",
                            "hits": 0,
                            "to": "2026-09-15T00:00:00Z"
                          },
                          {
                            "from": "2026-09-15T00:00:00Z",
                            "hits": 7,
                            "to": "2026-09-16T00:00:00Z"
                          },
                          {
                            "from": "2026-09-16T00:00:00Z",
                            "hits": 6,
                            "to": "2026-09-17T00:00:00Z"
                          },
                          {
                            "from": "2026-09-17T00:00:00Z",
                            "hits": 7,
                            "to": "2026-09-18T00:00:00Z"
                          },
                          {
                            "from": "2026-09-18T00:00:00Z",
                            "hits": 6,
                            "to": "2026-09-19T00:00:00Z"
                          },
                          {
                            "from": "2026-09-19T00:00:00Z",
                            "hits": 4,
                            "to": "2026-09-20T00:00:00Z"
                          },
                          {
                            "from": "2026-09-20T00:00:00Z",
                            "hits": 3,
                            "to": "2026-09-21T00:00:00Z"
                          },
                          {
                            "from": "2026-09-21T00:00:00Z",
                            "hits": 2,
                            "to": "2026-09-22T00:00:00Z"
                          },
                          {
                            "from": "2026-09-22T00:00:00Z",
                            "hits": 3,
                            "to": "2026-09-23T00:00:00Z"
                          },
                          {
                            "from": "2026-09-23T00:00:00Z",
                            "hits": 4,
                            "to": "2026-09-24T00:00:00Z"
                          },
                          {
                            "from": "2026-09-24T00:00:00Z",
                            "hits": 1,
                            "to": "2026-09-25T00:00:00Z"
                          },
                          {
                            "from": "2026-09-25T00:00:00Z",
                            "hits": 2,
                            "to": "2026-09-26T00:00:00Z"
                          },
                          {
                            "from": "2026-09-26T00:00:00Z",
                            "hits": 6,
                            "to": "2026-09-27T00:00:00Z"
                          },
                          {
                            "from": "2026-09-27T00:00:00Z",
                            "hits": 17,
                            "to": "2026-09-28T00:00:00Z"
                          },
                          {
                            "from": "2026-09-28T00:00:00Z",
                            "hits": 3,
                            "to": "2026-09-29T00:00:00Z"
                          },
                          {
                            "from": "2026-09-29T00:00:00Z",
                            "hits": 5,
                            "to": "2026-09-30T00:00:00Z"
                          },
                          {
                            "from": "2026-09-30T00:00:00Z",
                            "hits": 2,
                            "to": "2026-10-01T00:00:00Z"
                          },
                          {
                            "from": "2026-10-01T00:00:00Z",
                            "hits": 2,
                            "to": "2026-10-02T00:00:00Z"
                          }
                        ]
                      },
                      "hits": 123,
                      "summaries": []
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/InvalidRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenScopeOrRange"
          },
          "404": {
            "$ref": "#/components/responses/SavedSearchNotFound"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "500": {
            "$ref": "#/components/responses/SavedSearchInvalid"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      },
      "delete": {
        "operationId": "deleteSavedSearch",
        "tags": [
          "Saved searches"
        ],
        "summary": "Delete a saved search",
        "responses": {
          "204": {
            "description": "Deleted."
          },
          "400": {
            "$ref": "#/components/responses/InvalidRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenScope"
          },
          "404": {
            "$ref": "#/components/responses/SavedSearchNotFound"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/validate_search": {
      "post": {
        "operationId": "validateSearch",
        "tags": [
          "Search"
        ],
        "summary": "Check a search without running it",
        "description": "Checks the body exactly as {op}`POST /v1/search` would, and answers with the search as it\nwould run: every default filled in, and {key}`from` and {key}`to` evaluated to instants, with\n{rcie}`now` the time the request arrives. Nothing is searched. A search that would be\nrefused is refused here in the same way (see *Checking before you send*).\n",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchParameters"
              },
              "examples": {
                "lastMonthBerlin": {
                  "summary": "Last month in Berlin, per day",
                  "value": {
                    "term": "低空经济 || \"low-altitude economy\"",
                    "strategy": "body",
                    "typeIn": [
                      "law/decree",
                      "regulation",
                      "notice/announcement",
                      "opinion/plan"
                    ],
                    "from": "now[Europe/Berlin]-M/M",
                    "to": "now[Europe/Berlin]/M",
                    "histograms": {
                      "time": {
                        "timeZone": "Europe/Berlin"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The search is valid, and this is how it would run now.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EffectiveSearchParameters"
                },
                "examples": {
                  "lastMonthBerlin": {
                    "summary": "Sent on 2026-10-03",
                    "value": {
                      "term": "低空经济 || \"low-altitude economy\"",
                      "strategy": "body",
                      "typeIn": [
                        "law/decree",
                        "regulation",
                        "notice/announcement",
                        "opinion/plan"
                      ],
                      "from": "2026-08-31T22:00:00Z",
                      "to": "2026-09-30T22:00:00Z",
                      "dateField": "date",
                      "pageSize": 10,
                      "histograms": {
                        "time": {
                          "timeZone": "Europe/Berlin"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/InvalidRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenRange"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/validate_saved_search/{scope}/{name}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/SavedSearchScope"
        },
        {
          "$ref": "#/components/parameters/SavedSearchName"
        }
      ],
      "post": {
        "operationId": "validateSavedSearch",
        "tags": [
          "Saved searches"
        ],
        "summary": "Check a save without saving",
        "description": "Checks the request exactly as {op}`PUT /v1/saved_searches/{scope}/{name}` would check the\nsame `scope`, `name` and body, and answers `204` if the save would be stored. Nothing\nis stored. A save that would be refused is refused here in the same way, including a\nscope that does not exist and a new name in a scope that is full (see *Checking before\nyou send*). How its parameters would run now is {op}`POST /v1/validate_search`'s answer.\n",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveSearchRequest"
              },
              "examples": {
                "lastMonthBerlin": {
                  "summary": "Last month in Berlin, per day, for yourself",
                  "value": {
                    "title": "Low-altitude economy, last month",
                    "description": "Laws, regulations, notices and plans on the low-altitude economy in the last calendar month\nin Berlin, per Berlin day. The monthly report starts from this one.",
                    "parameters": {
                      "term": "低空经济 || \"low-altitude economy\"",
                      "strategy": "body",
                      "typeIn": [
                        "law/decree",
                        "regulation",
                        "notice/announcement",
                        "opinion/plan"
                      ],
                      "from": "now[Europe/Berlin]-M/M",
                      "to": "now[Europe/Berlin]/M",
                      "histograms": {
                        "time": {
                          "timeZone": "Europe/Berlin"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "The save is valid, and would be stored."
          },
          "400": {
            "$ref": "#/components/responses/InvalidRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenScopeOrRange"
          },
          "404": {
            "$ref": "#/components/responses/ScopeNotFound"
          },
          "409": {
            "$ref": "#/components/responses/SavedSearchLimit"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/detail": {
      "post": {
        "operationId": "getDetails",
        "tags": [
          "Detail"
        ],
        "summary": "Full detail for up to 32 documents",
        "description": "Returns everything a reconnectchina.org document page shows, for up to 32 ids from\nsearch results: the full text, the tables and the attachments. The dates, the\nclassification, the document number and the source are the same as the summary's.\n\nIds the API does not know are listed under {key}`missing`, so a script can tell exactly\nwhich ids failed. An id is known from the moment search can return its document. A\ndocument that is no longer shown on the website is still returned here, with its\n{key}`lifecycle` saying so; an id you stored a year ago keeps working.\n\n**{key}`detail` is in no particular order.** Match entries to your request by {key}`id`.\n\nThere is no paging. Request documents in batches instead.\n",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DetailRequest"
              },
              "examples": {
                "two": {
                  "summary": "A sandbox document and a real one, so each server knows one of them",
                  "value": {
                    "ids": [
                      "00000000000000000000000d",
                      "6abe34baed91061889a19484"
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The documents found, and the ids that were not.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DetailResult"
                },
                "examples": {
                  "two": {
                    "summary": "On the sandbox: the sandbox document, and the real one missing",
                    "value": {
                      "detail": [
                        {
                          "attribution": "ReConnect China Database, University of Vienna — https://reconnectchina.org/items/00000000000000000000000d/test-item-13",
                          "category": "政策文件",
                          "date": "2026-10-01T08:34:33.937Z",
                          "dateKind": "published",
                          "dates": {
                            "added": "2026-10-01T20:11:33.937Z",
                            "implemented": "2026-09-21T03:02:33.937Z",
                            "issued": "2026-09-18T18:16:33.937Z",
                            "published": "2026-10-01T08:34:33.937Z"
                          },
                          "department": "玉龙纳西族自治县商务局",
                          "documentNumber": "玉商规〔2026〕904号",
                          "en": {
                            "title": "Yulong Naxi Autonomous County Administrative Measures for Prepaid Card Consumption (Trial) [TEST 测试数据]",
                            "summary": "【测试数据 — 非真实内容】本条目为 ReConnect China API 沙盒虚构的测试数据，并非真实的政府文件或新闻。 [TEST DATA — NOT REAL] This item was invented for the ReConnect China API sandbox. It is not a real government document or news report, and nothing in it should be cited or relied upon. Yulong Naxi Autonomous County enacted trial measures to regulate prepaid cards across local retail and tourism businesses. Effective immediately, operators must register with commercial departments and maintain transparent conditions."
                          },
                          "id": "00000000000000000000000d",
                          "issuer": "云南省",
                          "keywords": [
                            "预付卡",
                            "消费监管"
                          ],
                          "level": "cities",
                          "lifecycle": {
                            "state": "live"
                          },
                          "rc": "https://reconnectchina.org/items/00000000000000000000000d/test-item-13",
                          "topic": "commerce",
                          "type": "regulation",
                          "zh": {
                            "body": [
                              "【测试数据 — 非真实内容】本条目为 ReConnect China API 沙盒虚构的测试数据，并非真实的政府文件或新闻。 [TEST DATA — NOT REAL] This item was invented for the ReConnect China API sandbox. It is not a real government document or news report, and nothing in it should be cited or relied upon.",
                              "第一条 为规范预付卡经营行为，保障消费者合法权益，促进商业零售与文旅消费健康发展，自即日起施行本办法。",
                              "第二条 本办法适用于本县行政区域内从事零售、餐饮、文化体验及旅游服务等行业发售预付卡的经营者。",
                              "第三条 发卡经营者须在发卡前向县商务主管部门办理备案，设立资金风险防范机制，并在展销集市与交易活动中如实公示服务条款。"
                            ],
                            "headline": [
                              "玉龙纳西族自治县预付卡消费监督管理办法（试行） [TEST 测试数据]"
                            ]
                          }
                        }
                      ],
                      "missing": [
                        "6abe34baed91061889a19484"
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/InvalidRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/related_documents": {
      "post": {
        "operationId": "getRelatedDocuments",
        "x-stability": "experimental",
        "tags": [
          "Detail"
        ],
        "summary": "Documents related to a document",
        "description": "Summaries of the documents related to the one {key}`id` names, for a list beside that\ndocument. Which documents count as related, and their order, are ours to decide and may\nchange. The most closely related come first.\n\n**Only what a search could find.** The documents listed are `live`, and their {key}`date`\nlies in the range your organization's agreement allows. {key}`outOfRange` says how many\nrelated documents were left out for their date. Fields the agreement leaves out are\nnamed in {key}`hidden`, as in search results.\n\nThe document {key}`id` names has to be known, and its own {key}`date` in that range too: an id the\nAPI does not know is answered with `404` and the type {problem}`document-not-found`, and a\ndocument outside the range with `403` and the type {problem}`range-not-entitled`, its\n{key}`errors` entry at {key}`id`. An archived document has related documents like a `live` one.\n\nThere is no paging: the answer holds the first {key}`pageSize` related documents, up to 100.\n\n**An answer can be kept** for as long as `Cache-Control` says, and shown again without\nasking.\n",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RelatedDocumentsRequest"
              },
              "examples": {
                "attachments": {
                  "summary": "A notice whose page links to the guides attached to it",
                  "value": {
                    "id": "6631030d54446636a5147a41"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The related documents.",
            "headers": {
              "Cache-Control": {
                "$ref": "#/components/headers/Cache-Control-Max-Age"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelatedDocuments"
                },
                "examples": {
                  "attachments": {
                    "summary": "Two of the documents of the answer, which holds nine",
                    "value": {
                      "outOfRange": 0,
                      "summaries": [
                        {
                          "attribution": "ReConnect China Database, University of Vienna — https://reconnectchina.org/items/6851d806cd9db96a0e21d569/energy-conservation-diagnostic-service-guidelines-for-the-petrochemical",
                          "date": "2023-10-28T16:00:00Z",
                          "dateKind": "published",
                          "dates": {
                            "added": "2025-06-17T21:02:56.782Z",
                            "issued": "2023-09-30T16:00:00Z",
                            "published": "2023-10-28T16:00:00Z"
                          },
                          "en": {
                            "summary": "The document is the *Petroleum and Chemical Industry Energy Conservation Diagnosis Service Guide*, issued by the China Petrochemical and Chemical Industry Federation in October 2023. It sets out principles, methods, procedures, content, and energy-saving potential analysis for energy conservation diagnosis services in the petrochemical and chemical industry.\n\n**Principles:** authenticity, scientific rigor, and feasibility.\n\n**Methods:** on-site diagnosis, energy balance analysis, and three approaches—standard comparison, analogy analysis, and expert judgment.\n\n**Procedures:** three stages—preparation, implementation, and report compilation. The preparation stage defines the scope, depth, and statistical period (generally the previous natural year), forms a team (at least one enterprise staff member), and sets the basis. The implementation stage covers energy utilization, energy efficiency, and energy management diagnosis, including energy loss and waste heat recovery, energy balance, unit product and process energy consumption, key equipment efficiency, and energy management systems. The report stage summarizes results, analyzes energy-saving potential, and proposes retrofit recommendations.\n\n**Content:** the guide also lists key energy-saving technologies recommended by the Ministry of Industry and Information Technology's national energy-saving and low-carbon technology promotion catalog, and includes a sample report format and a list of key energy-saving technologies.",
                            "title": "09- Energy Conservation Diagnosis Service Guide for the Petrochemical and Chemical Industry"
                          },
                          "id": "6851d806cd9db96a0e21d569",
                          "issuer": "中华人民共和国中央人民政府",
                          "level": "centre",
                          "rc": "https://reconnectchina.org/items/6851d806cd9db96a0e21d569/energy-conservation-diagnostic-service-guidelines-for-the-petrochemical",
                          "source": "https://www.gov.cn/zhengce/zhengceku/202310/P020231029487700279223.pdf",
                          "topic": "energy",
                          "type": "other",
                          "zh": {
                            "headline": [
                              "09-石化化工行业节能诊断服务指南"
                            ],
                            "teaser": "石化化工行业节能诊断服务指南 中国石油和化学工业联合会 2023 年 10 月 前 言 能源的有效利用关乎我国经济可持续发展，影响到企业未来的生 存前景。全球能源的紧缺、国家节能减排的大形势迫使各个企业重视 能源管理，降低能耗，提高能效。节能技术进步，是企业实现节能减 排的重要的途径。节能工作综合性强，涉及范围广、环…"
                          }
                        },
                        {
                          "attribution": "ReConnect China Database, University of Vienna — https://reconnectchina.org/items/6851d757cd9db96a0e21bccc/guidelines-for-energy-saving-diagnosis-services-in-the-pharmaceutical",
                          "date": "2023-10-28T16:00:00Z",
                          "dateKind": "published",
                          "dates": {
                            "added": "2026-02-19T06:33:49.446Z",
                            "issued": "2023-09-30T16:00:00Z",
                            "published": "2023-10-28T16:00:00Z"
                          },
                          "en": {
                            "title": "Guidelines for Energy-saving Diagnosis Services in the Pharmaceutical Industry"
                          },
                          "id": "6851d757cd9db96a0e21bccc",
                          "issuer": "中华人民共和国中央人民政府",
                          "level": "centre",
                          "rc": "https://reconnectchina.org/items/6851d757cd9db96a0e21bccc/guidelines-for-energy-saving-diagnosis-services-in-the-pharmaceutical",
                          "source": "https://www.gov.cn/zhengce/zhengceku/202310/P020231029487700759636.pdf",
                          "topic": "energy",
                          "type": "other",
                          "zh": {
                            "headline": [
                              "12-医药行业节能诊断服务指南"
                            ],
                            "teaser": "医药行业节能诊断服务指南 （2023 版） 2023 年 10 月 一、编制目的及适用范围 （一）背景和目的 医药工业是关系国计民生、经济发展和国家安全的战 略性产业，是健康中国建设的重要基础。“十三五”期间，我 国医药工业快速发展，在规模效益、技术创新、质量升级、 国际化等方面都取得了突出成绩。节能减排和绿色发展是…"
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/InvalidRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/ForbiddenDocumentRange"
          },
          "404": {
            "$ref": "#/components/responses/DocumentNotFound"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/recent_documents": {
      "get": {
        "operationId": "getRecentDocuments",
        "x-stability": "experimental",
        "tags": [
          "Search"
        ],
        "summary": "Recent documents on every topic",
        "description": "Recent documents on each topic, up to 25 per topic. Which documents are chosen is ours\nto decide and may change.\n\n**This is not a search.** The lists are prepared ahead of time and refreshed every few\nminutes, so the answer is as of {key}`asOf` and stays the same until {key}`freshUntil`, while a\nsearch with {key}`topicIn` sees documents as soon as they come in. There is no term, no\ndate range and no paging: the answer is all there is.\n\n**One list, in a complete order:** newest first by {key}`date`, and documents with the same\n{key}`date` by {key}`id`, ascending. A document has one topic, so keeping the documents of the\ntopics you want, in the order given, is the list for those topics alone, in the same\norder. Further down it, a topic whose documents have run out is missing, while the\nothers go on.\n\n**Ask again with the `ETag` you hold**, as `If-None-Match`. While the documents are\nstill the same ones, in the same order, the answer is `304` without a body: keep what\nyou have. `Cache-Control` says how long the answer stays fresh.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Recent documents on every topic.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/Cache-Control"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecentDocuments"
                },
                "examples": {
                  "newest": {
                    "summary": "Two of the documents of an answer, which holds up to 25 per topic",
                    "value": {
                      "asOf": "2026-10-04T08:03:56.075Z",
                      "freshUntil": "2026-10-04T08:18:56.075Z",
                      "summaries": [
                        {
                          "attribution": "ReConnect China Database, University of Vienna — https://reconnectchina.org/items/6ab4eee6a3bb71226f37908c/jian-du-fa-zi-2026-no-174",
                          "date": "2026-09-13T16:00:00Z",
                          "dateKind": "published",
                          "dates": {
                            "added": "2026-09-24T09:35:34.197Z",
                            "issued": "2026-09-13T16:00:00Z",
                            "published": "2026-09-13T16:00:00Z"
                          },
                          "documentNumber": "建督罚字〔2026〕174号",
                          "en": {
                            "summary": "The document is a decision notice from the Ministry of Housing and Urban-Rural Development, dated September 14, 2026, addressed to Kaisang Construction Group Co., Ltd. It announces that, after verification, the company's application for Grade I highway engineering general contracting qualification was found to use 25 representative project performance entries, including the \"G237 (S203 Huailiu Road) Phase II Project Roadbed Project,\" which are untrue. The company is alleged to have submitted false materials and applied for the qualification through deceptive means.\n\nAccording to the notice, the Ministry issued a Penalty Notice (Jian Du Fa Gao Zi [2025] No. 84) and served it by public announcement; the company did not file a statement or defense within the prescribed period. Under Article 78 of the Administrative Licensing Law of the People's Republic of China and Article 35 of the Provisions on the Administration of Qualifications of Construction Enterprises, the Ministry has decided to issue a warning to the company and prohibit it from reapplying for the same administrative license for one year.\n\nThe company may apply for administrative reconsideration within 60 days of receiving the decision or file an administrative lawsuit with the People's Court within six months. The notice is marked for proactive disclosure and is copied to the Provincial Department of Housing and Urban-Rural Development of Sichuan Province.",
                            "title": "Jian Du Fa Zi [2026] No. 174"
                          },
                          "id": "6ab4eee6a3bb71226f37908c",
                          "issuer": "住房和城乡建设部",
                          "level": "centre",
                          "rc": "https://reconnectchina.org/items/6ab4eee6a3bb71226f37908c/jian-du-fa-zi-2026-no-174",
                          "source": "https://www.mohurd.gov.cn/gongkai/zc/wjk/art/2026/art_6a7431a8f45a4c0095e7dd53abf5006d.html",
                          "topic": "other",
                          "type": "notice/announcement",
                          "zh": {
                            "headline": [
                              "建督罚字〔2026〕174号"
                            ],
                            "teaser": "开尚建工集团有限公司： 经核查，你单位申请公路工程施工总承包一级资质所使用的代表工程业绩“G237（S203淮六路）二期工程路基工程”等25项业绩不属实（详见附件），存在利用虚假材料，以欺骗手段申报相关资质的行为。 我部依法作出《住房和城乡建设部行政处罚意见告知书》（建督罚告字〔2025〕84号），经公告送达后，你单…"
                          }
                        },
                        {
                          "attribution": "ReConnect China Database, University of Vienna — https://reconnectchina.org/items/6aaa94449220a9eac4c9639f/measures-of-jiangsu-province-for-the-promotion-of-agricultural-machinery-provincial-government",
                          "date": "2026-09-06T16:00:00Z",
                          "dateKind": "published",
                          "dates": {
                            "added": "2026-09-16T13:06:12.258Z",
                            "implemented": "2026-10-31T16:00:00Z",
                            "published": "2026-09-06T16:00:00Z"
                          },
                          "documentNumber": "省政府令第193号",
                          "en": {
                            "summary": "The document is Order No. 193 of the People's Government of Jiangsu Province, issued by Governor Liu Xiaotao on September 7, 2026, promulgating the Jiangsu Province Agricultural Machinery Promotion Measures, adopted at the 95th executive meeting of the provincial government on September 2, 2026, effective November 1, 2026, repealing the 2002 version (Order No. 200).\n\nThe Measures establish a promotion system combining agricultural machinery technology promotion institutions with research units, schools, regional agricultural comprehensive service centers, cooperatives, family farms, enterprises, and other entities. They require agricultural machinery products to be proven suitable, safe, and reliable through testing, and mandate that local governments provide subsidies for farmers and agricultural producers purchasing government-supported advanced machinery, with a dynamic adjustment mechanism for the subsidy catalog.\n\nThe Measures also promote integration of machinery with agricultural technology, intelligent machinery, and IT applications (IoT, big data, blockchain, AI), and require financial institutions to offer relevant products and insurance. They prohibit forced purchase of designated machinery and mandate quality supervision by the Market Supervision and Administration Department. Violations are penalized under existing laws, with specific penalties for fraud, false advertising, and misappropriation of subsidy funds.",
                            "title": "Measures of Jiangsu Province for the Promotion of Agricultural Machinery (Provincial Government Order No. 193)"
                          },
                          "id": "6aaa94449220a9eac4c9639f",
                          "issuer": "江苏省",
                          "level": "provinces",
                          "rc": "https://reconnectchina.org/items/6aaa94449220a9eac4c9639f/measures-of-jiangsu-province-for-the-promotion-of-agricultural-machinery-provincial-government",
                          "source": "http://www.jiangsu.gov.cn/art/2026/9/16/art_46143_11830648.html",
                          "topic": "agriculture",
                          "type": "regulation",
                          "zh": {
                            "headline": [
                              "《江苏省农业机械推广办法》（省政府令第193号）"
                            ],
                            "teaser": "江苏省人民政府令 第 193 号 《江苏省农业机械推广办法》已于2026年9月2日经省人民政府第95次常务会议讨论通过，现予发布，自2026年11月1日起施行。 省长：刘小涛 2026年9月7日 江苏省农业机械推广办法 第一条 为了加强农业机械推广工作，鼓励和支持使用先进适用、安全可靠、绿色高效的农业机械，推进农业机…"
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/NotModified"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/estimated_document_count": {
      "get": {
        "operationId": "getEstimatedDocumentCount",
        "x-stability": "experimental",
        "tags": [
          "Search"
        ],
        "summary": "About how many documents we hold",
        "description": "An estimate of how many documents we hold, for showing the size of the collection as\nit grows. It is cheap to ask for, and only roughly right.\n\n**It is not what you can search.** It counts documents that are not yet searchable, and\nsome that never will be, so no search reaches this number, and nothing should be\ncalculated from it. It moves between answers, and not only upwards.\n\n**Ask again with the `ETag` you hold**, as `If-None-Match`, and no sooner than\n`Cache-Control` allows: the answer is `304` without a body while the estimate has not\nchanged.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "The estimate.",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "Cache-Control": {
                "$ref": "#/components/headers/Cache-Control"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstimatedDocumentCount"
                },
                "examples": {
                  "estimate": {
                    "summary": "An estimate, kept for ten seconds",
                    "value": {
                      "asOf": "2026-10-04T10:50:09.907Z",
                      "estimatedDocuments": 9184503,
                      "freshUntil": "2026-10-04T10:50:19.907Z"
                    }
                  }
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/NotModified"
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/me": {
      "get": {
        "operationId": "getMe",
        "tags": [
          "Account"
        ],
        "summary": "What you may do here",
        "description": "Your organization, and what its agreement allows you on this server: its tier, how far\nback and ahead a search may reach, how deep it may be paged, and when access ends. Not\nwho you are: your name and email are in your login, and the API does not repeat them.\n\nIt is answered like every other operation. An account under review gets\n{problem}`no-organization`. On `api.reconnectchina.org`, an organization with sandbox access only\ngets {problem}`tier-served-elsewhere`, and asks the sandbox.\n",
        "responses": {
          "200": {
            "description": "Your organization and its agreement.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Me"
                },
                "examples": {
                  "partner": {
                    "summary": "A partner, on `api.reconnectchina.org`",
                    "value": {
                      "organization": {
                        "name": "Example China Research Institute"
                      },
                      "agreement": {
                        "tier": "partner",
                        "earliestFrom": "1900-01-01",
                        "latestTo": "3000-01-01",
                        "depth": 100000,
                        "until": "2027-12-31T23:00:00Z"
                      }
                    }
                  },
                  "sandbox": {
                    "summary": "An organization with sandbox access only, on the sandbox",
                    "value": {
                      "organization": {
                        "name": "Example Reading Group"
                      },
                      "agreement": {
                        "tier": "sandbox",
                        "earliestFrom": "now-1y",
                        "latestTo": "3000-01-01",
                        "depth": 10000
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/personal_data": {
      "get": {
        "operationId": "getPersonalData",
        "x-stability": "experimental",
        "tags": [
          "Account"
        ],
        "summary": "Everything this server holds about you",
        "description": "Everything the server that answers holds about your account, in one answer: your own\nsaved searches, a record of each request you made, and the documents you were shown.\nNot your name, email or organization's agreement: those are in your login, and\n{op}`GET /v1/me`.\n\n**Only through your account page.** It is answered when ReConnect China's page for your\naccount asks it for you, and to nobody else: sent with your own token, it is refused with\n`403` and the type {problem}`not-entitled`, whatever your organization's agreement.\n\n**One server's records.** `api.reconnectchina.org` and the sandbox each keep their own,\nso each answers for its own.\n\n**How long they are kept.** A request's record is deleted 183 days after the request,\nand a shown document's entry 183 days after it was last shown to you. The deletion runs\nin the background, so an entry can outlive that by a little. Your saved searches stay\nuntil you delete them, or your account is deleted ({op}`POST /v1/erase_account_data`); on\nthe sandbox, until a short time after they were last saved. How many requests you have\nmade lately is counted too, for the limits, and each count is gone within minutes; it is\nnot listed.\n\nThe answer can be large: everything is in it, and nothing is paged.\n",
        "responses": {
          "200": {
            "description": "What this server holds about you.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PersonalData"
                },
                "examples": {
                  "personalData": {
                    "summary": "An account with one saved search, after a search and a detail",
                    "value": {
                      "account": {
                        "id": "0d6f1c3e-8a52-4b1e-9f3a-5c2e7b9d4a61"
                      },
                      "savedSearches": [
                        {
                          "scope": "account",
                          "name": "semiconductors",
                          "title": "Semiconductors, last 30 days",
                          "changedAt": "2026-10-12T08:14:03.512Z",
                          "parameters": {
                            "term": "半导体 OR semiconductor",
                            "from": "now-30d"
                          }
                        }
                      ],
                      "requests": [
                        {
                          "at": "2026-10-14T09:02:41.087Z",
                          "operation": "getDetails",
                          "organization": {
                            "id": "3c9a4f0e-2b7d-4e15-8c63-9a1f5d2e7b40",
                            "name": "Example China Research Institute"
                          },
                          "tier": "partner",
                          "session": "7f2e9b41-0c5a-4d8e-b316-2a9c4e7f1d05",
                          "address": "192.0.2.17",
                          "status": 200,
                          "parameters": {
                            "requested": 1,
                            "found": 1
                          }
                        },
                        {
                          "at": "2026-10-14T09:02:30.410Z",
                          "operation": "search",
                          "organization": {
                            "id": "3c9a4f0e-2b7d-4e15-8c63-9a1f5d2e7b40",
                            "name": "Example China Research Institute"
                          },
                          "tier": "partner",
                          "session": "7f2e9b41-0c5a-4d8e-b316-2a9c4e7f1d05",
                          "address": "192.0.2.17",
                          "status": 200,
                          "parameters": {
                            "search": "6a0d1f2e3c4b5a6978877665",
                            "term": "半导体 OR semiconductor",
                            "dateField": "date",
                            "window": [
                              "2026-09-14T09:02:30.410Z",
                              "2026-10-14T09:02:30.410Z"
                            ],
                            "from": "now-30d",
                            "pageSize": 25,
                            "offset": 0,
                            "hits": 1
                          }
                        }
                      ],
                      "shownDocuments": [
                        {
                          "id": "6ab8282aed91061889a10ace",
                          "firstShown": "2026-10-14T09:02:30.410Z",
                          "lastShown": "2026-10-14T09:02:41.087Z"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    },
    "/v1/erase_account_data": {
      "post": {
        "operationId": "eraseAccountData",
        "x-stability": "experimental",
        "tags": [
          "Account"
        ],
        "summary": "Delete what this server holds for your account",
        "description": "Deletes, on the server that answers, your saved searches in the scope `account`. Those\nin `organization` are your organization's, record no author, and stay. Asking again\ndeletes nothing more, and answers {json}`0`.\n\nWhat stays: the records of your requests and the documents you were shown, until they\nare deleted as {op}`GET /v1/personal_data` says, at most 183 days on. This request is\nrecorded too.\n\n**Only through your account page**, as {op}`GET /v1/personal_data` is: deleting your\naccount there asks every server of the API. Sent with your own token, it is refused\nwith `403` and the type {problem}`not-entitled`.\n",
        "responses": {
          "200": {
            "description": "Deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErasedAccountData"
                },
                "examples": {
                  "erased": {
                    "summary": "Two saved searches deleted",
                    "value": {
                      "deletedSavedSearches": 2
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthenticated"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "431": {
            "$ref": "#/components/responses/HeadersTooLarge"
          },
          "503": {
            "$ref": "#/components/responses/Unavailable"
          },
          "default": {
            "$ref": "#/components/responses/Problem"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "An access token issued by the reconnectchina.org login to the `reconnectchina-api`\nclient. Every server above takes the login at its own `/oauth` paths, and those are the\nendpoints to use: they stay where they are, whatever serves the login behind them.\n\n- `POST /oauth/device`: the device authorization endpoint\n  ([RFC 8628](https://www.rfc-editor.org/rfc/rfc8628), section 3.1).\n- `POST /oauth/token`: the token endpoint, for the device code grant\n  (`urn:ietf:params:oauth:grant-type:device_code`, RFC 8628, section 3.4) and the\n  refresh token grant ([RFC 6749](https://www.rfc-editor.org/rfc/rfc6749), section 6).\n- `POST /oauth/revoke`: token revocation\n  ([RFC 7009](https://www.rfc-editor.org/rfc/rfc7009)), to log out.\n\nEach takes `client_id=reconnectchina-api` in a form-encoded body\n(`application/x-www-form-urlencoded`), and answers as OAuth does, with OAuth's error\nresponses rather than problem documents. Nothing else under `/oauth` is served. The\nlogin is the same on every server.\n\nA script obtains a token without handling a password:\n\n1. It posts to `/oauth/device`, requesting the `offline_access` scope, and prints the\n   link and the code it is given.\n2. The researcher opens the link, logs in with their reconnectchina.org account and\n   confirms.\n3. The script polls `/oauth/token` with the device code until it receives an\n   **offline token**, and stores it. From then on it exchanges the offline token for\n   access tokens at `/oauth/token` by itself, and sends only the access token.\n\nAccess tokens are valid for five minutes, so a long-running script refreshes them as\nit goes. An offline token that goes unused for too long expires, and the researcher\nthen logs in again. It can be revoked at any time under *Applications* in the\nreconnectchina.org account console, or by the script, at `/oauth/revoke`.\n\nThe Python client `reconnectchina` and the Node client `@reconnectchina/client` do all\nof this for you.\n"
      }
    },
    "parameters": {
      "IfNoneMatch": {
        "name": "If-None-Match",
        "in": "header",
        "required": false,
        "description": "The `ETag` of the answer you hold. While it is still current, the answer is `304`\nwithout a body.\n",
        "schema": {
          "type": "string",
          "minLength": 1
        }
      },
      "SavedSearchScope": {
        "name": "scope",
        "in": "path",
        "required": true,
        "description": "The scope the saved search lives in: `account` for your own, `organization` for one\nshared in your organization (see *Saved searches and scopes*).\n",
        "schema": {
          "$ref": "#/components/schemas/ScopeId"
        }
      },
      "SavedSearchName": {
        "name": "name",
        "in": "path",
        "required": true,
        "description": "The saved search's name: 1 to 64 letters, digits, `_` and `-`, in any script, so\n`sector1` and `半导体` are both valid. Names are case-sensitive, and are compared after\nUnicode NFC normalization. As a URL path segment, non-ASCII characters are\npercent-encoded, as any HTTP client does for you.\n",
        "schema": {
          "$ref": "#/components/schemas/SavedSearchName"
        }
      }
    },
    "responses": {
      "InvalidRequest": {
        "x-problem-types": [
          "invalid-request"
        ],
        "description": "The request is not valid ({problem}`invalid-request`): a path that cannot be read, a body that\nis not JSON or does not match the schema, an unknown field, a {key}`from` or {key}`to` that is\nnot a valid instant expression (an unknown time zone, or a time of day the zone skips,\nincluded), a {key}`from` that is not earlier than {key}`to`, a {key}`term` that does not parse or is\nlonger than your organization's agreement allows, an unknown issuer, a scope in the\nbody that does not exist, or a saved search's name that breaks the naming rule.\n{key}`errors` names each offending part: a {key}`pointer` into the body (for the run of a saved\nsearch, into {key}`parameters` as it ran), or the {key}`parameter` of the path (see\n[problem types](https://api.reconnectchina.org/docs/v1/problems)).\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "invalid": {
                "$ref": "#/components/examples/InvalidRequest"
              },
              "invalidName": {
                "$ref": "#/components/examples/InvalidSavedSearchName"
              },
              "invalidTerm": {
                "$ref": "#/components/examples/InvalidTerm"
              },
              "invalidInstant": {
                "$ref": "#/components/examples/InvalidInstant"
              }
            }
          }
        }
      },
      "InvalidContinuation": {
        "x-problem-types": [
          "invalid-request",
          "invalid-continuation"
        ],
        "description": "The request is not valid: a body that is not JSON or does not match the schema\n({problem}`invalid-request`, with {key}`errors` pointing at each offending part), or a {key}`next` token\nthat is malformed or was issued to another account or organization\n({problem}`invalid-continuation`).\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "invalid": {
                "summary": "A `next` that was changed",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/invalid-continuation",
                  "title": "Invalid continuation",
                  "status": 400,
                  "detail": "`next` is not a token this server issued to you, or it was changed. Send it back unchanged, from the account that ran the search."
                }
              }
            }
          }
        }
      },
      "Unauthenticated": {
        "x-problem-types": [
          "unauthenticated"
        ],
        "description": "No access token, or one that is invalid or has expired ({problem}`unauthenticated`). Refresh\nthe access token and try again.\n",
        "headers": {
          "WWW-Authenticate": {
            "description": "`Bearer`, as [RFC 6750](https://www.rfc-editor.org/rfc/rfc6750) specifies.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        },
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "noToken": {
                "summary": "No access token",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/unauthenticated",
                  "title": "Unauthenticated",
                  "status": 401,
                  "detail": "The request carries no access token."
                }
              }
            }
          }
        }
      },
      "Forbidden": {
        "x-problem-types": [
          "no-organization",
          "multiple-organizations",
          "organization-not-registered",
          "not-entitled",
          "access-ended",
          "tier-served-elsewhere",
          "suspended"
        ],
        "description": "The account may not do this. {key}`type` says why: the account belongs to no organization\nbecause its application is still under review ({problem}`no-organization`) or it belongs to\nmore than one ({problem}`multiple-organizations`), the organization has no access to the API\n({problem}`organization-not-registered`) or not to this operation ({problem}`not-entitled`), the\norganization's access has ended ({problem}`access-ended`), the organization's access is to\nanother server of the API ({problem}`tier-served-elsewhere`, with that server's URL in\n{key}`server`), or access has been suspended ({problem}`suspended`, see *Errors and retrying*).\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "elsewhere": {
                "$ref": "#/components/examples/TierServedElsewhere"
              },
              "noOrganization": {
                "$ref": "#/components/examples/NoOrganization"
              }
            }
          }
        }
      },
      "ForbiddenRange": {
        "x-problem-types": [
          "no-organization",
          "multiple-organizations",
          "organization-not-registered",
          "not-entitled",
          "access-ended",
          "tier-served-elsewhere",
          "range-not-entitled",
          "suspended"
        ],
        "description": "The account may not do this. {key}`type` says why: a refusal every operation can meet\n({problem}`no-organization`, {problem}`multiple-organizations`, {problem}`organization-not-registered`,\n{problem}`not-entitled`, {problem}`access-ended`, {problem}`tier-served-elsewhere` or {problem}`suspended`, see *Problem\ntypes*), or the search reaches further than the organization's agreement allows\n({problem}`range-not-entitled`, with the earliest allowed {key}`from` in {key}`earliestFrom`, the latest\nallowed {key}`to` in {key}`latestTo`, and an {key}`errors` entry pointing at each end at fault).\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "range": {
                "$ref": "#/components/examples/RangeNotEntitled"
              },
              "rangeBothEnds": {
                "$ref": "#/components/examples/RangeNotEntitledBothEnds"
              },
              "elsewhere": {
                "$ref": "#/components/examples/TierServedElsewhere"
              },
              "noOrganization": {
                "$ref": "#/components/examples/NoOrganization"
              }
            }
          }
        }
      },
      "ForbiddenDocumentRange": {
        "x-problem-types": [
          "no-organization",
          "multiple-organizations",
          "organization-not-registered",
          "not-entitled",
          "access-ended",
          "tier-served-elsewhere",
          "range-not-entitled",
          "suspended"
        ],
        "description": "The account may not do this. {key}`type` says why: a refusal every operation can meet\n({problem}`no-organization`, {problem}`multiple-organizations`, {problem}`organization-not-registered`,\n{problem}`not-entitled`, {problem}`access-ended`, {problem}`tier-served-elsewhere` or {problem}`suspended`, see *Problem\ntypes*), or the document's {key}`date` lies outside the range the organization's agreement\nallows ({problem}`range-not-entitled`, with the range in {key}`earliestFrom` and {key}`latestTo`, and one\n{key}`errors` entry, its {key}`pointer` at {key}`id`).\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "range": {
                "$ref": "#/components/examples/RangeNotEntitledDocument"
              },
              "elsewhere": {
                "$ref": "#/components/examples/TierServedElsewhere"
              },
              "noOrganization": {
                "$ref": "#/components/examples/NoOrganization"
              }
            }
          }
        }
      },
      "ForbiddenScope": {
        "x-problem-types": [
          "no-organization",
          "multiple-organizations",
          "organization-not-registered",
          "not-entitled",
          "access-ended",
          "tier-served-elsewhere",
          "scope-not-entitled",
          "suspended"
        ],
        "description": "The account may not do this. {key}`type` says why: a refusal every operation can meet\n({problem}`no-organization`, {problem}`multiple-organizations`, {problem}`organization-not-registered`,\n{problem}`not-entitled`, {problem}`access-ended`, {problem}`tier-served-elsewhere` or {problem}`suspended`, see *Problem\ntypes*), or the organization's agreement, or this server, does not include the scope\n({problem}`scope-not-entitled`).\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "scopeNotEntitled": {
                "$ref": "#/components/examples/ScopeNotEntitled"
              },
              "elsewhere": {
                "$ref": "#/components/examples/TierServedElsewhere"
              },
              "noOrganization": {
                "$ref": "#/components/examples/NoOrganization"
              }
            }
          }
        }
      },
      "ForbiddenScopeOrRange": {
        "x-problem-types": [
          "no-organization",
          "multiple-organizations",
          "organization-not-registered",
          "not-entitled",
          "access-ended",
          "tier-served-elsewhere",
          "range-not-entitled",
          "scope-not-entitled",
          "suspended"
        ],
        "description": "The account may not do this. {key}`type` says why: a refusal every operation can meet\n({problem}`no-organization`, {problem}`multiple-organizations`, {problem}`organization-not-registered`,\n{problem}`not-entitled`, {problem}`access-ended`, {problem}`tier-served-elsewhere` or {problem}`suspended`, see *Problem\ntypes*), the search reaches further than the organization's agreement allows\n({problem}`range-not-entitled`, with the earliest allowed {key}`from` in {key}`earliestFrom`, the latest\nallowed {key}`to` in {key}`latestTo`, and an {key}`errors` entry pointing at each end at fault), or\nthe organization's agreement, or this server, does not include the scope\n({problem}`scope-not-entitled`).\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "range": {
                "$ref": "#/components/examples/RangeNotEntitled"
              },
              "rangeBothEnds": {
                "$ref": "#/components/examples/RangeNotEntitledBothEnds"
              },
              "scopeNotEntitled": {
                "$ref": "#/components/examples/ScopeNotEntitled"
              },
              "elsewhere": {
                "$ref": "#/components/examples/TierServedElsewhere"
              },
              "noOrganization": {
                "$ref": "#/components/examples/NoOrganization"
              }
            }
          }
        }
      },
      "SavedSearchNotFound": {
        "x-problem-types": [
          "saved-search-not-found",
          "scope-not-found"
        ],
        "description": "There is no saved search of that name in that scope ({problem}`saved-search-not-found`), or the\nscope in the path is not one you can use ({problem}`scope-not-found`).\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "notFound": {
                "summary": "No saved search of that name",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/saved-search-not-found",
                  "title": "Saved search not found",
                  "status": 404,
                  "detail": "There is no saved search called \"sector1\" in the scope \"account\"."
                }
              }
            }
          }
        }
      },
      "ScopeNotFound": {
        "x-problem-types": [
          "scope-not-found"
        ],
        "description": "The scope in the path is not one you can use ({problem}`scope-not-found`).",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "notFound": {
                "summary": "A scope that does not exist",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/scope-not-found",
                  "title": "Scope not found",
                  "status": 404,
                  "detail": "There is no scope called \"team\"."
                }
              }
            }
          }
        }
      },
      "DocumentNotFound": {
        "x-problem-types": [
          "document-not-found"
        ],
        "description": "The API does not know the document the request names ({problem}`document-not-found`).",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "notFound": {
                "summary": "An id the API does not know",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/document-not-found",
                  "title": "Document not found",
                  "status": 404,
                  "detail": "There is no document with the id \"6ab99bd6ed91061889a1351f\"."
                }
              }
            }
          }
        }
      },
      "SavedSearchLimit": {
        "x-problem-types": [
          "saved-search-limit"
        ],
        "description": "The scope holds as many saved searches as it may ({problem}`saved-search-limit`). Delete one\nthere, or save under a name it already holds, to make room.\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "full": {
                "summary": "As many saved searches as allowed",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/saved-search-limit",
                  "title": "Saved-search limit",
                  "status": 409,
                  "detail": "The scope \"account\" holds 500 saved searches, as many as it may. Delete one there, or save under a name it already holds, to make room."
                }
              }
            }
          }
        }
      },
      "ContinuationExpired": {
        "x-problem-types": [
          "continuation-expired"
        ],
        "description": "The {key}`next` token has expired ({problem}`continuation-expired`). Start again from the first\nrequest: run the search, or list the saved searches, again.\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "expired": {
                "summary": "An expired `next`",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/continuation-expired",
                  "title": "Continuation expired",
                  "status": 410,
                  "detail": "`next` has expired. Run the search again from its first request."
                }
              }
            }
          }
        }
      },
      "PayloadTooLarge": {
        "x-problem-types": [
          "payload-too-large"
        ],
        "description": "The request body is too large ({problem}`payload-too-large`).",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "tooLarge": {
                "summary": "A body over the limit",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/payload-too-large",
                  "title": "Payload too large",
                  "status": 413,
                  "detail": "The request body is too large."
                }
              }
            }
          }
        }
      },
      "HeadersTooLarge": {
        "x-problem-types": [
          "headers-too-large"
        ],
        "description": "The request's headers are too large ({problem}`headers-too-large`). An access token is far\nbelow the limit, so look for a header your client adds.\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "tooLarge": {
                "summary": "Headers over the limit",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/headers-too-large",
                  "title": "Headers too large",
                  "status": 431,
                  "detail": "The request's headers are too large."
                }
              }
            }
          }
        }
      },
      "UnsupportedMediaType": {
        "x-problem-types": [
          "unsupported-media-type"
        ],
        "description": "The request body is not `application/json` ({problem}`unsupported-media-type`).",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "notJson": {
                "summary": "A body without `Content-Type: application/json`",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/unsupported-media-type",
                  "title": "Unsupported media type",
                  "status": 415,
                  "detail": "The request body has to be JSON, sent as `Content-Type: application/json`."
                }
              }
            }
          }
        }
      },
      "NotModified": {
        "description": "The answer you hold, named by `If-None-Match`, is still current: keep it. No body.\n`Cache-Control` says how much longer it stays fresh.\n",
        "headers": {
          "ETag": {
            "$ref": "#/components/headers/ETag"
          },
          "Cache-Control": {
            "$ref": "#/components/headers/Cache-Control"
          }
        }
      },
      "RateLimited": {
        "x-problem-types": [
          "rate-limited"
        ],
        "description": "Too many requests, or too many at the same time ({problem}`rate-limited`), from your account,\nyour organization, or your network address. Wait for `Retry-After` seconds, then send\nthe same request again.\n",
        "headers": {
          "Retry-After": {
            "$ref": "#/components/headers/Retry-After"
          }
        },
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "address": {
                "summary": "Too many requests from one address",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/rate-limited",
                  "title": "Rate limited",
                  "status": 429,
                  "detail": "This address has sent too many requests."
                }
              }
            }
          }
        }
      },
      "Unavailable": {
        "x-problem-types": [
          "unavailable"
        ],
        "description": "The API is temporarily unavailable ({problem}`unavailable`), because our servers are under\npressure or briefly out of service. Wait for `Retry-After` seconds, then send the same\nrequest again.\n",
        "headers": {
          "Retry-After": {
            "$ref": "#/components/headers/Retry-After"
          }
        },
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "busy": {
                "summary": "The API cannot take the request now",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/unavailable",
                  "title": "Unavailable",
                  "status": 503,
                  "detail": "The API cannot take this request at the moment."
                }
              }
            }
          }
        }
      },
      "SavedSearchInvalid": {
        "x-problem-types": [
          "internal",
          "saved-search-invalid"
        ],
        "description": "The API failed to answer the request ({problem}`internal`), or the saved search no longer\nvalidates ({problem}`saved-search-invalid`). Both are our fault, and we are alerted.\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "invalid": {
                "summary": "A saved search that no longer validates",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/saved-search-invalid",
                  "title": "Saved search invalid",
                  "status": 500,
                  "detail": "The saved search \"sector1\" can no longer be run. We have been alerted."
                }
              }
            }
          }
        }
      },
      "Problem": {
        "x-problem-types": [
          "internal"
        ],
        "description": "Any other error, as a problem document. Includes {problem}`internal` (500), a failure on our\nside.\n",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "examples": {
              "internal": {
                "summary": "An error on our side",
                "value": {
                  "type": "https://api.reconnectchina.org/docs/v1/problems/internal",
                  "title": "Internal error",
                  "status": 500,
                  "detail": "The request could not be processed."
                }
              }
            }
          }
        }
      }
    },
    "examples": {
      "InvalidRequest": {
        "summary": "No `strategy` with `term`, and an unknown level",
        "value": {
          "detail": "The request is not valid in 2 places; `errors` says where.",
          "errors": [
            {
              "detail": "\"strategy\" is a required property",
              "pointer": ""
            },
            {
              "detail": "value is not one of \"centre\", \"provinces\" or 2 other candidates",
              "pointer": "/levelIn/0"
            }
          ],
          "status": 400,
          "title": "Invalid request",
          "type": "https://api.reconnectchina.org/docs/v1/problems/invalid-request"
        }
      },
      "InvalidTerm": {
        "summary": "A term with two mistakes: `低空经济 && )`",
        "value": {
          "type": "https://api.reconnectchina.org/docs/v1/problems/invalid-request",
          "title": "Invalid request",
          "status": 400,
          "detail": "The request is not valid in 2 places; `errors` says where.",
          "errors": [
            {
              "detail": "`&&` needs a term on each side.",
              "pointer": "/term",
              "span": {
                "start": 5,
                "end": 7
              }
            },
            {
              "detail": "This `)` closes no `(`.",
              "pointer": "/term",
              "span": {
                "start": 8,
                "end": 9
              }
            }
          ]
        }
      },
      "InvalidInstant": {
        "summary": "A `from` of `2026-13-01`, which has no month 13",
        "value": {
          "type": "https://api.reconnectchina.org/docs/v1/problems/invalid-request",
          "title": "Invalid request",
          "status": 400,
          "detail": "The request is not valid; `errors` says where.",
          "errors": [
            {
              "detail": "`13` is not a valid month.",
              "pointer": "/from",
              "span": {
                "start": 5,
                "end": 7
              }
            }
          ]
        }
      },
      "InvalidSavedSearchName": {
        "summary": "A saved search's name with a space in it",
        "value": {
          "type": "https://api.reconnectchina.org/docs/v1/problems/invalid-request",
          "title": "Invalid request",
          "status": 400,
          "detail": "The request is not valid; `errors` says where.",
          "errors": [
            {
              "detail": "A saved search's name is 1 to 64 letters, combining marks, digits, `_` and `-`.",
              "parameter": "name"
            }
          ]
        }
      },
      "RangeNotEntitled": {
        "summary": "`from` further back than the agreement allows",
        "value": {
          "type": "https://api.reconnectchina.org/docs/v1/problems/range-not-entitled",
          "title": "Range not entitled",
          "status": 403,
          "detail": "`from` reaches further back than your organization's agreement allows. The earliest `from` it allows is `now-1y`.",
          "earliestFrom": "now-1y",
          "latestTo": "3000-01-01",
          "errors": [
            {
              "detail": "The earliest `from` your organization's agreement allows is `now-1y`.",
              "pointer": "/from"
            }
          ]
        }
      },
      "RangeNotEntitledBothEnds": {
        "summary": "`from` further back and `to` further ahead than the agreement allows",
        "value": {
          "type": "https://api.reconnectchina.org/docs/v1/problems/range-not-entitled",
          "title": "Range not entitled",
          "status": 403,
          "detail": "The search reaches further than your organization's agreement allows at both ends; `errors` says where.",
          "earliestFrom": "now-1y",
          "latestTo": "now+1y",
          "errors": [
            {
              "detail": "The earliest `from` your organization's agreement allows is `now-1y`.",
              "pointer": "/from"
            },
            {
              "detail": "The latest `to` your organization's agreement allows is `now+1y`.",
              "pointer": "/to"
            }
          ]
        }
      },
      "RangeNotEntitledDocument": {
        "summary": "Related documents of a document dated before the agreement's range",
        "value": {
          "type": "https://api.reconnectchina.org/docs/v1/problems/range-not-entitled",
          "title": "Range not entitled",
          "status": 403,
          "detail": "The document's date lies outside the range your organization's agreement allows, from `now-1y` to `3000-01-01`.",
          "earliestFrom": "now-1y",
          "latestTo": "3000-01-01",
          "errors": [
            {
              "detail": "This document's date lies before `now-1y`, the earliest your organization's agreement allows.",
              "pointer": "/id"
            }
          ]
        }
      },
      "TierServedElsewhere": {
        "summary": "An organization with sandbox access only, on production",
        "value": {
          "type": "https://api.reconnectchina.org/docs/v1/problems/tier-served-elsewhere",
          "title": "Served elsewhere",
          "status": 403,
          "detail": "Your organization's access is to https://sandbox.api.reconnectchina.org, not to this server.",
          "server": "https://sandbox.api.reconnectchina.org"
        }
      },
      "NoOrganization": {
        "summary": "An account whose application is still under review",
        "value": {
          "type": "https://api.reconnectchina.org/docs/v1/problems/no-organization",
          "title": "No organization",
          "status": 403,
          "detail": "Your account belongs to no organization."
        }
      },
      "ScopeNotEntitled": {
        "summary": "Organization scope on the sandbox",
        "value": {
          "type": "https://api.reconnectchina.org/docs/v1/problems/scope-not-entitled",
          "title": "Scope not entitled",
          "status": 403,
          "detail": "Saved searches in the scope \"organization\" are not available on this server."
        }
      }
    },
    "headers": {
      "ETag": {
        "description": "Names this answer. Send it back as `If-None-Match` to be told, with `304`, that the\nanswer you hold is still current.\n",
        "required": true,
        "schema": {
          "type": "string",
          "minLength": 1
        }
      },
      "Cache-Control": {
        "description": "How long the answer stays fresh: `private, max-age=` and the seconds until\n{key}`freshUntil`. Asking again sooner returns the same answer.\n",
        "required": true,
        "schema": {
          "type": "string",
          "minLength": 1
        }
      },
      "Cache-Control-Max-Age": {
        "description": "How long the answer may be kept and shown without asking again: `private, max-age=`\nand a number of seconds. Asking again sooner can return a newer answer.\n",
        "required": true,
        "schema": {
          "type": "string",
          "minLength": 1
        }
      },
      "Retry-After": {
        "description": "How many seconds to wait before sending the same request again.",
        "required": true,
        "schema": {
          "type": "integer",
          "minimum": 0
        }
      }
    },
    "schemas": {
      "SearchParameters": {
        "type": "object",
        "description": "What to search for, and where. Without {key}`term` and {key}`strategy`, every document that\npasses the filters, newest first (see *Searching without a term*).\n",
        "additionalProperties": false,
        "dependentRequired": {
          "term": [
            "strategy"
          ],
          "strategy": [
            "term"
          ]
        },
        "properties": {
          "term": {
            "$ref": "#/components/schemas/Term"
          },
          "strategy": {
            "$ref": "#/components/schemas/Strategy"
          },
          "typeIn": {
            "$ref": "#/components/schemas/TypeIn"
          },
          "levelIn": {
            "$ref": "#/components/schemas/LevelIn"
          },
          "issuerIn": {
            "$ref": "#/components/schemas/IssuerIn"
          },
          "topicIn": {
            "$ref": "#/components/schemas/TopicIn"
          },
          "from": {
            "$ref": "#/components/schemas/From"
          },
          "to": {
            "$ref": "#/components/schemas/To"
          },
          "dateField": {
            "$ref": "#/components/schemas/DateField"
          },
          "pageSize": {
            "$ref": "#/components/schemas/SearchPageSize"
          },
          "histograms": {
            "$ref": "#/components/schemas/HistogramRequests"
          }
        }
      },
      "SearchOverrides": {
        "type": "object",
        "description": "Search parameters that replace a saved search's for one run. Every field is\noptional, and an absent field keeps the saved value, but it names at least one; to\nreplace none, leave {key}`parameters` out. The result must be valid search parameters: a\n{key}`strategy` given to a saved search without a {key}`term` is refused.\n",
        "additionalProperties": false,
        "minProperties": 1,
        "properties": {
          "term": {
            "$ref": "#/components/schemas/Term"
          },
          "strategy": {
            "$ref": "#/components/schemas/Strategy"
          },
          "typeIn": {
            "$ref": "#/components/schemas/TypeIn"
          },
          "levelIn": {
            "$ref": "#/components/schemas/LevelIn"
          },
          "issuerIn": {
            "$ref": "#/components/schemas/IssuerIn"
          },
          "topicIn": {
            "$ref": "#/components/schemas/TopicIn"
          },
          "from": {
            "$ref": "#/components/schemas/From"
          },
          "to": {
            "$ref": "#/components/schemas/To"
          },
          "dateField": {
            "$ref": "#/components/schemas/DateField"
          },
          "pageSize": {
            "$ref": "#/components/schemas/SearchPageSize"
          },
          "histograms": {
            "$ref": "#/components/schemas/HistogramRequests"
          }
        }
      },
      "SaveSearchRequest": {
        "type": "object",
        "description": "A search to save, and what people should know about it.",
        "required": [
          "parameters"
        ],
        "additionalProperties": false,
        "properties": {
          "title": {
            "$ref": "#/components/schemas/SavedSearchTitle"
          },
          "description": {
            "$ref": "#/components/schemas/SavedSearchDescription"
          },
          "parameters": {
            "$ref": "#/components/schemas/SearchParameters"
          }
        }
      },
      "RunSearchRequest": {
        "type": "object",
        "description": "How this run of a saved search differs from what is saved.",
        "additionalProperties": false,
        "properties": {
          "parameters": {
            "$ref": "#/components/schemas/SearchOverrides"
          }
        }
      },
      "ContinueSearchRequest": {
        "type": "object",
        "required": [
          "next"
        ],
        "additionalProperties": false,
        "properties": {
          "next": {
            "$ref": "#/components/schemas/SearchContinuation"
          }
        }
      },
      "ListSavedSearchesRequest": {
        "type": "object",
        "description": "Which saved searches to list, and how many to a page. {json}`{}` lists them all.",
        "additionalProperties": false,
        "properties": {
          "scopeIn": {
            "type": "array",
            "description": "List only the saved searches in these scopes. Without it, every scope you can use\nis listed.\n",
            "minItems": 1,
            "uniqueItems": true,
            "items": {
              "$ref": "#/components/schemas/ScopeId"
            }
          },
          "pageSize": {
            "$ref": "#/components/schemas/PageSize"
          }
        }
      },
      "ContinueListSavedSearchesRequest": {
        "type": "object",
        "required": [
          "next"
        ],
        "additionalProperties": false,
        "properties": {
          "next": {
            "$ref": "#/components/schemas/ListSavedSearchesContinuation"
          }
        }
      },
      "DetailRequest": {
        "type": "object",
        "required": [
          "ids"
        ],
        "additionalProperties": false,
        "properties": {
          "ids": {
            "type": "array",
            "description": "The ids to fetch, as they appear in search results.",
            "minItems": 1,
            "maxItems": 32,
            "uniqueItems": true,
            "items": {
              "$ref": "#/components/schemas/DocumentId"
            }
          }
        }
      },
      "RelatedDocumentsRequest": {
        "type": "object",
        "x-stability": "experimental",
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "properties": {
          "id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DocumentId"
              }
            ],
            "description": "The document whose related documents to return, as its id appears in search results."
          },
          "pageSize": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PageSize"
              }
            ],
            "description": "How many related documents to return at most."
          }
        }
      },
      "Term": {
        "type": "string",
        "description": "What to search for, as a term expression (see *Search terms*). To search for a text\nliterally, put a backslash before every `\"` and `\\` in it and wrap it in double quotes.\nOptional: without it, a search finds every document that passes its filters, newest\nfirst (see *Searching without a term*). How long it may be depends on your\norganization's agreement. A term that does not parse is refused with `400`, and each\nmistake's {key}`span` marks where it is (see\n[problem types](https://api.reconnectchina.org/docs/v1/problems)).\n",
        "minLength": 1,
        "examples": [
          "STI",
          "半导体 || semiconductor",
          "\"R&D \\\"A\\\"\\\\B\""
        ]
      },
      "Strategy": {
        "type": "string",
        "description": "How the term is matched and ranked. Required with {key}`term`, and refused without one.\n\n- `headline`: the term must match the headline.\n- `body`: the term must match the headline or the body, and a match in the headline\n  ranks higher.\n\nEach text in the term is matched in one language. A text with a Chinese character in it\nis matched against the Chinese: {key}`zh.headline` as the headline, the Chinese text as the\nbody, including Chinese text that {key}`hidden` says is left out. Any other text is matched\nagainst the English: {key}`en.title` as the headline, {key}`en.summary` as the body, since there\nis no English full text.\n\nWith both, relevance falls off with the distance of the chosen date ({key}`dateField`) from\n{key}`to`. Neither strategy\nchanges significantly or is removed in `/v1`. New strategies may be added.\n",
        "enum": [
          "headline",
          "body"
        ]
      },
      "Type": {
        "type": "string",
        "x-provenance": "generated",
        "description": "The kind of document, **machine-generated** by our classifier from the document\nitself: `law/decree` (法, 令, 条例), `regulation` (规定, 办法, 细则),\n`notice/announcement` (通知, 公告, 通报), `opinion/plan` (意见, 规划, 方案, 纲要),\n`news` (news and reports), `leaders` (about the activities of leading officials), and\n`other`: anything else, **including documents that have not been classified yet**. A\ndocument can therefore move from `other` to another kind once it is classified, and\na kind can change when the classifier improves.\n\nA fixed set for the lifetime of `/v1`.\n",
        "enum": [
          "law/decree",
          "regulation",
          "notice/announcement",
          "opinion/plan",
          "news",
          "leaders",
          "other"
        ]
      },
      "Level": {
        "type": "string",
        "x-provenance": "generated",
        "description": "The administrative level a document was issued at, **machine-generated** by our\nclassifier from the document itself: `centre` (the State Council, the Party centre and\nthe ministries), `provinces` (provincial-level units, including the four municipalities\nwith province rank), `cities` (municipal and county governments), and `other` for\ndocuments that have not been classified yet.\n\nThis is the level the reconnectchina.org search filters by. It is not derived from\n{key}`issuer`: a city may repost a central document, which is then `centre`.\n\nA fixed set for the lifetime of `/v1`.\n",
        "enum": [
          "centre",
          "provinces",
          "cities",
          "other"
        ]
      },
      "Topic": {
        "type": "string",
        "x-provenance": "generated",
        "description": "What a document is about, **machine-generated** by our classifier from the document\nitself. `other` covers everything else: documents on a topic we do not publish,\n**documents that have not been classified yet**, and any topic a later classifier\nadds. A document can therefore move from `other` to a topic once it is classified, and\na topic can change when the classifier improves.\n\nA fixed set for the lifetime of `/v1`.\n",
        "enum": [
          "agriculture",
          "awards",
          "commerce",
          "credit",
          "culture",
          "diplomacy",
          "education",
          "emergency",
          "energy",
          "environment",
          "finance",
          "health",
          "housing",
          "infrastructure",
          "military",
          "party",
          "personnel",
          "safety",
          "security",
          "sports",
          "tech",
          "tourism",
          "trade",
          "transport",
          "veterans",
          "weather",
          "welfare",
          "other"
        ]
      },
      "Issuer": {
        "type": "string",
        "description": "Where a document comes from, **machine-generated** from the document itself: the\nprovince our classifier finds it concerns; failing that, the county or city; and\nfailing that, whoever operates the website it was collected from, a part of China\nwith a local government (`上海市`, `三亚市`) or a central institution (`中国人民银行`).\nEvery document has exactly one issuer. A document that concerns a province has that\nprovince as its issuer, even when one of the province's cities published it.\n\nThis is the issuer filter of the reconnectchina.org search. It is not always the body\nthat signed the document: a document co-issued by several bodies names them in\n{key}`department`, as printed on the page.\n\nThe list may grow, and a value is never removed, even when an institution no longer\nexists. Where an issuer appears in a response, it is a string that does not\nrestrict the value, so that a newer issuer never breaks an older client.\n",
        "enum": [
          "中华人民共和国中央人民政府",
          "中华人民共和国全国人民代表大会",
          "中华人民共和国最高人民法院",
          "中国人民银行",
          "中国政治协商会议",
          "交通运输部",
          "人力资源和社会保障部",
          "住房和城乡建设部",
          "公安部",
          "农业农村部",
          "司法部",
          "商务部",
          "国家卫生健康委员会",
          "国家发展和改革委员会",
          "国家安全部",
          "国家民族事务委员会",
          "国防部",
          "外交部",
          "审计署",
          "宣传部",
          "工业和信息化部",
          "应急管理部",
          "教育部",
          "文化和旅游部",
          "民政部",
          "水利部",
          "生态环境部",
          "科学技术部",
          "自然资源部",
          "财政部",
          "退役军人事务部",
          "上海市",
          "云南省",
          "内蒙古自治区",
          "北京市",
          "吉林省",
          "四川省",
          "天津市",
          "宁夏回族自治区",
          "安徽省",
          "山东省",
          "山西省",
          "广东省",
          "广西壮族自治区",
          "新疆维吾尔自治区",
          "江苏省",
          "江西省",
          "河北省",
          "河南省",
          "浙江省",
          "海南省",
          "湖北省",
          "湖南省",
          "甘肃省",
          "福建省",
          "西藏自治区",
          "贵州省",
          "辽宁省",
          "重庆市",
          "陕西省",
          "青海省",
          "黑龙江省",
          "七台河市",
          "三亚市",
          "三明市",
          "三沙市",
          "三门峡市",
          "上饶市",
          "东莞市",
          "东营市",
          "中卫市",
          "中山市",
          "临夏回族自治州",
          "临汾市",
          "临沂市",
          "临沧市",
          "丹东市",
          "丽水市",
          "丽江市",
          "乌兰察布市",
          "乌海市",
          "乌鲁木齐市",
          "乐山市",
          "九江市",
          "云浮市",
          "亳州市",
          "伊春市",
          "伊犁哈萨克自治州",
          "佛山市",
          "佳木斯市",
          "保定市",
          "保山市",
          "信阳市",
          "儋州市",
          "克孜勒苏柯尔克孜自治州",
          "克拉玛依市",
          "六安市",
          "六盘水市",
          "兰州市",
          "兴安盟",
          "内江市",
          "凉山彝族自治州",
          "包头市",
          "北海市",
          "十堰市",
          "南京市",
          "南充市",
          "南宁市",
          "南平市",
          "南昌市",
          "南通市",
          "南阳市",
          "博尔塔拉蒙古自治州",
          "厦门市",
          "双鸭山市",
          "台州市",
          "合肥市",
          "吉安市",
          "吉林市",
          "吐鲁番市",
          "吕梁市",
          "吴忠市",
          "周口市",
          "呼伦贝尔市",
          "呼和浩特市",
          "和田地区",
          "咸宁市",
          "咸阳市",
          "哈密市",
          "哈尔滨市",
          "唐山市",
          "商丘市",
          "商洛市",
          "喀什地区",
          "嘉兴市",
          "嘉峪关市",
          "四平市",
          "固原市",
          "塔城地区",
          "大兴安岭地区",
          "大同市",
          "大庆市",
          "大理白族自治州",
          "大连市",
          "天水市",
          "太原市",
          "威海市",
          "娄底市",
          "孝感市",
          "宁德市",
          "宁波市",
          "安庆市",
          "安康市",
          "安阳市",
          "安顺市",
          "定西市",
          "宜宾市",
          "宜昌市",
          "宜春市",
          "宝鸡市",
          "宣城市",
          "宿州市",
          "宿迁市",
          "山南市",
          "岳阳市",
          "崇左市",
          "巴中市",
          "巴彦淖尔市",
          "巴音郭楞蒙古自治州",
          "常州市",
          "常德市",
          "平凉市",
          "平顶山市",
          "广元市",
          "广安市",
          "广州市",
          "庆阳市",
          "廊坊市",
          "延安市",
          "延边朝鲜族自治州",
          "开封市",
          "张家口市",
          "张家界市",
          "张掖市",
          "徐州市",
          "德宏傣族景颇族自治州",
          "德州市",
          "德阳市",
          "忻州市",
          "怀化市",
          "怒江傈僳族自治州",
          "恩施土家族苗族自治州",
          "惠州市",
          "成都市",
          "扬州市",
          "承德市",
          "抚州市",
          "抚顺市",
          "拉萨市",
          "揭阳市",
          "攀枝花市",
          "文山壮族苗族自治州",
          "新乡市",
          "新余市",
          "无锡市",
          "日喀则市",
          "日照市",
          "昆明市",
          "昌吉回族自治州",
          "昌都市",
          "昭通市",
          "晋中市",
          "晋城市",
          "普洱市",
          "景德镇市",
          "曲靖市",
          "朔州市",
          "朝阳市",
          "本溪市",
          "来宾市",
          "杭州市",
          "松原市",
          "林芝市",
          "果洛藏族自治州",
          "枣庄市",
          "柳州市",
          "株洲市",
          "桂林市",
          "梅州市",
          "梧州市",
          "楚雄彝族自治州",
          "榆林市",
          "武威市",
          "武汉市",
          "毕节市",
          "永州市",
          "汉中市",
          "汕头市",
          "汕尾市",
          "江门市",
          "池州市",
          "沈阳市",
          "沧州市",
          "河池市",
          "河源市",
          "泉州市",
          "泰安市",
          "泰州市",
          "泸州市",
          "洛阳市",
          "济南市",
          "济宁市",
          "海东市",
          "海北藏族自治州",
          "海南藏族自治州",
          "海口市",
          "海西蒙古族藏族自治州",
          "淄博市",
          "淮北市",
          "淮南市",
          "淮安市",
          "深圳市",
          "清远市",
          "温州市",
          "渭南市",
          "湖州市",
          "湘潭市",
          "湘西土家族苗族自治州",
          "湛江市",
          "滁州市",
          "滨州市",
          "漯河市",
          "漳州市",
          "潍坊市",
          "潮州市",
          "濮阳市",
          "烟台市",
          "焦作市",
          "牡丹江市",
          "玉林市",
          "玉树藏族自治县",
          "玉树藏族自治州",
          "玉溪市",
          "珠海市",
          "甘南藏族自治州",
          "甘孜藏族自治州",
          "白城市",
          "白山市",
          "白银市",
          "百色市",
          "益阳市",
          "盐城市",
          "盘锦市",
          "眉山市",
          "石嘴山市",
          "石家庄市",
          "福州市",
          "秦皇岛市",
          "红河哈尼族彝族自治州",
          "绍兴市",
          "绥化市",
          "绵阳市",
          "聊城市",
          "肇庆市",
          "自贡市",
          "舟山市",
          "芜湖市",
          "苏州市",
          "茂名市",
          "荆州市",
          "荆门市",
          "莆田市",
          "莱芜市",
          "菏泽市",
          "萍乡市",
          "营口市",
          "葫芦岛市",
          "蚌埠市",
          "衡水市",
          "衡阳市",
          "衢州市",
          "襄阳市",
          "西双版纳傣族自治州",
          "西宁市",
          "西安市",
          "许昌市",
          "贵港市",
          "贵阳市",
          "贺州市",
          "资阳市",
          "赣州市",
          "赤峰市",
          "辽源市",
          "辽阳市",
          "达州市",
          "运城市",
          "连云港市",
          "迪庆藏族自治州",
          "通化市",
          "通辽市",
          "遂宁市",
          "遵义市",
          "邢台市",
          "那曲地区",
          "邯郸市",
          "邵阳市",
          "郑州市",
          "郴州市",
          "鄂尔多斯市",
          "鄂州市",
          "酒泉市",
          "金华市",
          "金昌市",
          "钦州市",
          "铁岭市",
          "铜仁市",
          "铜川市",
          "铜陵市",
          "银川市",
          "锡林郭勒盟",
          "锦州市",
          "镇江市",
          "长春市",
          "长沙市",
          "长治市",
          "阜新市",
          "阜阳市",
          "防城港市",
          "阳江市",
          "阳泉市",
          "阿克苏地区",
          "阿勒泰地区",
          "阿坝藏族羌族自治州",
          "阿拉善盟",
          "阿里地区",
          "陇南市",
          "随州市",
          "雅安市",
          "青岛市",
          "鞍山市",
          "韶关市",
          "马鞍山市",
          "驻马店市",
          "鸡西市",
          "鹤壁市",
          "鹤岗市",
          "鹰潭市",
          "黄冈市",
          "黄南藏族自治州",
          "黄山市",
          "黄石市",
          "黑河市",
          "黔东南苗族侗族自治州",
          "黔南布依族苗族自治州",
          "黔西南布依族苗族自治州",
          "齐齐哈尔市",
          "龙岩市",
          "万宁市",
          "东方市",
          "临高县",
          "乐东黎族自治县",
          "五家渠市",
          "五指山市",
          "仙桃市",
          "保亭黎族苗族自治县",
          "北屯市",
          "图木舒克市",
          "天门市",
          "定安县",
          "屯昌县",
          "文昌市",
          "昌江黎族自治县",
          "济源市",
          "潜江市",
          "澄迈县",
          "澳门特别行政区",
          "琼中黎族苗族自治县",
          "琼海市",
          "白杨市",
          "白沙黎族自治县",
          "石河子市",
          "神农架林区",
          "胡杨河市",
          "阿拉尔市",
          "陵水黎族自治县",
          "香港特别行政区"
        ]
      },
      "IssuerName": {
        "type": "string",
        "x-provenance": "generated",
        "description": "An issuer, one of those {key}`issuerIn` takes (**machine-generated**). The list may grow: handle\na name you do not know rather than failing on it.\n",
        "examples": [
          "中国人民银行",
          "上海市",
          "三亚市"
        ]
      },
      "TypeIn": {
        "type": "array",
        "description": "Only documents of these kinds. Without it, all kinds.",
        "minItems": 1,
        "uniqueItems": true,
        "items": {
          "$ref": "#/components/schemas/Type"
        }
      },
      "LevelIn": {
        "type": "array",
        "description": "Only documents issued at these levels. Without it, all levels.",
        "minItems": 1,
        "uniqueItems": true,
        "items": {
          "$ref": "#/components/schemas/Level"
        }
      },
      "TopicIn": {
        "type": "array",
        "description": "Only documents on these topics. Without it, all topics.",
        "minItems": 1,
        "uniqueItems": true,
        "items": {
          "$ref": "#/components/schemas/Topic"
        }
      },
      "IssuerIn": {
        "type": "array",
        "description": "Only documents from these issuers. Without it, all issuers.",
        "minItems": 1,
        "uniqueItems": true,
        "items": {
          "$ref": "#/components/schemas/Issuer"
        }
      },
      "From": {
        "allOf": [
          {
            "$ref": "#/components/schemas/InstantExpression"
          }
        ],
        "description": "The earliest instant of the chosen date ({key}`dateField`) to include (inclusive).\nDefaults to {rcie}`now-7d`. How far back it may reach depends on your organization's\nagreement, and whatever {key}`dateField` says, a search never finds a document whose {key}`date`\nlies before that.\n",
        "default": "now-7d"
      },
      "To": {
        "allOf": [
          {
            "$ref": "#/components/schemas/InstantExpression"
          }
        ],
        "description": "The instant of the chosen date ({key}`dateField`) to stop before (exclusive). Defaults to\n{rcie}`now`. It has to be later than {key}`from`, whether either was sent or defaulted, or the\nrequest is refused with `400` (see *Dates and time zones*). How far ahead it may\nreach depends on your organization's agreement.\n",
        "default": "now"
      },
      "InstantExpression": {
        "type": "string",
        "description": "A point in time, or date math relative to one, optionally in a time zone: an instant\nexpression, see *Dates and time zones* in the introduction. One that does not parse,\nor names no instant, is refused with `400`, and each mistake's {key}`span` marks where it\nis (see [problem types](https://api.reconnectchina.org/docs/v1/problems)).\n",
        "minLength": 1,
        "maxLength": 128,
        "examples": [
          "now-7d/d",
          "2026-09-03",
          "2026-09-03T00:00:00+08:00",
          "2026-09-03+M",
          "now[Europe/Berlin]-M/M",
          "2025-01-01[Asia/Shanghai]"
        ]
      },
      "DateField": {
        "type": "string",
        "description": "Which of a document's dates {key}`from` and {key}`to` filter on and the time histogram counts.\n`date` is the one date each document is treated as having. The others are the members\nof {key}`dates`, and each finds only documents that have that date. The ranking uses the\nchosen date too (see {key}`strategy` and *Searching without a term*).\n",
        "enum": [
          "date",
          "published",
          "issued",
          "implemented",
          "added"
        ],
        "default": "date"
      },
      "HistogramRequests": {
        "type": "object",
        "description": "The histograms to return with the first page, each named with its options:\n{json}`{\"time\": {}, \"level\": {}}`. It names at least one; for none, leave it out. They cost\nmore than the page itself, so ask only for those you use.\n",
        "additionalProperties": false,
        "minProperties": 1,
        "properties": {
          "time": {
            "$ref": "#/components/schemas/TimeHistogramOptions"
          },
          "issuer": {
            "$ref": "#/components/schemas/IssuerHistogramOptions"
          },
          "level": {
            "$ref": "#/components/schemas/LevelHistogramOptions"
          },
          "topic": {
            "$ref": "#/components/schemas/TopicHistogramOptions"
          }
        }
      },
      "TimeHistogramOptions": {
        "type": "object",
        "description": "How to build the time histogram.",
        "additionalProperties": false,
        "properties": {
          "timeZone": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TimeZone"
              }
            ],
            "description": "The time zone whose days, months and years the periods are. A day there can be 23\nor 25 hours long, and a month or a year begins with the first instant of its first\nday there. Which of the three the period is does not depend on it (see the response's\n{key}`histograms.time`), and each period's bounds are still instants in UTC.\n\nDefaults to UTC, whatever zone {key}`from` and {key}`to` name. With {json}`\"+08:00\"` and\n`\"dateField\": \"published\"`, the histogram counts by the day as printed (see *Dates\nand time zones*).\n",
            "default": "UTC"
          }
        }
      },
      "IssuerHistogramOptions": {
        "type": "object",
        "description": "How to build the issuer histogram. There are no options yet, so send {json}`{}`.",
        "additionalProperties": false
      },
      "LevelHistogramOptions": {
        "type": "object",
        "description": "How to build the level histogram. There are no options yet, so send {json}`{}`.",
        "additionalProperties": false
      },
      "TopicHistogramOptions": {
        "type": "object",
        "description": "How to build the topic histogram. There are no options yet, so send {json}`{}`.",
        "additionalProperties": false
      },
      "TimeZone": {
        "description": "A time zone: a name from the time zone database, such as `Europe/Berlin`, or a fixed\noffset from UTC, such as `+08:00`. The same\nzones can be named in an instant expression (see *Dates and time zones*).\n\nA named zone follows the place's rules, daylight saving time included. A fixed offset\nnever changes, so `+01:00` is not Berlin: use a name unless a fixed offset is what you\nmean. `+08:00` is the offset we read source pages at, and so the day as printed in\nChina.\n",
        "oneOf": [
          {
            "$ref": "#/components/schemas/TimeZoneName"
          },
          {
            "$ref": "#/components/schemas/UtcOffset"
          }
        ],
        "examples": [
          "Europe/Berlin",
          "Asia/Shanghai",
          "+08:00",
          "UTC"
        ]
      },
      "TimeZoneName": {
        "type": "string",
        "description": "A zone of the [IANA time zone database](https://www.iana.org/time-zones), spelled\nexactly as listed, capitals included: `Europe/Berlin`, not `europe/berlin`. Older names\nthat the database keeps as aliases, such as `Europe/Kiev` or `PRC`, are accepted and mean\nwhat their current name does. `UTC` is UTC. For a fixed offset, prefer the offset\n`+08:00` to `Etc/GMT-8`, whose sign is inverted.\n\nWe update the database with our releases, and the list may grow with it; a name is not\nremoved. Where a country changes its rules at short notice, results for the dates it\naffects follow our update.\n",
        "enum": [
          "Africa/Abidjan",
          "Africa/Accra",
          "Africa/Addis_Ababa",
          "Africa/Algiers",
          "Africa/Asmara",
          "Africa/Asmera",
          "Africa/Bamako",
          "Africa/Bangui",
          "Africa/Banjul",
          "Africa/Bissau",
          "Africa/Blantyre",
          "Africa/Brazzaville",
          "Africa/Bujumbura",
          "Africa/Cairo",
          "Africa/Casablanca",
          "Africa/Ceuta",
          "Africa/Conakry",
          "Africa/Dakar",
          "Africa/Dar_es_Salaam",
          "Africa/Djibouti",
          "Africa/Douala",
          "Africa/El_Aaiun",
          "Africa/Freetown",
          "Africa/Gaborone",
          "Africa/Harare",
          "Africa/Johannesburg",
          "Africa/Juba",
          "Africa/Kampala",
          "Africa/Khartoum",
          "Africa/Kigali",
          "Africa/Kinshasa",
          "Africa/Lagos",
          "Africa/Libreville",
          "Africa/Lome",
          "Africa/Luanda",
          "Africa/Lubumbashi",
          "Africa/Lusaka",
          "Africa/Malabo",
          "Africa/Maputo",
          "Africa/Maseru",
          "Africa/Mbabane",
          "Africa/Mogadishu",
          "Africa/Monrovia",
          "Africa/Nairobi",
          "Africa/Ndjamena",
          "Africa/Niamey",
          "Africa/Nouakchott",
          "Africa/Ouagadougou",
          "Africa/Porto-Novo",
          "Africa/Sao_Tome",
          "Africa/Timbuktu",
          "Africa/Tripoli",
          "Africa/Tunis",
          "Africa/Windhoek",
          "America/Adak",
          "America/Anchorage",
          "America/Anguilla",
          "America/Antigua",
          "America/Araguaina",
          "America/Argentina/Buenos_Aires",
          "America/Argentina/Catamarca",
          "America/Argentina/ComodRivadavia",
          "America/Argentina/Cordoba",
          "America/Argentina/Jujuy",
          "America/Argentina/La_Rioja",
          "America/Argentina/Mendoza",
          "America/Argentina/Rio_Gallegos",
          "America/Argentina/Salta",
          "America/Argentina/San_Juan",
          "America/Argentina/San_Luis",
          "America/Argentina/Tucuman",
          "America/Argentina/Ushuaia",
          "America/Aruba",
          "America/Asuncion",
          "America/Atikokan",
          "America/Atka",
          "America/Bahia",
          "America/Bahia_Banderas",
          "America/Barbados",
          "America/Belem",
          "America/Belize",
          "America/Blanc-Sablon",
          "America/Boa_Vista",
          "America/Bogota",
          "America/Boise",
          "America/Buenos_Aires",
          "America/Cambridge_Bay",
          "America/Campo_Grande",
          "America/Cancun",
          "America/Caracas",
          "America/Catamarca",
          "America/Cayenne",
          "America/Cayman",
          "America/Chicago",
          "America/Chihuahua",
          "America/Ciudad_Juarez",
          "America/Coral_Harbour",
          "America/Cordoba",
          "America/Costa_Rica",
          "America/Coyhaique",
          "America/Creston",
          "America/Cuiaba",
          "America/Curacao",
          "America/Danmarkshavn",
          "America/Dawson",
          "America/Dawson_Creek",
          "America/Denver",
          "America/Detroit",
          "America/Dominica",
          "America/Edmonton",
          "America/Eirunepe",
          "America/El_Salvador",
          "America/Ensenada",
          "America/Fort_Nelson",
          "America/Fort_Wayne",
          "America/Fortaleza",
          "America/Glace_Bay",
          "America/Godthab",
          "America/Goose_Bay",
          "America/Grand_Turk",
          "America/Grenada",
          "America/Guadeloupe",
          "America/Guatemala",
          "America/Guayaquil",
          "America/Guyana",
          "America/Halifax",
          "America/Havana",
          "America/Hermosillo",
          "America/Indiana/Indianapolis",
          "America/Indiana/Knox",
          "America/Indiana/Marengo",
          "America/Indiana/Petersburg",
          "America/Indiana/Tell_City",
          "America/Indiana/Vevay",
          "America/Indiana/Vincennes",
          "America/Indiana/Winamac",
          "America/Indianapolis",
          "America/Inuvik",
          "America/Iqaluit",
          "America/Jamaica",
          "America/Jujuy",
          "America/Juneau",
          "America/Kentucky/Louisville",
          "America/Kentucky/Monticello",
          "America/Knox_IN",
          "America/Kralendijk",
          "America/La_Paz",
          "America/Lima",
          "America/Los_Angeles",
          "America/Louisville",
          "America/Lower_Princes",
          "America/Maceio",
          "America/Managua",
          "America/Manaus",
          "America/Marigot",
          "America/Martinique",
          "America/Matamoros",
          "America/Mazatlan",
          "America/Mendoza",
          "America/Menominee",
          "America/Merida",
          "America/Metlakatla",
          "America/Mexico_City",
          "America/Miquelon",
          "America/Moncton",
          "America/Monterrey",
          "America/Montevideo",
          "America/Montreal",
          "America/Montserrat",
          "America/Nassau",
          "America/New_York",
          "America/Nipigon",
          "America/Nome",
          "America/Noronha",
          "America/North_Dakota/Beulah",
          "America/North_Dakota/Center",
          "America/North_Dakota/New_Salem",
          "America/Nuuk",
          "America/Ojinaga",
          "America/Panama",
          "America/Pangnirtung",
          "America/Paramaribo",
          "America/Phoenix",
          "America/Port-au-Prince",
          "America/Port_of_Spain",
          "America/Porto_Acre",
          "America/Porto_Velho",
          "America/Puerto_Rico",
          "America/Punta_Arenas",
          "America/Rainy_River",
          "America/Rankin_Inlet",
          "America/Recife",
          "America/Regina",
          "America/Resolute",
          "America/Rio_Branco",
          "America/Rosario",
          "America/Santa_Isabel",
          "America/Santarem",
          "America/Santiago",
          "America/Santo_Domingo",
          "America/Sao_Paulo",
          "America/Scoresbysund",
          "America/Shiprock",
          "America/Sitka",
          "America/St_Barthelemy",
          "America/St_Johns",
          "America/St_Kitts",
          "America/St_Lucia",
          "America/St_Thomas",
          "America/St_Vincent",
          "America/Swift_Current",
          "America/Tegucigalpa",
          "America/Thule",
          "America/Thunder_Bay",
          "America/Tijuana",
          "America/Toronto",
          "America/Tortola",
          "America/Vancouver",
          "America/Virgin",
          "America/Whitehorse",
          "America/Winnipeg",
          "America/Yakutat",
          "America/Yellowknife",
          "Antarctica/Casey",
          "Antarctica/Davis",
          "Antarctica/DumontDUrville",
          "Antarctica/Macquarie",
          "Antarctica/Mawson",
          "Antarctica/McMurdo",
          "Antarctica/Palmer",
          "Antarctica/Rothera",
          "Antarctica/South_Pole",
          "Antarctica/Syowa",
          "Antarctica/Troll",
          "Antarctica/Vostok",
          "Arctic/Longyearbyen",
          "Asia/Aden",
          "Asia/Almaty",
          "Asia/Amman",
          "Asia/Anadyr",
          "Asia/Aqtau",
          "Asia/Aqtobe",
          "Asia/Ashgabat",
          "Asia/Ashkhabad",
          "Asia/Atyrau",
          "Asia/Baghdad",
          "Asia/Bahrain",
          "Asia/Baku",
          "Asia/Bangkok",
          "Asia/Barnaul",
          "Asia/Beirut",
          "Asia/Bishkek",
          "Asia/Brunei",
          "Asia/Calcutta",
          "Asia/Chita",
          "Asia/Choibalsan",
          "Asia/Chongqing",
          "Asia/Chungking",
          "Asia/Colombo",
          "Asia/Dacca",
          "Asia/Damascus",
          "Asia/Dhaka",
          "Asia/Dili",
          "Asia/Dubai",
          "Asia/Dushanbe",
          "Asia/Famagusta",
          "Asia/Gaza",
          "Asia/Harbin",
          "Asia/Hebron",
          "Asia/Ho_Chi_Minh",
          "Asia/Hong_Kong",
          "Asia/Hovd",
          "Asia/Irkutsk",
          "Asia/Istanbul",
          "Asia/Jakarta",
          "Asia/Jayapura",
          "Asia/Jerusalem",
          "Asia/Kabul",
          "Asia/Kamchatka",
          "Asia/Karachi",
          "Asia/Kashgar",
          "Asia/Kathmandu",
          "Asia/Katmandu",
          "Asia/Khandyga",
          "Asia/Kolkata",
          "Asia/Krasnoyarsk",
          "Asia/Kuala_Lumpur",
          "Asia/Kuching",
          "Asia/Kuwait",
          "Asia/Macao",
          "Asia/Macau",
          "Asia/Magadan",
          "Asia/Makassar",
          "Asia/Manila",
          "Asia/Muscat",
          "Asia/Nicosia",
          "Asia/Novokuznetsk",
          "Asia/Novosibirsk",
          "Asia/Omsk",
          "Asia/Oral",
          "Asia/Phnom_Penh",
          "Asia/Pontianak",
          "Asia/Pyongyang",
          "Asia/Qatar",
          "Asia/Qostanay",
          "Asia/Qyzylorda",
          "Asia/Rangoon",
          "Asia/Riyadh",
          "Asia/Saigon",
          "Asia/Sakhalin",
          "Asia/Samarkand",
          "Asia/Seoul",
          "Asia/Shanghai",
          "Asia/Singapore",
          "Asia/Srednekolymsk",
          "Asia/Taipei",
          "Asia/Tashkent",
          "Asia/Tbilisi",
          "Asia/Tehran",
          "Asia/Tel_Aviv",
          "Asia/Thimbu",
          "Asia/Thimphu",
          "Asia/Tokyo",
          "Asia/Tomsk",
          "Asia/Ujung_Pandang",
          "Asia/Ulaanbaatar",
          "Asia/Ulan_Bator",
          "Asia/Urumqi",
          "Asia/Ust-Nera",
          "Asia/Vientiane",
          "Asia/Vladivostok",
          "Asia/Yakutsk",
          "Asia/Yangon",
          "Asia/Yekaterinburg",
          "Asia/Yerevan",
          "Atlantic/Azores",
          "Atlantic/Bermuda",
          "Atlantic/Canary",
          "Atlantic/Cape_Verde",
          "Atlantic/Faeroe",
          "Atlantic/Faroe",
          "Atlantic/Jan_Mayen",
          "Atlantic/Madeira",
          "Atlantic/Reykjavik",
          "Atlantic/South_Georgia",
          "Atlantic/St_Helena",
          "Atlantic/Stanley",
          "Australia/ACT",
          "Australia/Adelaide",
          "Australia/Brisbane",
          "Australia/Broken_Hill",
          "Australia/Canberra",
          "Australia/Currie",
          "Australia/Darwin",
          "Australia/Eucla",
          "Australia/Hobart",
          "Australia/LHI",
          "Australia/Lindeman",
          "Australia/Lord_Howe",
          "Australia/Melbourne",
          "Australia/NSW",
          "Australia/North",
          "Australia/Perth",
          "Australia/Queensland",
          "Australia/South",
          "Australia/Sydney",
          "Australia/Tasmania",
          "Australia/Victoria",
          "Australia/West",
          "Australia/Yancowinna",
          "Brazil/Acre",
          "Brazil/DeNoronha",
          "Brazil/East",
          "Brazil/West",
          "CET",
          "CST6CDT",
          "Canada/Atlantic",
          "Canada/Central",
          "Canada/Eastern",
          "Canada/Mountain",
          "Canada/Newfoundland",
          "Canada/Pacific",
          "Canada/Saskatchewan",
          "Canada/Yukon",
          "Chile/Continental",
          "Chile/EasterIsland",
          "Cuba",
          "EET",
          "EST",
          "EST5EDT",
          "Egypt",
          "Eire",
          "Etc/GMT",
          "Etc/GMT+0",
          "Etc/GMT+1",
          "Etc/GMT+10",
          "Etc/GMT+11",
          "Etc/GMT+12",
          "Etc/GMT+2",
          "Etc/GMT+3",
          "Etc/GMT+4",
          "Etc/GMT+5",
          "Etc/GMT+6",
          "Etc/GMT+7",
          "Etc/GMT+8",
          "Etc/GMT+9",
          "Etc/GMT-0",
          "Etc/GMT-1",
          "Etc/GMT-10",
          "Etc/GMT-11",
          "Etc/GMT-12",
          "Etc/GMT-13",
          "Etc/GMT-14",
          "Etc/GMT-2",
          "Etc/GMT-3",
          "Etc/GMT-4",
          "Etc/GMT-5",
          "Etc/GMT-6",
          "Etc/GMT-7",
          "Etc/GMT-8",
          "Etc/GMT-9",
          "Etc/GMT0",
          "Etc/Greenwich",
          "Etc/UCT",
          "Etc/UTC",
          "Etc/Universal",
          "Etc/Zulu",
          "Europe/Amsterdam",
          "Europe/Andorra",
          "Europe/Astrakhan",
          "Europe/Athens",
          "Europe/Belfast",
          "Europe/Belgrade",
          "Europe/Berlin",
          "Europe/Bratislava",
          "Europe/Brussels",
          "Europe/Bucharest",
          "Europe/Budapest",
          "Europe/Busingen",
          "Europe/Chisinau",
          "Europe/Copenhagen",
          "Europe/Dublin",
          "Europe/Gibraltar",
          "Europe/Guernsey",
          "Europe/Helsinki",
          "Europe/Isle_of_Man",
          "Europe/Istanbul",
          "Europe/Jersey",
          "Europe/Kaliningrad",
          "Europe/Kiev",
          "Europe/Kirov",
          "Europe/Kyiv",
          "Europe/Lisbon",
          "Europe/Ljubljana",
          "Europe/London",
          "Europe/Luxembourg",
          "Europe/Madrid",
          "Europe/Malta",
          "Europe/Mariehamn",
          "Europe/Minsk",
          "Europe/Monaco",
          "Europe/Moscow",
          "Europe/Nicosia",
          "Europe/Oslo",
          "Europe/Paris",
          "Europe/Podgorica",
          "Europe/Prague",
          "Europe/Riga",
          "Europe/Rome",
          "Europe/Samara",
          "Europe/San_Marino",
          "Europe/Sarajevo",
          "Europe/Saratov",
          "Europe/Simferopol",
          "Europe/Skopje",
          "Europe/Sofia",
          "Europe/Stockholm",
          "Europe/Tallinn",
          "Europe/Tirane",
          "Europe/Tiraspol",
          "Europe/Ulyanovsk",
          "Europe/Uzhgorod",
          "Europe/Vaduz",
          "Europe/Vatican",
          "Europe/Vienna",
          "Europe/Vilnius",
          "Europe/Volgograd",
          "Europe/Warsaw",
          "Europe/Zagreb",
          "Europe/Zaporozhye",
          "Europe/Zurich",
          "GB",
          "GB-Eire",
          "GMT",
          "GMT+0",
          "GMT-0",
          "GMT0",
          "Greenwich",
          "HST",
          "Hongkong",
          "Iceland",
          "Indian/Antananarivo",
          "Indian/Chagos",
          "Indian/Christmas",
          "Indian/Cocos",
          "Indian/Comoro",
          "Indian/Kerguelen",
          "Indian/Mahe",
          "Indian/Maldives",
          "Indian/Mauritius",
          "Indian/Mayotte",
          "Indian/Reunion",
          "Iran",
          "Israel",
          "Jamaica",
          "Japan",
          "Kwajalein",
          "Libya",
          "MET",
          "MST",
          "MST7MDT",
          "Mexico/BajaNorte",
          "Mexico/BajaSur",
          "Mexico/General",
          "NZ",
          "NZ-CHAT",
          "Navajo",
          "PRC",
          "PST8PDT",
          "Pacific/Apia",
          "Pacific/Auckland",
          "Pacific/Bougainville",
          "Pacific/Chatham",
          "Pacific/Chuuk",
          "Pacific/Easter",
          "Pacific/Efate",
          "Pacific/Enderbury",
          "Pacific/Fakaofo",
          "Pacific/Fiji",
          "Pacific/Funafuti",
          "Pacific/Galapagos",
          "Pacific/Gambier",
          "Pacific/Guadalcanal",
          "Pacific/Guam",
          "Pacific/Honolulu",
          "Pacific/Johnston",
          "Pacific/Kanton",
          "Pacific/Kiritimati",
          "Pacific/Kosrae",
          "Pacific/Kwajalein",
          "Pacific/Majuro",
          "Pacific/Marquesas",
          "Pacific/Midway",
          "Pacific/Nauru",
          "Pacific/Niue",
          "Pacific/Norfolk",
          "Pacific/Noumea",
          "Pacific/Pago_Pago",
          "Pacific/Palau",
          "Pacific/Pitcairn",
          "Pacific/Pohnpei",
          "Pacific/Ponape",
          "Pacific/Port_Moresby",
          "Pacific/Rarotonga",
          "Pacific/Saipan",
          "Pacific/Samoa",
          "Pacific/Tahiti",
          "Pacific/Tarawa",
          "Pacific/Tongatapu",
          "Pacific/Truk",
          "Pacific/Wake",
          "Pacific/Wallis",
          "Pacific/Yap",
          "Poland",
          "Portugal",
          "ROC",
          "ROK",
          "Singapore",
          "Turkey",
          "UCT",
          "US/Alaska",
          "US/Aleutian",
          "US/Arizona",
          "US/Central",
          "US/East-Indiana",
          "US/Eastern",
          "US/Hawaii",
          "US/Indiana-Starke",
          "US/Michigan",
          "US/Mountain",
          "US/Pacific",
          "US/Samoa",
          "UTC",
          "Universal",
          "W-SU",
          "WET",
          "Zulu"
        ]
      },
      "UtcOffset": {
        "type": "string",
        "description": "A fixed offset from UTC, `+HH:MM` or `-HH:MM`, from `-23:59` to `+23:59`. East of UTC is\n`+`: `+08:00` is China Standard Time. `-00:00` is the same as `+00:00`.\n",
        "pattern": "^[+-]([01][0-9]|2[0-3]):[0-5][0-9]$"
      },
      "SearchPageSize": {
        "type": "integer",
        "description": "How many summaries each page of a search holds. With {json}`0`, a search returns {key}`hits` and\nthe histograms asked for, no summaries, and no {key}`next`.\n",
        "minimum": 0,
        "maximum": 100,
        "default": 10
      },
      "PageSize": {
        "type": "integer",
        "description": "How many entries each page holds.",
        "minimum": 1,
        "maximum": 100,
        "default": 10
      },
      "EffectiveSearchParameters": {
        "type": "object",
        "description": "A search as it would run: what was sent, with every default filled in, and {key}`from`\nand {key}`to` evaluated to instants at the time the request arrived.\n",
        "required": [
          "from",
          "to",
          "dateField",
          "pageSize"
        ],
        "properties": {
          "term": {
            "$ref": "#/components/schemas/Term"
          },
          "strategy": {
            "$ref": "#/components/schemas/Strategy"
          },
          "typeIn": {
            "$ref": "#/components/schemas/TypeIn"
          },
          "levelIn": {
            "$ref": "#/components/schemas/LevelIn"
          },
          "issuerIn": {
            "$ref": "#/components/schemas/IssuerIn"
          },
          "topicIn": {
            "$ref": "#/components/schemas/TopicIn"
          },
          "from": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "description": "The earliest instant of {key}`dateField` the search would include."
          },
          "to": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "description": "The instant of {key}`dateField` the search would stop before."
          },
          "dateField": {
            "$ref": "#/components/schemas/DateField"
          },
          "pageSize": {
            "$ref": "#/components/schemas/SearchPageSize"
          },
          "histograms": {
            "type": "object",
            "description": "The histograms asked for, each with its options' defaults\nfilled in, so {set}`\"time\": {}` comes back as {json}`{\"time\": {\"timeZone\": \"UTC\"}}`. Absent\nwhen none were asked for. A histogram may come to have options your client does not\nknow yet, with their defaults.\n",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      },
      "SearchFirstPage": {
        "type": "object",
        "required": [
          "hits",
          "summaries"
        ],
        "properties": {
          "hits": {
            "$ref": "#/components/schemas/Hits"
          },
          "summaries": {
            "$ref": "#/components/schemas/Summaries"
          },
          "histograms": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Histograms"
              }
            ],
            "description": "Absent when the request named no histograms."
          },
          "next": {
            "$ref": "#/components/schemas/SearchContinuation"
          },
          "truncated": {
            "$ref": "#/components/schemas/Truncated"
          }
        }
      },
      "SearchPage": {
        "type": "object",
        "required": [
          "summaries"
        ],
        "properties": {
          "summaries": {
            "$ref": "#/components/schemas/Summaries"
          },
          "next": {
            "$ref": "#/components/schemas/SearchContinuation"
          },
          "truncated": {
            "$ref": "#/components/schemas/Truncated"
          }
        }
      },
      "Truncated": {
        "type": "object",
        "description": "On the last page of a search that matches more than paging will deliver: this page\ncarries no {key}`next`, but it is not the end of the matches. Absent on every other page,\nso a page without {key}`next` and without {key}`truncated` is the end of the matches (see\n*Paging*).\n",
        "required": [
          "reason"
        ],
        "properties": {
          "reason": {
            "type": "string",
            "description": "Why paging stops here. `depth`: the search has reached the depth your\norganization may page to ({key}`agreement.depth` in {op}`GET /v1/me`); to reach the rest,\nnarrow the search. More reasons may be added: treat one you do not know as\n\"there is more\" all the same.\n",
            "minLength": 1
          }
        },
        "examples": [
          {
            "reason": "depth"
          }
        ]
      },
      "Hits": {
        "type": "integer",
        "description": "How many documents match the search in total. Each histogram adds up to this number.\nIt comes with the first page only.\n",
        "minimum": 0
      },
      "Summaries": {
        "type": "array",
        "description": "One page of results, most relevant first. Without a {key}`term`, newest first by the chosen\ndate ({key}`dateField`).\n",
        "items": {
          "$ref": "#/components/schemas/Summary"
        }
      },
      "SearchContinuation": {
        "type": "string",
        "description": "Opaque. Absent when there is nothing more, and when paging stops early, which\n{key}`truncated` then says (see *Paging*). Send it back unchanged, from the account that\nreceived it. It expires, at the earliest one hour after its search's first request.\n",
        "minLength": 1
      },
      "Histograms": {
        "type": "object",
        "description": "How the hits are distributed over time, issuers, levels and topics: each of these that\nthe request named in {key}`histograms`. A histogram without a bucket is left out, as a list\nthat describes a document is (see *What a document tells you, and what it does not*).\n",
        "properties": {
          "time": {
            "type": "array",
            "minItems": 1,
            "description": "Hits per period of the chosen date ({key}`dateField`), in time order. The period follows\nthe searched range: a day for up to 92 days, a month for up to twenty years, a year\nbeyond that. Every period of the range is there, an empty one with {json}`0`, and each\nbucket states its own bounds, in UTC. The periods are days, months or years in the\ntime zone the request names in {key}`histograms.time.timeZone`, UTC by default (see\n*Dates and time zones* in the introduction). The first starts at {key}`from` and the\nlast ends at {key}`to`, so either is part of a period when the range does not begin or\nend where a period does.\n",
            "items": {
              "type": "object",
              "required": [
                "from",
                "to",
                "hits"
              ],
              "properties": {
                "from": {
                  "type": "string",
                  "format": "date-time",
                  "description": "The start of the period (inclusive)."
                },
                "to": {
                  "type": "string",
                  "format": "date-time",
                  "description": "The end of the period (exclusive)."
                },
                "hits": {
                  "type": "integer",
                  "minimum": 0
                }
              }
            }
          },
          "issuer": {
            "type": "array",
            "minItems": 1,
            "description": "Hits per issuer.",
            "items": {
              "type": "object",
              "required": [
                "issuer",
                "hits"
              ],
              "properties": {
                "issuer": {
                  "$ref": "#/components/schemas/IssuerName"
                },
                "hits": {
                  "type": "integer",
                  "minimum": 0
                }
              }
            }
          },
          "level": {
            "type": "array",
            "minItems": 1,
            "description": "Hits per administrative level (machine-generated, see {key}`level`).",
            "items": {
              "type": "object",
              "required": [
                "level",
                "hits"
              ],
              "properties": {
                "level": {
                  "$ref": "#/components/schemas/Level"
                },
                "hits": {
                  "type": "integer",
                  "minimum": 0
                }
              }
            }
          },
          "topic": {
            "type": "array",
            "minItems": 1,
            "description": "Hits per topic (machine-generated, see {key}`topic`).",
            "items": {
              "type": "object",
              "required": [
                "topic",
                "hits"
              ],
              "properties": {
                "topic": {
                  "$ref": "#/components/schemas/Topic"
                },
                "hits": {
                  "type": "integer",
                  "minimum": 0
                }
              }
            }
          }
        }
      },
      "SavedSearch": {
        "type": "object",
        "required": [
          "scope",
          "name",
          "changedAt",
          "parameters"
        ],
        "properties": {
          "scope": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ScopeId"
              }
            ],
            "description": "The scope it lives in. With {key}`name`, it is the search's address:\n`/v1/saved_searches/{scope}/{name}`.\n"
          },
          "name": {
            "$ref": "#/components/schemas/SavedSearchName"
          },
          "title": {
            "type": "string",
            "description": "The title it was saved with. Absent when none was."
          },
          "description": {
            "type": "string",
            "description": "The description it was saved with. Absent when none was.\n"
          },
          "changedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the search was last saved."
          },
          "parameters": {
            "$ref": "#/components/schemas/StoredSearchParameters"
          }
        }
      },
      "StoredSearchParameters": {
        "type": "object",
        "description": "The parameters as they were saved, as {op}`POST /v1/search` takes them, date math\nunevaluated. They may\nhave been saved by a newer client than yours, so a parameter, a {key}`strategy`, a\n{key}`dateField`, an issuer or a histogram may be one you do not know yet.\n",
        "properties": {
          "term": {
            "type": "string"
          },
          "strategy": {
            "type": "string"
          },
          "typeIn": {
            "$ref": "#/components/schemas/TypeIn"
          },
          "levelIn": {
            "$ref": "#/components/schemas/LevelIn"
          },
          "issuerIn": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IssuerName"
            }
          },
          "topicIn": {
            "$ref": "#/components/schemas/TopicIn"
          },
          "from": {
            "type": "string"
          },
          "to": {
            "type": "string"
          },
          "dateField": {
            "type": "string"
          },
          "pageSize": {
            "type": "integer"
          },
          "histograms": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      },
      "SavedSearchTitle": {
        "type": "string",
        "description": "What to call the search when showing it, in plain text, for example\n`Semiconductors, last 30 days`. Unlike {key}`name`, it can be changed with any save.\n",
        "minLength": 1,
        "maxLength": 200
      },
      "SavedSearchDescription": {
        "type": "string",
        "description": "What the search is for, or anything else the people who use it should know, in plain\ntext.\n",
        "minLength": 1,
        "maxLength": 2000
      },
      "SavedSearchList": {
        "type": "object",
        "required": [
          "searches"
        ],
        "properties": {
          "searches": {
            "type": "array",
            "description": "One page of saved searches, ordered by scope, then by name (both by Unicode code\npoint).\n",
            "items": {
              "$ref": "#/components/schemas/SavedSearch"
            }
          },
          "next": {
            "$ref": "#/components/schemas/ListSavedSearchesContinuation"
          }
        }
      },
      "ListSavedSearchesContinuation": {
        "type": "string",
        "description": "Opaque. Absent when there is nothing more. Send it back unchanged, from the account\nthat received it.\n",
        "minLength": 1
      },
      "Me": {
        "type": "object",
        "required": [
          "organization",
          "agreement"
        ],
        "properties": {
          "organization": {
            "$ref": "#/components/schemas/Organization"
          },
          "agreement": {
            "$ref": "#/components/schemas/Agreement"
          }
        }
      },
      "Organization": {
        "type": "object",
        "description": "The organization your account belongs to.",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Its name, to show.",
            "minLength": 1
          }
        }
      },
      "Agreement": {
        "type": "object",
        "description": "What your organization's agreement allows you on the server that answers. Bounds that\nthe agreement sets and this object does not name still hold, and are named when a\nrequest meets them.\n",
        "required": [
          "tier",
          "earliestFrom",
          "latestTo",
          "depth"
        ],
        "properties": {
          "tier": {
            "$ref": "#/components/schemas/TierName"
          },
          "earliestFrom": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InstantExpression"
              }
            ],
            "description": "The earliest {key}`from` a search may use here, as an instant expression such as\n{rcie}`now-1y` or {rcie}`1900-01-01`, the same that {problem}`range-not-entitled` names.\n"
          },
          "latestTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InstantExpression"
              }
            ],
            "description": "The latest {key}`to` a search may use here, as an instant expression such as\n{rcie}`3000-01-01`.\n"
          },
          "depth": {
            "type": "integer",
            "minimum": 1,
            "description": "How many hits one search may page through here (see *Paging*). A search with more\nhits than this ends with a page that carries {set}`\"truncated\": {\"reason\": \"depth\"}`.\n"
          },
          "until": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "description": "When your organization's access ends. Absent when the agreement sets no end.\nAfter it, every request is refused with {problem}`access-ended`.\n"
          }
        }
      },
      "TierName": {
        "type": "string",
        "description": "Your organization's tier, the kind of agreement it has: `partner`, `partner-standard`,\n`associate` or `sandbox`. It is a name we assign and keep: one never changes meaning,\nso branch on it, for example to show each tier in a way of your own. New tiers may\nappear; show one you do not know as it is.\n",
        "pattern": "^[a-z][a-z0-9-]*$",
        "minLength": 1,
        "maxLength": 32,
        "examples": [
          "partner",
          "sandbox"
        ]
      },
      "ScopeId": {
        "description": "A scope, where saved searches live and who can see them: one of the well-known\nscopes, `account` and `organization`, or one that may come later. Compare it whole, and expect\nothers.\n",
        "anyOf": [
          {
            "$ref": "#/components/schemas/WellKnownScope"
          },
          {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          }
        ]
      },
      "WellKnownScope": {
        "type": "string",
        "description": "The scopes whose meaning every client can rely on for the lifetime of `/v1`:\n`account`, your own, the one to use unless others are meant to share a search, and\n`organization`, shared in your organization. Whether you may use either is your\norganization's agreement's, and {op}`GET /v1/scopes` says (see *Saved searches and\nscopes*).\n",
        "enum": [
          "account",
          "organization"
        ]
      },
      "Scope": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/ScopeId"
          },
          "title": {
            "type": "string",
            "description": "What to call the scope when showing it, in plain text: for `organization`, your\norganization's name. Absent for `account`.\n",
            "minLength": 1
          }
        }
      },
      "ScopeList": {
        "type": "object",
        "required": [
          "scopes"
        ],
        "properties": {
          "scopes": {
            "type": "array",
            "description": "The scopes you can use on this server, ordered by id (by Unicode code point).\n",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/Scope"
            }
          }
        }
      },
      "SavedSearchName": {
        "type": "string",
        "description": "1 to 64 letters, combining marks, digits, `_` and `-`, in any script. Case-sensitive,\ncompared after Unicode NFC normalization.\n",
        "minLength": 1,
        "maxLength": 64,
        "examples": [
          "sector1",
          "prod_sector1",
          "半导体"
        ]
      },
      "RecentDocuments": {
        "type": "object",
        "x-stability": "experimental",
        "required": [
          "summaries",
          "asOf",
          "freshUntil"
        ],
        "properties": {
          "summaries": {
            "type": "array",
            "description": "Recent documents on each topic, up to 25 per topic, in one list: newest first by\n{key}`date`, then by {key}`id`. {json}`[]` when there are none.\n",
            "items": {
              "$ref": "#/components/schemas/Summary"
            }
          },
          "asOf": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "description": "When the lists were last refreshed. Documents that came in since are not in them."
          },
          "freshUntil": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "description": "When the next refresh is due. Asking again before then returns the same documents,\nso an answer can be kept and shown until this instant.\n"
          }
        }
      },
      "RelatedDocuments": {
        "type": "object",
        "x-stability": "experimental",
        "required": [
          "summaries",
          "outOfRange"
        ],
        "properties": {
          "summaries": {
            "type": "array",
            "description": "The related documents, the most closely related first, at most {key}`pageSize` of them.\n{json}`[]` when there are none.\n",
            "items": {
              "$ref": "#/components/schemas/Summary"
            }
          },
          "outOfRange": {
            "type": "integer",
            "minimum": 0,
            "description": "How many related documents are left out because their {key}`date` lies outside the\nrange your organization's agreement allows, counted over all of them, not only the\nfirst {key}`pageSize`. {json}`0` when none are.\n"
          }
        }
      },
      "EstimatedDocumentCount": {
        "type": "object",
        "x-stability": "experimental",
        "required": [
          "estimatedDocuments",
          "asOf",
          "freshUntil"
        ],
        "properties": {
          "estimatedDocuments": {
            "type": "integer",
            "minimum": 0,
            "description": "About how many documents we hold, searchable or not. An estimate: it is not the\nnumber any search can reach, and it may be lower in a later answer.\n"
          },
          "asOf": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "description": "When the estimate was taken."
          },
          "freshUntil": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "description": "When a new estimate may be taken. Asking again before then returns this one."
          }
        }
      },
      "PersonalData": {
        "type": "object",
        "x-stability": "experimental",
        "required": [
          "account",
          "savedSearches",
          "requests",
          "shownDocuments"
        ],
        "properties": {
          "account": {
            "type": "object",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "Your account's id at the login, which every record below is kept under."
              }
            }
          },
          "savedSearches": {
            "type": "array",
            "description": "Your saved searches in the scope `account`, whole, ordered by name (by Unicode code\npoint). {json}`[]` when there are none.\n",
            "items": {
              "$ref": "#/components/schemas/SavedSearch"
            }
          },
          "requests": {
            "type": "array",
            "description": "A record of each request you made, newest first. {json}`[]` when there are none.",
            "items": {
              "$ref": "#/components/schemas/RequestRecord"
            }
          },
          "shownDocuments": {
            "type": "array",
            "description": "Each document a search or detail showed you, ordered by id. {json}`[]` when there are\nnone.\n",
            "items": {
              "$ref": "#/components/schemas/ShownDocument"
            }
          }
        }
      },
      "RequestRecord": {
        "type": "object",
        "x-stability": "experimental",
        "description": "One request, as we recorded it once it was let through. A request refused before that,\nfor its token, a limit or a suspension, leaves no record.\n",
        "required": [
          "at",
          "operation",
          "organization",
          "tier",
          "session",
          "status",
          "parameters"
        ],
        "properties": {
          "at": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "description": "When it was answered."
          },
          "operation": {
            "type": "string",
            "minLength": 1,
            "description": "The operation, by its `operationId`, such as `search`."
          },
          "organization": {
            "type": "object",
            "description": "The organization you made it as.",
            "required": [
              "id",
              "name"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "The organization's id at the login."
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "description": "Its name at the time."
              }
            }
          },
          "tier": {
            "type": "string",
            "minLength": 1,
            "description": "The agreement it was served under, by our name for it. Usually your organization's\ntier; another when one of our own programs asked for you.\n"
          },
          "session": {
            "type": "string",
            "minLength": 1,
            "description": "The login session it was sent in."
          },
          "via": {
            "type": "string",
            "minLength": 1,
            "description": "The program of ours that sent it for you, such as `website`. Absent when you sent it\nyourself.\n"
          },
          "address": {
            "type": "string",
            "minLength": 1,
            "description": "The network address it came from. Absent when we were not told it."
          },
          "status": {
            "type": "integer",
            "minimum": 100,
            "maximum": 599,
            "description": "The answer's HTTP status."
          },
          "problem": {
            "type": "string",
            "minLength": 1,
            "description": "The answer's problem type, such as {problem}`invalid-request`. Absent for a success."
          },
          "parameters": {
            "type": "object",
            "description": "What we kept of the request, named as in the request where it has a name there:\nfor a search its term, filters, time frame, page and how many hits it had; for a\nsaved search its scope and name, and its parameters before and after a change.\nNever the ids of the documents shown, which are in {key}`shownDocuments`. {json}`{}` when\nnothing was kept.\n",
            "additionalProperties": true
          }
        }
      },
      "ShownDocument": {
        "type": "object",
        "x-stability": "experimental",
        "required": [
          "id",
          "firstShown",
          "lastShown"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/DocumentId"
          },
          "firstShown": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "description": "When it was first shown to you."
          },
          "lastShown": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "description": "When it was last shown to you. Its entry is deleted 183 days after this."
          }
        }
      },
      "ErasedAccountData": {
        "type": "object",
        "x-stability": "experimental",
        "required": [
          "deletedSavedSearches"
        ],
        "properties": {
          "deletedSavedSearches": {
            "type": "integer",
            "minimum": 0,
            "description": "How many of your saved searches were deleted. {json}`0` when there were none."
          }
        }
      },
      "DetailResult": {
        "type": "object",
        "required": [
          "detail",
          "missing"
        ],
        "properties": {
          "detail": {
            "type": "array",
            "description": "The documents found, in no particular order.",
            "items": {
              "$ref": "#/components/schemas/Detail"
            }
          },
          "missing": {
            "type": "array",
            "description": "The requested ids the API does not know. Empty when all were found.",
            "items": {
              "$ref": "#/components/schemas/DocumentId"
            }
          }
        }
      },
      "DocumentId": {
        "type": "string",
        "x-provenance": "assigned",
        "description": "A document's id, assigned by ReConnect China, the same one reconnectchina.org uses: the\npath segment after `/items/` in {key}`rc`. Use it as it is; its format is not part of this\ncontract.\n",
        "minLength": 1
      },
      "Summary": {
        "type": "object",
        "description": "One search result: enough to decide whether a document is relevant, and to fill a\nspreadsheet row. {op}`POST /v1/detail` has the rest.\n",
        "required": [
          "id",
          "rc",
          "attribution",
          "type",
          "level",
          "topic",
          "issuer",
          "date",
          "dateKind",
          "dates",
          "en"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/DocumentId"
          },
          "rc": {
            "$ref": "#/components/schemas/RcLink"
          },
          "attribution": {
            "$ref": "#/components/schemas/Attribution"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "type": {
            "$ref": "#/components/schemas/Type"
          },
          "level": {
            "$ref": "#/components/schemas/Level"
          },
          "topic": {
            "$ref": "#/components/schemas/Topic"
          },
          "issuer": {
            "$ref": "#/components/schemas/IssuerName"
          },
          "date": {
            "$ref": "#/components/schemas/DocumentDate"
          },
          "dateKind": {
            "$ref": "#/components/schemas/DateKind"
          },
          "dates": {
            "$ref": "#/components/schemas/Dates"
          },
          "documentNumber": {
            "$ref": "#/components/schemas/DocumentNumber"
          },
          "en": {
            "type": "object",
            "description": "English, machine-generated.",
            "required": [
              "title"
            ],
            "properties": {
              "title": {
                "$ref": "#/components/schemas/EnglishTitle"
              },
              "summary": {
                "$ref": "#/components/schemas/EnglishSummary"
              }
            }
          },
          "zh": {
            "type": "object",
            "description": "Chinese, as published. Each field is absent when it is left out (see {key}`hidden`), and\n{key}`zh` itself when all of them are.\n",
            "properties": {
              "headline": {
                "$ref": "#/components/schemas/ChineseHeadline"
              },
              "teaser": {
                "type": "string",
                "x-provenance": "page",
                "description": "From the source page: the start of the subtitle and text, at most 160\ncharacters, ending in `…` when cut. The full text is the detail's {key}`zh.body`.\n",
                "maxLength": 160
              }
            }
          },
          "hidden": {
            "$ref": "#/components/schemas/HiddenFields"
          }
        }
      },
      "Detail": {
        "type": "object",
        "description": "One document in full, with everything its reconnectchina.org page shows.",
        "required": [
          "id",
          "rc",
          "attribution",
          "type",
          "level",
          "topic",
          "issuer",
          "date",
          "dateKind",
          "dates",
          "en",
          "lifecycle"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/DocumentId"
          },
          "rc": {
            "$ref": "#/components/schemas/RcLink"
          },
          "attribution": {
            "$ref": "#/components/schemas/Attribution"
          },
          "source": {
            "$ref": "#/components/schemas/Source"
          },
          "type": {
            "$ref": "#/components/schemas/Type"
          },
          "level": {
            "$ref": "#/components/schemas/Level"
          },
          "topic": {
            "$ref": "#/components/schemas/Topic"
          },
          "issuer": {
            "$ref": "#/components/schemas/IssuerName"
          },
          "date": {
            "$ref": "#/components/schemas/DocumentDate"
          },
          "dateKind": {
            "$ref": "#/components/schemas/DateKind"
          },
          "dates": {
            "$ref": "#/components/schemas/Dates"
          },
          "en": {
            "type": "object",
            "description": "English, machine-generated. There is no English full text; for one, translate\n{key}`zh.body`.\n",
            "required": [
              "title"
            ],
            "properties": {
              "title": {
                "$ref": "#/components/schemas/EnglishTitle"
              },
              "summary": {
                "$ref": "#/components/schemas/EnglishSummary"
              }
            }
          },
          "zh": {
            "type": "object",
            "description": "Chinese, as published. Each field is absent when it is left out (see {key}`hidden`), and\n{key}`zh` itself when all of them are.\n",
            "properties": {
              "headline": {
                "$ref": "#/components/schemas/ChineseHeadline"
              },
              "subtitle": {
                "type": "array",
                "x-provenance": "page",
                "description": "From the source page, the subtitle, one entry per line.",
                "minItems": 1,
                "items": {
                  "type": "string"
                }
              },
              "body": {
                "type": "array",
                "x-provenance": "page",
                "description": "From the source page, the full text as plain text, one entry per paragraph.\nAbsent for documents without running text, such as image-only posts or pages\nthat consist of attachments.\n",
                "minItems": 1,
                "items": {
                  "type": "string"
                }
              },
              "tables": {
                "type": "array",
                "x-provenance": "page",
                "description": "From the source page, the tables on it, one HTML `<table>` each, reduced to\n`table`, `tr`, `th` and `td` with `colspan` and `rowspan`.\n",
                "minItems": 1,
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "hidden": {
            "$ref": "#/components/schemas/HiddenFields"
          },
          "documentNumber": {
            "$ref": "#/components/schemas/DocumentNumber"
          },
          "department": {
            "type": "string",
            "x-provenance": "page",
            "description": "From the source page, the issuing body or bodies (发文机关) as printed, several\njoined with a comma. Unlike {key}`issuer`, this is whoever signed the document.\n"
          },
          "category": {
            "type": "string",
            "x-provenance": "assigned",
            "description": "Assigned by ReConnect China: the section of the source website the document was\ncollected from, e.g. `规章` or `行政规范性文件`, named when we set up collecting from that\nsection, usually as the website names it. It is not read from the document's page.\nUnlike {key}`type`, it judges nothing about the document itself.\n"
          },
          "keywords": {
            "type": "array",
            "x-provenance": "page",
            "description": "From the source page, the subject keywords (主题分类) as it lists them.",
            "minItems": 1,
            "items": {
              "type": "string"
            }
          },
          "lawStatus": {
            "type": "string",
            "x-provenance": "page",
            "description": "From the source page, the validity it states (时效性) as printed, e.g. `有效` or\n`失效`, as it was when we collected the page (see *What a document tells you, and\nwhat it does not* in the introduction).\n"
          },
          "links": {
            "type": "array",
            "x-provenance": "page",
            "description": "From the source page, the links to other web pages that it contains.",
            "minItems": 1,
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              }
            }
          },
          "attachments": {
            "type": "array",
            "x-provenance": "page",
            "description": "From the source page, the files attached to it, such as a PDF print version or data\nfiles.\n",
            "minItems": 1,
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "title": {
                  "type": "string",
                  "description": "The attachment's title as shown on the page."
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              }
            }
          },
          "images": {
            "type": "array",
            "x-provenance": "page",
            "description": "From the source page, its content images (not decoration).",
            "minItems": 1,
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "format": "uri"
                }
              }
            }
          },
          "lifecycle": {
            "$ref": "#/components/schemas/Lifecycle"
          }
        }
      },
      "RcLink": {
        "type": "string",
        "format": "uri",
        "x-provenance": "assigned",
        "description": "Assigned by ReConnect China: the document's page on reconnectchina.org. The last part\nof the link is derived from the English title ({key}`en.title`) once, when the page first\nappears, and kept from then on: a link keeps working when the title is later revised.\n",
        "examples": [
          "https://reconnectchina.org/items/6a91943dfffffa77f0192921/official-reply-of-the-people-s-government-of-gansu-province-on-the-protection-plan-for-the-famous"
        ]
      },
      "Source": {
        "type": "string",
        "format": "uri",
        "x-provenance": "page",
        "description": "From the source website: the page to link to for this document, the one that presents\nit. A document can draw on more than one page, such as a listing that gives its\ndocument number; this is the page to send a reader to. Absent when there is no such\npage that can be linked to.\n",
        "examples": [
          "https://www.shanghai.gov.cn/202618bgtwj/20260923/ffbc5dea27ba4b9694dea66187458a80.html"
        ]
      },
      "Attribution": {
        "type": "string",
        "x-provenance": "assigned",
        "description": "Assigned by ReConnect China: a ready-made attribution for this document, to publish\nnext to anything derived from it.\n",
        "examples": [
          "ReConnect China Database, University of Vienna — https://reconnectchina.org/items/6a91943dfffffa77f0192921/official-reply-of-the-people-s-government-of-gansu-province-on-the-protection-plan-for-the-famous"
        ]
      },
      "Instant": {
        "type": "string",
        "format": "date-time",
        "description": "A point in time, in UTC. How best to show it depends on what the date is and on who\nreads it (see *Dates and time zones* in the introduction).\n"
      },
      "DocumentDate": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Instant"
          }
        ],
        "x-provenance": "assigned",
        "description": "The one date the document is treated as having, an instant in UTC, chosen by\nReConnect China from its dates. {key}`from` and {key}`to`\nfilter on it, the time histogram buckets it and the ranking uses it, unless {key}`dateField`\nnames another date. How far back a search reaches is always measured on it. It is one\nof the dates in {key}`dates`, the publication date when the page gives one, and {key}`dateKind`\nsays which. When the source page gives no date at all it is when we collected the\ndocument, which is an approximation and can be later than the document's own date.\n"
      },
      "DateKind": {
        "type": "string",
        "x-provenance": "assigned",
        "description": "Which entry of {key}`dates` we took the document's {key}`date` from. A fixed set for the\nlifetime of `/v1`.\n",
        "enum": [
          "published",
          "issued",
          "implemented",
          "added"
        ]
      },
      "Dates": {
        "type": "object",
        "description": "Every date the document has, each an instant in UTC. The first three are printed on\nthe source page, and each is absent when the page does not give it; only {key}`added` is\nalways there. Summaries and detail carry the same set, so a search result already\nholds every date the document has.\n",
        "required": [
          "added"
        ],
        "properties": {
          "published": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "x-provenance": "page",
            "description": "When the document was published (发布日期, 公布日期), from the source page.\nFor presentation to users, prefer formatting in China Standard Time.\n"
          },
          "issued": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "x-provenance": "page",
            "description": "When the document was written or signed (成文日期), from the source page.\nFor presentation to users, prefer formatting in China Standard Time.\n"
          },
          "implemented": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "x-provenance": "page",
            "description": "When the document comes or came into effect (施行), from the source page.\nFor presentation to users, prefer formatting in China Standard Time.\n"
          },
          "added": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Instant"
              }
            ],
            "x-provenance": "assigned",
            "description": "When we first collected the document, stamped by us rather than printed. It says\nthe document existed by then, not when anyone last looked at the source page.\n"
          }
        }
      },
      "EnglishTitle": {
        "type": "string",
        "x-provenance": "generated",
        "description": "A title in English, **machine-generated**: one line that names the document. A\nlanguage model writes it from the Chinese headline and text, so it is not a translation\nof {key}`zh.headline` line by line. It is often shorter than the headline, but no length is\npromised. It can change when the model improves.\n",
        "minLength": 1
      },
      "EnglishSummary": {
        "type": "string",
        "x-provenance": "generated",
        "description": "A summary of the text, **machine-generated**, as the summarizer wrote it. It can run to\nseveral paragraphs and contain lists, and its line breaks carry that structure, so show\nit with them kept. It may use light markup in the manner of Markdown, but no particular\nmarkup language is promised. Absent until summarization has run, and for documents\nwithout text to summarize.\n",
        "minLength": 1
      },
      "DocumentNumber": {
        "type": "string",
        "x-provenance": "page",
        "description": "From the source page, the official document number (文号) as printed, e.g.\n`云政办发〔2024〕27号`. Not unique: a document reposted by several websites carries the\nsame number in each copy, so it can find copies, while {key}`id` identifies one. Absent for\ndocuments that carry none, such as news.\n"
      },
      "ChineseHeadline": {
        "type": "array",
        "x-provenance": "page",
        "description": "From the source page, the headline as published, one entry per line.",
        "minItems": 1,
        "items": {
          "type": "string"
        }
      },
      "HiddenFields": {
        "type": "array",
        "x-provenance": "assigned",
        "description": "Assigned by ReConnect China: the fields this document has that are left out of this\nanswer, each with the reason. Absent when nothing is left out. A field named here is\nabsent from the document; a field that is absent and not named here is one the\ndocument does not have (see *Fields left out* in the introduction).\n",
        "minItems": 1,
        "items": {
          "type": "object",
          "required": [
            "field",
            "reason"
          ],
          "properties": {
            "field": {
              "type": "string",
              "description": "The field left out, as its path in the document with a dot between names, e.g.\n{key}`zh.headline`.\n",
              "minLength": 1
            },
            "reason": {
              "type": "string",
              "description": "Why it is left out. `agreement`: your organization's agreement does not include\nthis field for this document. More reasons may be added: treat one you do not\nknow as left out all the same.\n",
              "minLength": 1
            }
          }
        },
        "examples": [
          [
            {
              "field": "zh.headline",
              "reason": "agreement"
            },
            {
              "field": "zh.teaser",
              "reason": "agreement"
            }
          ]
        ]
      },
      "Lifecycle": {
        "type": "object",
        "x-provenance": "assigned",
        "description": "Assigned by ReConnect China: whether the document is still shown on reconnectchina.org.\nSearch returns only documents in state `live`; detail answers for every id ever\nreturned, so an id stored long ago keeps working.\n\nThis is about our presentation, **not about the source website**: `live` does not mean\nthe document is still online there (see *What a document tells you, and what it does\nnot* in the introduction).\n",
        "required": [
          "state"
        ],
        "properties": {
          "state": {
            "type": "string",
            "description": "`live` while the document is shown, `archived` once it no longer is. More states\nmay be added: treat one you do not know as not `live`.\n"
          }
        }
      },
      "Span": {
        "type": "object",
        "description": "Where in a string a problem is: the characters from {key}`start` up to, not including,\n{key}`end`, counting from 0. Characters are Unicode code points, as `maxLength` counts\nthem, so `低空经济` is four; a program that marks text in another unit converts, such\nas a browser, whose strings count a character outside the Basic Multilingual Plane\nas two. Equal {key}`start` and {key}`end` mark the place where something is missing, such as\nthe end of a term that stops after {rcql}`&&`.\n",
        "required": [
          "start",
          "end"
        ],
        "additionalProperties": false,
        "properties": {
          "start": {
            "type": "integer",
            "minimum": 0
          },
          "end": {
            "type": "integer",
            "minimum": 0
          }
        }
      },
      "Problem": {
        "type": "object",
        "description": "An [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457) problem document.",
        "required": [
          "type",
          "title",
          "status"
        ],
        "properties": {
          "type": {
            "type": "string",
            "format": "uri",
            "description": "Identifies the problem; branch on this. One of the problem types under\n`https://api.reconnectchina.org/docs/v1/problems/`, named in each response's\ndescription and its `x-problem-types`, and listed in *Problem types*, for example\n`https://api.reconnectchina.org/docs/v1/problems/continuation-expired`. The URL is\nalso the type's documentation.\n"
          },
          "title": {
            "type": "string",
            "description": "A short, human-readable summary of the problem type."
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status code."
          },
          "detail": {
            "type": "string",
            "description": "A human-readable explanation of this occurrence."
          },
          "errors": {
            "type": "array",
            "description": "For {problem}`invalid-request`, each part of the request that is not valid, and for\n{problem}`range-not-entitled`, each end of the range that reaches too far. Each names\nthe part in exactly one way: {key}`pointer` for a part of the body, {key}`parameter` for a\npart of the path. A part with several mistakes in it, such as a {key}`term`, has an\nentry for each, and {key}`span` says where in it each one is.\n",
            "items": {
              "type": "object",
              "required": [
                "detail"
              ],
              "oneOf": [
                {
                  "required": [
                    "pointer"
                  ]
                },
                {
                  "required": [
                    "parameter"
                  ]
                }
              ],
              "properties": {
                "parameter": {
                  "type": "string",
                  "description": "The name of the path parameter, as this document names it, for example\n`name` in `/v1/saved_searches/{scope}/{name}`.\n"
                },
                "pointer": {
                  "type": "string",
                  "description": "A JSON Pointer ([RFC 6901](https://www.rfc-editor.org/rfc/rfc6901)) into\nthe request body, for example `/levelIn/0`. Empty for the body as a whole.\nFor the run of a saved search, it points into the search as it ran, as\nif the body had been `{\"parameters\": …}` with the saved parameters and\nyour overrides: `/parameters/from` whether {key}`from` was saved or sent.\n"
                },
                "span": {
                  "$ref": "#/components/schemas/Span"
                },
                "detail": {
                  "type": "string"
                }
              }
            }
          },
          "earliestFrom": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InstantExpression"
              }
            ],
            "description": "For {problem}`range-not-entitled`, the earliest {key}`from` your organization may use, as an\ninstant expression such as {rcie}`now-1y` or {rcie}`1900-01-01`.\n"
          },
          "latestTo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InstantExpression"
              }
            ],
            "description": "For {problem}`range-not-entitled`, the latest {key}`to` your organization may use, as an\ninstant expression such as {rcie}`3000-01-01`.\n"
          },
          "server": {
            "type": "string",
            "format": "uri",
            "description": "For {problem}`tier-served-elsewhere`, the server of this API that your account may use,\none of `servers`, such as `https://sandbox.api.reconnectchina.org`.\n"
          }
        }
      }
    }
  }
}
