# town.laugh.user.suggest.edit.venue

> Published by [laugh.town](https://lexicon.garden/identity/did:plc:k6owgpe2rkkchoiivxhzp2t4)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:k6owgpe2rkkchoiivxhzp2t4/town.laugh.user.suggest.edit.venue)
- [Documentation](https://lexicon.garden/lexicon/did:plc:k6owgpe2rkkchoiivxhzp2t4/town.laugh.user.suggest.edit.venue/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:k6owgpe2rkkchoiivxhzp2t4/town.laugh.user.suggest.edit.venue/examples)

## Definitions

### `town.laugh.user.suggest.edit.venue`

**Type**: `record`

User-suggested edits to an existing venue record

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `changes` | `array` | Yes | List of field changes |
| `subject` | `string` (at-uri) | Yes | AT-URI reference to the town.laugh.db.venue record |
| `createdAt` | `string` (datetime) | Yes | Timestamp of when the suggestion was created |

## Raw Schema

```json
{
  "id": "town.laugh.user.suggest.edit.venue",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "changes",
          "createdAt"
        ],
        "properties": {
          "changes": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "value"
              ],
              "properties": {
                "field": {
                  "type": "string",
                  "maxLength": 64,
                  "description": "Field name in camelCase"
                },
                "value": {
                  "type": "string",
                  "maxLength": 4096,
                  "description": "Proposed new value"
                }
              }
            },
            "description": "List of field changes"
          },
          "subject": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI reference to the town.laugh.db.venue record"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp of when the suggestion was created"
          }
        }
      },
      "description": "User-suggested edits to an existing venue record"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
