Data Models

Data Models

Index Network uses 6 different schemas to store information on Ceramic Network:















Rrepresents a collection of items around a specific context, acting as a structured way to organize and access related information. Index includes fields for a title, a signer's public key, and timestamps for creation, updates, and deletion. The inclusion of signerPublicKey and signerFunction specifies the use of decentralized access control mechanism through Lit Protocol, which enables secure access based on cryptographic conditions.


Establishes a relationship between an index and its nodes within a graph, essentially linking the metadata or content stored in an index to individual data points or nodes. Each IndexItem is associated with a specific Index and a Node on ComposeDB, tracked by their respective IDs, and it includes timestamps for creation, updates, and deletion. This model facilitates navigating from an abstract index to concrete items or nodes, making it a crucial component for organizing and retrieving data in a structured manner within a decentralized context.


The Embedding model is focused on storing vector embeddings for items within an index, where each embedding represents high-dimensional data reduced to vectors for efficient similarity searches or machine learning applications. It includes a model name, the vector itself, optional context, description, category, and links to the related Index and Node. Very soon, the embedding model will facilitate the interoperability of vector embeddings to enable exchange of semantic information across various AI models.

WebPage Model

While Index supports any node on the ComposeDB graph, the WebPage model is an example for developers to explore and interact with the Index Network. It provides a simple structure for storing information about web pages, including title, favicon, URL, and content, along with timestamps for creation, updates, and deletion. This model is aimed at archiving web content in a decentralized manner, allowing for the retrieval and display of web page information within the Index Network. It facilitates the indexing and searching of web content, contributing to a decentralized web archive or search engine capability.

DIDIndex Model

The DIDIndex model is specifically designed for indexing decentralized identifiers (DIDs), providing a way to associate DIDs with specific indexes and categorizing them by type. Each DID can own or star in an index, with the controllerDID field indicating the DID that controls or owns the index.

Profile Model

The Profile model represents user profiles within the Index Network, containing personal information such as a controller DID, name, bio, and an optional avatar. This model allows for the creation of user-centric data within a decentralized framework, where the controllerDID serves as a unique identifier and access controller for the profile, emphasizing privacy and user control over personal information.

Last updated