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.
Details · defs
| Kind | defs |
|---|---|
| Authority | draft.cairnsproto.org |
| Indexed |
#blobPayload
objectProperties
maxSize: 1000000
#conversion
objectThe 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
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
objectSelf-reported effort, as the harness reports it. Comparable across contributors on the same model; never verified.
Properties
cachedTokens
integerInput tokens served from a prompt cache.
minimum: 0
minimum: 0
minimum: 0
Wall-clock seconds.
minimum: 0
#external
objectBytes stored outside the PDS. The hash is the identity; any copy matching it is valid.
#externalPayload
object#hash
objectA 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.
#inlinePayload
objectProperties
Validated against the site's schema.
#method
objectHow a stone was produced. Versions are exact. config and cost are self-reported.
Properties
agent
stringA stable label the sponsor chooses for an agent writing to the sponsor's own repo.
maxLength: 64
env
stringmaxLength: 1024
model
stringModel family.
maxLength: 256
modelVersion
stringmaxLength: 128
procedure
refThe procedure record the stone followed.
thinking
stringThinking or reasoning level.
maxLength: 64
maxLength: 256
maxLength: 128
#methodSelector
objectMatches stones by method. Absent fields match anything.
Properties
#pageRange
object1-based pages of a PDF, first through last.
#pairBase
objectEquivalence site: two site keys in canonical (sorted) order.
#parentBase
objectCourse k+1: the site marks into one candidate value of a parent site.
#property
objectA 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.
#sealedPayload
objectTimelock-encrypted to a drand quicknet round under blind policies.
#site
objectThe unit of work. Stones compete when base, mark and schema are exactly equal.
Properties
mark
unionAbsent for equivalence sites and for sites that cover a whole base.
- org.cairnsproto.draft.mark#pdfRegion
- org.cairnsproto.draft.mark#imageRegion
- org.cairnsproto.draft.mark#sheetRange
- org.cairnsproto.draft.mark#tableRange
- org.cairnsproto.draft.mark#textQuote
- org.cairnsproto.draft.mark#cssSelector
- org.cairnsproto.draft.mark#textPosition
- org.cairnsproto.draft.mark#gitPath
- org.cairnsproto.draft.mark#jsonPointer
- org.cairnsproto.draft.mark#archiveMember
- org.cairnsproto.draft.mark#mediaTime
- org.cairnsproto.draft.mark#spaceRange
#sourceBase
objectCourse 0: the site marks into a source.
#split
objectThe 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
minLength: 2maxLength: 1000
#splitPart
objectProperties
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
org.cairnsproto.draft.stone
recordA 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.