# app.brightblur.photo.comment

> A comment on a photo, in the commenter's own repository in the circle the photo was posted to, so only that circle sees it. The body is sealed under the photo's comment key (a subkey of the photo key) and names its author inside, so it cannot be passed off as someone else's.

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

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

Type: record · key tid

### Properties

- `body` (bytes, required)
  - Constraints: minLength: 1, maxLength: 8192
- `createdAt` (string · datetime, required)
- `subject` (ref, required)
  - Reference: `#photoRef`

## #photoRef (`app.brightblur.photo.comment#photoRef`)

Type: object

A photo, across every circle it was posted to: its photographer and its sealed base.

### Properties

- `author` (string · did, required)
- `base` (string, required): The CID of the photo's sealed base blob.
  - Constraints: maxLength: 128

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A comment on a photo, in the commenter's own repository in the circle the photo was posted to, so only that circle sees it. The body is sealed under the photo's comment key (a subkey of the photo key) and names its author inside, so it cannot be passed off as someone else's.",
      "key": "tid",
      "record": {
        "properties": {
          "body": {
            "maxLength": 8192,
            "minLength": 1,
            "type": "bytes"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "ref": "#photoRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "body",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "photoRef": {
      "description": "A photo, across every circle it was posted to: its photographer and its sealed base.",
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "base": {
          "description": "The CID of the photo's sealed base blob.",
          "maxLength": 128,
          "type": "string"
        }
      },
      "required": [
        "author",
        "base"
      ],
      "type": "object"
    }
  },
  "id": "app.brightblur.photo.comment",
  "lexicon": 1
}
```
