You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cip: 26
title: DID Array
author: Michael Sena (@michaelsena), Joel Thorstensson (@oed)
status: Draft
category: Standards
type: RFC
created: 21-07-2020
requires: Tile Doctype (CIP-8)
Simple Summary
DID Array defines the format of a document that stores an array of DIDs.
Abstract
For many use cases of Ceramic it is desirable to create a document that simply stores a list of DIDs. This could be useful for things like social graphs (follows), user lists, member lists, and more.
Motivation
Such a standard would be helpful in defining a reusable schema that many in the Ceramic ecosystem can use when creating documents.
Specification
The DID Array specification consists of a doctype, a schema, and a tag.
The DID Array schema defines a document which maintains a list of DIDs. If this schema is used in a document, these rules will be enforced by the Ceramic protocol.
When creating a document that conforms to the DID Array schema, add DIDArray to the tags field.
Rationale
This proposal is fairly straightforward and no other design considerations were made.
Implementation
DID Array Schema: This version of the DID Array schema can be found at ceramic://bafy.../?version (TODO: update after deployment)
Usage
When creating a new document that conforms to the DID Array schema, you should include the schema version included above in the schema property and the DIDArray tag in the tags property.
Simple Summary
DID Array defines the format of a document that stores an array of DIDs.
Abstract
For many use cases of Ceramic it is desirable to create a document that simply stores a list of DIDs. This could be useful for things like social graphs (follows), user lists, member lists, and more.
Motivation
Such a standard would be helpful in defining a reusable schema that many in the Ceramic ecosystem can use when creating documents.
Specification
The DID Array specification consists of a doctype, a schema, and a tag.
Doctype
DID Array is stored in a Tile Doctype (CIP-8).
Schema
The DID Array schema defines a document which maintains a list of DIDs. If this schema is used in a document, these rules will be enforced by the Ceramic protocol.
Tags
When creating a document that conforms to the DID Array schema, add
DIDArray
to thetags
field.Rationale
This proposal is fairly straightforward and no other design considerations were made.
Implementation
DID Array Schema: This version of the DID Array schema can be found at
ceramic://bafy.../?version
(TODO: update after deployment)Usage
When creating a new document that conforms to the DID Array schema, you should include the schema version included above in the
schema
property and theDIDArray
tag in thetags
property.Copyright
Copyright and related rights waived via CC0.
The text was updated successfully, but these errors were encountered: