org.cairnsproto.draft.schema

A payload schema. Its identity is the sha256 of "cairns/schema/v1", a zero byte, and the DAG-CBOR of defs, so anyone who publishes the same definition publishes the same schema.

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

defs

requiredunknown

Lexicon defs. main must be an object, and every ref must be local, such as #row.

  • maxLength: 3000
  • maxGraphemes: 300

name

string
  • maxLength: 640
  • maxGraphemes: 64

Similar lexicons

semantic match

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

  • Representation of Lexicon schemas themselves, when published as atproto records. Note that the schema language is not defined in Lexicon; this meta schema currently only includes a single version field ('lexicon'). See the atproto specifications for description of the other expected top-level fields ('id', 'defs', etc).

  • Maps one payload schema hash to another whose definition means the same, so stones under either share cairns. A reading applies only its policy author's aliases; one-to-one and acyclic. Stones keep their original hash.

  • Auxiliary documentation for a lexicon schema, supporting localized descriptions for the lexicon and its properties.