Hi all
In working on my validator for ActivityPub data, I’ve come across something in the ActivityStreams spec which looks to me (unless I’m misunderstanding something basic) to be a mistake.
The describes
property of the Profile
object is described as
Domain: | Profile |
---|---|
Range: | Object |
This is unusual: I would expect the range to be Link | Object
. The reasons I would expect this are
- Most properties which take
Object
values also takeLink
values; - Any Profile certainly describes an
Actor
, and theActor
object must also exist in the system with its own URI; - Copying the data from the
Actor
object into theProfile
object creates duplication; it is at best redundent and at worst risks inconsistency.
Am I right in thinking this is an error in the spec and that in the real world, a URI value for the describes
property should be accepted? Or should I enforce the rule that this should be an explicit local Object
?