-
Notifications
You must be signed in to change notification settings - Fork 4
/
528.txt
254 lines (184 loc) · 10.2 KB
/
528.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
* 仕様書
[REFS[
- [47] [CITE@en[Activity Streams 2.0]] ([TIME[2017-05-21 23:50:36 +09:00]]) <https://w3c.github.io/activitystreams/core/>
-- [51] [CITE@en[Activity Streams 2.0]] ([TIME[2017-05-21 23:50:36 +09:00]]) <https://w3c.github.io/activitystreams/core/#h-media-type>
]REFS]
* MIME 型
[45] [[Activity Streams 2.0]] が [DFN[[CODE(MIME)@en[application/activity+json]]]]、
[[JSON Activity Streams 1.0]] が [DFN[[CODE(MIME)@en[application/stream+json]]]]
または [CODE(MIME)@en[application/json]] とされています。
[52] 加えて実装は
[CODE[[[application/ld+json]]; [[profile][profile=""]]="[DFN[https://www.w3.org/ns/activitystreams]]"]]
を [CODE(MIME)@en[application/activity+json]] と等価に扱う[SHOULD[べき]]とされています
[SRC[>>51]]。
;; [53] [[JSON-LD]] を使わない実装もそうするべきなのかどうか...
* JSON-LD との関係
[41] [[Activity Streams 2.0]] は [[JSON-LD]] を使っていますが、
[[JSON-LD]] に従い処理する義務はないとしています。
[42] しかし [[JSON-LD]] を使って既定の[[自然言語]]を記述したり、
拡張の[[語彙]]を使ったりすることになっています。
[[JSON-LD]] を使った実装と使わない実装は、
そうした情報を処理できません。
[43] それだけでなく、 [[JSON-LD]] と矛盾する拡張も容認されているようです
[SRC[>>50]]。 [[JSON-LD]] を使う実装も、汎用の [[JSON-LD]]
の処理器を使うだけでなく、それで拾えきれなかった情報の処理が必要になります。
[44] これは[[相互運用性]]の深刻な問題のような気がしますが。。。
;; [55] これと似た過去の事例が、 [[RSS 1.0]] です。 [[RSS 1.0]]
は [[RDF/XML]] として設計されましたが、ただの [[XML]] として利用されました。
[[RDF/XML]] として解釈できない拡張もなされていました。
[[RSS 1.0]] の場合、本当に [[RDF/XML]] として解釈する実装はほとんどなかったので、
大きな問題にはなりませんでした。
[FIG(quote)[
[FIGCAPTION[
[46] [CITE@en[Activity Streams 2.0]]
([TIME[2017-05-21 23:50:36 +09:00]])
<https://w3c.github.io/activitystreams/core/#h-syntaxconventions>
]FIGCAPTION]
> This specification describes a JSON-based '''['''RFC7159''']''' serialization syntax for the Activity Vocabulary that conforms to a subset of '''['''JSON-LD''']''' syntax constraints but does not require JSON-LD processing.
]FIG]
[FIG(quote)[
[FIGCAPTION[
[48] [CITE@en[Activity Streams 2.0]]
([TIME[2017-05-21 23:50:36 +09:00]])
<https://w3c.github.io/activitystreams/core/#h-defaultlangcontext>
]FIGCAPTION]
> When using '''['''JSON-LD''']''' mechanisms to produce or consume Activity Streams 2.0 documents, the @language property may be used within a @context to identify the default language. This mechanism may not be understood by implementations that do not choose to process Activity Streams 2.0 documents using JSON-LD.
]FIG]
[FIG(quote)[
[FIGCAPTION[
[49] [CITE@en[Activity Streams 2.0]]
([TIME[2017-05-21 23:50:36 +09:00]])
<https://w3c.github.io/activitystreams/core/#h-extensibility>
]FIGCAPTION]
> For extensions, '''['''JSON-LD''']''' is used as the primary mechanism for defining and disambiguating extensions. Implementations that wish to fully support extensions should use '''['''JSON-LD''']''' mechanisms.
]FIG]
[FIG(quote)[
[FIGCAPTION[
[50] [CITE@en[Activity Streams 2.0]]
([TIME[2017-05-21 23:50:36 +09:00]])
<https://w3c.github.io/activitystreams/core/#h-extensibility>
]FIGCAPTION]
> It is also important to note that there are valid JSON constructs which cannot be used within a JSON-LD document. For instance, JSON-LD forbids "arrays of arrays" as used, for example, by the popular GeoJSON specification. While implementations are free to use such constructs as extensions within an Activity Streams 2.0 document, consumers that use the standard JSON-LD Processing Algorithms will be required to either ignore such extensions or map those to alternative compatible constructs prior to applying the JSON-LD algorithms.
]FIG]
* 歴史
[1] [CITE@en[Activity Streams Concepts and Representations (Draft)]]
( ([TIME[2010-07-06 08:16:48 +09:00]] 版))
<http://activitystrea.ms/head/json-activity.html>
[2] [CITE[ActivityStreams - an evolving format for syndicating social activities around the web]]
( ([TIME[2010-07-01 02:46:20 +09:00]] 版))
<http://activitystrea.ms/>
[4] [CITE@en[Activity Streams API Draft Specification 0.1]]
( ([TIME[2010-06-08 11:17:29 +09:00]] 版))
<http://activitystrea.ms/head/activity-api.html>
[3] [CITE@en[Activity Streams 2.0]] ([TIME[2014-10-24 00:27:39 +09:00]] 版) <http://www.w3.org/TR/2014/WD-activitystreams-core-20141023/>
[5] [CITE@en[Activity Streams 2.0]]
( ([TIME[2014-10-24 02:58:45 +09:00]] 版))
<http://jasnell.github.io/w3c-socialwg-activitystreams/activitystreams2.html>
[6] [CITE@en[Activity Vocabulary]]
( ([TIME[2014-10-23 19:50:50 +09:00]] 版))
<http://www.w3.org/TR/2014/WD-activitystreams-vocabulary-20141023/>
[7] [CITE@en[Activity Vocabulary]]
( ([TIME[2014-10-24 02:58:45 +09:00]] 版))
<http://jasnell.github.io/w3c-socialwg-activitystreams/activitystreams2-vocabulary.html>
[8] [CITE@en[Activity Streams 2.0]]
( ([TIME[2015-01-28 04:41:39 +09:00]] 版))
<http://www.w3.org/TR/2015/WD-activitystreams-core-20150129/>
[9] [CITE@en[Activity Vocabulary]]
( ([TIME[2015-01-28 04:42:19 +09:00]] 版))
<http://www.w3.org/TR/2015/WD-activitystreams-vocabulary-20150129/>
[10] [CITE@en[Activity Streams 2.0]]
([TIME[2015-07-23 01:07:53 +09:00]] 版)
<http://jasnell.github.io/w3c-socialwg-activitystreams/activitystreams-core/index.html>
[11] [CITE@en[Activity Streams 2.0]]
([TIME[2014-10-24 00:27:39 +09:00]] 版)
<http://www.w3.org/TR/2014/WD-activitystreams-core-20141023/>
[12] [CITE@en[Activity Streams 2.0]]
([TIME[2015-01-28 04:41:39 +09:00]] 版)
<http://www.w3.org/TR/2015/WD-activitystreams-core-20150129/>
[13] [CITE@en[Activity Streams 2.0]]
([TIME[2015-07-23 00:32:03 +09:00]] 版)
<http://www.w3.org/TR/2015/WD-activitystreams-core-20150722/>
[14] [CITE@en[Activity Vocabulary]]
([TIME[2015-07-23 01:07:53 +09:00]] 版)
<http://jasnell.github.io/w3c-socialwg-activitystreams/activitystreams-vocabulary/index.html>
[15] [CITE@en[Activity Vocabulary]]
([TIME[2014-10-23 19:50:50 +09:00]] 版)
<http://www.w3.org/TR/2014/WD-activitystreams-vocabulary-20141023/>
[16] [CITE@en[Activity Vocabulary]]
([TIME[2015-01-28 04:42:19 +09:00]] 版)
<http://www.w3.org/TR/2015/WD-activitystreams-vocabulary-20150129/>
[17] [CITE@en[Activity Vocabulary]]
([TIME[2015-07-23 00:44:33 +09:00]] 版)
<http://www.w3.org/TR/2015/WD-activitystreams-vocabulary-20150722/>
[18] [CITE@en[Activity Streams 2.0]]
([TIME[2015-10-07 01:54:41 +09:00]] 版)
<http://www.w3.org/TR/2015/WD-activitystreams-core-20151006/>
[19] [CITE@en[Activity Vocabulary]]
([TIME[2015-10-07 02:17:55 +09:00]] 版)
<http://www.w3.org/TR/2015/WD-activitystreams-vocabulary-20151006/>
[20] [CITE@en[Activity Streams 2.0]]
([TIME[2015-12-16 03:23:53 +09:00]] 版)
<http://www.w3.org/TR/2015/WD-activitystreams-core-20151215/>
[21] [CITE@en[Activity Vocabulary]]
([TIME[2015-12-16 03:27:33 +09:00]] 版)
<http://www.w3.org/TR/2015/WD-activitystreams-vocabulary-20151215/>
[22] [CITE@en[Activity Streams Working Group: Atom Activity Streams 1.0]]
([TIME[2015-02-20 11:07:49 +09:00]] 版)
<http://activitystrea.ms/specs/atom/1.0/>
[23] [CITE@en[Activity Streams 2.0]]
( ([TIME[2016-06-01 01:50:46 +09:00]]))
<https://www.w3.org/TR/2016/WD-activitystreams-core-20160531/>
[24] [CITE@en[Activity Vocabulary]]
( ([TIME[2016-06-01 01:52:10 +09:00]]))
<https://www.w3.org/TR/2016/WD-activitystreams-vocabulary-20160531/>
[25] [CITE@en[Activity Streams 2.0]]
([TIME[2016-07-07 00:16:05 +09:00]])
<https://www.w3.org/TR/2016/WD-activitystreams-core-20160706/>
[26] [CITE@en[Activity Vocabulary]]
([TIME[2016-07-07 00:16:25 +09:00]])
<https://www.w3.org/TR/2016/WD-activitystreams-vocabulary-20160706/>
[27] [CITE@en[Activity Vocabulary]]
([TIME[2016-07-13 03:11:49 +09:00]])
<https://www.w3.org/TR/2016/WD-activitystreams-vocabulary-20160712/>
[28] [CITE@en[Activity Streams 2.0]]
([TIME[2016-07-13 04:07:09 +09:00]])
<https://www.w3.org/TR/2016/WD-activitystreams-core-20160712/>
[29] [CITE@en[Activity Streams 2.0]]
([TIME[2016-09-06 02:38:44 +09:00]])
<https://www.w3.org/TR/2016/CR-activitystreams-core-20160906/>
[30] [CITE@en[Activity Vocabulary]]
([TIME[2016-09-06 02:39:01 +09:00]])
<https://www.w3.org/TR/2016/CR-activitystreams-vocabulary-20160906/>
[31] [CITE@en[Activity Streams 2.0]]
([TIME[2016-12-14 22:33:44 +09:00]])
<https://www.w3.org/TR/2016/CR-activitystreams-core-20161215/>
[32] [CITE@en[Activity Vocabulary]]
([TIME[2016-12-14 22:35:13 +09:00]])
<https://www.w3.org/TR/2016/CR-activitystreams-vocabulary-20161215/>
[33] [CITE@en[documentation/Extensions.md at master · tootsuite/documentation]]
([TIME[2017-04-14 01:03:15 +09:00]])
<https://github.com/tootsuite/documentation/blob/master/Extensions.md>
[34] [CITE@en[Activity Streams 2.0]]
([TIME[2017-04-13 06:22:32 +09:00]])
<https://www.w3.org/TR/2017/PR-activitystreams-core-20170413/>
[35] [CITE@en[Activity Vocabulary]]
([TIME[2017-04-13 06:26:38 +09:00]])
<https://www.w3.org/TR/2017/PR-activitystreams-vocabulary-20170413/>
[36] [CITE@en[Activity Streams 2.0]]
([TIME[2017-05-21 23:46:07 +09:00]])
<https://www.w3.org/TR/2017/REC-activitystreams-core-20170523/>
[37] [CITE@en[Activity Streams 2.0]]
([TIME[2017-05-21 23:50:36 +09:00]])
<https://w3c.github.io/activitystreams/core/>
[38] [CITE@en[Activity Vocabulary]]
([TIME[2017-05-21 23:46:23 +09:00]])
<https://www.w3.org/TR/2017/REC-activitystreams-vocabulary-20170523/>
[39] [CITE@en[Activity Vocabulary]]
([TIME[2017-05-21 23:50:36 +09:00]])
<https://w3c.github.io/activitystreams/vocabulary/>
[40] [CITE@en[Activity Streams extensions - W3C Wiki]]
([TIME[2017-05-26 18:40:21 +09:00]])
<https://www.w3.org/wiki/Activity_Streams_extensions>
[54] [CITE@en[activitystreams/ERRATA.md at master · w3c/activitystreams]]
([TIME[2017-05-26 19:05:19 +09:00]])
<https://github.com/w3c/activitystreams/blob/master/ERRATA.md>