Ceramic · Schema

State of a Ceramic stream

The state of a Ceramic stream as defined by the stream type aggregation and conflict resolution rules.

DecentralizedWeb3Data StreamsDIDIPFSBlockchainEvent StreamingComposeDB

Properties

Name Type Description
id string Multibase encoding of the stream id
event_cid string CID of the event that produced this state
controller string Controller of the stream
dimensions object Dimensions of the stream, each value is multibase encoded.
data string Multibase encoding of the data of the stream. Content is stream type specific.
View JSON Schema on GitHub

JSON Schema

StreamState.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ceramic/main/json-schema/StreamState.json",
  "title": "State of a Ceramic stream",
  "description": "The state of a Ceramic stream as defined by the stream type aggregation and conflict resolution rules.",
  "type": "object",
  "required": ["id", "event_cid", "controller", "dimensions", "data"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Multibase encoding of the stream id"
    },
    "event_cid": {
      "type": "string",
      "description": "CID of the event that produced this state"
    },
    "controller": {
      "type": "string",
      "description": "Controller of the stream"
    },
    "dimensions": {
      "type": "object",
      "description": "Dimensions of the stream, each value is multibase encoded."
    },
    "data": {
      "type": "string",
      "description": "Multibase encoding of the data of the stream. Content is stream type specific."
    }
  }
}