social-ISSUE-16 (grammar/vocabulary): better separate grammar/vocabulary and improved spec structure [Activity Streams 2.0]

social-ISSUE-16 (grammar/vocabulary): better separate grammar/vocabulary and improved spec structure [Activity Streams 2.0]

Raised by: Erik Wilde
On product: Activity Streams 2.0


i have a proposal for improving the AS 2.0 spec structure in the sense that the spec structure better aligns with developer expectations, will become easier to read and implement, and maybe also provides a cleaner path to define and support an extension model.

- what's currently called "core" classes/types ( should become part of the basic AS model that is defined by the current AS core WD. after all, this is the "grammar" of AS, it's what establishes the basic resources of AS, and the ways in which these are establishing the AS resource model, and how it is serialized.

- what's currently called "extended" classes/types ( should become the only content of the "vocabulary" spec and should be called "core vocabulary", because that's the common/shared vocabulary of AS that's supposed to be shared across (all or at least the vast majority of) implementations.

here are the reasons for this proposal:

- we should clearly separate they fundamental model (resources and their grammar) of AS, and vocabularies using this model. currently, the former is split across two specs, and the latter is not self-contained in its own spec.

- the AS 2.0 core vocabulary (according to the proposed new terminology) should provide a good and direct blueprint for people creating their own vocabularies. they should be able to take the vocabulary spec and use it as a template very directly.

this should give us a better path towards a clean and well-defined extension model, which in essence should tell:

- developers how to define additional vocabularies, and most importantly, what kinds of things they can define in those vocabularies, and

- users one way how to learn about additional vocabularies, should the developers choose to document them in the way proposed by us.

our goal is to have a clean extension model, and to have a well-defined and well-documented way in which vocabulary developers can use that extension model. we are working on a model that is definitely inspired by james' work on AS 1.0 "Verb Definitions for Activity Streams", with the eventual goal of having some kind of "AS Schema Language" that allows the sharing of information *about* AS.

if there are other having the same interests (going beyond the built-in schema), it would be great to hear about their plans and ideas for how to best set up the current spec structure to better separate grammar and vocabulary, and eventually how to actually define those vocabulary extensions.

thanks and cheers,


Received on Monday, 2 March 2015 09:55:36 UTC