# at.kotoba.prefs

> Published by [kotoba.at](https://lexicon.garden/identity/did:plc:o5f3cgna5sku4p6iitld6mxs)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:o5f3cgna5sku4p6iitld6mxs/at.kotoba.prefs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:o5f3cgna5sku4p6iitld6mxs/at.kotoba.prefs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:o5f3cgna5sku4p6iitld6mxs/at.kotoba.prefs/examples)

## Definitions

### `at.kotoba.prefs`

**Type**: `record`

Single overwritten record: per-user UI/drill preferences. The payload is an opaque JSON string so preferences expand without a lexicon change. rkey is literally `self`.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `settings` | `string` | Yes | Stringified JSON the app owns. Current keys: direction (genko\|hanko\|ma), glyphScale, candCount (3\|4\|6), showTimer, dark. The lexicon deliberately does not constrain the shape. |
| `updatedAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "at.kotoba.prefs",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "updatedAt",
          "settings"
        ],
        "properties": {
          "settings": {
            "type": "string",
            "description": "Stringified JSON the app owns. Current keys: direction (genko|hanko|ma), glyphScale, candCount (3|4|6), showTimer, dark. The lexicon deliberately does not constrain the shape."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "Single overwritten record: per-user UI/drill preferences. The payload is an opaque JSON string so preferences expand without a lexicon change. rkey is literally `self`."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
