openreserveio/dwn

Refactor Collections Data Model

Closed this issue · 0 comments

Per logic here

  • A "RecordID" is a logical grouping of linked(?) messages
  • Permission is granted to a DID for a RecordID
  • Refactor collections storage data model to reflect a Record as a parent owned object, which contains individual entries/messages. Record access is granted by their creators
  • Refactor collections write and query to make sure the Descriptor is fully formed and its CBOR CID is correctly generated