-
Notifications
You must be signed in to change notification settings - Fork 66
Description
The Actor
type was removed in #277.
The
Actor
type currently serves as a base class for the five primary Actor types. It does not, however, define any actor specific properties and it would be highly unlikely for an implementation to use theActor
type directly.
The same reasoning would also apply to Document
although that type was not removed.
The Actor
would be very useful for identifying custom actor types as an actor (using an as:type
array). Currently, there is no way to do that unless the actor type is closely related to one of the five primary Actor types. I'm guessing the original thinking was based on single-value types instead of type arrays.
Example:
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://server.example/actors"
],
"type": ["example:ExampleActor", "Actor"],
"name": "Example actor"
}
Having the Actor
type would allow a server to process a document like this more effectively.