{
"id": "tech.lenooby09.kvcs.patch",
"defs": {
"main": {
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"patchId",
"patchCbor",
"jws"
],
"properties": {
"jws": {
"type": "string",
"description": "Detached compact JWS over patchCbor, identical to the local SignedPatch.jws field."
},
"patchId": {
"type": "string",
"description": "Lower-case hex multihash of the canonical CBOR — matches kvcs's PatchId."
},
"patchCbor": {
"type": "string",
"description": "Base64url-encoded canonical CBOR of the signed patch."
}
}
},
"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."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "A signed kvcs patch envelope, addressable on the author's atproto PDS. The rkey is the patch id in hex."
}