activity-streams-objects


One of the take-aways from the 2008-11-24 meetup was that we will begin to start building some real code around a small set of verbs and object types.  This is by no means intended to be an exhaustive list of objects, it is simply the objects we have currently defined and chosen to implement.  It is expected that we will extend and modify this list as we work to better define the set of common object types.  Brainstorming about potential object types should be added to activity-streams-object-brainstorming.

The purpose of the activity object type is to define the object portion of the activity at a conceptual level.  For each object type, there are various pieces of metadata that are likely to be of interest.  Each object type should define what those pieces of metadata are, and where they should be found within the activity.

All object types should be URIs.  It is expected that a fixed list of common objects will be created and published by the activity stream community.  Beyond this list, anyone will be able to create their own objects by simply defining them within a URI namespace they control.

Common Objects

The formal structure of the common objects is http://activitystrea.ms/schema/1.0/objectname/. If the object name is multiple words, they should be separated by a hyphen (-). Object names should be singular.

blog entry

Canonical name: http://activitystrea.ms/schema/1.0/blog-entry/

Acceptable verbs: all

photo

Canonical name: http://activitystrea.ms/schema/1.0/photo/

Acceptable verbs: all

video

Canonical name: http://activitystrea.ms/schema/1.0/video/

Acceptable verbs: all

status update

Canonical name: http://activitystrea.ms/schema/1.0/status-update/

Acceptable verbs:  all

bookmark

Canonical name: http://activitystrea.ms/schema/1.0/bookmark/

Acceptable verbs: all