# computer.localnetwork.venue

> A real place events happen, one per place, identified by its space's key: two venues can share a name. Written only by the Local Network root account, into the venue's space. Adding a venue doesn't make anyone its owner: that takes a confirmed claim.

- Kind: record
- Record key: literal:self
- Authority: localnetwork.computer
- Lexicon: 1
- Published by [localnetwork.computer](https://lexicon.garden/identity/did:plc:d42l64gsczg6qh2vo243xv5l), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.venue)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.venue/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.venue/analytics)

## Record (`computer.localnetwork.venue`)

Type: record · key literal:self

### Properties

- `address` (ref, required): Its street address, or at least its city and country.
  - Reference: `community.lexicon.location.address`
- `approval` (string): open (Anyone can list): events naming it show at once, waiting for the venue until an owner confirms them. approval (Venue approves): they show only once confirmed.
  - Constraints: maxLength: 32, default: "open", knownValues: open | approval
- `createdAt` (string · datetime, required)
- `fsq` (ref): The place in the Foursquare Open Source Places dataset. No two venues have the same one.
  - Reference: `community.lexicon.location.fsq`
- `geo` (ref): Its coordinates, or its city's until someone adds the place's own.
  - Reference: `community.lexicon.location.geo`
- `name` (string, required)
  - Constraints: minLength: 1, maxLength: 640, maxGraphemes: 64
- `updatedAt` (string · datetime, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A real place events happen, one per place, identified by its space's key: two venues can share a name. Written only by the Local Network root account, into the venue's space. Adding a venue doesn't make anyone its owner: that takes a confirmed claim.",
      "key": "literal:self",
      "record": {
        "properties": {
          "address": {
            "description": "Its street address, or at least its city and country.",
            "ref": "community.lexicon.location.address",
            "type": "ref"
          },
          "approval": {
            "default": "open",
            "description": "open (Anyone can list): events naming it show at once, waiting for the venue until an owner confirms them. approval (Venue approves): they show only once confirmed.",
            "knownValues": [
              "open",
              "approval"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "fsq": {
            "description": "The place in the Foursquare Open Source Places dataset. No two venues have the same one.",
            "ref": "community.lexicon.location.fsq",
            "type": "ref"
          },
          "geo": {
            "description": "Its coordinates, or its city's until someone adds the place's own.",
            "ref": "community.lexicon.location.geo",
            "type": "ref"
          },
          "name": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "minLength": 1,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "name",
          "address",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "computer.localnetwork.venue",
  "lexicon": 1
}
```
