# fyi.opensocial.siteDraft

> 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.

- Kind: record
- Record key: any
- Authority: opensocial.fyi
- Lexicon: 1
- Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.siteDraft)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.siteDraft/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.siteDraft/analytics)

## Record (`fyi.opensocial.siteDraft`)

Type: record · key any

### Properties

- `channels` (array, required)
  - `items` (unknown)
- `files` (array, required)
  - `items` (unknown)
- `menu` (array)
  - Constraints: maxLength: 50
  - `items` (string)
    - Constraints: maxLength: 200
- `theme` (unknown)
- `updatedAt` (string · datetime, required)
- `updates` (string)
  - Constraints: maxLength: 16, knownValues: now | day | week | ask

## 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
}
```
