w3c / activitypub

http://w3c.github.io/activitypub/
Other
1.15k stars 71 forks source link

Richer collections structure #440

Open evanp opened 1 month ago

evanp commented 1 month ago

We need to support a richer collections structure. Our only collections mechanism right now is a paged array of items, possibly recursive. It would be beneficial to consider vocabularies that already exist for richer data structures, as well as Activity type for modifying those items -- such as a Push activity for a queue.

evanp commented 1 month ago

We think this is an interesting topic, and probably would benefit from more attention from the AP and AS2 community. The likely solutions will probably be a mix of existing vocabularies for collections and containers, as well as new vocabularies specific to AP. There is some prior work along these lines, here:

https://codeberg.org/fediverse/fep/src/branch/main/fep/5bf0/fep-5bf0.md

https://www.hydra-cg.com/spec/latest/core/

https://www.w3.org/TR/rdf-schema/#ch_collectionvocab

https://schema.org/ListItem

https://www.w3.org/TR/ldp/#ldpc

There are a few resolutions we could take. First might be inviting the development of a FEP on the topic, which would probably be a lightweight mechanism to move this forward. Another would be developing a report within the CG, which would probably require a dedicated task force. These don't have to be mutually exclusive.

Probably the best first step is to initiate some discussion within this issue's comments, as well as on the mailing list and/or SocialHub.