org.cairnsproto.draft.source

A content-addressed input. Anyone may publish one; records with the same hash name the same source.

Repository @cairnsproto.org did:plc:np7ezqujtsry4bkogisaabul namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritydraft.cairnsproto.org
Indexed

Record

record · key tid

Properties

createdAt

requiredstring · datetime
Reference

git

ref

A published state of an official repo. The hash alg is git-sha1 or git-sha256.

Reference

hash

requiredref

license

string

SPDX expression or URL: the source's own rights, which the project's output license must fit.

  • maxLength: 512

mimeType

string
  • maxLength: 256

size

integer
  • minimum: 0

urls

array

Where to fetch. The hash is the identity.

  • maxLength: 32
itemsstring · uri

#derivation

object

This source is the output of running a transform record on another source.

Properties

hash

requiredref

transform

requiredref

The transform record that produced it.

#gitState

object

Properties

commit

requiredstring

Full commit hash.

  • minLength: 40
  • maxLength: 64

repo

requiredstring

Git URL.

  • maxLength: 2048

Similar lexicons

semantic match

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

  • Files rendered from a snapshot for the project's official repo. Whether they were merged is derived from the repo, not stored here.

  • A Starlark script that turns a source into a derived source. It runs inside the interpreter check Cairns ships, so nothing decodes the source outside WASM.