org.cairnsproto.draft.seen

A timekeeper's record of which Cairns records it first saw, across every project, in the rounds after afterRound through beaconRound. Published at the timekeeper's cadence and skipped when nothing new was seen.

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

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "externalAnchor": {
      "description": "Where firstSeenRoot was also published outside ATProto.",
      "properties": {
        "reference": {
          "maxLength": 2048,
          "type": "string"
        },
        "system": {
          "maxLength": 128,
          "type": "string"
        }
      },
      "required": [
        "system",
        "reference"
      ],
      "type": "object"
    },
    "main": {
      "description": "A timekeeper's record of which Cairns records it first saw, across every project, in the rounds after afterRound through beaconRound. Published at the timekeeper's cadence and skipped when nothing new was seen.",
      "key": "tid",
      "record": {
        "properties": {
          "afterRound": {
            "description": "The window starts after this round: the previous record's beaconRound, or 0 for a timekeeper's first record.",
            "minimum": 0,
            "type": "integer"
          },
          "beaconRound": {
            "description": "drand quicknet round that closes the window.",
            "minimum": 1,
            "type": "integer"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "externalAnchor": {
            "ref": "#externalAnchor",
            "type": "ref"
          },
          "firstSeen": {
            "description": "The leaves under firstSeenRoot.",
            "ref": "org.cairnsproto.draft.defs#external",
            "type": "ref"
          },
          "firstSeenRoot": {
            "description": "RFC 6962 Merkle root over each record first seen in the window: its URI, a zero byte, and its binary CID.",
            "ref": "org.cairnsproto.draft.defs#hash",
            "type": "ref"
          },
          "previous": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "beaconRound",
          "firstSeenRoot",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.cairnsproto.draft.seen",
  "lexicon": 1
}