@@ -2300,13 +2300,13 @@ <h2>Object and Link Types</h2>
2300
2300
< div id ="ex22-jsonld " style ="display: block; ">
2301
2301
< pre class ="example highlight json "> {
2302
2302
"@context": "https://www.w3.org/ns/activitystreams",
2303
- "summary": "Sally is a contact of John",
2303
+ "summary": "Sally is an acquaintance of John",
2304
2304
"type": "Relationship",
2305
2305
"subject": {
2306
2306
"type": "Person",
2307
2307
"name": "Sally"
2308
2308
},
2309
- "relationship": "IsContact ",
2309
+ "relationship": "http://purl.org/vocab/relationship/acquaintanceOf ",
2310
2310
"object": {
2311
2311
"type": "Person",
2312
2312
"name": "John"
@@ -5548,13 +5548,13 @@ <h2>Properties</h2>
5548
5548
< div id ="ex22a-jsonld " style ="display: block; ">
5549
5549
< pre class ="example highlight json "> {
5550
5550
"@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",
5552
5552
"type": "Relationship",
5553
5553
"subject": {
5554
5554
"type": "Person",
5555
5555
"name": "Sally"
5556
5556
},
5557
- "relationship": "IsContact ",
5557
+ "relationship": "http://purl.org/vocab/relationship/acquaintanceOf ",
5558
5558
"object": {
5559
5559
"type": "Person",
5560
5560
"name": "John"
@@ -5598,13 +5598,13 @@ <h2>Properties</h2>
5598
5598
< div id ="ex22c-jsonld " style ="display: block; ">
5599
5599
< pre class ="example highlight json "> {
5600
5600
"@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",
5602
5602
"type": "Relationship",
5603
5603
"subject": {
5604
5604
"type": "Person",
5605
5605
"name": "Sally"
5606
5606
},
5607
- "relationship": "IsContact ",
5607
+ "relationship": "http://purl.org/vocab/relationship/acquaintanceOf ",
5608
5608
"object": {
5609
5609
"type": "Person",
5610
5610
"name": "John"
@@ -5949,26 +5949,26 @@ <h3>Representing Relationships Between Entities</h3>
5949
5949
"type": "Collection",
5950
5950
"items": [
5951
5951
{
5952
- "summary": "Sally is following Joe",
5952
+ "summary": "Sally is influenced by Joe",
5953
5953
"type": "Relationship",
5954
5954
"subject": {
5955
5955
"type": "Person",
5956
5956
"name": "Sally"
5957
5957
},
5958
- "relationship": "IsFollowing ",
5958
+ "relationship": "http://purl.org/vocab/relationship/influencedBy ",
5959
5959
"object": {
5960
5960
"type": "Person",
5961
5961
"name": "Joe"
5962
5962
}
5963
5963
},
5964
5964
{
5965
- "summary": "Sally is a contact of Jane",
5965
+ "summary": "Sally is a friend of Jane",
5966
5966
"type": "Relationship",
5967
5967
"subject": {
5968
5968
"type": "Person",
5969
5969
"name": "Sally"
5970
5970
},
5971
- "relationship": "IsContact ",
5971
+ "relationship": "http://purl.org/vocab/relationship/friendOf ",
5972
5972
"object": {
5973
5973
"type": "Person",
5974
5974
"name": "Jane"
@@ -6013,7 +6013,7 @@ <h3>Representing Relationships Between Entities</h3>
6013
6013
"object": {
6014
6014
"type": "Relationship",
6015
6015
"subject": "http://sally.example.org",
6016
- "relationship": "IsContact ",
6016
+ "relationship": "http://purl.org/vocab/relationship/friendOf ",
6017
6017
"object": "http://matt.example.org",
6018
6018
"startTime": "2015-04-21T12:34:56"
6019
6019
}
@@ -6027,28 +6027,13 @@ <h3>Representing Relationships Between Entities</h3>
6027
6027
began or ended.
6028
6028
</ p >
6029
6029
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
-
6045
6030
< p >
6046
6031
Implementations may
6047
6032
reuse existing vocabularies that have been developed for the purpose of
6048
6033
describing relationships, or create their own guided by requirements of
6049
6034
their particular implementation. Existing vocabularies include the
6050
6035
"< 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.
6052
6037
</ p >
6053
6038
6054
6039
< section class ="informative ">
@@ -6082,7 +6067,7 @@ <h4>Modeling "friend requests"</h4>
6082
6067
"id": "http://example.org/connections/123",
6083
6068
"type": "Relationship",
6084
6069
"subject": "acct:
[email protected] ",
6085
- "relationship": "IsContact ",
6070
+ "relationship": "http://purl.org/vocab/relationship/friendOf ",
6086
6071
"object": "acct:
[email protected] "
6087
6072
},
6088
6073
"target": "acct:
[email protected] "
@@ -6876,30 +6861,10 @@ <h2>Changelog</h2>
6876
6861
6877
6862
< p >
6878
6863
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 > .
6880
6865
</ p >
6881
6866
6882
6867
< 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 >
6903
6868
</ ul >
6904
6869
6905
6870
</ section >
0 commit comments