- From: Andreas Kuckartz <a.kuckartz@ping.de>
- Date: 21 Aug 2014 20:13:47 +0200
- To: "public-socialweb@w3.org" <public-socialweb@w3.org>
- Cc: "activity-streams@googlegroups.com" <activity-streams@googlegroups.com>
We already briefly discussed this on GitHub, but why can't we replace
"url" by "@id" instead of "self" ?
https://github.com/jasnell/w3c-socialwg-activitystreams/issues/5
"@id" is the property specified by JSON-LD for such purposes.
Cheers,
Andreas
---
James M Snell:
> In an activity streams document, the "url" property is typically used
> to point to a displayable (typically HTML) representation of an
> object. The "id" property is typically used to provide just an
> identifier. With AS2's direct incorporation of IANA Link Relations, it
> makes more sense to deprecate the use of "url" in favor of link
> relations such as "self" or "alternate". Doing so simplifies things a
> bit more and gives us better alignment with things like JSON-LD.
>
> The change is fairly simple:
>
> {
> "objectType": "note",
> "url": "http://example.org/foo"
> }
>
> Becomes
>
> {
> "objectType": "note",
> "self": "http://example.org/foo"
> }
>
> In the AS2 document, the "url" property would be listed as deprecated
> and treated as an alias for "self".
>
> Thoughts?
>
> - James
>
>
>
Received on Thursday, 21 August 2014 18:17:05 UTC