addedInput schema / properties / parameterCd / items / pattern
Added value: +"^\\d{5}$"
changedInput schema / properties / period / description
Previous value: -"ISO 8601 duration for the lookback period (e.g. \"PT2H\" = last 2 hours, \"P1D\" = last 1 day, \"P7D\" = last 7 days). Default: \"PT2H\" (last 2 hours of readings)."New value: +"ISO 8601 duration for the lookback period (e.g. \"PT2H\" = last 2 hours, \"P1D\" = last 1 day, \"P7D\" = last 7 days). Default: \"PT2H\" (last 2 hours of readings). Widening it raises totalValues, but each series still returns only its 10 most recent records — use water_get_series to retrieve a full series."
addedInput schema / properties / period / pattern
Added value: +"^P(?!$)(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+(\\.\\d+)?S)?)?$"
addedInput schema / properties / sites / items / pattern
Added value: +"^\\d{8,15}$"
addedOutput schema / properties / missingSites
Added value: +{
+ "description": "Requested site numbers NWIS returned no series for — the site may not exist, or may not measure the requested parameter(s) in the requested period. Empty when every requested site returned data. Verify these with water_find_sites.",
+ "items": {
+ "description": "A requested USGS site number that returned no time series.",
+ "type": "string"
+ },
+ "type": "array"
+}
addedOutput schema / properties / readings / items / properties / totalValues
Added value: +{
+ "description": "Number of value records NWIS returned for this site and parameter over the requested period, before the 10-record cap. Equals values.length when nothing was capped.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+}
changedOutput schema / properties / readings / items / properties / values / description
Previous value: -"Time-ordered value records for this site and parameter."New value: +"Time-ordered value records for this site and parameter, capped at the most recent 10. Compare with totalValues to see whether the period held more; use water_get_series for the full series."
changedOutput schema / properties / readings / items / required
Previous value: -[
- "siteNumber",
- "siteName",
- "parameterCd",
- "parameterName",
- "unitCode",
- "values"
-]New value: +[
+ "siteNumber",
+ "siteName",
+ "parameterCd",
+ "parameterName",
+ "unitCode",
+ "values",
+ "totalValues"
+]
addedOutput schema / properties / truncated
Added value: +{
+ "description": "True when at least one series held more than 10 records and was capped. Per-series counts are in readings[].totalValues; use water_get_series for the full series.",
+ "type": "boolean"
+}
changedOutput schema / required
Previous value: -[
- "readings",
- "total",
- "query"
-]New value: +[
+ "readings",
+ "total",
+ "truncated",
+ "missingSites",
+ "query"
+]