# app.brightblur.photo.album

> An album as one circle sees it, in its owner's repository: its name sealed to the circle's key, and the photos posted to this circle, in album order. The record key is the album's key in the owner's vault, so copies in different circles are one album.

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

## Links

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

## Record (`app.brightblur.photo.album`)

Type: record · key any

### Properties

- `circleGeneration` (integer, required)
  - Constraints: minimum: 0
- `createdAt` (string · datetime, required)
- `photos` (array, required)
  - Constraints: maxLength: 500
  - `items` (string)
    - Constraints: maxLength: 128
- `positions` (array, required): Each photo's place in the whole album, so readers can merge the copies in several circles in order.
  - Constraints: maxLength: 500
  - `items` (integer)
    - Constraints: minimum: 0
- `sealedName` (bytes, required)
  - Constraints: minLength: 1, maxLength: 2048

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An album as one circle sees it, in its owner's repository: its name sealed to the circle's key, and the photos posted to this circle, in album order. The record key is the album's key in the owner's vault, so copies in different circles are one album.",
      "key": "any",
      "record": {
        "properties": {
          "circleGeneration": {
            "minimum": 0,
            "type": "integer"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "photos": {
            "items": {
              "maxLength": 128,
              "type": "string"
            },
            "maxLength": 500,
            "type": "array"
          },
          "positions": {
            "description": "Each photo's place in the whole album, so readers can merge the copies in several circles in order.",
            "items": {
              "minimum": 0,
              "type": "integer"
            },
            "maxLength": 500,
            "type": "array"
          },
          "sealedName": {
            "maxLength": 2048,
            "minLength": 1,
            "type": "bytes"
          }
        },
        "required": [
          "sealedName",
          "circleGeneration",
          "photos",
          "positions",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.brightblur.photo.album",
  "lexicon": 1
}
```
