| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

activity-streams-objects

Page history last edited by Will Norris 15 years, 3 months ago

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

  • title
  • content
  • categories/tags
  • permalink
  • updated
  • published

photo

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

Acceptable verbs: all

  • Title: title
  • Thumbnail: media:thumbnail
  • Object URL: rel-enclosure
  • Permalink: rel-alternate
  • Time of activity: published
  • Time taken: dc:date.taken
  • description
  • Tags: category
  • Location: geo:lat/geo:long

video

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

Acceptable verbs: all

  • title
  • URL of video/stream
  • URL of player
  • URL of thumbnail
  • URL of larger poster frame
  • description

status update

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

Acceptable verbs:  all

  • title/content
  • author
  • published
  • permalink

bookmark

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

Acceptable verbs: all

  • Title: title
  • Thumbnail: media:thumbnail
  • Object URL: rel-enclosure
  • description
  • Permalink: rel-alternate
  • Time of activity: published
  • Time taken: dc:date.taken
  • Tags: category
  • Location: geo:lat/geo:long

Comments (1)

Joël de Bruijn said

at 2:52 am on Jan 10, 2009

Would it be usefull to have "Location: geo:lat/geo:long" for "status update" also? To create a geo-tagged microblog-stream?

You don't have permission to comment on this page.