Remove "rel" from Link

The "rel" property added to the as:Link is problematic from a data
modeling point of view, and actually isn't as useful as one might
imagine in practice.

Based on the current definition of as:Link, here's how it would
currently be used:

{
  "@context": "http://asjsonld.mybluemix.net",
  "image": {
    "@type": "as:Link",
    "@id": "http://example.org/foo",
    "rel": "preview"
  }
}

Those familiar with the JSON-LD processing model ought to see the
problem right away. The "rel" is actually supposed to be a qualified
relation of the containing object, but as it is defined here, it
becomes a property of the as:Link itself.

In any case, despite the modeling issues, the "rel" just isn't proving
to be very valuable in any case I can identify.

My proposal is just to remove it.

- James

Received on Monday, 3 November 2014 17:15:43 UTC