tech.lenooby09.kvcs.patch
A signed kvcs patch envelope record. Carries the canonical CBOR of the patch and its detached compact JWS, indexed by the patch's hex multihash id.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | kvcs.lenooby09.tech |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A signed kvcs patch envelope record. Carries the canonical CBOR of the patch and its detached compact JWS, indexed by the patch's hex multihash id.",
"key": "any",
"record": {
"properties": {
"jws": {
"description": "Detached compact JWS over patchCbor, identical to the local SignedPatch.jws field. 8192 chars covers Ed25519 / ES256 / ES256K compact-JWS sizes with a comfortable margin.",
"maxLength": 8192,
"type": "string"
},
"patchCbor": {
"description": "Base64url-encoded canonical CBOR of the signed patch. Capped at 20 KiB (20480 chars) — the largest a Lexicon string field can be without triggering goat's `large-string` lint, which recommends using blob refs for anything bigger. Patches whose base64 form exceeds this cap should be split or migrated to a blob-based record schema; in practice, atproto PDSes already enforce a tight per-record size limit well below 1 MiB.",
"maxLength": 20480,
"type": "string"
},
"patchId": {
"description": "Lower-case hex multihash of the canonical CBOR — matches kvcs's PatchId. 128 chars covers the longest hashes in current use (BLAKE3, SHA-512, etc.).",
"maxLength": 128,
"type": "string"
}
},
"required": [
"patchId",
"patchCbor",
"jws"
],
"type": "object"
},
"type": "record"
}
},
"description": "A signed kvcs patch envelope, addressable on the author's atproto PDS. The rkey is the patch id in hex.",
"id": "tech.lenooby09.kvcs.patch",
"lexicon": 1
}