{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A member's BrightBlur public keys, written into each space they join. Separate from their atproto keys.",
      "key": "literal:self",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "displayName": {
            "description": "The name the member chose to be shown by, to the space's other members. Readable by the PDS, as names were on BrightBlur's own server.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "encryptionKey": {
            "description": "X-Wing (X25519 + ML-KEM-768) public key.",
            "maxLength": 1216,
            "minLength": 1216,
            "type": "bytes"
          },
          "signingKey": {
            "description": "Ed25519 public key.",
            "maxLength": 32,
            "minLength": 32,
            "type": "bytes"
          }
        },
        "required": [
          "encryptionKey",
          "signingKey",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.brightblur.member.key",
  "lexicon": 1
}
