How will this be related to or reconciled with name and preferredUsername as currently implemented by Mastodon-like servers? It feels like embedding presentation-related preferences into the aliases collection ordering will lead to confusion. It also doesn’t fully specify the presentation considerations, such as how the preferred alias (possibly something other than an acct: URI), will be transformed for presentation and display purposes.
Mastodon doesn’t generally follow this policy. For example, in displayed posts, I am often referred to @steve rather than by my domain-qualified Mastodon account “handle”.
+1 for a more generic property. Maybe sameAs or a similar name would make a difference between it and alsoKnownAs a bit more clear.
I have a use case in FEP-ef61 where a yet-to-be-decided property needs to specify identifiers that resolve to the same object. I think this is sufficiently close to the Webfinger use case, especially considering @trwnh’s idea to skip JRD.
The semantics are reasonably well understood already, because everyone already implements WebFinger
Someone else (the XRD WG) already documented them
This allows you to skip WF in the ActivityPub id to acct: handle direction. If you broaden this concept more widely into a syntax for transferring XRDs/JRDs, then it also directly gives us a method to do what @trwnh proposed with skipping JRD by basically defining a syntax for JRD-in-JSON-LD/AS2
In my understanding, WebFinger in Fediverse is used as a serialization of Web Linking to establish a self link from an acct: resource to an Activity Streams actor, and I wonder if we can also formalize the reverse discovery in terms of the Web Linking framework.
Come to think of it, Activity Vocabulary helpfully defines the Link type, which serves as a JSON-LD serialization of Web Linking. So I think we can use it to link an Activity Streams actor to an acct: resource, like the following:
I think the benefit of this approach is that it can be expressed in the core Activity Vocabulary terms without inventing an extension property or borrowing an external vocabulary.
IIUC, JSON-LD strings are xsd:string by default (https://www.w3.org/TR/2020/REC-json-ld11-20200716/#data-model: “A JSON-LD value is […], a string (which is interpreted as a typed value with type xsd:string), […].”) so I think the expanded term definition can simply be "webfinger": "wf:webfinger".