@@ -39,7 +39,7 @@ <h1 id="title">Process for Including Extensions in Activity Streams 2.0</h1>
39
39
< section >
40
40
< h2 > Motivation</ h2 >
41
41
< p >
42
- Activity Streams 2.0, as described in [[[[ activitystreams-core]]
42
+ Activity Streams 2.0, as described in [[activitystreams-core]]
43
43
and [[activitystreams-vocabulary]] is a vocabulary for representing
44
44
social data. It is used by, among others, the [[activitypub]] API and protocol.
45
45
It is designed to be extensible, so that new terms can
@@ -151,6 +151,30 @@ <h2>Motivation</h2>
151
151
an additional line of context. It also provides an opportunity to resolve
152
152
conflicts between terms in different extensions in the SocialCG.
153
153
</ p >
154
+ < p >
155
+ Thereafter, publishers will not need to include the extension's context URL
156
+ in their documents. The extension's terms will be available for all documents
157
+ that use the Activity Streams 2.0 context, without requiring a namespace
158
+ prefix.
159
+ </ p >
160
+ < figure >
161
+ < figcaption >
162
+ Theoretical example of using the favorite ice cream flavor term
163
+ after it has been included in the main Activity Streams 2.0 context
164
+ document.
165
+ </ figcaption >
166
+ < div id ="ex1-context " style ="display: block; ">
167
+ < pre class ="example highlight json ">
168
+ {
169
+ "@context": "https://www.w3.org/ns/activitystreams",
170
+ "id": "https://example.com/people/evan",
171
+ "type": "Person",
172
+ "name": "Evan Prodromou",
173
+ "favoriteIceCreamFlavor": "Chocolate"
174
+ }
175
+ </ pre >
176
+ </ div >
177
+ </ figure >
154
178
< p >
155
179
This inclusion does not come without a price. First, the Activity Streams 2.0
156
180
context document is that much larger, which has a cost in terms of readability,
@@ -177,7 +201,7 @@ <h2>Process</h2>
177
201
< li > < b > Publish the extension for review.</ b > Extensions can be published
178
202
through the Federation Enhancement Proposal (FEP) process, as Notes of
179
203
the SocialCG, through another standardisation process, or by any other
180
- organisations or individuals.
204
+ organisations or individuals. See "Criteria" below for required content.
181
205
</ li >
182
206
< li >
183
207
< b > Implement the extension.</ b > See "Criteria" below for implementation requirements.
@@ -190,13 +214,13 @@ <h2>Process</h2>
190
214
for inclusion of the extension.
191
215
</ li >
192
216
< li >
193
- < b > </ b > Vote on the extension. The SocialCG will vote on whether to include the
217
+ < b > Vote on the extension.</ b > The SocialCG will vote on whether to include the
194
218
extension in the Activity Streams 2.0 context document.
195
219
</ li >
196
220
< li >
197
221
< b > Create a draft version of the Activity Streams 2.0 context document including
198
- the extension terms and namespace. This is the time to resolve any conflicts
199
- with existing names in the context document.</ b >
222
+ the extension terms and namespace.</ b > This is the time to resolve any conflicts
223
+ with existing names in the context document.
200
224
</ li >
201
225
< li >
202
226
< b > Test the draft version of the Activity Streams 2.0 context document.</ b >
0 commit comments