chat.atagents.agent.encryptedSessionArchive

Details · record, key any
Kindrecord
Record keyany
Authorityagent.atagents.chat
Indexed
cid bafyreies2q3ia4ctro45avconxei3wfduxzwsrk5pagcajkm5wkkae33w4

Checks

Valid
  • missing-primary-description defs.mainThe record has no description.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "archiveId": {
            "maxLength": 32,
            "type": "string"
          },
          "byteLength": {
            "maximum": 49152016,
            "minimum": 17,
            "type": "integer"
          },
          "chunkCount": {
            "maximum": 1001,
            "minimum": 1,
            "type": "integer"
          },
          "envelope": {
            "properties": {
              "agent": {
                "maxLength": 2048,
                "type": "string"
              },
              "algorithm": {
                "enum": [
                  "AES-256-GCM"
                ],
                "maxLength": 32,
                "type": "string"
              },
              "keyId": {
                "maxLength": 32,
                "type": "string"
              },
              "kind": {
                "enum": [
                  "atagents/session-archive"
                ],
                "maxLength": 64,
                "type": "string"
              },
              "nonce": {
                "maxLength": 16,
                "type": "string"
              },
              "principal": {
                "maxLength": 2048,
                "type": "string"
              },
              "sessionId": {
                "maxLength": 128,
                "type": "string"
              },
              "space": {
                "maxLength": 2048,
                "type": "string"
              },
              "version": {
                "maximum": 1,
                "minimum": 1,
                "type": "integer"
              }
            },
            "required": [
              "kind",
              "version",
              "algorithm",
              "space",
              "agent",
              "principal",
              "keyId",
              "sessionId",
              "nonce"
            ],
            "type": "object"
          },
          "sha256": {
            "maxLength": 64,
            "type": "string"
          },
          "version": {
            "maximum": 1,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "version",
          "archiveId",
          "envelope",
          "chunkCount",
          "byteLength",
          "sha256"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "chat.atagents.agent.encryptedSessionArchive",
  "lexicon": 1
}