# fyi.opensocial.siteDraft

> Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.siteDraft)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.siteDraft/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.siteDraft/examples)

## Definitions

### `fyi.opensocial.siteDraft`

**Type**: `record`

A member's draft of the group's site, keyed by the member's DID: what an AI app connected as them changed, kept apart from the live site (fyi.opensocial.site) until they publish it. Shaped as the site is.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `channels` | `array` | Yes |  |
| `files` | `array` | Yes |  |
| `menu` | `array` | No |  |
| `theme` | `unknown` | No |  |
| `updatedAt` | `string` (datetime) | Yes |  |
| `updates` | `string` | No |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A member's draft of the group's site, keyed by the member's DID: what an AI app connected as them changed, kept apart from the live site (fyi.opensocial.site) until they publish it. Shaped as the site is.",
      "key": "any",
      "record": {
        "properties": {
          "channels": {
            "items": {
              "type": "unknown"
            },
            "type": "array"
          },
          "files": {
            "items": {
              "type": "unknown"
            },
            "type": "array"
          },
          "menu": {
            "items": {
              "maxLength": 200,
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "theme": {
            "type": "unknown"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "updates": {
            "knownValues": [
              "now",
              "day",
              "week",
              "ask"
            ],
            "maxLength": 16,
            "type": "string"
          }
        },
        "required": [
          "channels",
          "files",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "fyi.opensocial.siteDraft",
  "lexicon": 1
}
```
