# computer.localnetwork.listing

> A directory listing for an act, party or venue that staff listed, keyed by its space's key. Written only by the Local Network root account into its public repo, from the space on every change, with only what the public page shows. Deleted when it's unlisted.

- Kind: record
- Record key: any
- 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.listing)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.listing/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.listing/analytics)

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

Type: record · key any

### Properties

- `fields` (unknown): What the public page shows for its kind.
- `kind` (string, required)
  - Constraints: maxLength: 32, knownValues: act | party | venue
- `managers` (array): The DIDs of its managers who haven't chosen to hide.
  - Constraints: maxLength: 50
  - `items` (string · did)
- `name` (string, required)
  - Constraints: minLength: 1, maxLength: 640, maxGraphemes: 64
- `people` (array, required): The people credited with it who haven't chosen to hide.
  - Constraints: maxLength: 50
  - `items` (ref)
    - Reference: `#person`
- `slug` (string)
  - Constraints: minLength: 2, maxLength: 64
- `updatedAt` (string · datetime, required)

## #person (`computer.localnetwork.listing#person`)

Type: object

### Properties

- `did` (string · did, required)
- `role` (ref, required)
  - Reference: `computer.localnetwork.people.defs#role`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A directory listing for an act, party or venue that staff listed, keyed by its space's key. Written only by the Local Network root account into its public repo, from the space on every change, with only what the public page shows. Deleted when it's unlisted.",
      "key": "any",
      "record": {
        "properties": {
          "fields": {
            "description": "What the public page shows for its kind.",
            "type": "unknown"
          },
          "kind": {
            "knownValues": [
              "act",
              "party",
              "venue"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "managers": {
            "description": "The DIDs of its managers who haven't chosen to hide.",
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "name": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "minLength": 1,
            "type": "string"
          },
          "people": {
            "description": "The people credited with it who haven't chosen to hide.",
            "items": {
              "ref": "#person",
              "type": "ref"
            },
            "maxLength": 50,
            "type": "array"
          },
          "slug": {
            "maxLength": 64,
            "minLength": 2,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "name",
          "people",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "person": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "role": {
          "ref": "computer.localnetwork.people.defs#role",
          "type": "ref"
        }
      },
      "required": [
        "did",
        "role"
      ],
      "type": "object"
    }
  },
  "id": "computer.localnetwork.listing",
  "lexicon": 1
}
```
