silverpill@mitra.social the second code example in FEP 844e is wrong though, it uses [
and ]
instead of {
and }
around the "object" in implements

Emelia
@thisismissem@activitypub.space
Post
-
WordPress and 844e -
WordPress and 844eEvery single value is equivalent to an array of a single value in JSON-LD... so these are equivalent:
"implements": { "href": "https://datatracker.ietf.org/doc/html/rfc9421", "name": "RFC-9421: HTTP Message Signatures" }
"implements": [{ "href": "https://datatracker.ietf.org/doc/html/rfc9421", "name": "RFC-9421: HTTP Message Signatures" }]
So it doesn't need "to be an array", but not making it an array could trip up some clients that are not JSON-LD aware.