# app.iriai.proto.event

> Published by [publisher.iriai.app](https://lexicon.garden/identity/did:plc:s4il46nsgas66jl7tyh6zrec)

✓ This is the authoritative definition for this NSID.

## Description

PlaceProto event sidecar. Adds the required PlaceProto location to a community.lexicon.calendar.event record stored in the same repository.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:s4il46nsgas66jl7tyh6zrec/app.iriai.proto.event)
- [Documentation](https://lexicon.garden/lexicon/did:plc:s4il46nsgas66jl7tyh6zrec/app.iriai.proto.event/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:s4il46nsgas66jl7tyh6zrec/app.iriai.proto.event/examples)

## Definitions

### `app.iriai.proto.event`

**Type**: `record`

A PlaceProto event sidecar. eventUri names the community event this sidecar belongs to, in the same repository. The sidecar's location is the PlaceProto location of record; the community event's locations array is only a compatibility copy.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `eventUri` | `string` (at-uri) | Yes | AT-URI of the community.lexicon.calendar.event record in the same repository (repository DID, community event collection, record key). Follows the current event through edits; not a strongRef. |
| `location` | `union` | Yes | Where the event is occurring. One value from the open Location union. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A PlaceProto event sidecar. eventUri names the community event this sidecar belongs to, in the same repository. The sidecar's location is the PlaceProto location of record; the community event's locations array is only a compatibility copy.",
      "key": "tid",
      "record": {
        "properties": {
          "eventUri": {
            "description": "AT-URI of the community.lexicon.calendar.event record in the same repository (repository DID, community event collection, record key). Follows the current event through edits; not a strongRef.",
            "format": "at-uri",
            "type": "string"
          },
          "location": {
            "closed": false,
            "description": "Where the event is occurring. One value from the open Location union.",
            "refs": [
              "community.lexicon.location.geo",
              "community.lexicon.location.address",
              "community.lexicon.location.fsq",
              "community.lexicon.location.hthree"
            ],
            "type": "union"
          }
        },
        "required": [
          "eventUri",
          "location"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "PlaceProto event sidecar. Adds the required PlaceProto location to a community.lexicon.calendar.event record stored in the same repository.",
  "id": "app.iriai.proto.event",
  "lexicon": 1
}
```
