# tech.waow.doodl.preferences

> Published by [waow.tech](https://lexicon.garden/identity/did:plc:siv7zbedip4vcet4v67piibr)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:siv7zbedip4vcet4v67piibr/tech.waow.doodl.preferences)
- [Documentation](https://lexicon.garden/lexicon/did:plc:siv7zbedip4vcet4v67piibr/tech.waow.doodl.preferences/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:siv7zbedip4vcet4v67piibr/tech.waow.doodl.preferences/examples)

## Definitions

### `tech.waow.doodl.preferences`

**Type**: `record`

The author's public preference declarations (singleton 'self'). `defaults` is an open map of preference key -> chosen value (e.g. explore: show|hide, botFeature: on|off); individual drawings may override a key via their own `prefs` field. The record's existence means the author has completed setup.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `version` | `integer` | Yes | Schema version of this preferences record. Bumped only on a breaking change; new keys are added additively. |
| `defaults` | `unknown` | Yes | Open map of preference key -> value string. Unknown keys are ignored by older readers. |
| `configuredAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "tech.waow.doodl.preferences",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "version",
          "defaults",
          "configuredAt"
        ],
        "properties": {
          "version": {
            "type": "integer",
            "description": "Schema version of this preferences record. Bumped only on a breaking change; new keys are added additively."
          },
          "defaults": {
            "type": "unknown",
            "description": "Open map of preference key -> value string. Unknown keys are ignored by older readers."
          },
          "configuredAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "The author's public preference declarations (singleton 'self'). `defaults` is an open map of preference key -> chosen value (e.g. explore: show|hide, botFeature: on|off); individual drawings may override a key via their own `prefs` field. The record's existence means the author has completed setup."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
