Description
A "service" can represent a website, business, or other entity that performs some kind of work for other entities, people, or services.
Properties
Property name |
Type |
Required |
Property Description |
JSON field |
Atom field |
RSS field |
name |
string |
yes |
The name of the service |
|
|
|
summary |
string |
no |
Description of the service
|
|
atom:summary |
|
id |
string |
no |
Default is the url for the service
|
|
atom:id |
|
url |
URI |
yes |
Link to the main page for the service
|
|
atom:link rel="alternate" |
|
icon |
URI |
no |
Favicon for the service |
|
atom:link rel="icon" |
|
URI
http://activitystrea.ms/schema/1.0/service
Examples
<entry>
<id>tag:infinitehoops.com,2010:/Activity/2206</id>
<title type="text">Tosh Meston joined InfiniteHoops.</title>
<published>2010-01-09T11:45:26-08:00</published>
<updated>2010-03-05T05:05:46Z</updated>
<content type="html"><a href="http://infinitehoops.com/players/2/Tosh_Meston">Tosh Meston</a> joined <a href="http://infinitehoops.com">InfiniteHoops</a>.</content>
<author>
<name>Tosh Meston</name>
<uri>http://infinitehoops.com/players/2/Tosh_Meston</uri>
</author>
<activity:actor>
<id>tag:infinitehoops.com,2010:/Person/2410</id>
<link rel="alternate" type="text/html">http://infinitehoops.com/players/2/Tosh_Meston</link>
<title type="text">Tosh Meston</title>
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
</activity:actor>
<activity:verb>http://activitystrea.ms/schema/1.0/join</activity:verb>
<activity:object>
<id>tag:infinitehoops.com,2010:/Service</id>
<published>2010-01-09T11:45:26</published>
<link rel="alternate" type="text/html">http://infinitehoops.com/</link>
<title type="text">InfiniteHoops</title>
<activity:object-type>http://activitystrea.ms/schema/1.0/service</activity:object-type>
</activity:object>
</entry>
Notes
The service object type was originally conceived as a way to convey a "website" object, as in "Bob joined [this website]." Since "website" sounds awkward in that context, it was decided that a "Service" object type would be more generally useful and apply to more contexts.
Implementations
None.
Status
This page is a DRAFT and is subject to change.
It is not final.
Maintainers
Comments (0)
You don't have permission to comment on this page.