org.cairnsproto.draft.defs

Shared definitions for Cairns records. Every Cairns record is dedicated to the public domain under CC0-1.0; placing a record asserts the right to dedicate it. Fractions are integers in parts per million (0 to 1000000) so every indexer computes identical results.

Repository @cairnsproto.org did:plc:np7ezqujtsry4bkogisaabul namespace authority
Details · defs
Kinddefs
Authoritydraft.cairnsproto.org
Indexed

#blobPayload

object

Properties

blob

requiredblob
  • maxSize: 1000000

#conversion

object

The payload of a converted stone: the derived source a transform produces from the site's source, by hash, and the transform. Once the conversion clears the open-children bar, each course built on this one opens one unmarked site on it, which works the derived source. Its value is the source hash alone with $type org.cairnsproto.draft.defs#conversion, so two transforms that produce the same output agree and build the same sites.

Properties

source

requiredref

sha256 of the transform's output on the site's source.

Reference

transform

requiredref

The transform record, at the version that produced the output. Provenance only: it tells a client what to re-run and is not part of the value.

#cost

object

Self-reported effort, as the harness reports it. Comparable across contributors on the same model; never verified.

Properties

Input tokens served from a prompt cache.

  • minimum: 0

inputTokens

requiredinteger
  • minimum: 0

outputTokens

requiredinteger
  • minimum: 0

seconds

requiredinteger

Wall-clock seconds.

  • minimum: 0

#external

object

Bytes stored outside the PDS. The hash is the identity; any copy matching it is valid.

Properties

hash

requiredref
Reference

urls

array
  • maxLength: 32
itemsstring · uri

#externalPayload

object

Properties

external

requiredref
Reference

#hash

object

A content digest. Site keys, schema identities and segment states are sha256; a source may also be a git object named by git-sha1 or git-sha256.

Properties

alg

requiredstring
  • maxLength: 32
  • knownValues: sha256 | git-sha1 | git-sha256

value

requiredstring

Lowercase hex digest.

  • minLength: 1
  • maxLength: 128

#inlinePayload

object

Properties

data

requiredunknown

Validated against the site's schema.

#method

object

How a stone was produced. Versions are exact. config and cost are self-reported.

Properties

agent

string

A stable label the sponsor chooses for an agent writing to the sponsor's own repo.

  • maxLength: 64

Hash of the agent setup, so a recall can target a faulty configuration.

Reference

cost

ref
Reference

env

string
  • maxLength: 1024

model

string

Model family.

  • maxLength: 256
  • maxLength: 128

The procedure record the stone followed.

thinking

string

Thinking or reasoning level.

  • maxLength: 64

tool

requiredstring
  • maxLength: 256

toolVersion

requiredstring
  • maxLength: 128

#methodSelector

object

Matches stones by method. Absent fields match anything.

Properties

Reference

model

string
  • maxLength: 256
  • maxLength: 128

tool

requiredstring
  • maxLength: 256

toolVersion

requiredstring
  • maxLength: 128

#pageRange

object

1-based pages of a PDF, first through last.

Properties

first

requiredinteger
  • minimum: 1

last

requiredinteger
  • minimum: 1

#pairBase

object

Equivalence site: two site keys in canonical (sorted) order.

Properties

sites

requiredarray
  • minLength: 2
  • maxLength: 2
itemsref
Reference

#parentBase

object

Course k+1: the site marks into one candidate value of a parent site.

Properties

parent

requiredref

Site key of the parent site.

Reference

value

requiredref

Digest of the canonical parent value this site builds on.

Reference

#property

object

A declared property of an equivalence cluster member's value: the JSON Pointer it sits at and the value there. A pooled candidate's digest is that of this object with $type org.cairnsproto.draft.defs#property, so it never shares a digest with a site's own value.

Properties

pointer

requiredstring
  • maxLength: 1024

value

requiredunknown

#sealedPayload

object

Timelock-encrypted to a drand quicknet round under blind policies.

Properties

round

requiredinteger
  • minimum: 1

sealed

requiredblob
  • maxSize: 1000000

#site

object

The unit of work. Stones compete when base, mark and schema are exactly equal.

#sourceBase

object

Course 0: the site marks into a source.

Properties

source

requiredref
Reference

#split

object

The payload of a split stone: the page ranges a site breaks into, in order, each starting on the page after the previous one ends. Once the split clears the open-children bar, the site's course opens one site per part, marked by a jsonPointer to it (/parts/0, /parts/1, ...). Its value is the payload with $type org.cairnsproto.draft.defs#split.

Properties

parts

requiredarray
  • minLength: 2
  • maxLength: 1000
itemsref
Reference

#splitPart

object

Properties

pages

requiredref
Reference

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A signed claim at a site. A retrace is a stone at a site that already has one. A stone that amends another and has no result withdraws it.