{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Supplemental Smallbury profile data stored alongside app.bsky.actor.profile. Presentation fields (display name, avatar, description, etc.) live on the Bluesky profile record only.",
      "key": "literal:self",
      "record": {
        "properties": {
          "appViewUrl": {
            "description": "Canonical HTTPS URL of the Smallbury AppView this account uses for indexing and share links.",
            "format": "uri",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "encryptionPublicKey": {
            "description": "Public key for receiving wrapped content keys and pairwise trust secrets (format defined by the Smallbury client, e.g. X25519 or P-256 SPKI).",
            "maxLength": 256,
            "type": "bytes"
          },
          "encryptionPublicKeyId": {
            "description": "Identifier for encryptionPublicKey; incremented when the key rotates so trust handshakes can target the correct key.",
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.smallbury.actor.profile",
  "lexicon": 1
}
