W3C home > Mailing lists > Public > public-socialweb@w3.org > March 2015

Deprecate "actor" in favor of "attributeTo"

From: James M Snell <jasnell@gmail.com>
Date: Tue, 24 Mar 2015 13:02:46 -0700
Message-ID: <CABP7RbdjsOy+RusM_TjT21c12jg6xCZNDGoUwx5z3T_TjsVtAg@mail.gmail.com>
To: "public-socialweb@w3.org" <public-socialweb@w3.org>
In the most recent published working draft, the "author" property was
replaced by a more generalized "attributedTo" property. "author" is
still in there but is listed among the deprecated AS 1.0 terms. The
"actor" property on Activities is currently defined as a sub-property
of "attributedTo". Moving forward, there's likely very little value in
having the separate "actor" property. We can simplify and consolidate
down to just using "attributedTo". "actor" would be moved into the
deprecated set for backwards compatibility.

So instead of:

  {
    "@type": "Like",
    "actor": "http://joe.example.org",
    "object": "http://example.org/posts/1"
  }

It would be:

  {
    "@type": "Like",
    "attributedTo": "http://joe.example.org",
    "object": "http://example.org/posts/1"
  }

Note: this proposal does not ADD anything to the vocabulary, it
removes. Which is a good thing.
Received on Tuesday, 24 March 2015 20:05:29 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 8 December 2016 15:48:21 UTC