chat.atagents.agent.sessionKeyGrant

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

Checks

Valid
  • missing-primary-description defs.mainThe record has no description.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "grant": {
            "properties": {
              "access": {
                "enum": [
                  "recovery",
                  "principal"
                ],
                "maxLength": 16,
                "type": "string"
              },
              "agent": {
                "maxLength": 2048,
                "type": "string"
              },
              "algorithm": {
                "enum": [
                  "AES-256-GCM"
                ],
                "maxLength": 32,
                "type": "string"
              },
              "ciphertext": {
                "maxLength": 64,
                "type": "string"
              },
              "keyId": {
                "maxLength": 32,
                "type": "string"
              },
              "kind": {
                "enum": [
                  "atagents/session-key-grant"
                ],
                "maxLength": 64,
                "type": "string"
              },
              "nonce": {
                "maxLength": 16,
                "type": "string"
              },
              "principal": {
                "maxLength": 2048,
                "type": "string"
              },
              "recipient": {
                "maxLength": 2048,
                "type": "string"
              },
              "space": {
                "maxLength": 2048,
                "type": "string"
              },
              "version": {
                "maximum": 1,
                "minimum": 1,
                "type": "integer"
              }
            },
            "required": [
              "kind",
              "version",
              "algorithm",
              "space",
              "agent",
              "principal",
              "keyId",
              "nonce",
              "access",
              "recipient",
              "ciphertext"
            ],
            "type": "object"
          }
        },
        "required": [
          "grant"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "chat.atagents.agent.sessionKeyGrant",
  "lexicon": 1
}