{ "name": "download.add \u2014 segments above the contract's maximum", "description": "Params are validated against the schema before any handler runs, so a handler never sees an out-of-range value.", "request": { "jsonrpc": "2.0", "id": 108, "method": "download.add", "params": { "url": "https://releases.ubuntu.com/26.04/ubuntu-26.04-desktop-amd64.iso", "segments": 64, "startMode": "now" } }, "response": { "jsonrpc": "2.0", "id": 108, "error": { "code": -32602, "message": "params/segments: value is above the maximum of 32", "data": { "path": "params/segments" } } }, "assertions": [ "data.path is a JSON Pointer at the offending field", "validation happens before the handler, on both transports" ] }