LibertyDSNP / spec

The DSNP Spec and Website
https://spec.dsnp.org
Other
28 stars 3 forks source link

DIP-267 Provide a User Data mechanism for links to profiles #277

Closed wesbiggs closed 4 weeks ago

wesbiggs commented 3 months ago

Problem

267 discusses the advantages of DSNP profile documents being discoverable based on a user's identifier, rather than being temporal data that must be externally tracked and indexed to be useful.

Solution

This proposal adds a new User Data type, profileResources, which is currently defined for the Activity Content profile document type, but is extensible to other document types that may need to be user-centric in the future. A profile resource is simply a link type (as an integer) and a CID as a string plus byte length. We define link type 1 for AC profiles.

This change assumes we are versioning for 1.3, but does not include versioning updates, which are in other open PRs at this time.

Change summary: