Abstract
This specification describes the Activity vocabulary.
Status of This Document
This section describes the status of this document at the time of its publication.
Other documents may supersede this document. A list of current W3C publications and the
latest revision of this technical report can be found in the W3C technical reports index at
http://www.w3.org/TR/.
This document was published by the Social Web Working Group as a Working Draft.
This document is intended to become a W3C Recommendation.
If you wish to make comments regarding this document, please send them to
public-socialweb@w3.org
(subscribe,
archives).
All comments are welcome.
Publication as a Working Draft does not imply endorsement by the W3C
Membership. This is a draft document and may be updated, replaced or obsoleted by other
documents at any time. It is inappropriate to cite this document as other than work in
progress.
This document was produced by a group operating under the
5 February 2004 W3C Patent
Policy.
W3C maintains a public list of any patent
disclosures
made in connection with the deliverables of the group; that page also includes
instructions for disclosing a patent. An individual who has actual knowledge of a patent
which the individual believes contains
Essential
Claim(s) must disclose the information in accordance with
section
6 of the W3C Patent Policy.
This document is governed by the 1 August 2014 W3C Process Document.
1. Introduction
The Activity Streams 2.0 Core Syntax
defines the JSON syntax for Activity Streams. This document defines the
vocabulary properties.
The Activity Streams 2.0 Vocabulary defines a set of abstract classes
and properties that describe past, present and future Activities.
The vocabulary is defined in two parts:
- A Core set of properties describing the generalized structure of an Activity; and
- An Extended set of properties that cover specific types of Activities and Artifacts
common to many "Social" Web application systems.
While not all Activity Streams 2.0 implementations are expected to implement
support for the Extended properties, all implementations MUST at least be capable
of serializing and deserializing the Extended properties in accordance with the
Activity Streams 2.0 Core Syntax.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [RFC2119].
1.1 Value Conventions
This specification uses IRIs [RFC3987]. Every URI [RFC3986] is also
an IRI, so a URI may be used wherever an IRI is named. There are two
special considerations: (1) when an IRI that is not also a URI is
given for dereferencing, it MUST be mapped to a URI using the steps
in Section 3.1 of [RFC3987] and (2) when an IRI is serving as an "id"
value, it MUST NOT be so mapped.
Unless otherwise specified, all properties defined as xsd:dateTime
values
MUST conform to the "date-time" production in [RFC3339], with an
uppercase "T" character used to separate date and time, and an
uppercase "Z" character in the absence of a numeric time zone offset.
All such timestamps SHOULD be represented relative to Coordinated
Universal Time (UTC).
2. Core Classes
The Activity Vocabulary Core Classes provide the basis for the rest of the
vocabulary.
Base URI: http://www.w3.org/ns/activitystreams#
.
The Activity Streams 2.0 Core Classes include:
Object
|
Link
|
Activity
|
IntransitiveActivity
|
Actor
|
Collection
|
OrderedCollection
Class |
Description |
Example |
Object |
URI: |
http://www.w3.org/ns/activitystreams#Object |
Example 1 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Object",
"@id": "urn:example:object:1",
"displayName": "A Simple, non-specific object"
}
Example 2 <div itemscope
itemid="urn:example:object:1"
itemtype="http://www.w3.org/ns/activitystreams#Object">
<span itemprop="displayName">
A Simple, non-specific object
</span>
</div>
Example 3 <div vocab="http://www.w3.org/ns/activitystreams#"
resource="urn:example:object:1"
typeof="Object">
<span property="displayName">
A Simple, non-specific object
</span>
</div>
Example 5 @prefix as: <http://www.w3.org/ns/activitystreams#>.
<urn:example:object:1> a as:Object ;
as:displayName "A Simple, non-specific object" .
|
Notes: |
Describes an object of any kind. The Object class serves as the base class
for most of the other kinds of objects defined in the Activity Vocabulary,
include other Core classes such as Activity ,
IntransitiveActivity , Actor ,
Collection and OrderedCollection .
|
Disjoint With: |
Link |
Properties: |
alias |
attachedTo |
attachment |
attributedTo |
attributedWith |
content |
context |
contextOf |
displayName |
endTime |
generator |
generatorOf |
icon |
image |
inReplyTo |
memberOf |
location |
locationOf |
objectOf |
originOf |
preview |
previewOf |
provider |
providerOf |
published |
rating |
resultOf |
replies |
scope |
scopeOf |
startTime |
summary |
tag |
tagOf |
targetOf |
title |
updated |
url
|
Link |
URI: |
http://www.w3.org/ns/activitystreams#Link |
Example 6 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Link",
"href": "http://example.org/abc",
"hreflang": "en",
"mediaType": "text/html",
"displayName": "An example link"
}
Example 7 <a itemscope
itemtype="http://www.w3.org/ns/activitystreams#Link"
href="http://example.org/abc"
hreflang="en"
type="text/html"
itemprop="displayName">An example link</a>
Example 8 <a vocab="http://www.w3.org/ns/activitystreams#"
typeof="Link"
href="http://example.org/abc"
hreflang="en"
type="text/html"
property="displayName">An example link</a>
Example 10 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_:c14n0 a as:Link ;
as:displayName "An example link" ;
as:href <http://example.org/abc> ;
as:hreflang "en" ;
as:mediaType "text/html" .
|
Notes: |
A Link is an indirect, qualified reference to a resource identified
by a URL. The fundamental model for links is established by
[RFC5988]. Many of the properties defined by the Activity
Vocabulary allow values that are either instances of
Object or Link . When
a Link is used, it establishes a
qualified relation
connecting the subject (the containing object) to the resource
identified by the href .
|
Disjoint With: |
Object |
Properties: |
href |
rel |
mediaType |
displayName |
title |
hreflang |
height |
width |
duration
Links MAY also have the following "inverse properties":
actorOf |
attachedTo |
attributedWith |
contextOf |
generatorOf |
iconFor |
imageOf |
locationOf |
memberOf |
objectOf |
originOf |
previewOf |
providerOf |
resultOf |
scopeOf |
tagOf |
targetOf
|
Activity |
URI: |
http://www.w3.org/ns/activitystreams#Activity |
Example 11 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Activity",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Note",
"displayName": "A Note"
}
}
Example 12 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Activity">
<span itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person"
itemprop="actor">
<span itemprop="displayName">Sally</span>
</span>
did something to
<span itemscope
itemtype="http://www.w3.org/ns/activitystreams#Note"
itemprop="object">
<span itemprop="displayName">A Note</span>
</span>
</div>
Example 13 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Activity">
<span typeof="Person" property="actor">
<span property="displayName">Sally</span>
</span>
did something to
<span typeof="Note" property="object">
<span property="displayName">A Note</span>
</span>
</div>
Example 15 @prefix as: <http://www.w3.org/ns/activitystreams#>.
_:c14n0 a as:Activity ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Note ;
as:displayName "A Note" .
] .
|
Notes: |
An Activity is a subclass of Object that describes some
form of action that may happen, is currently happening, or that has already happened.
The Activity class itself serves as an abstract base class for all types
of activities. It is important to note that the Activity
class itself does not carry any specific semantics about the kind of action being
taken.
|
Extends: |
Object |
Properties: |
actor |
object |
target |
result |
origin |
priority |
to |
bto |
cc |
bcc
Inherits all properties from Object .
|
IntransitiveActivity |
URI: |
http://www.w3.org/ns/activitystreams#IntransitiveActivity |
Example 16 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Travel",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"target": {
"@type": "Place",
"displayName": "Work"
}
}
Example 17 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Travel">
<meta itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person"
itemprop="actor">
<meta itemprop="displayName">Sally</meta>
</meta>
is traveling to
<meta itemscope
itemtype="http://www.w3.org/ns/activitystreams#Place"
itemprop="target">
<meta itemprop="displayName">Work</meta>
</meta>
</div>
Example 18 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Travel">
<meta typeof="Person" property="actor">
<meta property="displayName">Sally</meta>
</meta>
is traveling to
<meta typeof="Place" property="target">
<meta property="displayName">Work</meta>
</meta>
</div>
Example 20 @prefix as: <http://www.w3.org/ns/activitystreams#>.
_:c14n0 a as:Travel ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:target [
a as:Place ;
as:displayName "Work" .
] .
|
Notes: |
Instances of IntransitiveActivity are a subclass of
Activity whose actor property
identifies the direct object of the action as opposed to using
the object property.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity except object .
|
Actor |
URI: |
http://www.w3.org/ns/activitystreams#Actor |
Example 21 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Actor",
"displayName": "Sally"
}
Example 22 <div itemscope
itemtype=http://www.w3.org/ns/activitystreams#Actor"
itemprop="displayName">Sally</div>
Example 23 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof=Actor"
property="displayName">Sally</div>
Example 25 @prefix as: <http://www.w3.org/ns/activitystreams#>.
_:c14n0 a as:Actor ;
as:displayName "Sally" .
|
Notes: |
An Actor is any entity that is capable of being the primary
actor for an Activity. Actor
is a subclass of Object that serves as an
base class for all types of actors.
|
Extends: |
Object |
Properties: |
actorOf
Inherits all properties from Object .
|
Collection |
URI: |
http://www.w3.org/ns/activitystreams#Collection |
Example 26 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Collection",
"totalItems": 2,
"itemsPerPage": 2,
"items": [
{
"@type": "Note",
"displayName": "A Simple Note"
},
{
"@type": "Note",
"displayName": "Another Simple Note"
}
]
}
Example 27 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Collection">
<meta itemprop="totalItems" content="2" /<
<meta itemprop="itemsPerPage" content="2" />
<ul>
<li itemscope itemprop="items"
itemtype="http://www.w3.org/ns/activitystreams#Note">
<span itemprop="displayName">
A Simple Note
</span>
</li>
<li itemscope itemprop="items"
itemtype="http://www.w3.org/ns/activitystreams#Note">
<span itemprop="displayName">
Another Simple Note
</span>
</li>
</ul>
</div>
Example 28 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Collection">
<meta property="totalItems" content="2" /<
<meta property="itemsPerPage" content="2" />
<ul>
<li property="items" typeof="Note">
<span property="displayName">
A Simple Note
</span>
</li>
<li property="items" typeof="Note">
<span property="displayName">
Another Simple Note
</span>
</li>
</ul>
</div>
Example 30 @prefix as: <http://www.w3.org/ns/activitystreams#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
_c:14n0 a as:Collection ;
as:totalItems "2"^^xsd:nonNegativeInteger ;
as:itemsPerPage "2"^^xsd:nonNegativeInteger ;
as:items (
[
a as:Note ;
as:displayName "A Simple Note" .
]
[
a as:Note ;
as:displayName "Another Simple Note" .
]
).
|
Notes: |
A Collection is a subclass of Object that
represents ordered or unordered sets of Object or Link
instances. The model for collections within the Activity Vocabulary is designed
largely around the abstract model of "logical feeds" and "pages" discussed
in [RFC5005], Section 1.2.
Specifically, a "logical collection" is a complete set of Object
or Link instances while an individual Collection object
may contain only a specific subset of those members. Paging properties such as
next , prev , first ,
and last are used to connect multiple Collection
objects containing different subsets of member items of a single logical collection
together.
When multiple, separate Collection instances share the same
identity (represented in the JSON-LD serialization
using the @id property) and each specifies distinct, non-overlapping subsets
of member items (using the items property), the membership
of the logical collection is the intersection of each of the subsets. However,
when there is overlap in the items contained by multiple Collection
instances (e.g. when Object or Link intances with the
same identity appear in more than one Collection ), member instances
with the most recently updated timestamps -- as determined by examining first the
updated and then published properties --
MUST be considered to be the most current representations. If those members do
not have either an updated or published property
specified, then the containing Collection object's updated
and published properties are used. If no timestamps are available
to use for comparison, implementations MAY use other means to determine the
precedence of member instance representations.
When the members of a Collection are ordered, the ordering
imposed applies only to the subset of members contained within that one specific
Collection instance.
|
Extends: |
Object |
Properties: |
totalItems |
itemsPerPage |
current |
next |
prev |
first |
last |
self |
items
Inherits all properties from Object .
|
OrderedCollection |
URI: |
http://www.w3.org/ns/activitystreams#OrderedCollection |
Example 31 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "OrderedCollection",
"totalItems": 2,
"itemsPerPage": 2,
"startIndex": 0,
"orderedItems": [
{
"@type": "Note",
"displayName": "A Simple Note"
},
{
"@type": "Note",
"displayName": "Another Simple Note"
}
]
}
Example 32 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#OrderedCollection">
<meta itemprop="totalItems" content="2" /<
<meta itemprop="itemsPerPage" content="2" />
<meta itemprop="startIndex" content="0" />
<ol>
<li itemscope itemprop="items"
itemtype="http://www.w3.org/ns/activitystreams#Note">
<span itemprop="displayName">
A Simple Note
</span>
</li>
<li itemscope itemprop="items"
itemtype="http://www.w3.org/ns/activitystreams#Note">
<span itemprop="displayName">
Another Simple Note
</span>
</li>
</ol>
</div>
Example 33 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="OrderedCollection">
<meta property="totalItems" content="2" /<
<meta property="itemsPerPage" content="2" />
<meta property="startIndex" content="0" />
<ol>
<li property="items" typeof="Note">
<span property="displayName">
A Simple Note
</span>
</li>
<li property="items" typeof="Note">
<span property="displayName">
Another Simple Note
</span>
</li>
</ol>
</div>
Example 35 @prefix as: <http://www.w3.org/ns/activitystreams#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
_c:14n0 a as:OrderedCollection ;
as:totalItems "2"^^xsd:nonNegativeInteger ;
as:itemsPerPage "2"^^xsd:nonNegativeInteger ;
as:startIndex "0"^^xsd:nonNegativeInteger ;
as:items [
rdf:first [
a as:Note ;
as:displayName "A Simple Note" .
] ;
rdf:rest [
rdf:first [
a as:Note ;
as:displayName "Another Simple Note" .
] ;
rdf:rest rdf:nil .
] .
].
|
Notes: |
A subclass of Collection in which members of the
logical collection are assumed to always be strictly ordered.
Using paging with an OrderedCollection can be tricky because
there is no guarantee that implementations will process the distinct pages
in any predictable order. Therefore, it is strongly recommended that
OrderedCollection instances that require paging always include
the first , next , prev
and last paging properties. Implementations that wish to
reconstruct the appropriate complete ordering of member instances in the logical
collection would navigate to the OrderedCollection instance identified
by the first (or last ) link, then recursively follow the
next (or prev ) link until all pages have been processed.
|
Extends: |
Collection |
Properties: |
startIndex
Inherits all properties from Collection .
|
3. Extended Classes
Base URI: http://www.w3.org/ns/activitystreams#
.
The Activity Streams 2.0 Extended Classes include Activity and Object
subclasses that are common to many "Social" Web applications. They are
divided into two sets:
Support for specific extended vocabulary classes is expected to vary,
with implementations only selecting the extended classes and properties that
make sense within the specific context and requirements of those applications.
However, to avoid possible interoperability issues, implementations MUST
avoid using extension classes or properties that unduly overlap with or
duplicate the extended vocabulary defined here.
3.1 Activity Types
All Activity Types inherit the properties of the base Activity class.
Some specific Activity Types are subclasses or specializations of more
generalized Activity Types (for instance, the FriendRequest
Activity Type is a more specific form of the Connect
Activity Type).
The Activity Types include:
Accept
|
Achieve
|
Add
|
Announce
|
Arrive
|
Assign
|
Block
|
Claim
|
Complete
|
Confirm
|
Connect
|
Create
|
Delete
|
Dislike
|
Experience
|
Favorite
|
Flag
|
Follow
|
FriendRequest
|
Give
|
Ignore
|
Invite
|
Join
|
Leave
|
Like
|
Listen
|
Move
|
Offer
|
Post
|
Question
|
Reject
|
Read
|
Remove
|
Reservation
|
Respond
|
Review
|
Save
|
Share
|
TentativeReject
|
TentativeAccept
|
Travel
|
Undo
|
Update
|
View
|
Watch
Class |
Description |
Example |
Accept |
URI: |
http://www.w3.org/ns/activitystreams#Accept |
Example 36 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Accept",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Invite",
"actor": "acct:john@example.org",
"object": {
"@type": "Event",
"displayName": "A Party!"
}
}
}
Example 37 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Accept">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">
Sally
</span>
<span>
accepted
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Invite">
<link itemprop="actor"
href="acct:john@example.org">John's</link>
invitation to
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Event">
<span itemprop="displayName">
A Party!
</span>
</span>
</span>
</div>
Example 38 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Accept">
<span propery="actor" typeof="Person">
<span property="displayName">
Sally
</span>
<span>
accepted
<span property="object" typeof="Invite">
<link property="actor"
href="acct:john@example.org">John's</link>
invitation to
<span property="object" typeof="Event">
<span property="displayName">
A Party!
</span>
</span>
</span>
</div>
Example 40 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Accept ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Invite ;
as:actor <acct:john@example.org> ;
as:object [
a as:Event ;
as:displayName "A Party!" .
] .
] .
|
Notes: |
Indicates that the actor accepts the object .
The target property can be used in certain circumstances
to indicate the context into which the object has been
accepted. For instance, when expressing the activity, "Sally accepted
Joe into the Club", the "target" would identify the "Club".
|
Extends: |
Respond |
Properties: |
Inherits all properties from Respond . |
TentativeAccept |
URI: |
http://www.w3.org/ns/activitystreams#TentativeAccept |
Example 41 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "TentativeAccept",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Invite",
"actor": "acct:john@example.org",
"object": {
"@type": "Event",
"displayName": "A Party!"
}
}
}
Example 42 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#TentativeAccept">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">
Sally
</span>
<span>
tentatively accepted
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Invite">
<link itemprop="actor"
href="acct:john@example.org">John's</link>
invitation to
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Event">
<span itemprop="displayName">
A Party!
</span>
</span>
</span>
</div>
Example 43 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="TentativeAccept">
<span propery="actor" typeof="Person">
<span property="displayName">
Sally
</span>
<span>
tentatively accepted
<span property="object" typeof="Invite">
<link property="actor"
href="acct:john@example.org">John's</link>
invitation to
<span property="object" typeof="Event">
<span property="displayName">
A Party!
</span>
</span>
</span>
</div>
Example 45 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:TentativeAccept ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Invite ;
as:actor <acct:john@example.org> ;
as:object [
a as:Event ;
as:displayName "A Party!" .
] .
] .
|
Notes: |
A specialization of Accept indicating that the
acceptance is tentative.
|
Extends: |
Accept |
Properties: |
Inherits all properties from Accept .
|
Add |
URI: |
http://www.w3.org/ns/activitystreams#Add |
Example 46 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Add",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/abc"
}
Example 47 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Add">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
added
<a itemprop="object"
href="http://example.org/abc">
"http://example.org/abc"</a>
</div>
Example 48 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Add">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
added
<a property="object"
href="http://example.org/abc">
"http://example.org/abc"</a>
</div>
Example 50 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Add ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/abc> .
Example 51 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Add",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Image",
"displayName": "A picture of my cat",
"url": "http://example.org/img/cat.png"
},
"target": {
"@type": "Album",
"displayName": "My Cat Pictures"
}
}
Example 52 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Add">
<span itemprop="actor"
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
added
<a itemprop="object"
href="http://example.org/abc">
"http://example.org/abc"</a>
to
<span itemprop="target" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Album">
"<span itemprop="displayName">My Cat Pictures</span>"
</span>
</div>
Example 53 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Add">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
added
<a property="object"
href="http://example.org/abc">
"http://example.org/abc"</a>
to
<span property="target"
typeof="Album">
"<span property="displayName">My Cat Pictures</span>"
</span>
</div>
Example 55 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Add ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/abc> ;
as:target [
a as:Album ;
as:displayName "My Cat Pictures" .
].
|
Notes: |
Indicates that the actor has added the object
to the target . If the target property is not
explicitly specified, the target would need to be determined implicitly
by context. The origin can be used to identify the context
from which the object originated.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity .
|
Arrive |
URI: |
http://www.w3.org/ns/activitystreams#Arrive |
Example 56 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Arrive",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"location": {
"@type": "Place",
"displayName": "Work"
},
"origin": {
"@type": "Place",
"displayName": "Home"
}
}
Example 57 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Arrive">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
arrived at
<span itemprop="location" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Place">
<span itemprop="displayName">Work</span>
</span>
from
<span itemprop="origin" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Place">
<span itemprop="displayName">Home</span>
</span>
</div>
Example 58 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Arrive">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
arrived at
<span property="location" typeof="Place">
<span property="displayName">Work</span>
</span>
from
<span property="origin" typeof="Place">
<span property="displayName">Home</span>
</span>
</div>
Example 60 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Arrive ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:location [
a as:Place ;
as:displayName "Work" .
] ;
as:origin [
a as:Place ;
as:displayName "Home" .
] .
|
Notes: |
An IntransitiveActivity that indicates that the
actor has arrived at the location . The
origin can be used to identify the context from which
the actor originated. The target typically
has no defined meaning.
|
Extends: |
IntransitiveActivity |
Properties: |
Inherits all properties from IntransitiveActivity . |
Create |
URI: |
http://www.w3.org/ns/activitystreams#Create |
Example 61 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Create",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Note",
"displayName": "A Simple Note",
"content": "This is a simple note"
}
}
Example 62 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Create">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
created
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Note">
a note titled
"<span itemprop="displayName">A Simple Note</span>"
with content
"<span itemprop="content">This is a simple note</span>"
</span>
</div>
Example 63 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Create">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
created
<span property="object" typeof="Note">
a note titled
"<span property="displayName">A Simple Note</span>"
with content
"<span property="content">This is a simple note</span>"
</span>
</div>
Example 65 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Create ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Note ;
as:displayName "A Simple Note" ;
as:content "This is a simple note" .
] .
|
Notes: |
Indicates that the actor has created the object .
Create is generally equivalent to Post
with the exception that the Post Activity
has a defined meaning for "target" while Create
does not.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Delete |
URI: |
http://www.w3.org/ns/activitystreams#Delete |
Example 66 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Delete",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/notes/1"
}
Example 67 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Delete">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
deleted
<a itemprop="object"
href="http://example.org/notes/1">
http://example.org/notes/1
</a>
</div>
Example 68 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Delete">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
deleted
<a property="object"
href="http://example.org/notes/1">
http://example.org/notes/1
</a>
</div>
Example 70 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Delete ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/notes/1> .
|
Notes: |
Indicates that the actor has deleted the object .
If specified, the origin indicates the context from which the
object was deleted.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Favorite |
URI: |
http://www.w3.org/ns/activitystreams#Favorite |
Example 71 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Favorite",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/notes/1"
}
Example 72 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Favorite">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
favorited
<a itemprop="object"
href="http://example.org/notes/1">
http://example.org/notes/1
</a>
</div>
Example 73 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Favorite">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
favorited
<a property="object"
href="http://example.org/notes/1">
http://example.org/notes/1
</a>
</div>
Example 75 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Favorite ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/notes/1> .
|
Notes: |
Indicates that the actor likes, recommends or endorses the
object . The target and origin typically
have no defined meaning.
The Favorite and Like activity types
MAY be used as equivalent synonyms if an implementation chooses.
|
Extends: |
Respond |
Properties: |
Inherits all properties from Respond . |
Follow |
URI: |
http://www.w3.org/ns/activitystreams#Follow |
Example 76 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Follow",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Person",
"displayName": "John"
}
}
Example 77 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Follow">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
followed
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">John</span>
</span>
</div>
Example 78 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Follow">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
followed
<span property="object" typeof="Person">
<span itemprop="displayName">John</span>
</span>
</div>
Example 80 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Follow ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Person ;
as:displayName "John" .
] .
|
Notes: |
Indicates that the actor is "following" the object .
Following is defined in the sense typically used within Social systems in
which the actor is interested in any activity performed by or
on the object. The target and origin typically
have no defined meaning.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Ignore |
URI: |
http://www.w3.org/ns/activitystreams#Ignore |
Example 81 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Ignore",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/notes/1"
}
Example 82 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Ignore">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
is ignoring
<a itemprop="object"
href="http://example.org/notes/1">
http://example.org/notes/1
</a>
</div>
Example 83 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Ignore">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
is ignoring
<a property="object"
href="http://example.org/notes/1">
http://example.org/notes/1
</a>
</div>
Example 85 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Ignore ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/notes/1> .
|
Notes: |
Indicates that the actor is ignoring the object .
The target and origin typically have no defined meaning.
|
Extends: |
Respond |
Properties: |
Inherits all properties from Respond . |
Join |
URI: |
http://www.w3.org/ns/activitystreams#Join |
Example 86 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Join",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Group",
"displayName": "A Simple Group"
}
}
Example 87 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Join">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
joined
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Group">
<span itemprop="displayName">A Simple Group</span>
</span>
</div>
Example 88 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Join">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
joined
<span property="object" typeof="Group">
<span property="displayName">A Simple Group</span>
</span>
</div>
Example 90 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Join ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Group ;
as:displayName "A Simple Group" .
] .
|
Notes: |
Indicates that the actor has joined the object .
The target and origin typically have no defined meaning.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Leave |
URI: |
http://www.w3.org/ns/activitystreams#Leave |
Example 91 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Leave",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Place",
"displayName": "Work"
}
}
Example 92 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Leave">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
left
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Place">
<span itemprop="displayName">Work</span>
</span>
</div>
Example 93 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Leave">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
left
<span property="object" typeof="Place">
<span property="displayName">Work</span>
</span>
</div>
Example 95 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Leave ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Place ;
as:displayName "Work" .
] .
Example 96 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Leave",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Group",
"displayName": "A Simple Group"
}
}
Example 97 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Leave">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
left
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Group">
<span itemprop="displayName">A Simple Group</span>
</span>
</div>
Example 98 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Leave">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
left
<span property="object" typeof="Group">
<span property="displayName">A Simple Group</span>
</span>
</div>
Example 100 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Leave ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Group ;
as:displayName "A Simple Group" .
] .
|
Notes: |
Indicates that the actor has left the object .
The target and origin typically have no meaning.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Like |
URI: |
http://www.w3.org/ns/activitystreams#Like |
Example 101 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Like",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/notes/1"
}
Example 102 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Like">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
liked
<a itemprop="object"
href="http://example.org/notes/1">
http://example.org/notes/1
</a>
</div>
Example 103 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Like">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
liked
<a property="object"
href="http://example.org/notes/1">
http://example.org/notes/1
</a>
</div>
Example 105 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Like ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/notes/1> .
|
Notes: |
Indicates that the actor likes, recommends or endorses the object .
The target and origin typically have no defined meaning.
The Favorite and Like activity types
MAY be used as equivalent synonyms if an implementation chooses.
|
Extends: |
Respond |
Properties: |
Inherits all properties from Respond . |
Offer |
URI: |
http://www.w3.org/ns/activitystreams#Offer |
Example 106 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Offer",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "urn:examples:types:ProductOffer",
"displayName": "50% Off!"
}
}
Example 107 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Offer">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
is offering
<span itemprop="object" itemscope
itemtype="urn:examples:types:ProductOffer">
<span itemprop="displayName">
50% Off!
</span>
</span>
</div>
Example 108 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Offer">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
is offering
<span property="object"
typeof="urn:examples:types:ProductOffer">
<span property="displayName">
50% Off!
</span>
</span>
</div>
Example 110 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Offer ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a <urn:examples:types:ProductOffer> ;
as:displayName "50% Off!" .
] .
|
Notes: |
Indicates that the actor is offering the object .
If specified, the target indicates the entity to which the
object is being offered.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Connect |
URI: |
http://www.w3.org/ns/activitystreams#Connect |
Example 111 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Connect",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Person",
"displayName": "John"
}
}
Example 112 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Connect">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
wants to create a connection with
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">John</span>
</span>
</div>
Example 113 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Connect">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
wants to create a connection with
<span property="object" typeof="Person">
<span property="displayName">John</span>
</span>
</div>
Example 115 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Connect ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Person ;
as:displayName "John" .
] .
|
Notes: |
Indicates that the actor is establishing a connection
to the object . The target and origin
typically have no defined meaning.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
FriendRequest |
URI: |
http://www.w3.org/ns/activitystreams#FriendRequest |
Example 116 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "FriendRequest",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Person",
"displayName": "John"
}
}
Example 117 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#FriendRequest">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
wants to be friends with
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">John</span>
</span>
</div>
Example 118 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="FriendRequest">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
wants to be friends with
<span property="object" typeof="Person">
<span property="displayName">John</span>
</span>
</div>
Example 120 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:FriendRequest ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Person ;
as:displayName "John" .
] .
|
Notes: |
A specialization of Connect in which the actor is
establishing a "friendship" with the object .
|
Extends: |
Connect |
Properties: |
Inherits all properties from Connect . |
Give |
URI: |
http://www.w3.org/ns/activitystreams#Give |
Example 121 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Give",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "urn:example:types:Present",
"displayName": "A Present"
},
"target": {
"@type": "Person",
"displayName": "John"
}
}
Example 122 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Give">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
gave
<span itemprop="object" itemscope
itemtype="urn:example:types:Present">
<span itemprop="displayName">A Present</span>
</span>
to
<span itemprop="target" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">John</span>
</span>
</div>
Example 123 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Give">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
gave
<span property="object"
typeof="urn:example:types:Present">
<span property="displayName">A Present</span>
</span>
to
<span property="target" typeof="Person">
<span property="displayName">John</span>
</span>
</div>
Example 125 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Give ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a <urn:example:types:Present> ;
as:displayName "A Present" .
] ;
as:target [
a as:Person ;
as:displayName "John" .
] .
|
Notes: |
A specialization of Offer in which the actor
is giving the object to the target . If the
target is not specified it can be determined by context.
|
Extends: |
Offer |
Properties: |
Inherits all properties from Offer . |
Invite |
URI: |
http://www.w3.org/ns/activitystreams#Invite |
Example 126 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Invite",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "urn:example:types:Present",
"displayName": "A Present"
},
"target": {
"@type": "Person",
"displayName": "John"
}
}
Example 127 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Invite">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
invited
<span itemprop="target" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">John</span>
</span>
and
<span itemprop="target" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Lisa</span>
</span>
to
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Event">
<span itemprop="displayName">A Party</span>
</span>
</div>
Example 128 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Invite">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
invited
<span property="target" typeof="Person">
<span property="displayName">John</span>
</span>
and
<span property="target" typeof="Person">
<span property="displayName">Lisa</span>
</span>
to
<span property="object" typeof="Event">
<span property="displayName">A Party</span>
</span>
</div>
Example 130 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Invite ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Event ;
as:displayName "A Party" .
] ;
as:target (
[
a as:Person ;
as:displayName "John" .
]
[
a as:Person ;
as:displayName "Lisa" .
]
) .
|
Notes: |
A specialization of Offer in which the actor
is extending an invitation for the object to the target .
|
Extends: |
Offer |
Properties: |
Inherits all properties from Offer .
|
Post |
URI: |
http://www.w3.org/ns/activitystreams#Post |
Example 131 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Post",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Note",
"displayName": "A Simple Note",
"content": "This is a simple note"
}
}
Example 132 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Post">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
published
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Note">
a note titled
"<span itemprop="displayName">A Simple Note</span>"
with content
"<span itemprop="content">This is a simple note</span>"
</span>
</div>
Example 133 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Post">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
published
<span property="object" typeof="Note">
a note titled
"<span property="displayName">A Simple Note</span>"
with content
"<span property="content">This is a simple note</span>"
</span>
</div>
Example 135 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Post ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Note ;
as:displayName "A Simple Note" ;
as:content "This is a simple note" .
] .
|
Notes: |
Indicates that the actor is posting the object .
If specified, the target indicates to entity to which the
object is being posted.
Implementations can treat Post as being generally
equivalent to Create .
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Reject |
URI: |
http://www.w3.org/ns/activitystreams#Reject |
Example 136 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Reject",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Invite",
"actor": "acct:john@example.org",
"object": {
"@type": "Event",
"displayName": "A Party!"
}
}
}
Example 137 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Reject">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">
Sally
</span>
<span>
rejected
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Invite">
<link itemprop="actor"
href="acct:john@example.org">John's</link>
invitation to
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Event">
<span itemprop="displayName">
A Party!
</span>
</span>
</span>
</div>
Example 138 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Reject">
<span propery="actor" typeof="Person">
<span property="displayName">
Sally
</span>
<span>
rejected
<span property="object" typeof="Invite">
<link property="actor"
href="acct:john@example.org">John's</link>
invitation to
<span property="object" typeof="Event">
<span property="displayName">
A Party!
</span>
</span>
</span>
</div>
Example 140 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Reject ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Invite ;
as:actor <acct:john@example.org> ;
as:object [
a as:Event ;
as:displayName "A Party!" .
] .
] .
|
Notes: |
Indicates that the actor is rejecting the object .
The target and origin typically have no defined meaning.
|
Extends: |
Respond |
Properties: |
Inherits all properties from Respond . |
TentativeReject |
URI: |
http://www.w3.org/ns/activitystreams#TentativeReject |
Example 141 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "TentativeReject",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Invite",
"actor": "acct:john@example.org",
"object": {
"@type": "Event",
"displayName": "A Party!"
}
}
}
Example 142 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#TentativeReject">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">
Sally
</span>
<span>
tentatively rejected
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Invite">
<link itemprop="actor"
href="acct:john@example.org">John's</link>
invitation to
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Event">
<span itemprop="displayName">
A Party!
</span>
</span>
</span>
</div>
Example 143 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="TentativeReject">
<span propery="actor" typeof="Person">
<span property="displayName">
Sally
</span>
<span>
tentatively rejected
<span property="object" typeof="Invite">
<link property="actor"
href="acct:john@example.org">John's</link>
invitation to
<span property="object" typeof="Event">
<span property="displayName">
A Party!
</span>
</span>
</span>
</div>
Example 145 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:TentativeReject ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Invite ;
as:actor <acct:john@example.org> ;
as:object [
a as:Event ;
as:displayName "A Party!" .
] .
] .
|
Notes: |
A specialization of Reject in which the
rejection is considered tentative.
|
Extends: |
Reject |
Properties: |
Inherits all properties from Reject . |
Remove |
URI: |
http://www.w3.org/ns/activitystreams#Remove |
Example 146 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Remove",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/notes/1",
"target": {
"@type": "Folder",
"displayName": "Notes Folder"
}
}
Example 147 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Remove">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">
Sally
</span>
<span>
removed
<a itemprop="object"
href="http://example.org/notes/1">
http://example.org/notes/1
</a>
from
<span itemprop="target" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Folder">
<span itemprop="displayName">
Notes Folder
</span>
<span>
</div>
Example 148 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Remove">
<span propery="actor" typeof="Person">
<span property="displayName">
Sally
</span>
<span>
removed
<a property="object"
href="http://example.org/notes/1">
http://example.org/notes/1
</a>
from
<span property="target" typeof="Folder">
<span property="displayName">
Notes Folder
</span>
<span>
</div>
Example 150 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Remove ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/notes/1> ;
as:target [
a as:Folder ;
as:displayName "Notes Folder" .
] .
Example 151 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Remove",
"actor": {
"@type": "Role",
"displayName": "The Moderator"
},
"object": {
"@type": "Person",
"displayName": "Sally"
},
"origin": {
"@type": "Group",
"displayName": "A Simple Group"
}
}
Example 152 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Remove">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Role">
<span itemprop="displayName">
The Moderator
</span>
<span>
removed
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">
Sally
</span>
<span>
from
<span itemprop="origin" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Group">
<span itemprop="displayName">
A Simple Group
</span>
<span>
</div>
Example 153 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Remove">
<span propery="actor" typeof="Role">
<span property="displayName">
The Moderator
</span>
<span>
removed
<span propery="object" typeof="Person">
<span property="displayName">
Sally
</span>
<span>
from
<span property="origin" typeof="Group">
<span property="displayName">
A Simple Group
</span>
<span>
</div>
Example 155 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Remove ;
as:actor [
a as:Role ;
as:displayName "The Moderator" ;
] ;
as:object [
a as:Person ;
as:displayName "Sally" .
] ;
as:origin [
a as:Group ;
as:displayName "A Simple Group" .
] .
|
Notes: |
Indicates that the actor is removing the object .
If specified, the origin indicates the context from which the
object is being removed.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Review |
URI: |
http://www.w3.org/ns/activitystreams#Review |
Example 156 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Review",
"actor": "acct:sally@example.org",
"object": "http://example.org/posts/1",
"rating": 3.5,
}
Example 157 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Review">
<link itemprop="actor"
href="acct:sally@example.org">
Sally
</link>
reviewed
<a itemprop="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
<meta itemprop="rating" content="3.5" />
</div>
Example 158 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Review">
<link property="actor"
href="acct:sally@example.org">
Sally
</link>
reviewed
<a property="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
<meta property="rating" content="3.5" />
</div>
Example 160 @prefix as: <http://www.w3.org/ns/activitystreams#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
_c:14n0 a as:Review ;
as:actor <acct:sally@example.org> ;
as:object <http://example.org/posts/1> ;
as:rating "3.5"^^xsd:float.
|
Notes: |
Indicates that the actor has reviewed the object .
The target typically has no defined meaning.
|
Extends: |
Respond |
Properties: |
Inherits all properties from Respond . |
Save |
URI: |
http://www.w3.org/ns/activitystreams#Save |
Example 161 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Save",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/posts/1",
"target": {
"@type": "OrderedCollection",
"displayName": "Sally's Reading List"
}
}
Example 162 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Save">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">
Sally
</span>
<span>
saved
<a itemprop="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
to
<span itemprop="target" itemscope
itemtype="http://www.w3.org/ns/activitystreams#OrderedCollection">
<span itemprop="displayName">
Sally's Reading List
</span>
<span>
</div>
Example 163 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Save">
<span property="actor" typeof="Person">
<span property="displayName">
Sally
</span>
<span>
saved
<a property="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
to
<span property="target" typeof="OrderedCollection">
<span property="displayName">
Sally's Reading List
</span>
<span>
</div>
Example 165 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Save ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/posts/1> ;
as:target [
a as:OrderedCollection ;
as:displayName "Sally's Reading List" .
] .
|
Notes: |
Indicates that the actor is saving the object .
If specified, the target indicates the context into which the
object is being saved. The origin typically has
no defined meaning.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Share |
URI: |
http://www.w3.org/ns/activitystreams#Share |
Example 166 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Share",
"actor": "acct:sally@example.org",
"object": "http://example.org/posts/1",
"target": "acct:john@example.org"
}
Example 167 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Share">
<link itemprop="actor"
href="acct:sally@example.org">
Sally
</link>
shared
<a itemprop="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
with
<link itemprop="target"
href="acct:john@example.org">
John
</link>
</div>
Example 168 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Share">
<link property="actor"
href="acct:sally@example.org">
Sally
</link>
shared
<a property="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
with
<link property="target"
href="acct:john@example.org">
John
</link>
</div>
Example 170 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Share ;
as:actor <acct:sally@example.org> ;
as:object <http://example.org/posts/1> ;
as:target <acct:john@example.org> .
|
Notes: |
Indicates that the actor is sharing the object .
If specified, the target indicates to context or entity to which
the object is being shared. The origin typically
has no defined meaning.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Undo |
URI: |
http://www.w3.org/ns/activitystreams#Undo |
Example 171 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Undo",
"actor": "acct:sally@example.org",
"object": {
"@type": "Share",
"actor": "acct:sally@example.org",
"object": "http://example.org/posts/1",
"target": "acct:john@example.org"
}
}
Example 172 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Undo">
<link itemprop="actor"
href="acct:sally@example.org">
Sally
</link>
stopped
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Share">
<link itemprop="actor"
href="acct:sally@example.org" />
sharing
<a itemprop="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
with
<link itemprop="target"
href="acct:john@example.org">
John
</link>
</span>
</div>
Example 173 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Undo">
<link property="actor"
href="acct:sally@example.org">
Sally
</link>
stopped
<span property="object" typeof="Share">
<link property="actor"
href="acct:sally@example.org" />
sharing
<a property="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
with
<link property="target"
href="acct:john@example.org">
John
</link>
</span>
</div>
Example 175 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Undo ;
as:actor <acct:sally@example.org> ;
as:object [
a as:Share ;
as:actor <acct:sally@example.org> ;
as:object <http://example.org/posts/1> ;
as:target <acct:john@example.org> .
] .
|
Notes: |
Indicates that the actor is undoing the object .
The target and origin typically have no defined meaning.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Update |
URI: |
http://www.w3.org/ns/activitystreams#Update |
Example 176 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Update",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/notes/1"
}
Example 177 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Update">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
updated
<a itemprop="object"
href="http://example.org/notes/1">
http://example.org/notes/1
</a>
</div>
Example 178 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Update">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
updated
<a property="object"
href="http://example.org/notes/1">
http://example.org/notes/1
</a>
</div>
Example 180 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Update ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/notes/1> .
|
Notes: |
Indicates that the actor has updated the object .
The target and origin typically have no defined meaning.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Experience |
URI: |
http://www.w3.org/ns/activitystreams#Experience |
Example 181 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Experience",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Article",
"displayName": "An article about Activity Streams"
}
}
Example 182 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Experience">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
experienced
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Article">
"<span itemprop="displayName">
An article about Activity Streams
<span>"
</span>
</div>
Example 183 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Update">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
experienced
<span property="object" typeof="Article">
"<span property="displayName">
An article about Activity Streams
<span>"
</span>
</div>
Example 185 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Experience ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Article ;
as:displayName "An article about Activity Streams" .
] .
|
Notes: |
Indicates that the actor has experienced the object .
The type of experience is not specified.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
View |
URI: |
http://www.w3.org/ns/activitystreams#View |
Example 186 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "View",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": {
"@type": "Article",
"displayName": "An article about Activity Streams"
}
}
Example 187 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#View">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
viewed
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Article">
"<span itemprop="displayName">
An article about Activity Streams
<span>"
</span>
</div>
Example 188 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="View">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
viewed
<span property="object" typeof="Article">
"<span property="displayName">
An article about Activity Streams
<span>"
</span>
</div>
Example 190 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:View ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object [
a as:Article ;
as:displayName "An article about Activity Streams" .
] .
|
Notes: |
Indicates that the actor has viewed the object.
Viewing is a specialization of Experience .
|
Extends: |
Experience |
Properties: |
Inherits all properties from Experience . |
Watch |
URI: |
http://www.w3.org/ns/activitystreams#Watch |
Example 191 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Watch",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/dog.mkv"
}
Example 192 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Watch">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
watched
<a itemprop="object"
href="http://example.org/dog.mkv">
"http://example.org/dog.mkv"
</a>
</div>
Example 193 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Watch">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
watched
<a property="object"
href="http://example.org/dog.mkv">
"http://example.org/dog.mkv"
</a>
</div>
Example 195 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Watch ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/dog.mkv> .
|
Notes: |
Indicates that the actor has watched the object . Watching is a
specialization of View .
|
Extends: |
View |
Properties: |
Inherits all properties from View . |
Listen |
URI: |
http://www.w3.org/ns/activitystreams#Listen |
Example 196 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Listen",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/music.mp3"
}
Example 197 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Listen">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
listened to
<a itemprop="object"
href="http://example.org/music.mp3">
"http://example.org/music.mp3"
</a>
</div>
Example 198 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Listen">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
listened to
<a property="object"
href="http://example.org/music.mp3">
"http://example.org/music.mp3"
</a>
</div>
Example 200 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Listen ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/music.mp3> .
|
Notes: |
Indicates that the actor has listened to the object . Viewing is a
specialization of Experience .
|
Extends: |
Experience |
Properties: |
Inherits all properties from Experience . |
Read |
URI: |
http://www.w3.org/ns/activitystreams#Read |
Example 201 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Read",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/posts/1"
}
Example 202 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Read">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
read
<a itemprop="object"
href="http://example.org/posts/1">
"http://example.org/posts/1"
</a>
</div>
Example 203 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Read">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
read
<a property="object"
href="http://example.org/posts/1">
"http://example.org/posts/1"
</a>
</div>
Example 205 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Read ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/posts/1> .
|
Notes: |
Indicates that the actor has read the object .
Reading is a specialization of View .
|
Extends: |
View |
Properties: |
Inherits all properties from View . |
Respond |
URI: |
http://www.w3.org/ns/activitystreams#Respond |
Example 206 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Respond",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/posts/1",
"result": {
"@type": "Note",
"content": "This is a good article",
"inReplyTo": "http://example.org/posts/1"
}
}
Example 207 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Respond">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
responded to
<a itemprop="object"
href="http://example.org/posts/1">
"http://example.org/posts/1"
</a>
with
<span itemprop="result" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Note">
<link itemprop="inReplyTo" href="http://example.org/posts/1" />
"<span itemprop="content">This is a good article</span>"
</span>
</div>
Example 208 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Respond">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
responded to
<a property="object"
href="http://example.org/posts/1">
"http://example.org/posts/1"
</a>
with
<span property="result" typeof="Note">
<link property="inReplyTo" href="http://example.org/posts/1" />
"<span property="content">This is a good article</span>"
</span>
</div>
Example 210 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Respond ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/posts/1> ;
as:result [
a as:Note ;
as:content "This is a good article" ;
as:inReplyTo <http://example.org/posts/1> .
].
|
Notes: |
Indicates that the actor has reponded to the object .
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Move |
URI: |
http://www.w3.org/ns/activitystreams#Move |
Example 211 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Move",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"object": "http://example.org/posts/1",
"target": {
"@type": "Collection",
"displayName": "List B"
},
"origin": {
"@type": "Collection",
"displayName": "List A"
}
}
Example 212 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Move">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
moved to
<a itemprop="object"
href="http://example.org/posts/1">
"http://example.org/posts/1"
</a>
from
<span itemprop="origin" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Collection">
<span itemprop="displayName">List A</span>
</span>
to
<span itemprop="target" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Collection">
<span itemprop="displayName">List B</span>
</span>
</div>
Example 213 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Move">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
moved
<a property="object"
href="http://example.org/posts/1">
"http://example.org/posts/1"
</a>
from
<span property="origin" typeof="Collection">
<span property="displayName">List A</span>
</span>
to
<span property="origin" typeof="Collection">
<span property="displayName">List B</span>
</span>
</div>
Example 215 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Move ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:object <http://example.org/posts/1> ;
as:target [
a as:Collection ;
as:displayName "List B" .
] ;
as:origin [
a as:Collection ;
as:displayName "List A" .
].
|
Notes: |
Indicates that the actor has moved object
from origin to target . If the origin
or target are not specified, either can be determined by
context.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Travel |
URI: |
http://www.w3.org/ns/activitystreams#Travel |
Example 216 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Travel",
"actor": {
"@type": "Person",
"displayName": "Sally"
},
"target": {
"@type": "Place",
"displayName": "Home"
},
"origin": {
"@type": "Place",
"displayName": "Work"
}
}
Example 217 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Travel">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span>
is traveling to
<span itemprop="target" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Place">
<span itemprop="displayName">Home</span>
</span>
from
<span itemprop="origin" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Place">
<span itemprop="displayName">Work</span>
</span>
</div>
Example 218 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Travel">
<span property="actor" typeof="Person">
<span property="displayName">Sally</span>
</span>
is traveling to
<span property="target" typeof="Place">
<span property="displayName">Home</span>
</span>
from
<span property="origin" typeof="Place">
<span property="displayName">Work</span>
</span>
</div>
Example 220 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Travel ;
as:actor [
a as:Person ;
as:displayName "Sally" .
] ;
as:target [
a as:Place ;
as:displayName "Home" .
] ;
as:origin [
a as:Place ;
as:displayName "Work" .
].
|
Notes: |
Indicates that the actor is traveling to target
from origin . Travel is an IntransitiveObject whose
actor specifies the direct object. If the target or origin
are not specified, either can be determined by context.
|
Extends: |
IntransitiveActivity |
Properties: |
Inherits all properties from IntransitiveActivity . |
Announce |
URI: |
http://www.w3.org/ns/activitystreams#Announce |
Example 221 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Announce",
"actor": {
"@type": "Person",
"@id": "acct:sally@example.org",
"displayName": "Sally"
},
"object": {
"@type": "Arrive",
"actor": "acct:sally@example.org",
"location": {
"@type": "Place",
"displayName": "Work"
}
}
}
Example 222 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Announce">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person"
itemid="acct:sally@example.org">
<span itemprop="displayName">Sally</span>
</span>
announced
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Arrive">
<span itemprop="actor" itemscope="Person"
itemid="acct:sally@example.org">her</span>
<span itemprop="location" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Place">
at <span itemprop="displayName">Work</span>
</span>
</span>
</div>
Example 223 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Announce">
<span property="actor" typeof="Person"
resource="acct:sally@example.org">
<span property="displayName">Sally</span>
</span>
announced
<span property="object" typeof="Arrive">
<span property="actor" typeof="Person"
resource="acct:sally@example.org">her</span>
<span property="location" typeof="Place">
at <span property="displayName">Work</span>
</span>
</span>
</div>
Example 225 @prefix as: <http://www.w3.org/ns/activitystreams#> .
<acct:sally@example.org> a as:Person ;
as:displayName "Sally" .
_c:14n0 a as:Announce ;
as:actor <acct:sally@example.org> ;
as:object [
a as:Arrive ;
as:actor <acct:sally@example.org> ;
as:location [
a as:Place ;
as:displayName "Work" .
] .
] .
|
Notes: |
Indicates that the actor is announcing the object to
target . The origin typically has no defined meaning.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Block |
URI: |
http://www.w3.org/ns/activitystreams#Block |
Example 226 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Block",
"actor": "acct:sally@example.org",
"object": "acct:joe@example.org"
}
Example 227 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Block">
<link itemprop="actor"
href="acct:sally@example.org">Sally</link>
blocked
<link itemprop="object"
href="acct:joe@example.org">Joe</link>
</div>
Example 228 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Block">
<link property="actor"
href="acct:sally@example.org">Sally</link>
blocked
<link property="object"
href="acct:joe@example.org">Joe</link>
</div>
Example 230 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Block ;
as:actor <acct:sally@example.org> ;
as:object <acct:joe@example.org>.
|
Notes: |
Indicates that the actor is blocking the object .
Blocking is a stronger form of Ignore . The typical
use is to support social systems that allow one user to block activities
or content of other users. The target and origin
typically have no defined meaning.
|
Extends: |
Ignore |
Properties: |
Inherits all properties from Ignore . |
Flag |
URI: |
http://www.w3.org/ns/activitystreams#Flag |
Example 231 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Flag",
"actor": "acct:sally@example.org",
"object": {
"@type": "Note",
"content": "An inappropriate note"
}
}
Example 232 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Flag">
<link itemprop="actor"
href="acct:sally@example.org">Sally</link>
flagged
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Note">
"<span itemprop="content">
An inappropriate note
</span>"
</span>
</div>
Example 233 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Flag">
<link property="actor"
href="acct:sally@example.org">Sally</link>
flagged
<span property="object" typeof="Note">
"<span property="content">
An inappropriate note
</span>"
</span>
</div>
Example 235 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Flag ;
as:actor <acct:sally@example.org> ;
as:object [
a as:Note ;
as:content "An inappropriate note" .
].
|
Notes: |
Indicates that the actor is "flagging" the object .
Flagging is defined in the sense common to many social platforms as
reporting content as being inappropriate for any number of reasons.
|
Extends: |
Respond |
Properties: |
Inherits all properties from Respond . |
Dislike |
URI: |
http://www.w3.org/ns/activitystreams#Dislike |
Example 236 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Dislike",
"actor": "acct:sally@example.org",
"object": "http://example.org/posts/1"
}
Example 237 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Dislike">
<link itemprop="actor"
href="acct:sally@example.org">Sally</link>
dislikes
<a itemprop="object" href="http://example.org/posts/1">
http://example.org/posts/1
</a>
</div>
Example 238 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Dislike">
<link property="actor"
href="acct:sally@example.org">Sally</link>
dislikes
<a property="object" href="http://example.org/posts/1">
http://example.org/posts/1
</a>
</div>
Example 240 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Dislike ;
as:actor <acct:sally@example.org> ;
as:object <http://example.org/posts/1> .
|
Notes: |
Indicates that the actor dislikes the object .
|
Extends: |
Respond |
Properties: |
Inherits all properties from Respond . |
Confirm |
URI: |
http://www.w3.org/ns/activitystreams#Confirm |
Example 241 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Confirm",
"actor": "acct:sally@example.org",
"object": {
"@type": "Reservation",
"actor": "acct:sally@example.org",
"object": "http://example.org/events/1"
}
}
Example 242 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Confirm">
<link itemprop="actor"
href="acct:sally@example.org">Sally</link>
confirmed
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Reservation">
<link itemprop="actor"
href="acct:sally@example.org">her</link>
reservation for
<a itemprop="object"
href="http://example.org/events/1">
"http://example.org/events/1"
</span>
</span>
</div>
Example 243 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Confirm">
<link property="actor"
href="acct:sally@example.org">Sally</link>
confirmed
<span property="object" typeof="Reservation">
<link property="actor"
href="acct:sally@example.org">her</link>
reservation for
<a property="object"
href="http://example.org/events/1">
"http://example.org/events/1"
</a>
</span>
</div>
Example 245 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Confirm ;
as:actor <acct:sally@example.org> ;
as:object [
a as:Reservation ;
as:actor <acct:sally@example.org> ;
as:object <http://example.org/events/1> .
] .
|
Notes: |
Indicates that the actor is confirming the object .
|
Extends: |
Respond |
Properties: |
Inherits all properties from Respond . |
Assign |
URI: |
http://www.w3.org/ns/activitystreams#Assign |
Example 246 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Assign",
"actor": "acct:sally@example.org",
"object": {
"@type": "Role",
"displayName": "Moderator"
},
"target": "acct:joe@example.org"
}
Example 247 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Assign">
<link itemprop="actor"
href="acct:sally@example.org">Sally</link>
assigned the role of
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Role">
<span itemprop="displayName">Moderator>/span>
</span>
to
<link itemprop="target"
href="acct:joe@example.org">Joe</link>
</div>
Example 248 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Assign">
<link property="actor"
href="acct:sally@example.org">Sally</link>
assigned the role of
<span property="object" typeof="Role">
<span property="displayName">Moderator>/span>
</span>
to
<link property="target"
href="acct:joe@example.org">Joe</link>
</div>
Example 250 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Assign ;
as:actor <acct:sally@example.org> ;
as:object [
a as:Role ;
as:displayName "Moderator" .
] ;
as:target <acct:joe@example.org>.
|
Notes: |
Indicates that the actor is assigning the object
to the target .
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Complete |
URI: |
http://www.w3.org/ns/activitystreams#Complete |
Example 251 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Complete",
"actor": "acct:sally@example.org",
"object": "http://example.org/tasks/1"
}
Example 252 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Complete">
<link itemprop="actor"
href="acct:sally@example.org">Sally</link>
has completed
<a itemprop="target"
href="http://example.org/tasks/1">
http://example.org/tasks/1
</a>
</div>
Example 253 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Complete">
<link property="actor"
href="acct:sally@example.org">Sally</link>
has completed
<a property="object"
href="http://example.org/tasks/1">
http://example.org/tasks/1
</a>
</div>
Example 255 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Complete ;
as:actor <acct:sally@example.org> ;
as:object <http://example.org/tasks/1>.
|
Notes: |
Indicates that the actor has completed the object .
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Achieve |
URI: |
http://www.w3.org/ns/activitystreams#Achieve |
Example 256 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Achieve",
"actor": "acct:sally@example.org",
"object": {
"@type": "Object",
"displayName": "Top Contributor"
}
}
Example 257 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Achieve">
<link itemprop="actor"
href="acct:sally@example.org">Sally</link>
has achieved
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Object">
<span itemprop="displayName">Top Contributor</span>
</span>
status
</div>
Example 258 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Achieve">
<link property="actor"
href="acct:sally@example.org">Sally</link>
has achieved
<span property="object" typeof="Object">
<span property="displayName">Top Contributor</span>
</span>
status
</div>
Example 260 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Achieve ;
as:actor <acct:sally@example.org> ;
as:object [
a as:Object ;
as:displayName "Top Contributor" .
].
|
Notes: |
Indicates that the actor has achieved the object .
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity . |
Claim |
URI: |
http://www.w3.org/ns/activitystreams#Claim |
Example 261 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Claim",
"actor": "acct:sally@example.org",
"object": {
"@type": "Identity",
"displayName": "sally@example.net"
}
}
Example 262 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Claim">
<link itemprop="actor"
href="acct:sally@example.org">Sally</link>
has claimed
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Identity">
the identity <span itemprop="displayName">sally@example.net</span>
</span>
status
</div>
Example 263 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Claim">
<link property="actor"
href="acct:sally@example.org">Sally</link>
has claimed
<span property="object" typeof="Identity">
the identity <span property="displayName">sally@example.net</span>
</span>
status
</div>
Example 265 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Claim ;
as:actor <acct:sally@example.org> ;
as:object [
a as:Identity ;
as:displayName "sally@example.net" .
].
|
Notes: |
Indicates that the actor has claimed the object .
The optional proof property can be provided to demonstrate
proof of the claim.
|
Extends: |
Activity |
Properties: |
proof
Inherits all properties from Activity .
|
3.2 Object Types
All Object Types inherit the properties of the base Object class.
Some specific Object Types are subclasses or specializations of more
generalized Object Types (for instance, the Person
Object Type is a more specific form of the Actor
class).
The Object Types include:
Album
|
Application
|
Article
|
Audio
|
Community
|
Content
|
Device
|
Document
|
Event
|
Folder
|
Group
|
Identity
|
Image
|
Mention
|
Note
|
Organization
|
Page
|
Person
|
Place
|
PossibleAnswer
|
Process
|
Question
|
Reservation
|
Role
|
Service
|
Story
|
Video
Class |
Description |
Properties |
Application |
URI: |
http://www.w3.org/ns/activitystreams#Application |
Example 266 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Application",
"displayName": "My Software Application."
}
Example 267 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Application">
<span itemprop="displayName">My Software Application</span>
</div>
Example 268 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Application">
<span property="displayName">My Software Application</span>
</div>
Example 270 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Application ;
as:displayName "My Software Application".
|
Notes: |
Describes a software application.
|
Extends: |
Actor |
Properties: |
Inherits all properties from Actor .
|
Content |
URI: |
http://www.w3.org/ns/activitystreams#Content |
Example 271 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Content",
"displayName": "Some generic content",
"content": "<p>This can be any kind of content</p>",
"height": 100,
"width": 100
}
Example 272 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Content"
style="width:100px; height:100px">
<div itemprop="displayName">Some generic content</div>
<div itemprop="content">
<p>This can be any kind of content</p>
</div>
<meta itemprop="height" content="100" />
<meta itemprop="width" content="100" />
</div>
Example 273 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Content" style="width:100px; height:100px">
<div property="displayName">Some generic content</div>
<div property="content">
<p>This can be any kind of content</p>
</div>
<meta property="height" content="100" />
<meta property="width" content="100" />
</div>
Example 275 @prefix as: <http://www.w3.org/ns/activitystreams#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
_c:14n0 a as:Content ;
as:displayName "Some generic content" ;
as:content "<This can be any kind of content>" ;
as:height "100"^^xsd:nonNegativeInteger ;
as:width "100"^^xsd:nonNegativeInteger .
|
Notes: |
Describes an entity representing any form of content. Examples
include documents, images, etc. Content objects
typically are not able to perform activities on their own, yet
rather are usually the object or target of activities.
|
Extends: |
Object |
Properties: |
duration |
height |
width
Inherits all properties from Object .
|
Device |
URI: |
http://www.w3.org/ns/activitystreams#Device |
Example 276 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Device",
"displayName": "My Android Phone."
}
Example 277 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Device">
<span itemprop="displayName">My Android Phone</span>
</div>
Example 278 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Device">
<span property="displayName">My Android Phone</span>
</div>
Example 280 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Device ;
as:displayName "My Android Phone".
|
Notes: |
Describes a physical hardware device such as a mobile phone,
computer, sensor, etc.
|
Extends: |
Actor |
Properties: |
Inherits all properties from Actor . |
Group |
URI: |
http://www.w3.org/ns/activitystreams#Group |
Example 281 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Group",
"displayName": "A Simple Group."
}
Example 282 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Group">
<span itemprop="displayName">A Simple Group</span>
</div>
Example 283 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Group">
<span property="displayName">A Simple Group</span>
</div>
Example 285 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Group ;
as:displayName "A Simple Group".
|
Notes: |
Represents a formal or informal collective of Actors.
|
Extends: |
Actor |
Properties: |
Inherits all properties from Actor . |
Organization |
URI: |
http://www.w3.org/ns/activitystreams#Organization |
Example 286 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Organization",
"displayName": "Acme, Inc.."
}
Example 287 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Organization">
<span itemprop="displayName">Acme, Inc.</span>
</div>
Example 288 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Organization">
<span property="displayName">Acme, Inc.</span>
</div>
Example 290 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Organization ;
as:displayName "Acme, Inc.".
|
Notes: |
Represents group of individuals who share a common goal or purpose.
|
Extends: |
Group |
Properties: |
Inherits all properties from Group . |
|
URI: |
http://www.w3.org/ns/activitystreams#Community |
Example 291 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Community",
"displayName": "Foo Community"
}
Example 292 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Community">
<span itemprop="displayName">Foo Community</span>
</div>
Example 293 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Community">
<span property="displayName">Foo Community</span>
</div>
Example 295 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Community ;
as:displayName "Foo Community.".
|
Notes: |
A group whose members share a common set of characteristics or interests.
|
Extends: |
Group |
Properties: |
Inherits all properties from Group . |
Person |
URI: |
http://www.w3.org/ns/activitystreams#Person |
Example 296 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Person",
"displayName": "Sally Smith."
}
Example 297 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally Smith</span>
</div>
Example 298 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Person">
<span property="displayName">Sally Smith</span>
</div>
Example 300 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Person ;
as:displayName "Sally Smith".
|
Notes: |
Represents an individual person.
|
Extends: |
Actor |
Properties: |
Inherits all properties from Actor . |
Identity |
URI: |
http://www.w3.org/ns/activitystreams#Identity |
Example 301 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Identity",
"displayName": "Sally Smith."
}
Example 302 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Identity">
<span itemprop="displayName">Sally Smith</span>
</div>
Example 303 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Identity">
<span property="displayName">Sally Smith</span>
</div>
Example 305 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Identity ;
as:displayName "Sally Smith".
Example 306 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Identity",
"@id": "http://www.w3.org/ns/activitystreams#Anonymous"
}
Example 307 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Identity"
itemid="http://www.w3.org/ns/activitystreams#Anonymous">
Anonymous
</div>
Example 308 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Identity"
resource="http://www.w3.org/ns/activitystreams#Anonymous">
Anonymous
</div>
Example 310 @prefix as: <http://www.w3.org/ns/activitystreams#> .
<http://www.w3.org/ns/activitystreams#Anonymous> a as:Identity .
|
Notes: |
Identities are distinct from other kinds of actors in
that any single actor can have multiple identities.
|
Extends: |
Actor |
Properties: |
Inherits all properties from Actor . |
Instances: |
The Activity Vocabulary defines one common instance
of the Identity class used to represent
anonymous identities:
http://www.w3.org/ns/activitystreams#Anonymous
|
Process |
URI: |
http://www.w3.org/ns/activitystreams#Process |
Example 311 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Process",
"displayName": "A Long Running Process"
}
Example 312 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Process">
<span itemprop="displayName">A Long Running Process</span>
</div>
Example 313 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Process">
<span property="displayName">A Long Running Process</span>
</div>
Example 315 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Process ;
as:displayName "A Long Running Process".
|
Notes: |
Represents a series of actions taken to achieve
a particular goal.
|
Extends: |
Actor |
Properties: |
Inherits all properties from Actor . |
Role |
URI: |
http://www.w3.org/ns/activitystreams#Role |
Example 316 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Role",
"displayName": "The Moderator"
}
Example 317 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Role">
<span itemprop="displayName">The Moderator</span>
</div>
Example 318 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Role">
<span property="displayName">The Moderator</span>
</div>
Example 320 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Role ;
as:displayName "The Moderator".
|
Notes: |
Represents any kind of role that can be assumed by an Actor.
|
Extends: |
Actor |
Properties: |
Inherits all properties from Actor . |
Service |
URI: |
http://www.w3.org/ns/activitystreams#Service |
Example 321 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Service",
"displayName": "Acme Web Service"
}
Example 322 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Service">
<span itemprop="displayName">Acme Web Service</span>
</div>
Example 323 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Service">
<span property="displayName">Acme Web Service</span>
</div>
Example 325 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Service ;
as:displayName "Acme Web Service".
|
Notes: |
Represents a service of any kind.
|
Extends: |
Actor |
Properties: |
Inherits all properties from Actor . |
Article |
URI: |
http://www.w3.org/ns/activitystreams#Article |
Example 326 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Article",
"displayName": "A Blog Post",
"content": "<div>... a long blog post</div>",
"attributedTo": "acct:sally@example.org"
}
Example 327 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Article">
<h2 itemprop="displayName">A Blog Post</h2>
<div>By <a itemprop="attributedTo"
href="acct:sally@example.org">Sally</a></div>
<section itemprop="content"
<div>... a long blog post</div>
</section>
</div>
Example 328 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Article">
<h2 property="displayName">A Blog Post</h2>
<div>By <a property="attributedTo"
href="acct:sally@example.org">Sally</a></div>
<section property="content"
<div>... a long blog post</div>
</section>
</div>
Example 330 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Article ;
as:displayName "A Blog Post" ;
as:content "<div>... a long blog post</div>" ;
as:attributedTo <acct:sally@example.org> .
|
Notes: |
Represents any kind of multi-paragraph written work.
|
Extends: |
Content |
Properties: |
Inherits all properties from Content . |
Album |
URI: |
http://www.w3.org/ns/activitystreams#Album |
Example 331 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Album",
"displayName": "A Photo Album",
"items": [
{
"@type": "Image",
"displayName": "My Dog",
"url": {
"@type": "Link",
"href": "http://example.org/dog.jpeg",
"mediaType": "image/jpeg"
}
},
{
"@type": "Image",
"displayName": "My Cat",
"url": {
"@type": "Link",
"href": "http://example.org/cat.jpeg",
"mediaType": "image/jpeg"
}
}
]
}
Example 332 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Album">
<h2 itemprop="displayName">A Photo Album</h2>
<figure itemprop="items" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Image">
<figcaption itemprop="displayName">
My Dog
</figcaption>
<img itemprop="url" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Link"
src="http://example.org/dog.jpeg"
type="image/jpeg" />
</figure>
<figure itemprop="items" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Image">
<figcaption itemprop="displayName">
My Cat
</figcaption>
<img itemprop="url" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Link"
src="http://example.org/cat.jpeg"
type="image/jpeg" />
</figure>
</div>
Example 333 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Album">
<h2 property="displayName">A Photo Album</h2>
<figure property="items" typeof="Image">
<figcaption property="displayName">
My Dog
</figcaption>
<img property="url" typeof="Link"
src="http://example.org/dog.jpeg"
type="image/jpeg" />
</figure>
<figure property="items" typeof="Image">
<figcaption property="displayName">
My Cat
</figcaption>
<img property="url" typeof="Link"
src="http://example.org/cat.jpeg"
type="image/jpeg" />
</figure>
</div>
Example 335 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Album ;
as:displayName "A Photo Album" ;
as:items (
[
a as:Image ;
as:displayName "My Dog" ;
as:url [
a as:Link ;
as:href <http://example.org/dog.jpeg> ;
as:mediaType "image/jpeg" ;
] .
]
[
a as:Image ;
as:displayName "My Cat" ;
as:url [
a as:Link ;
as:href <http://example.org/cat.jpeg> ;
as:mediaType "image/jpeg" ;
] .
]
) .
Example 336 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Album",
"displayName": "A Music Playlist",
"orderedItems": [
{
"@type": "Audio",
"displayName": "Song 1",
"url": {
"@type": "Link",
"href": "http://example.org/song1.mp3",
"mediaType": "audio/mp3"
}
},
{
"@type": "Audio",
"displayName": "Song 2",
"url": {
"@type": "Link",
"href": "http://example.org/song2.mpg",
"mediaType": "audio/mp3"
}
}
]
}
Example 337 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Album">
<h2 itemprop="displayName">A Music Playlist</h2>
<ol>
<li itemprop="items" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Audio">
<span itemprop="displayName">Song 1</span> -
<a itemprop="url" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Link"
href="http://example.org/song1.mp3"
type="audio/mp3">Listen</a>
</li>
<li itemprop="items" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Audio">
<span itemprop="displayName">Song 2</span> -
<a itemprop="url" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Link"
href="http://example.org/song2.mp3"
type="audio/mp3">Listen</a>
</li>
</ol>
</div>
Example 338 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Album">
<h2 property="displayName">A Music Playlist</h2>
<ol>
<li property="items" typeof="Audio">
<span property="displayName">Song 1</span> -
<a property="url" typeof="Link"
href="http://example.org/song1.mp3"
type="audio/mp3">Listen</a>
</li>
<li property="items" typeof="Audio">
<span property="displayName">Song 2</span> -
<a property="url" typeof="Link"
href="http://example.org/song2.mp3"
type="audio/mp3">Listen</a>
</li>
</ol>
</div>
Example 340 @prefix as: <http://www.w3.org/ns/activitystreams#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
_c:14n0 a as:Album ;
as:displayName "A Music Playlist" ;
as:items [
rdf:first [
a as:Audio ;
as:displayName "Song 1" ;
as:url [
a as:Link ;
as:href <http://example.org/song1.mp3> ;
as:mediaType "audio/mp3" .
] .
] ;
rdf:rest [
rdf:first [
a as:Audio ;
as:displayName "Song 2" ;
as:url [
a as:Link ;
as:href <http://example.org/song2.mpg> ;
as:mediaType "audio/mp3" .
]
] ;
rdf:rest rdf:nil .
] ;
] .
|
Notes: |
A type of Collection typically used to organize
Image , Video or Audio
objects.
|
Extends: |
Collection |
Properties: |
Inherits all properties from Collection . |
Folder |
URI: |
http://www.w3.org/ns/activitystreams#Folder |
Example 341 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Folder",
"displayName": "Some Documents",
"items": [
{
"@type": "Document",
"displayName": "4Q Sales Forecast",
"url": "http://example.org/4q-sales-forecast.pdf"
}
]
}
Example 342 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Folder">
<h2 itemprop="displayName">Some Documents</h2>
<ul>
<li itemprop="items" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Document">
<span itemprop="displayName">4Q Sales Forecast</span> -
<a itemprop="url"
href="http://example.org/4q-sales-forecast.pdf">Open</a>
</li>
</ul>
</div>
Example 343 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Folder">
<h2 property="displayName">Some Documents</h2>
<ul>
<li property="items" typeof="Document">
<span property="displayName">4Q Sales Forecast</span> -
<a property="url"
href="http://example.org/4q-sales-forecast.pdf">Open</a>
</li>
</ul>
</div>
Example 345 @prefix as: <http://www.w3.org/ns/activitystreams#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
_c:14n0 a as:Folder ;
as:displayName "Some Documents" ;
as:items (
[
a as:Document;
as:displayName "4Q Sales Forecast" ;
as:url <http://example.org/4q-sales-forecast.pdf> .
]
) .
|
Notes: |
A type of Collection typically used to organize
objects such as Documents.
|
Extends: |
Collection |
Properties: |
Inherits all properties from Collection . |
Story |
URI: |
http://www.w3.org/ns/activitystreams#Story |
Example 346 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Story",
"displayName": "My Vacation",
"startIndex": 5,
"orderedItems": [
{
"@type": "Image",
"displayName": "Visiting the Vatican",
"url": "http://example.org/photo5.jpeg",
"imageOf": {
"@type": "Place",
"displayName": "The Vatican"
}
},
{
"@type": "Image",
"displayName": "Visiting the Eiffel Tower",
"url": "http://example.org/photo6.jpeg",
"imageOf": {
"@type": "Place",
"displayName": "The Eiffel Tower"
}
}
]
}
Example 347 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Story">
<h2 itemprop="displayName">My Vacation</h2>
<figure itemprop="items" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Image">
<figcaption itemprop="displayName">
Visiting the
<span itemprop="imageOf" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Place">
<span itemprop="displayName">
Vatican
</span>
</span>
</figcaption>
<img itemprop="url"
href="http://example.org/photo5.jpeg" />
</figure>
<figure itemprop="items" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Image">
<figcaption itemprop="displayName">
Visiting the
<span itemprop="imageOf" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Place">
<span itemprop="displayName">
Eiffel Tower
</span>
</span>
</figcaption>
<img itemprop="url"
href="http://example.org/photo6.jpeg" />
</figure>
</div>
Example 348 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Story">
<h2 property="displayName">My Vacation</h2>
<figure property="items" typeof="Image">
<figcaption property="displayName">
Visiting the
<span property="imageOf" typeof="Place">
<span property="displayName">
Vatican
</span>
</span>
</figcaption>
<img property="url"
href="http://example.org/photo5.jpeg" />
</figure>
<figure property="items" typeof="Image">
<figcaption property="displayName">
Visiting the
<span property="imageOf" typeof="Place">
<span property="displayName">
Eiffel Tower
</span>
</span>
</figcaption>
<img property="url"
href="http://example.org/photo6.jpeg" />
</figure>
</div>
Example 350 @prefix as: <http://www.w3.org/ns/activitystreams#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
_c:14n0 a as:Story ;
as:displayName "My Vacation" ;
as:items [
rdf:first [
a as:Image ;
as:displayName "Visiting The Vatican" ;
as:url <http://example.org/photo5.jpeg> ;
as:imageOf [
a as:Place ;
as:displayName "The Vatican" .
] .
] ;
rdf:rest [
rdf:first [
a as:Image ;
as:displayName "Visiting The Eiffel Tower" ;
as:url <http://example.org/photo6.jpeg> ;
as:imageOf [
a as:Place ;
as:displayName "The Eiffel Tower" .
]
] ;
rdf:rest rdf:nil .
] ;
] .
|
Notes: |
A type of Ordered Collection
usually containing Content Items
organized to "tell a story".
|
Extends: |
OrderedCollection |
Properties: |
Inherits all properties from OrderedCollection . |
Document |
URI: |
http://www.w3.org/ns/activitystreams#Document |
Example 351 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Document",
"displayName": "4Q Sales Forecast",
"url": "http://example.org/4q-sales-forecast.pdf"
}
Example 352 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Document">
<span itemprop="displayName">4Q Sales Forecast</span> -
<a itemprop="url"
href="http://example.org/4q-sales-forecast.pdf">Open</a>
</div>
Example 353 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Document">
<span property="displayName">4Q Sales Forecast</span> -
<a property="url"
href="http://example.org/4q-sales-forecast.pdf">Open</a>
</div>
Example 355 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Document ;
as:displayName "4Q Sales Forecast" ;
as:url <http://example.org/4q-sales-forecast.pdf> .
|
Notes: |
Represents a document of any kind.
|
Extends: |
Content |
Properties: |
Inherits all properties from Content . |
Audio |
URI: |
http://www.w3.org/ns/activitystreams#Audio |
Example 356 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Audio",
"displayName": "A Simple Podcast",
"url": {
"@type": "Link",
"href": "http://example.org/podcast.mp3",
"mediaType": "audio/mp3"
}
}
Example 357 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Audio">
<span itemprop="displayName">A Simple Podcast</span> -
<a itemprop="url" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Link"
href="http://example.org/podcast.mp3"
type="audio/mp3">Listen</a>
</div>
Example 358 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Audio">
<span property="displayName">A Simple Podcast</span> -
<a property="url" typeof="Link"
href="http://example.org/podcast.mp3"
type="audio/mp3">Listen</a>
</div>
Example 360 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Audio ;
as:displayName "A Simple Podcast" ;
as:url [
a as:Link ;
as:href <http://example.org/podcast.mp3> ;
as:mediaType "audio/mp3" .
].
|
Notes: |
Represents an audio document of any kind.
|
Extends: |
Document |
Properties: |
Inherits all properties from Document . |
Image |
URI: |
http://www.w3.org/ns/activitystreams#Image |
Example 361 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Image",
"displayName": "A Simple Image",
"url": [
{
"@type": "Link",
"href": "http://example.org/image.jpeg",
"mediaType": "image/jpeg"
},
{
"@type": "Link",
"href": "http://example.org/image.png",
"mediaType": "image/png"
}
]
}
Example 362 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Image">
<span itemprop="displayName">A Simple Image</span> -
<a itemprop="url" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Link"
href="http://example.org/image.jpeg"
type="image/jpeg">JPEG</a> |
<a itemprop="url" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Link"
href="http://example.org/image.png"
type="image/png">PNG</a>
</div>
Example 363 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Image">
<span property="displayName">A Simple Image</span> -
<a property="url" typeof="Link"
href="http://example.org/image.jpeg"
type="image/jpeg">JPEG</a> |
<a property="url" typeof="Link"
href="http://example.org/image.png"
type="image/png">PNG</a>
</div>
Example 365 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Image ;
as:displayName "A Simple Image" ;
as:url {
[
a as:Link ;
as:href <http://example.org/image.jpeg> ;
as:mediaType "image/jpeg" .
]
[
a as:Link ;
as:href <http://example.org/image.png> ;
as:mediaType "image/png" .
]
).
|
Notes: |
An image document of any kind
|
Extends: |
Document |
Properties: |
Inherits all properties from Document . |
Video |
URI: |
http://www.w3.org/ns/activitystreams#Video |
Example 366 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Video",
"displayName": "A Simple Video",
"url": "http://example.org/video.mkv",
"duration": "PT2H"
}
Example 367 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Video">
<span itemprop="displayName">A Simple Video</span>
<meta itemprop="duration" content="PT2H">(2 hours)<meta> -
<a itemprop="url"
href="http://example.org/video.mkv">Watch<a>
</div>
Example 368 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Video">
<span property="displayName">A Simple Video</span>
<meta property="duration" content="PT2H">(2 hours)<meta> -
<a property="url"
href="http://example.org/video.mkv">Watch<a>
</div>
Example 370 @prefix as: <http://www.w3.org/ns/activitystreams#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
_c:14n0 a as:Video ;
as:displayName "A Simple Video" ;
as:url <http://example.org/video.mkv> ;
as:duration "PT2H"^^xsd:duration.
|
Notes: |
|
Extends: |
Document |
Properties: |
Inherits all properties from Document . |
Note |
URI: |
http://www.w3.org/ns/activitystreams#Note |
Example 371 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Note",
"displayName": "A Short Note",
"content": "This is a short note"
}
Example 372 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Note">
<h2 itemprop="displayName">A Short Note</h2>
<section itemprop="content">
This is a short note
</section>
</div>
Example 373 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Note">
<h2 property="displayName">A Short Note</h2>
<section property="content">
This is a short note
</section>
</div>
Example 375 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Note ;
as:displayName "A Short Note" ;
as:content "This is a short note".
|
Notes: |
Represents a short written work typically less than a single paragraph in length.
|
Extends: |
Content |
Properties: |
Inherits all properties from Content . |
Page |
URI: |
http://www.w3.org/ns/activitystreams#Page |
Example 376 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Page",
"displayName": "A Webpage",
"url": "http://example.org/page.html"
}
Example 377 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Page">
<a itemprop="url"
href="http://example.org/page.html">
<meta itemprop="displayName">A Webpage</meta>
</a>
</div>
Example 378 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Page">
<a property="url"
href="http://example.org/page.html">
<meta property="displayName">A Webpage</meta>
</a>
</div>
Example 380 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Page ;
as:displayName "A Webpage" ;
as:url <http://example.org/page.html>.
|
Notes: |
Represents a Web Page.
|
Extends: |
Document |
Properties: |
Inherits all properties from Document . |
PossibleAnswer |
URI: |
http://www.w3.org/ns/activitystreams#PossibleAnswer |
Example 381 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Question",
"displayName": "What is the answer?",
"oneOf": [
{
"@type": "PossibleAnswer",
"displayName": "Option A",
"shape": {
"@type": "rdf:Literal",
"@value": "A"
}
},
{
"@type": "PossibleAnswer",
"displayName": "Option B",
"shape": {
"@type": "rdf:Literal",
"@value": "B"
}
}
]
}
Example 382 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Question">
<h2 itemprop="displayName">
What is the answer?
</h2>
<ul>
<li itemprop="oneOf" itemscope
itemtype="http://www.w3.org/ns/activitystreams#PossibleAnswer">
<span itemprop="displayName">Option A</span>
<meta itemprop="shape" itemscope
itemtype="http://www.w3.org/1999/02/22-rdf-syntax-ns#Literal"
content="A" />
</li>
<li itemprop="oneOf" itemscope
itemtype="http://www.w3.org/ns/activitystreams#PossibleAnswer">
<span itemprop="displayName">Option B</span>
<meta itemprop="shape" itemscope
itemtype="http://www.w3.org/1999/02/22-rdf-syntax-ns#Literal"
content="B" />
</li>
<ul>
</div>
Example 383 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Question">
<h2 property="displayName">
What is the answer?
</h2>
<ul>
<li property="oneOf" typeOf="PossibleAnswer">
<span property="displayName">Option A</span>
<meta property="shape"
typeof="http://www.w3.org/1999/02/22-rdf-syntax-ns#Literal"
content="A" />
</li>
<li property="oneOf" typeof="PossibleAnswer">
<span property="displayName">Option B</span>
<meta property="shape"
typeof="http://www.w3.org/1999/02/22-rdf-syntax-ns#Literal"
content="B" />
</li>
<ul>
</div>
Example 385 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Question ;
as:displayName "What is the answer?" ;
as:oneOf (
[
a as:PossibleAnswer ;
as:displayName "Option A" ;
as:shape "A" .
]
[
a as:PossibleAnswer ;
as:displayName "Option B" ;
as:shape "B" .
]
).
|
Notes: |
A Possible Answer to a Question.
|
Extends: |
Content |
Properties: |
shape
Inherits all properties from Content .
|
Question |
URI: |
http://www.w3.org/ns/activitystreams#Question |
Example 386 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Question",
"displayName": "What is the answer?",
"oneOf": [
{
"@type": "PossibleAnswer",
"displayName": "Option A",
"shape": {
"@type": "rdf:Literal",
"@value": "A"
}
},
{
"@type": "PossibleAnswer",
"displayName": "Option B",
"shape": {
"@type": "rdf:Literal",
"@value": "B"
}
}
]
}
Example 387 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Question">
<h2 itemprop="displayName">
What is the answer?
</h2>
<ul>
<li itemprop="oneOf" itemscope
itemtype="http://www.w3.org/ns/activitystreams#PossibleAnswer">
<span itemprop="displayName">Option A</span>
<meta itemprop="shape" itemscope
itemtype="http://www.w3.org/1999/02/22-rdf-syntax-ns#Literal"
content="A" />
</li>
<li itemprop="oneOf" itemscope
itemtype="http://www.w3.org/ns/activitystreams#PossibleAnswer">
<span itemprop="displayName">Option B</span>
<meta itemprop="shape" itemscope
itemtype="http://www.w3.org/1999/02/22-rdf-syntax-ns#Literal"
content="B" />
</li>
<ul>
</div>
Example 388 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Question">
<h2 property="displayName">
What is the answer?
</h2>
<ul>
<li property="oneOf" typeOf="PossibleAnswer">
<span property="displayName">Option A</span>
<meta property="shape"
typeof="http://www.w3.org/1999/02/22-rdf-syntax-ns#Literal"
content="A" />
</li>
<li property="oneOf" typeof="PossibleAnswer">
<span property="displayName">Option B</span>
<meta property="shape"
typeof="http://www.w3.org/1999/02/22-rdf-syntax-ns#Literal"
content="B" />
</li>
<ul>
</div>
Example 390 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Question ;
as:displayName "What is the answer?" ;
as:oneOf (
[
a as:PossibleAnswer ;
as:displayName "Option A" ;
as:shape "A" .
]
[
a as:PossibleAnswer ;
as:displayName "Option B" ;
as:shape "B" .
]
).
|
Notes: |
Represents a question being asked. Question objects are unique
in that they are an extension of both Content and
IntransitiveActivity . That is, the Question object
is an Activity but the direct object is the question itself.
|
Extends: |
Content AND IntransitiveActivity . |
Properties: |
oneOf | anyOf
Inherits all properties from Content and IntransitiveActivity .
|
Event |
URI: |
http://www.w3.org/ns/activitystreams#Event |
Example 391 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Event",
"displayName": "A Party!",
"startTime": "2014-12-31T23:00:00-08:00",
"endTime": "2015-01-01T06:00:00-08:00"
}
Example 392 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Event">
<h2 itemprop="displayName">A Party</h2>
<div>Starts:
<meta itemprop="startTime" content="2014-12-31T23:00:00-08:00">
11:00 PM on Dec 31, 2014
</meta>
</div>
<div>Ends:
<meta itemprop="endTime" content="2015-01-01T06:00:00-08:00">
06:00 AM on Jan 1, 2015
</meta>
</div>
</div>
Example 393 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Event">
<h2 property="displayName">A Party</h2>
<div>Starts:
<meta property="startTime" content="2014-12-31T23:00:00-08:00">
11:00 PM on Dec 31, 2014
</meta>
</div>
<div>Ends:
<meta property="endTime" content="2015-01-01T06:00:00-08:00">
06:00 AM on Jan 1, 2015
</meta>
</div>
</div>
Example 395 @prefix as: <http://www.w3.org/ns/activitystreams#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
_c:14n0 a as:Event ;
as:displayName "A Party!" ;
as:startTime "2014-12-31T23:00:00-08:00"^^xsd:dateTime ;
as:endTime "2015-01-01T06:00:00-08:00"^^xsd:dateTime.
|
Notes: |
Represents any kind of event.
|
Extends: |
Object |
Properties: |
Inherits all properties from Object .
|
Place |
URI: |
http://www.w3.org/ns/activitystreams#Place |
Example 396 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Place",
"displayName": "Work"
}
Example 397 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Place">
<span itemprop="displayName">Work</span>
</div>
Example 398 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Place">
<span property="displayName">Work</span>
</div>
Example 400 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Place ;
as:displayName "Work" .
Example 401 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Place",
"displayName": "Fresno Area",
"latitude": 36.75,
"longitude": 119.7667,
"radius": 15,
"units": "miles"
}
Example 402 <table itemscope
itemtype="http://www.w3.org/ns/activitystreams#Place">
<tr>
<td>Name</td>
<td itemprop="displayName">Fresno Area</td>
</tr>
<tr>
<td>Latitude</td>
<td itemprop="latitude">36.75</td>
</tr>
<tr>
<td>Longitude</td>
<td itemprop="longitude">119.7667</td>
</tr>
<tr>
<td>Radius</td>
<td itemprop="radius">15</td>
</tr>
<tr>
<td>Units</td>
<td itemprop="units">miles</td>
</tr>
</table>
Example 403 <table vocab="http://www.w3.org/ns/activitystreams#"
typeof="Place">
<tr>
<td>Name</td>
<td property="displayName">Fresno Area</td>
</tr>
<tr>
<td>Latitude</td>
<td property="latitude">36.75</td>
</tr>
<tr>
<td>Longitude</td>
<td property="longitude">119.7667</td>
</tr>
<tr>
<td>Radius</td>
<td property="radius">15</td>
</tr>
<tr>
<td>Units</td>
<td property="units">miles</td>
</tr>
</table>
Example 405 @prefix as: <http://www.w3.org/ns/activitystreams#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
_c:14n0 a as:Place ;
as:displayName "Fresno Area" ;
as:latitude "36.75"^^xsd:float ;
as:longitude "119.7667"^^xsd:float ;
as:radius "15"^^xsd:float ;
as:units "miles" .
|
Notes: |
Represents a logical or physical location.
|
Extends: |
Object |
Properties: |
accuracy |
altitude |
latitude |
longitude |
radius |
units
Inherits all properties from Object .
|
Reservation |
URI: |
http://www.w3.org/ns/activitystreams#Reservation |
Example 406 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Reservation",
"actor": "acct:sally@example.org",
"object": {
"@type": "Event",
"location": {
"@type": "Place",
"displayName": "Conference Room A"
}
}
}
Example 407 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Reservation">
<link itemprop="actor"
href="acct:sally@example.org">Sally</link>
created a reservation for
<span itemprop="object" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Event">
an event in
<span itemprop="displayName">
Conference Room A
</span>
</span>
</div>
Example 408 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Reservation">
<link property="actor"
href="acct:sally@example.org">Sally</link>
created a reservation for
<span property="object" typeof="Event">
an event in
<span property="displayName">
Conference Room A
</span>
</span>
</div>
Example 410 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Reservation ;
as:actor <acct:sally@example.org> ;
as:object [
a as:Event ;
as:location [
a as:Place ;
as:displayName "Conference Room A" .
] .
] .
|
Notes: |
Represents a reservation created on an object. A reservation is a special
type of object that is also an Activity.
|
Extends: |
Activity |
Properties: |
Inherits all properties from Activity .
|
Mention |
URI: |
http://www.w3.org/ns/activitystreams#Mention |
Example 411 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Mention",
"href": "http://example.org/joe",
"displayName": "Joe"
}
Example 412 <span itemscope
itemtype="http://www.w3.org/ns/activitystreams#Mention">
<a itemprop="href" href="http://example.org/joe">
@<span itemprop="displayName">Joe</span>
</a>
</span>
Example 413 <span vocab="http://www.w3.org/ns/activitystreams#"
typeof="Mention">
<a property="href" href="http://example.org/joe">
@<span property="displayName">Joe</span>
</a>
</span>
Example 415 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Mention ;
as:href <http://example.org/joe> ;
as:displayName "Joe" .
|
Notes: |
A specialized Link that represents an @mention.
|
Extends: |
Link |
Properties: |
Inherits all properties from Link .
|
4. Properties
Base URI: http://www.w3.org/ns/activitystreams#
.
The common properties include:
actor
|
actorOf
|
attachedTo
|
attachment
|
attributedTo
|
attributedWith
|
bcc
|
bto
|
cc
|
context
|
contextOf
|
current
|
first
|
generator
|
generatorOf
|
icon
|
iconFor
|
image
|
imageOf
|
inReplyTo
|
last
|
location
|
locationOf
|
items
|
oneOf
|
anyOf
|
origin
|
originOf
|
memberOf
|
next
|
object
|
objectOf
|
prev
|
preview
|
previewOf
|
result
|
resultOf
|
proof
|
provider
|
providerOf
|
replies
|
scope
|
scopeOf
|
self
|
shape
|
tag
|
tagOf
|
target
|
targetOf
|
to
|
url
|
accuracy
|
alias
|
altitude
|
content
|
displayName
|
duration
|
height
|
href
|
hreflang
|
itemsPerPage
|
latitude
|
longitude
|
mediaType
|
priority
|
endTime
|
published
|
startTime
|
radius
|
rating
|
rel
|
startIndex
|
summary
|
title
|
totalItems
|
units
|
updated
|
width
The "Domain" indicates the type of Object the property term applies to.
The "Range" indicates the type of value the property term can have.
Certain properties are marked as a "Subproperty Of" another term, meaning
that the term is a specialization of the referenced term. For instance,
actor
is a subproperty of attributedTo
.
Properties marked as being "Functional" can have only one value. Items
not marked as "Functional" can have multiple values.
Link
Term |
Description |
Example |
actor |
URI: |
http://www.w3.org/ns/activitystreams#actor |
Example 416 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Share",
"actor": "acct:sally@example.org",
"object": "http://example.org/foo"
}
Example 417 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Share">
<link itemprop="actor"
href="acct:sally@example.org">Sally</link>
shared
<a itemprop="object"
href="http://example.org/foo">
http://example.org/foo
</a>
</div>
Example 418 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Share">
<link property="actor"
href="acct:sally@example.org">Sally</link>
shared
<a property="object"
href="http://example.org/foo">
http://example.org/foo
</a>
</div>
Example 420 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Share ;
as:actor <acct:sally@example.org> ;
as:object <http://example.org/foo> .
Example 421 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Share",
"actor": {
"@type": "Person",
"@id": "acct:sally@example.org",
"displayName": "Sally"
},
"object": "http://example.org/foo"
}
Example 422 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Share">
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person"
itemid="acct:sally@example.org">
<span itemprop="displayName">Sally</span>
</span>
shared
<a itemprop="object"
href="http://example.org/foo">
http://example.org/foo
</a>
</div>
Example 423 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Share">
<span property="actor" typeof="Person"
resource="acct:sally@example.org">
<span property="displayName">Sally</span>
</span>
shared
<a property="object"
href="http://example.org/foo">
http://example.org/foo
</a>
</div>
Example 425 @prefix as: <http://www.w3.org/ns/activitystreams#> .
<acct:sally@example.org> a as:Person ;
as:displayName "Sally" .
_c:14n0 a as:Share ;
as:actor <acct:sally@example.org> ;
as:object <http://example.org/foo> .
Example 426 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Share",
"actor": [
"acct:joe@example.org",
{
"@type": "Person",
"@id": "acct:sally@example.org",
"displayName": "Sally"
}
],
"object": "http://example.org/foo"
}
Example 427 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Share">
<link itemprop="actor"
href="acct:joe@example.org">Joe</link>
and
<span itemprop="actor" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person"
itemid="acct:sally@example.org">
<span itemprop="displayName">Sally</span>
</span>
shared
<a itemprop="object"
href="http://example.org/foo">
http://example.org/foo
</a>
</div>
Example 428 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Share">
<link property="actor"
href="acct:joe@example.org">Joe</link>
and
<span property="actor" typeof="Person"
resource="acct:sally@example.org">
<span property="displayName">Sally</span>
</span>
shared
<a property="object"
href="http://example.org/foo">
http://example.org/foo
</a>
</div>
Example 430 @prefix as: <http://www.w3.org/ns/activitystreams#> .
<acct:sally@example.org> a as:Person ;
as:displayName "Sally" .
_c:14n0 a as:Share ;
as:actor (
<acct:sally@example.org>
<acct:joe@example.org>
);
as:object <http://example.org/foo> .
|
Notes: |
Describes one or more entities that either performed or are
expected to perform the activity.
Any single activity can have multiple Actors. The Actor MAY be
specified using an indirect Link .
|
Domain: |
Activity |
Range: |
Actor | Link |
Subproperty Of: |
attributedTo |
actorOf |
URI: |
http://www.w3.org/ns/activitystreams#actor |
Example 431 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Person",
"displayName": "Sally",
"actorOf": [
{
"@type": "Share",
"object": "http://example.org/posts/1",
"target": "acct:joe@example.org"
}
]
}
Example 432 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
<span itemprop="actorOf" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Share">
shared
<link itemprop="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</link>
with
<link itemprop="target"
href="acct:joe@example.org">Joe</link>
</span>
</div>
Example 433 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Share">
<span property="displayName">Sally</span>
<span property="actorOf" typeof="Share">
shared
<link property="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</link>
with
<link property="target"
href="acct:joe@example.org">Joe</link>
</span>
</div>
Example 435 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Person ;
as:displayName "Sally" ;
as:actorOf [
a as:Share ;
as:object <http://example.org/posts/1> ;
as:target <acct:joe@example.org> .
] .
|
Notes: |
Identifies one or more Activities attributed to this actor.
|
Domain: |
Actor | Link |
Range: |
Activity |
Subproperty Of: |
attributedWith
|
Inverse Of: |
actor
|
attachedTo |
URI: |
http://www.w3.org/ns/activitystreams#attachedTo |
Example 436 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Image",
"displayName": "A Simple Image",
"url": "http://example.org/cat.jpeg",
"attachedTo": [
{
"@type": "Note",
"content": "A Simple Note"
}
]
}
Example 437 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Image">
<span itemprop="displayName">A Simple Image</span>
<img itemprop="url" src="http://example.org/cat.jpeg"/>
<div itemprop="attachedTo" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Note">
attached to
"<span itemprop="content">A Simple Note</span>"
</div>
</div>
Example 438 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Image">
<span property="displayName">A Simple Image</span>
<img property="url" src="http://example.org/cat.jpeg"/>
<div property="attachedTo" typeof="Note">
attached to
"<span property="content">A Simple Note</span>"
</div>
</div>
Example 440 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Image ;
as:displayName "A Simple Image" ;
as:url <http://example.org/cat.jpeg> ;
as:attachedTo [
a as:Note ;
as:content "A Simple Note" .
] .
|
Notes: |
Identifies an entity to which this object is attached
|
Domain: |
Object | Link |
Range: |
Object | Link |
Inverse Of: |
attachment |
attachment |
URI: |
http://www.w3.org/ns/activitystreams#attachment |
Example 441 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Note",
"displayName": "A Simple Note",
"attachment": [
{
"@type": "Image",
"content": "A simple Image",
"url": "http://example.org/cat.jpeg"
}
]
}
Example 442 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Note">
<span itemprop="displayName">A Simple Note</span>
Attachments:
<ul>
<li itemprop="attachment" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Image">
<figure>
<figcaption itemprop="displayName">
A Simple Image
</figcaption>
<img itemprop="url"
href="http://example.org/cat.jpeg" />
</figure>
</li>
</ul>
</div>
Example 443 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Note">
<span property="displayName">A Simple Note</span>
Attachments:
<ul>
<li property="attachment" typeof="Image">
<figure>
<figcaption property="displayName">
A Simple Image
</figcaption>
<img property="url"
href="http://example.org/cat.jpeg" />
</figure>
</li>
</ul>
</div>
Example 445 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Note ;
as:displayName "A Simple Note" ;
as:attachment [
a as:Image ;
as:displayName "A Simple Image" ;
as:url <http://example.org/cat.jpeg> .
] .
|
Notes: |
Identifies an entity that is directly or indirected attached to this object
|
Domain: |
Object |
Range: |
Object | |
Inverse Of: |
attachedTo |
attributedTo |
URI: |
http://www.w3.org/ns/activitystreams#attributedTo |
Example 446 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Image",
"displayName": "A Simple Image",
"url": "http://example.org/cat.jpeg",
"attributedTo": [
{
"@type": "Person",
"displayName": "Sally"
}
]
}
Example 447 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Image">
<span itemprop="displayName">A Simple Image</span>
<img itemprop="url" src="http://example.org/cat.jpeg"/>
<div itemprop="attributedTo" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
Attributed To:
<span itemprop="displayName">Sally</span>
</div>
</div>
Example 448 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Image">
<span property="displayName">A Simple Image</span>
<img property="url" src="http://example.org/cat.jpeg"/>
<div property="attributedTo" typeof="Note">
Attributed To:
<span property="displayName">Sally</span>"
</div>
</div>
Example 450 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Image ;
as:displayName "A Simple Image" ;
as:url <http://example.org/cat.jpeg> ;
as:attributedTo [
a as:Person ;
as:displayName "Sally" .
] .
Example 451 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Image",
"displayName": "A Simple Image",
"url": "http://example.org/cat.jpeg",
"attributedTo": [
"acct:joe@example.org",
{
"@type": "Person",
"displayName": "Sally"
}
]
}
Example 452 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Image">
<span itemprop="displayName">A Simple Image</span>
<img itemprop="url" src="http://example.org/cat.jpeg"/>
Attributed To:
<span itemprop="attributedTo" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
</span> and
<link itemprop="attributedTo"
href="acct:joe@example.org">Joe<link>
</div>
Example 453 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Image">
<span property="displayName">A Simple Image</span>
<img property="url" src="http://example.org/cat.jpeg"/>
Attributed To:
<span property="attributedTo" typeof="Note">
<span property="displayName">Sally</span>"
</span> and
<link property="attributedTo"
href="acct:joe@example.org">Joe<link>
</div>
Example 455 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Image ;
as:displayName "A Simple Image" ;
as:url <http://example.org/cat.jpeg> ;
as:attributedTo (
<acct:joe@example.org>
[
a as:Person ;
as:displayName "Sally" .
]
) .
|
Notes: |
Identifies one or more entities to which this object is attributed.
The attributed entities might not be Actors. For instance, an object
might be attributed to the completion of another activity.
|
Domain: |
Link | Object |
Range: |
Link | Object |
Inverse Of: |
attributedWith |
attributedWith |
URI: |
http://www.w3.org/ns/activitystreams#attributedWith |
Example 456 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Person",
"displayName": "Sally",
"attributedWith": {
"@type": "Note",
"content": "A Simple Note"
}
}
Example 457 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Person">
<span itemprop="displayName">Sally</span>
wrote
<span itemprop="attributedWith" itemscope
itemtype="http://www.w3.org/ns/activitystreams#Note">
"<span itemprop="content">A Simple Note<span>"
</span>
</div>
Example 458 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Person">
<span property="displayName">Sally</span>
wrote
<span property="attributedWith" typeof="Note">
"<span property="content">A Simple Note<span>"
</span>
</div>
Example 460 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Person ;
as:displayName "Sally" ;
as:attributedWith [
a as:Note;
as:content "A Simple Note" .
].
|
Notes: |
Identifies one or more objects attributed to this object.
|
Domain: |
Object | Link |
Range: |
Object | Link |
Inverse Of: |
attributedTo |
bcc |
URI: |
http://www.w3.org/ns/activitystreams#bcc |
Example 461 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Share",
"actor": "acct:sally@example.org",
"object": "http://example.org/posts/1",
"target": "acct:john@example.org",
"bcc": [ "acct:joe@example.org" ]
}
Example 462 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Share">
<link itemprop="actor"
href="acct:sally@example.org">
Sally
</link>
shared
<a itemprop="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
with
<link itemprop="target"
href="acct:john@example.org">
John
</link>
(bcc: <link itemprop="bcc"
href="acct:joe@example.org">
John
</link>)
</div>
Example 463 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Share">
<link property="actor"
href="acct:sally@example.org">
Sally
</link>
shared
<a property="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
with
<link property="target"
href="acct:john@example.org">
John
</link>
(bcc: <link property="bcc"
href="acct:joe@example.org">
John
</link>)
</div>
Example 465 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Share ;
as:actor <acct:sally@example.org> ;
as:object <http://example.org/posts/1> ;
as:target <acct:john@example.org> ;
as:bcc <acct:joe@example.org> .
|
Notes: |
Identifies one or more Actors that are part of the private secondary audience
of this Activity.
|
Domain: |
Activity |
Range: |
Actor | Link |
bto |
URI: |
http://www.w3.org/ns/activitystreams#bto |
Example 466 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Share",
"actor": "acct:sally@example.org",
"object": "http://example.org/posts/1",
"target": "acct:john@example.org",
"bto": [ "acct:joe@example.org" ]
}
Example 467 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Share">
<link itemprop="actor"
href="acct:sally@example.org">
Sally
</link>
shared
<a itemprop="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
with
<link itemprop="target"
href="acct:john@example.org">
John
</link>
(bto: <link itemprop="bto"
href="acct:joe@example.org">
John
</link>)
</div>
Example 468 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Share">
<link property="actor"
href="acct:sally@example.org">
Sally
</link>
shared
<a property="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
with
<link property="target"
href="acct:john@example.org">
John
</link>
(bto: <link property="bto"
href="acct:joe@example.org">
John
</link>)
</div>
Example 470 @prefix as: <http://www.w3.org/ns/activitystreams#> .
_c:14n0 a as:Share ;
as:actor <acct:sally@example.org> ;
as:object <http://example.org/posts/1> ;
as:target <acct:john@example.org> ;
as:bto <acct:joe@example.org> .
|
Notes: |
Identifies an Actor that is part of the private primary audience
of this Activity.
|
Domain: |
Activity |
Range: |
Actor | Link |
cc |
URI: |
http://www.w3.org/ns/activitystreams#cc |
Example 471 {
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Share",
"actor": "acct:sally@example.org",
"object": "http://example.org/posts/1",
"target": "acct:john@example.org",
"cc": [ "acct:joe@example.org" ]
}
Example 472 <div itemscope
itemtype="http://www.w3.org/ns/activitystreams#Share">
<link itemprop="actor"
href="acct:sally@example.org">
Sally
</link>
shared
<a itemprop="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
with
<link itemprop="target"
href="acct:john@example.org">
John
</link>
(cc: <link itemprop="cc"
href="acct:joe@example.org">
John
</link>)
</div>
Example 473 <div vocab="http://www.w3.org/ns/activitystreams#"
typeof="Share">
<link property="actor"
href="acct:sally@example.org">
Sally
</link>
shared
<a property="object"
href="http://example.org/posts/1">
http://example.org/posts/1
</a>
with
<link property="target"
href="acct:john@example.org">
John
</link>
(cc: <link property="cc"
href="acct:joe@example.org">
John
</link>)
</div>
|