Spec coverage
The clients track the W3C Linked Web Storage Working Group drafts as of
9 November 2026: w3c/lws-protocol@db64f56,
published as the Working Draft of 9 November 2026. Since the 19 October baseline, a create in a container that does
not exist is the target not found outcome (404), the status table maps the three refusals to 401,
403 and 404 with optional problem details, and a server may answer 404 for 403; the clients already
behaved so. Since the 5 October baseline before it, a 401 leads to the authorization server through protected
resource metadata (RFC 9728), only application/lws+json is a required container media type, and resources move
between containers.
Documents
| Document | Status at baseline | Coverage |
|---|---|---|
| Linked Web Storage Protocol 1.0 (core) | Working Draft 2026-11-09 | Full client side |
| LWS Vocabulary | Group Note Draft (vocabulary unchanged since 2026-10-19) | Constants for all terms |
| Authentication Suite: OpenID Connect | Working Draft 2026-10-15 | OpenIdCredentials |
| Authentication Suite: SAML 2.0 | Working Draft 2026-11-09 | SamlCredentials |
| Authentication Suite: Self-signed Identity using Controlled Identifiers | Working Draft 2026-10-15 | SelfSignedCredentials (ES256, EdDSA) and CID document helpers |
| Authentication Suite: did:key | Discontinued, subsumed by the CID suite | did:key identities via SelfSignedCredentials.didKey |
| Notification Suite: Webhooks | Editor's Draft | Subscribe, list, cancel, and verify signed deliveries |
| Search and Type Index Services | Editor's Draft | Type index, type search (QUERY), Accept-Query discovery |
Feature matrix
All ten clients implement the same feature set. Language-specific differences are listed under each language guide.
| Feature | Spec section | Java | JS/TS | C++ | Rust | Go | Python | C# | Swift | PHP | Kotlin |
|---|---|---|---|---|---|---|---|---|---|---|---|
Storage discovery (rel=lws#storage) and storage description | core §Discovery | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Read / HEAD / range / conditional requests | core §Read resource | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Create data resources and containers (Slug, user links) | core §Create resource | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Replace (PUT) with If-Match; Prefer: set-linkset | core §Update resource | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
JSON Patch (PATCH) and arbitrary advertised patch formats | core §Update resource | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Delete, recursive delete (Depth: infinity) | core §Delete resource | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Container listing and lazy pagination | core §Containers, §Pagination | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Linkset read / replace / patch | core §Metadata | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Moving resources (MoveResource capability, up link patch) | core §Moving Resources | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| 401 challenge → protected resource metadata → discovery checks → AS metadata → token exchange → retry | core §Authorization | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| OpenID Connect, SAML 2.0, self-signed (CID, did:key) credentials | authn suites | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Webhook subscriptions | core §Notifications, webhook suite | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| RFC 9421 webhook signature verification | webhook suite §Authentication | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Access requests and grants (ODRL access profile) | core §Access Requests and Grants | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Type index, type search with QUERY | index | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| RFC 9457 problem details in errors | core §REST binding | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
C# specifics The C# client gets Ed25519 (EdDSA) from BouncyCastle.Cryptography, because .NET 10 has none; everything else uses the BCL (ECDsa, SHA256/SHA512, HttpClient, System.Text.Json). Its 501 exception is HttpNotImplementedException, so that it never clashes with System.NotImplementedException. A subscription's URL (the contract's subscription) is Subscription.Url. See the C# guide.
Swift specifics The Swift client gets its keys and signatures (P-256, P-384, Ed25519) and digests from swift-crypto, which is CryptoKit on Apple platforms, and its HTTP from URLSession (FoundationNetworking on Linux). Bodies are Data, so it has no streaming read or upload. Its errors are the cases of one LWSError enum. See the Swift guide.
PHP specifics The PHP client needs only the extensions most PHP builds bundle: ext-curl for HTTP (or any PSR-18 client through Psr18Transport), ext-openssl for P-256 and P-384 ECDSA, ext-sodium for Ed25519. Calls are synchronous, and bodies are strings, so it has no streaming read or upload. The contract's Resource is ReadResult, as resource is soft-reserved in PHP, and a subscription's URL is Subscription::$url. See the PHP guide.
Kotlin specifics The Kotlin client runs on the JDK alone, beside kotlinx-coroutines and kotlinx-serialization-json: java.net.http.HttpClient for HTTP, the JDK's providers for P-256 (SHA256withECDSAinP1363Format) and Ed25519. Operations are suspend functions and listings cold Flows; bodies are byte arrays, so it has no streaming read or upload. Its package is com.ebremer.lws.kotlin, beside the Java client's com.ebremer.lws, and a subscription's URL is Subscription.url. See the Kotlin guide.
Interpretation decisions
The drafts are still evolving. Where they leave something open, the clients behave as follows, and behave identically in every language.
- Identity hint on create →
Slug - The core draft defines an optional identity hint for create but does not bind it to a
header. The clients send
Slug(RFC 5023 §9.7), as Solid servers expect, percent-encoding non-ASCII characters. - Discovery checks
- Same scheme and authority means the scheme and host compared case-insensitively and the port after
defaults. The protected resource metadata's
resourcemust be the URL requested exactly, after only that normalisation: no trailing-slash or percent-encoding leniency. None of the discovery requests follows a redirect. Storage descriptions read for the check are cached. - Where a token goes
- A token is for a storage, which is no path prefix in general. The clients send a cached token ahead to
URLs inside the storage's URL or its root, each taken as a directory: same scheme, host and port, and a path
equal to it or below it at a
/boundary. Anywhere else they wait for a401: the retry of a request that has just passed the checks carries the token, and later ones reuse it after their own checks, with no new token request. - A 401 that fails a check
- Gets no token request, and the token the request carried is kept: a storage may hold a resource whose
401links to another storage. - Challenges of earlier drafts
- A
Bearerchallenge withas_uriandrealmand noresource_metadatais still followed: the URL must be inside the realm (same scheme, host and port, and a path equal to the realm path or below it at a/boundary, so/storage_10/xis not inside realm/storage_1), which is then the token'sresourceand scope. - Authorization server metadata location
/.well-known/lws-configurationis resolved with RFC 8414 §3.1 path insertion, so issuers with a path work. Theissuerin the metadata must equal the authorization server the protected resource metadata named (the first that passes the HTTPS check and your filter).- Container media types
- The clients ask for
application/lws+json, the one a server must honour, and read anapplication/ld+jsonorapplication/jsonanswer as the same document, a leniency towards servers of earlier drafts. They do not parse RDF. - Moves
movereads the linkset, then patches it with atestand areplaceof theuplink'shref, conditional on the linkset's ETag. It takes the resource's identifier after the move from the answer: the anchor of a200's linkset, else the URL it had. Whether a storage allows moves is the application's to check, withmoveCapability().- Transport security for tokens
- Authorization servers and token endpoints must use HTTPS, except on loopback hosts or when explicitly allowed for testing.
- Token lifetime
- Taken from
expires_in, else from the access token'sexpclaim, else 300 s. Tokens are refreshed 30 s before expiry and re-acquired once on401 invalid_token. - Self-signed JWTs
kidis always included (for did:key:did:key:z…#z…),audis the authorization server's issuer, the lifetime defaults to 300 s, andjtiis a random UUID.- Webhook verification strictness
- The signing key must be referenced from the storage description's
authenticationrelationship. The notification'sstoragemust equal the storage named by thekeyid.createdmust fall within a 300 s window. - Type matching
Container,lws:Containerandhttps://www.w3.org/ns/lws#Containerare treated as the same type. Models keep the raw values for lossless round-trips.- Relative URLs
- Servers may return relative
ids,Locationheaders and link targets. The clients always resolve them and only ever return absolute URLs.
Tracking the drafts Spec changes are tracked against the w3c/lws-protocol repository. The shared conformance fixtures are updated first, then each client.