ResolutionOptions
Input options to the DID resolution function per DID Resolution 1.0 §4.1.
The structure is REQUIRED as an input to resolve but MAY be empty — use EMPTY.
fromQueryParameters and fromJson are the supported entry points for options arriving from outside this library (the §12.1 GET and POST bindings respectively): both parse defensively and surface a malformed value via validate rather than throwing. Direct Json.decodeFromString<ResolutionOptions>(…) is reserved for round-tripping values this library itself already produced — a malformed versionTime there still throws out of XmlDateTimeSerializer, since that serializer is shared with org.trustweave.did.resolver.DidResolutionMetadata and org.trustweave.did.model.DidDocumentMetadata, where silently nulling a bad timestamp would hide data loss.
Parameters
media type of the caller's preferred DID document representation (§4.1)
expand relative DID URLs in the document to absolute ones (§4.1)
resolve a specific document version (§3, §13.4)
resolve the version valid at this time (§3, §13.4)
request a fresh read from the verifiable data registry (§13.2)
registered or method-specific options not modelled above