Skip to content

Commit a43c3d4

Browse files
author
Evan Prodromou
committed
Remove four normative relationship values; closes w3c#406
1 parent 8f26e81 commit a43c3d4

File tree

1 file changed

+14
-49
lines changed

1 file changed

+14
-49
lines changed

vocabulary/index.html

Lines changed: 14 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2300,13 +2300,13 @@ <h2>Object and Link Types</h2>
23002300
<div id="ex22-jsonld" style="display: block;">
23012301
<pre class="example highlight json">{
23022302
"@context": "https://www.w3.org/ns/activitystreams",
2303-
"summary": "Sally is a contact of John",
2303+
"summary": "Sally is an acquaintance of John",
23042304
"type": "Relationship",
23052305
"subject": {
23062306
"type": "Person",
23072307
"name": "Sally"
23082308
},
2309-
"relationship": "IsContact",
2309+
"relationship": "http://purl.org/vocab/relationship/acquaintanceOf",
23102310
"object": {
23112311
"type": "Person",
23122312
"name": "John"
@@ -5548,13 +5548,13 @@ <h2>Properties</h2>
55485548
<div id="ex22a-jsonld" style="display: block;">
55495549
<pre class="example highlight json">{
55505550
"@context": "https://www.w3.org/ns/activitystreams",
5551-
"summary": "Sally is a contact of John's",
5551+
"summary": "Sally is an acquaintance of John's",
55525552
"type": "Relationship",
55535553
"subject": {
55545554
"type": "Person",
55555555
"name": "Sally"
55565556
},
5557-
"relationship": "IsContact",
5557+
"relationship": "http://purl.org/vocab/relationship/acquaintanceOf",
55585558
"object": {
55595559
"type": "Person",
55605560
"name": "John"
@@ -5598,13 +5598,13 @@ <h2>Properties</h2>
55985598
<div id="ex22c-jsonld" style="display: block;">
55995599
<pre class="example highlight json">{
56005600
"@context": "https://www.w3.org/ns/activitystreams",
5601-
"summary": "Sally is a contact of John's",
5601+
"summary": "Sally is an acquaintance of John's",
56025602
"type": "Relationship",
56035603
"subject": {
56045604
"type": "Person",
56055605
"name": "Sally"
56065606
},
5607-
"relationship": "IsContact",
5607+
"relationship": "http://purl.org/vocab/relationship/acquaintanceOf",
56085608
"object": {
56095609
"type": "Person",
56105610
"name": "John"
@@ -5949,26 +5949,26 @@ <h3>Representing Relationships Between Entities</h3>
59495949
"type": "Collection",
59505950
"items": [
59515951
{
5952-
"summary": "Sally is following Joe",
5952+
"summary": "Sally is influenced by Joe",
59535953
"type": "Relationship",
59545954
"subject": {
59555955
"type": "Person",
59565956
"name": "Sally"
59575957
},
5958-
"relationship": "IsFollowing",
5958+
"relationship": "http://purl.org/vocab/relationship/influencedBy",
59595959
"object": {
59605960
"type": "Person",
59615961
"name": "Joe"
59625962
}
59635963
},
59645964
{
5965-
"summary": "Sally is a contact of Jane",
5965+
"summary": "Sally is a friend of Jane",
59665966
"type": "Relationship",
59675967
"subject": {
59685968
"type": "Person",
59695969
"name": "Sally"
59705970
},
5971-
"relationship": "IsContact",
5971+
"relationship": "http://purl.org/vocab/relationship/friendOf",
59725972
"object": {
59735973
"type": "Person",
59745974
"name": "Jane"
@@ -6013,7 +6013,7 @@ <h3>Representing Relationships Between Entities</h3>
60136013
"object": {
60146014
"type": "Relationship",
60156015
"subject": "http://sally.example.org",
6016-
"relationship": "IsContact",
6016+
"relationship": "http://purl.org/vocab/relationship/friendOf",
60176017
"object": "http://matt.example.org",
60186018
"startTime": "2015-04-21T12:34:56"
60196019
}
@@ -6027,28 +6027,13 @@ <h3>Representing Relationships Between Entities</h3>
60276027
began or ended.
60286028
</p>
60296029

6030-
<p>
6031-
The Activity Streams vocabulary defines four normative values for use
6032-
with the relationship property.
6033-
<ul>
6034-
<li><code>IsFollowing</code> The subject is following the object. This is
6035-
a unidirectional relationship.</li>
6036-
<li><code>IsFollowedBy</code> The object is following the subject. This is
6037-
a unidirectional relationship.</li>
6038-
<li><code>IsContact</code> The subject and object have a mutual
6039-
relationship.</li>
6040-
<li><code>IsMember</code> The subject is a member of the object,
6041-
typically a Group or Organization.</li>
6042-
</ul>
6043-
</p>
6044-
60456030
<p>
60466031
Implementations may
60476032
reuse existing vocabularies that have been developed for the purpose of
60486033
describing relationships, or create their own guided by requirements of
60496034
their particular implementation. Existing vocabularies include the
60506035
"<a href="http://xmlns.com/foaf/spec/">Friend of a Friend</a>" and
6051-
"<a href="http://vocab.org/relationship/.html">Relationship</a>" vocabularies.
6036+
"<a href="http://vocab.org/relationship/">Relationship</a>" vocabularies.
60526037
</p>
60536038

60546039
<section class="informative">
@@ -6082,7 +6067,7 @@ <h4>Modeling "friend requests"</h4>
60826067
"id": "http://example.org/connections/123",
60836068
"type": "Relationship",
60846069
"subject": "acct:[email protected]",
6085-
"relationship": "IsContact",
6070+
"relationship": "http://purl.org/vocab/relationship/friendOf",
60866071
"object": "acct:[email protected]"
60876072
},
60886073
"target": "acct:[email protected]"
@@ -6876,30 +6861,10 @@ <h2>Changelog</h2>
68766861

68776862
<p>
68786863
The following notable changes have been made to this document since the
6879-
previous candidate recommendation of <a href="https://www.w3.org/TR/2016/CR-activitystreams-vocabulary-20160906/#changelog">2016-09-06</a>.
6864+
previous candidate recommendation of <a href="https://www.w3.org/TR/2016/CR-activitystreams-vocabulary-20161215/#changelog">2016-12-15</a>.
68806865
</p>
68816866

68826867
<ul>
6883-
<li>
6884-
The term "type" is used uniformly instead of the term "class". The two
6885-
terms had been used interchangeably in earlier versions.
6886-
</li>
6887-
<li>
6888-
Examples were changed to reflect the changed requirement for the
6889-
<a>name</a> property and the use of the <a>summary</a> property as a
6890-
fallback.
6891-
</li>
6892-
<li>
6893-
Linked to the errata list for this document.
6894-
</li>
6895-
<li>
6896-
Changed some example <a>name</a> properties to sound more like they had
6897-
been added by people intentionally, to distinguish them from
6898-
automatically-generated <a>summary</a> properties.
6899-
</li>
6900-
<li>
6901-
Added a clarifying note about the properties of a <a>Link</a> object.
6902-
</li>
69036868
</ul>
69046869

69056870
</section>

0 commit comments

Comments
 (0)