Skip to main content
Koru
Get started
API reference sections

Schema

Blob

What the CRDT references, and what the catalog records.

The bytes are never in Loro; this is.

Type object

Shape

FieldTypeDescription
hashrequiredBlobHash

<algorithm>:<digest> - b3:<64 hex>.

The algorithm is in the value because a hash that does not say what it is cannot be migrated: adopting a second one has to be additive, or every document already written is orphaned.

sizerequiredinteger (uint64, >= 0)
mimerequiredstring
filenamestring or null

The name the person's file had. Metadata only - arbitrary Unicode, never identity, never a path component, never emitted into a header unencoded.

created_atrequiredTimestamp

Epoch milliseconds, UTC. Signed, so instants before 1970 are representable.

attributesmap of string to BlobAttribute

Typed extra facts, keyed by a blob_attr constant. Additive on the wire and in storage: absent reads as empty, and an unknown key is kept but ignored.

Example
{
  "hash": "string",
  "size": 0,
  "mime": "string",
  "filename": "string",
  "created_at": 0,
  "attributes": {
    "key": {
      "type": "int",
      "value": 0
    }
  }
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Used by

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.