Description
The place object represents a physical location. A place can be added to an activity or any other object like the main object, author or target. Link to place on the spec is http://martin.atkins.me.uk/specs/activitystreams/activityschema#anchor15
Properties
Property name
|
Type
|
Required
|
Property Description
|
JSON field
|
Atom field
|
RSS field
|
name
|
string
|
yes
|
Name of the place. Ex: "Cheesecake Factory Union Square"
|
displayName
|
atom:title
|
|
address |
location |
no |
Address of the place |
|
<context:location>
....
<geo:point>33.9777 -118.4351</geo:point>
<poco:address>
<poco:locality>Marina del rey, CA </poco:locality>
<poco:postalCode>90292</poco:postalCode>
<poco:country>US</poco:country>
</poco:address>
</context:location> |
|
id
|
string
|
yes
|
Unique id for the place
|
id
|
atom:id
|
|
url
|
URI
|
yes
|
Permalink to a web page for the venue
|
links[0] ?
|
atom:link rel="alternate"
|
|
Verbs
URI
http://activitystrea.ms/schema/1.0/place
Examples
- Luc checked into 24 Hour Fitness
- Also statuses can have a place/location associated with them like Twitter and Buzz
- Events also have a place associated with them
Notes
Granularity of location can be at the city level depending on what the actor and publisher want to share. For additional namespaces see:
For JSON here is the OpenSocial Address Object --> http://wiki.opensocial.org/index.php?title=Opensocial.Address_%28v0.9%29
Implementations
Foursquare, Gowalla, Buzz
Maintainers
Monica Keller
Comments (0)
You don't have permission to comment on this page.