w3c / activitystreams

Activity Streams 2.0
https://www.w3.org/TR/activitystreams-core/
Other
279 stars 61 forks source link

Appendix B doesn't sufficiently cover @context #434

Open strugee opened 6 years ago

strugee commented 6 years ago

Please Indicate One:

Please Describe the Issue:

https://www.w3.org/TR/activitystreams-core/#activitystreams-1.0a mentions the AS1 -> AS2 expansion context, but just says that JSON-LD implementations "can" use this. It doesn't say anything about the @context of the final document, particularly for pure-JSON implementations. This seems like a bug.

gobengo commented 6 years ago

Implementations producing Activity Streams 2.0 documents should include a @context property with a value that includes a reference to the normative Activity Streams 2.0 JSON-LD @context definition using the URL " https://www.w3.org/ns/activitystreams". Implementations may use the alternative URL " http://www.w3.org/ns/activitystreams" instead. This can be done using a string, object, or array.

In section 2.1 https://www.w3.org/TR/activitystreams-core/#jsonld

I think this is good enough eh?

evanp commented 1 year ago

I will update the Primer to include that information.

https://www.w3.org/wiki/Activity_Streams/Primer/Activity_Streams_1.0_to_Activity_Streams_2.0

I'll self-assign and close when it is complete.