# app.brightblur.photo.post

> A photo, written by its photographer into each circle space it is shared with. Base and manifest are sealed under subkeys of the photo key (docs/format.md, the Spaces photo form).

- Kind: record
- Record key: tid
- 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.post)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.photo.post/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.photo.post/analytics)

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

Type: record · key tid

### Properties

- `base` (blob, required): The sealed base image.
  - Constraints: maxSize: 20971520, accept: application/octet-stream
- `caption` (bytes): The caption, sealed under a subkey of the photo key.
  - Constraints: maxLength: 8192
- `circleGeneration` (integer, required): The circle epoch generation the photo key is wrapped to.
  - Constraints: minimum: 0, maximum: 4294967295
- `createdAt` (string · datetime, required)
- `manifest` (bytes, required): The sealed manifest.
  - Constraints: minLength: 1, maxLength: 524352
- `photoKeyWrap` (bytes, required): The photo key, wrapped to this circle's epoch key.
  - Constraints: minLength: 1, maxLength: 1280

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A photo, written by its photographer into each circle space it is shared with. Base and manifest are sealed under subkeys of the photo key (docs/format.md, the Spaces photo form).",
      "key": "tid",
      "record": {
        "properties": {
          "base": {
            "accept": [
              "application/octet-stream"
            ],
            "description": "The sealed base image.",
            "maxSize": 20971520,
            "type": "blob"
          },
          "caption": {
            "description": "The caption, sealed under a subkey of the photo key.",
            "maxLength": 8192,
            "type": "bytes"
          },
          "circleGeneration": {
            "description": "The circle epoch generation the photo key is wrapped to.",
            "maximum": 4294967295,
            "minimum": 0,
            "type": "integer"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "manifest": {
            "description": "The sealed manifest.",
            "maxLength": 524352,
            "minLength": 1,
            "type": "bytes"
          },
          "photoKeyWrap": {
            "description": "The photo key, wrapped to this circle's epoch key.",
            "maxLength": 1280,
            "minLength": 1,
            "type": "bytes"
          }
        },
        "required": [
          "base",
          "manifest",
          "photoKeyWrap",
          "circleGeneration",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.brightblur.photo.post",
  "lexicon": 1
}
```
