app.thesocialwire.readStateChunk

samclemente.me

Documentation

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 before publication; unreferenced chunks are ignored.

main record

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 before publication; unreferenced chunks are ignored.

Record Key any Any valid record key

Properties

kind string Optional

No description available.

maxLength: 14 bytes
Allowed: state, devices, legacyReceipts
version integer Required

No description available.

minimum: 1maximum: 2
View raw schema
{
  "description": "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 before publication; unreferenced chunks are ignored.",
  "key": "any",
  "record": {
    "properties": {
      "fragments": {
        "items": {
          "ref": "app.thesocialwire.readStateDefs#fragment",
          "type": "ref"
        },
        "maxLength": 128,
        "type": "array"
      },
      "kind": {
        "enum": [
          "state",
          "devices",
          "legacyReceipts"
        ],
        "maxLength": 14,
        "type": "string"
      },
      "operations": {
        "items": {
          "ref": "app.thesocialwire.readStateDefs#operation",
          "type": "ref"
        },
        "maxLength": 128,
        "type": "array"
      },
      "previous": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref"
      },
      "receipts": {
        "items": {
          "ref": "app.thesocialwire.readStateDefs#receipt",
          "type": "ref"
        },
        "maxLength": 128,
        "type": "array"
      },
      "version": {
        "maximum": 2,
        "minimum": 1,
        "type": "integer"
      }
    },
    "required": [
      "version"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@