# app.zeens.eventPhoto

> Published by [zeens.app](https://lexicon.garden/identity/did:plc:pwpuqwge6g7xrjmfbw73uycw)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.eventPhoto)
- [Documentation](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.eventPhoto/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.eventPhoto/examples)

## Definitions

### `app.zeens.eventPhoto`

**Type**: `record`

Tags one of the author's photo posts to an app.zeens.event, written to the author's own PDS. Only permitted when the author has an app.zeens.rsvp with status 'going' to that event AND the event has already ended; both gates are enforced client- and server-side at write time. Structurally a clone of app.zeens.collectionItem. Removing a tag is a record delete. Carries the app.zeens.v marker.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `addedAt` | `string` (datetime) | Yes |  |
| `app.zeens.v` | `integer` | Yes |  |
| `event` | `string` (at-uri) | Yes | AT-URI of the app.zeens.event this photo is tagged to. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | Strong-ref to the photo post (app.bsky.feed.post or app.zeens.post) being tagged. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Tags one of the author's photo posts to an app.zeens.event, written to the author's own PDS. Only permitted when the author has an app.zeens.rsvp with status 'going' to that event AND the event has already ended; both gates are enforced client- and server-side at write time. Structurally a clone of app.zeens.collectionItem. Removing a tag is a record delete. Carries the app.zeens.v marker.",
      "key": "tid",
      "record": {
        "properties": {
          "addedAt": {
            "format": "datetime",
            "type": "string"
          },
          "app.zeens.v": {
            "type": "integer"
          },
          "event": {
            "description": "AT-URI of the app.zeens.event this photo is tagged to.",
            "format": "at-uri",
            "type": "string"
          },
          "subject": {
            "description": "Strong-ref to the photo post (app.bsky.feed.post or app.zeens.post) being tagged.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "event",
          "subject",
          "addedAt",
          "app.zeens.v"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.zeens.eventPhoto",
  "lexicon": 1
}
```
