app.thesocialwire.readState

samclemente.me

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Public canonical read/unread manifest. V1 uses head; V2 requires revision and compactionVersion=1 with separate state/device/legacy-receipt roots. Every root must be fully CID-verified before atomic activation. Maintenance revisions never invent user-action sequences.",
      "key": "literal:self",
      "record": {
        "properties": {
          "compactionVersion": {
            "const": 1,
            "type": "integer"
          },
          "devicesHead": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "generation": {
            "maxLength": 128,
            "type": "string"
          },
          "head": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "lastSequence": {
            "maximum": 9007199254740991,
            "minimum": 0,
            "type": "integer"
          },
          "legacyReceiptsHead": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "revision": {
            "maximum": 9007199254740991,
            "minimum": 1,
            "type": "integer"
          },
          "stateHead": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "version": {
            "maximum": 2,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "version",
          "generation",
          "lastSequence"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.thesocialwire.readState",
  "lexicon": 1
}

Validate Record

Validate a record against app.thesocialwire.readState

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:qy5pluw2bsuq2x6albsgkvx3
CID
bafyreia32pnvsjslyxbaygh4z6u5fb44rgzec3wlpdbpfrh5t3stdifdie
Indexed At
2026-09-09 00:17 UTC
AT-URI
at://did:plc:qy5pluw2bsuq2x6albsgkvx3/com.atproto.lexicon.schema/app.thesocialwire.readState

Similar Lexicons

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

  • Public immutable chunk, at most64KiB. V1 requires operations. V2 requires kind with exactly fragments for state or receipts for devices/legacyReceipts. Applications enforce the complete version/kind shape and all roots …

  • Exact age selection audit metadata. Reference date is YYYY-MM-DD in the IANA timezone; cutoff is resolved UTC. Matching uses exact subject IDs, not recomputed calendar dates.

Lexicon Garden

@