# Standardizing on ActivityPub Groups

**URL:** <https://socialhub.activitypub.rocks/t/standardizing-on-activitypub-groups/1984>\
**Category:** ActivityPub\
**Tags:** fep\
**Created:** [August 11, 2021, 3:43am UTC](https://socialhub.activitypub.rocks/t/standardizing-on-activitypub-groups/1984 "2021-08-11T03:43:19Z")\
**Posts on this page:** 1\
**Showing post:** 65

<div class="post-metadata">

**Author:** ![aschrijver](https://socialhub.activitypub.rocks/user_avatar/socialhub.activitypub.rocks/aschrijver/32/278_2.png) [@aschrijver](https://socialhub.activitypub.rocks/u/aschrijver)\
**Post date:** [September 16, 2022, 6:22am UTC](https://socialhub.activitypub.rocks/t/standardizing-on-activitypub-groups/1984/65 "2022-09-16T06:22:30Z")

</div>

> [@trwnh](#):
>
> Projects that support both models may declare a type array like `@type = [as:Group, toot:Group]`.

Looks best option of the two, and has positive side-effect that it’ll encourage fedi apps to support type arrays. However, wondering about `toot:Group`. The namespace prefix “toot” more or less indicates: This only applies to a Microblogging domain. But what you are modeling is Membership. A generic concept.

In [ActivityStreams-Core par. 4.3: Actor](https://www.w3.org/TR/activitystreams-core/#actors) is mentioned:

> This specification intentionally defines Actors in only the most generalized way, stopping short of defining semantically specific properties for each. [..] External vocabularies can be used to express additional detail not covered by the Activity Vocabulary. VCard [[vcard-rdf](https://www.w3.org/TR/activitystreams-core/#bib-vcard-rdf)] _SHOULD_ be used to provide additional metadata for [Person](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-person), [Group](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-group), and [Organization](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-organization) instances.

VCard spec has a [`vcard:Group`](https://www.w3.org/TR/vcard-rdf/#d4e1667), but also mentions that since it became recommendation other ontologies have appeared, such as [The Organization Ontology](https://www.w3.org/TR/vocab-org/) (highlights mine):

> This ontology is designed to enable publication of information on organizations and organizational structures including governmental organizations. It is intended to provide a **generic, reusable** core ontology that **can be extended or specialized** for use in particular situations.

This ontology is widely used, well understood. Though it has kinda of an intricate model.. it defines Membership, Roles and more:

 ![Overview of The Organization Ontology domain model](https://socialhub.activitypub.rocks/uploads/default/original/2X/a/af635724365645937eb5700c8da28b24c553f3f4.png)

Now I don’t know how that would look like as AS msgs. Where the diagram says FOAF we have Actors. We might have `@type = [as:Group, org:Organization]` and some membership construct to indicate a “Group with Membership” (group and organization aren’t disjoint). In a similar way there may be a use of `org:Role` to model - in the case of a Microblogging domain - Moderators and Admin members. (While e.g. in a federated forge app the same ontology is used to define a role of Project Maintainer).

> [@trwnh](#):
>
> The downside to using a property like `toot:joinable`

Biggest downside to me seems that now you are using a custom property to basically state that this is a different _type_ of Group… one that supports Membership. Within the context of the Microblogging domain of “toot” vocabulary that may be acceptable, if everyone consents with it, but to my untrained eye it looks not to be a mechanism that scales well for broad interoperability (though a combination of a `toot:Group` in the type array with this property may be perfectly fine).

---

_[View the full topic](https://socialhub.activitypub.rocks/t/standardizing-on-activitypub-groups/1984)._
