OpenRPC discovery
A peer can publish the methods it exposes as an OpenRPC document. OpenRPC provides the JSON-RPC API-description format: it records method names, parameters, results, and errors, and uses JSON Schema for the data shapes.
Call GetOpenRpcDocument() to obtain a local snapshot, or invoke the reserved
JSON Schema dialect
Nerdbank.JsonRpc emits JSON Schema Draft 7 for Schema Objects, as required by OpenRPC 1.4.1.
Schemas come from the configured serializer and therefore reflect its configuration and converters. JSON and MessagePack peers may advertise different schemas for the same CLR type when their effective serializer representations differ. Custom converters that do not provide schema support may produce permissive or incomplete schemas, as documented by the corresponding serializer.
Scope and error reporting
The document describes locally registered methods; it does not enumerate attached client proxies, methods exposed dynamically by marshaled objects, or the transport framing. Event notifications are not callable methods and are not listed. The built-in
Each method lists invalid-parameter, internal-error, and (when applicable) cancellation errors. Application exceptions are not statically enumerable. If AdditionalExceptionTypes allows typed exception payloads, their serializer-generated schemas are included in the