# app.brightblur.share.link

> A share link: a photo or album anyone holding the link can see. A public record in the owner's own repository, outside any space; everything in it is encrypted under a key that travels only in the link's fragment. Only the pixelated base of each photo is shared, never a face. Deleting the record revokes the link.

- Kind: record
- Record key: tid
- Authority: share.brightblur.app
- Lexicon: 1
- Published by [joeinn.es](https://lexicon.garden/identity/did:plc:me4kozmcrc74z2wgkvqvkbfd), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.share.link)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.share.link/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.share.link/analytics)

## Record (`app.brightblur.share.link`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `expiresAt` (string · datetime)
- `images` (array, required)
  - Constraints: minLength: 1, maxLength: 200
  - `items` (blob)
    - Constraints: maxSize: 50000000, accept: application/octet-stream
- `kind` (string, required)
  - Constraints: knownValues: photo | album
- `ownerNote` (bytes, required): What the link shares, sealed to the owner's own key, for their list of links.
  - Constraints: maxLength: 4096
- `title` (bytes): The caption or album name, sealed under the link key.
  - Constraints: maxLength: 2048

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A share link: a photo or album anyone holding the link can see. A public record in the owner's own repository, outside any space; everything in it is encrypted under a key that travels only in the link's fragment. Only the pixelated base of each photo is shared, never a face. Deleting the record revokes the link.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "expiresAt": {
            "format": "datetime",
            "type": "string"
          },
          "images": {
            "items": {
              "accept": [
                "application/octet-stream"
              ],
              "maxSize": 50000000,
              "type": "blob"
            },
            "maxLength": 200,
            "minLength": 1,
            "type": "array"
          },
          "kind": {
            "knownValues": [
              "photo",
              "album"
            ],
            "type": "string"
          },
          "ownerNote": {
            "description": "What the link shares, sealed to the owner's own key, for their list of links.",
            "maxLength": 4096,
            "type": "bytes"
          },
          "title": {
            "description": "The caption or album name, sealed under the link key.",
            "maxLength": 2048,
            "type": "bytes"
          }
        },
        "required": [
          "kind",
          "images",
          "ownerNote",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.brightblur.share.link",
  "lexicon": 1
}
```
