The Replies spec [1] describes the current state of the art on this.
Any object can contain the "inReplyTo" property whose value (in 1.0)
is an array of objects being replied to. In my 2.0 draft, this is
updated to be a Link value (so it can be an IRI, object or array of
objects). Likewise, any object can contain a "replies" property whose
value is a Collection object listing known replies.
[1]
http://activitystrea.ms/specs/json/replies/1.0/
So.. to give a slightly over-verbose example...
In 1.0...
{
"objectType": "article",
"id": "urn:example:articles:1",
"title": "My Article",
...,
"replies": {
"items": [
{
"objectType": "note",
"content": "Nice article",
"inReplyTo": [
{
"objectType": "article",
"id": "urn:example:articles:1"
}
]
}
]
}
}
In the proposed 2.0...
{
"type": "article",
"id": "urn:example:articles:1",
"title": "My Article",
...,
"replies": {
"items": [
{
"type": "note",
"content": "Nice article",
"inReplyTo": "urn:example:articles:1"
}
]
> --
> You received this message because you are subscribed to the Google Groups
> "Activity Streams" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
activity-strea...@googlegroups.com.
> To post to this group, send email to
activity...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/activity-streams?hl=en.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>