-
Notifications
You must be signed in to change notification settings - Fork 90
Description
For inbox and outbox the specification says:
Actor objects MUST have, in addition to the properties mandated by 3.1 Object Identifiers, the following properties:
inbox
A reference to an [ActivityStreams] OrderedCollection comprised of all the messages received by the actor; see 5.2 Inbox.
outbox
An [ActivityStreams] OrderedCollection comprised of all the messages produced by the actor; see 5.1 Outbox.
A reference is implicitly understood to mean a URI that, when resolved as stated in ActivityPub, will yield an OrderedCollection. Thus, this says that the inbox must be a URI.
However, for the outbox it specifically omits the word reference, which heavily implies the actual OrderedCollection must be embedded within the actor.
This kind of imprecise use of language, coupled with the permissiveness of ActivityStreams, implies that Example 9 is incorrect:
{
"@context": ["https://www.w3.org/ns/activitystreams",
{"@language": "ja"}],
"type": "Person",
"id": "https://kenzoishii.example.com/",
"following": "https://kenzoishii.example.com/following.json",
"followers": "https://kenzoishii.example.com/followers.json",
"liked": "https://kenzoishii.example.com/liked.json",
"inbox": "https://kenzoishii.example.com/inbox.json",
"outbox": "https://kenzoishii.example.com/feed.json",
"preferredUsername": "kenzoishii",
"name": "石井健蔵",
"summary": "この方はただの例です",
"icon": [
"https://kenzoishii.example.com/image/165987aklre4"
]
}
Please either omit "reference" when describing the inbox, permitting implementors to inline the OrderedCollections or not, or standardize "reference" to mean inlining the actual ActivityStream data is not permitted.