addedInput schema / properties / date_end / anyOf
Added value: +[
+ {
+ "description": "A year, e.g., 1912.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "description": "A date: \"YYYY\", \"YYYY-MM\", or \"YYYY-MM-DD\", e.g., \"1912-04-16\".",
+ "pattern": "^(\\d{4})(?:-(\\d{1,2})(?:-(\\d{1,2}))?)?$",
+ "type": "string"
+ },
+ {
+ "const": "",
+ "type": "string"
+ }
+]
changedInput schema / properties / date_end / description
Previous value: -"End year for date filter, inclusive (e.g., 1920). Omit for no upper bound."New value: +"End of the date filter, inclusive, in the same forms as date_start (e.g., 1920 or \"1912-04-16\"). A year or month ends on its last day, so \"1912-04\" runs through April 30. Omit to run through the current year."
removedInput schema / properties / date_end / maximum
Removed value: -9007199254740991
removedInput schema / properties / date_end / minimum
Removed value: --9007199254740991
removedInput schema / properties / date_end / type
Removed value: -"integer"
addedInput schema / properties / date_start / anyOf
Added value: +[
+ {
+ "description": "A year, e.g., 1912.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "description": "A date: \"YYYY\", \"YYYY-MM\", or \"YYYY-MM-DD\", e.g., \"1912-04-16\".",
+ "pattern": "^(\\d{4})(?:-(\\d{1,2})(?:-(\\d{1,2}))?)?$",
+ "type": "string"
+ },
+ {
+ "const": "",
+ "type": "string"
+ }
+]
changedInput schema / properties / date_start / description
Previous value: -"Start year for date filter, inclusive (e.g., 1900). Omit for no lower bound."New value: +"Start of the date filter, inclusive: an integer year (e.g., 1900) or a \"YYYY\", \"YYYY-MM\", or \"YYYY-MM-DD\" string (e.g., \"1912-04-15\"); month and day may be one or two digits. A year or month starts on its first day. Omit for no lower bound."
removedInput schema / properties / date_start / maximum
Removed value: -9007199254740991
removedInput schema / properties / date_start / minimum
Removed value: --9007199254740991
removedInput schema / properties / date_start / type
Removed value: -"integer"
changedInput schema / properties / limit / description
Previous value: -"Results per page. Default 25, max 100."New value: +"Results per page. Default 25. A page holds at most 100 results: a larger limit (up to 1000) is served as a 100-result page, and page then counts 100-result pages."
changedInput schema / properties / limit / maximum
Previous value: -100New value: +1000
changedInput schema / properties / newspaper_title / description
Previous value: -"Filter to a specific newspaper by title (partial match accepted)."New value: +"Filter to one newspaper. Pass the newspaper_title value of a libofcongress_search_newspapers result exactly (case-insensitive), e.g., \"new-york tribune (new york [n.y.]) 1866-1924\" — the full catalog title with place and run. A shortened title such as \"New-York Tribune\" matches nothing."
changedInput schema / properties / state / description
Previous value: -"Filter to newspapers published in this US state. Use the full state name, lowercase (e.g., \"oklahoma\", \"new york\")."New value: +"Filter to newspapers LOC indexes under this US state: the full state name (e.g., \"oklahoma\", \"new york\") or its two-letter postal code (e.g., \"OK\", \"NY\"), case-insensitive. Use \"district of columbia\" (or \"DC\") for Washington, D.C.; \"washington\" means Washington state. City and county names match nothing."
addedOutput schema / properties / effectiveLimit
Added value: +{
+ "description": "The page size actually served when limit exceeded the per-call cap of 100. Absent when limit was within the cap.",
+ "type": "number"
+}
changedOutput schema / properties / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_date_range`: date_start is later than date_end. `rate_limit_exceeded`: LOC API rate limit exceeded; requests are blocked for approximately 1 hour. `server_busy`: More Library of Congress requests are queued on this server than can start within this call's time budget. `request_timed_out`: The Library of Congress did not respond within the 50-second request budget. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_date`: date_start or date_end names no calendar day: a month outside 01-12, or a day past the end of its month (e.g., \"1912-02-30\"). `invalid_date_range`: date_start is later than date_end, or date_start is given alone and is later than the current year. `rate_limit_exceeded`: LOC API rate limit exceeded; requests are blocked for approximately 1 hour. `server_busy`: More Library of Congress requests are queued on this server than can start within this call's time budget. `request_timed_out`: The Library of Congress did not respond within the 50-second request budget. `upstream_unavailable`: The Library of Congress could not be reached, or answered with an error status, a bot challenge or other HTML page, or an unreadable response instead of its JSON. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / error / properties / data / properties / reason / examples
Previous value: -[
- "invalid_date_range",
- "rate_limit_exceeded",
- "server_busy",
- "request_timed_out"
-]New value: +[
+ "invalid_date",
+ "invalid_date_range",
+ "rate_limit_exceeded",
+ "server_busy",
+ "request_timed_out",
+ "upstream_unavailable"
+]
changedOutput schema / properties / items / items / properties / newspaper_title / description
Previous value: -"Newspaper publication title."New value: +"The newspaper's full catalog title with place and run (e.g., \"the seattle star (seattle, wash.) 1899-1947\"). Pass it unchanged as newspaper_title to search only this paper."
changedOutput schema / properties / notice / description
Previous value: -"Recovery hint when results are empty or a page is out of range — echoes applied filters and suggests how to broaden. Absent on successful result pages."New value: +"Recovery hint when results are empty or a page is out of range — echoes applied filters and suggests how to broaden — plus disclosure of a capped limit or of the retrieval ceiling. Absent on ordinary result pages."