# party.whey.files.prefs.state

> Schema and migration marker for the owner's preferences space.

- Kind: record
- Record key: literal:self
- Authority: prefs.files.whey.party
- Lexicon: 1
- Published by [whey.party](https://lexicon.garden/identity/did:plc:mn45tewwnse5btfftvd3powc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.files.prefs.state)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.files.prefs.state/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.files.prefs.state/analytics)

## Record (`party.whey.files.prefs.state`)

Type: record · key literal:self

### Properties

- `importedAt` (string · datetime): When the one-time localStorage import completed. Absent when there was nothing to import.
- `updatedAt` (string · datetime, required)
- `version` (integer, required): Preferences schema version. Version 1 is the per-item record model.
  - Constraints: minimum: 1

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Schema and migration marker for the owner's preferences space.",
      "key": "literal:self",
      "record": {
        "properties": {
          "importedAt": {
            "description": "When the one-time localStorage import completed. Absent when there was nothing to import.",
            "format": "datetime",
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "version": {
            "description": "Preferences schema version. Version 1 is the per-item record model.",
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "version",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "party.whey.files.prefs.state",
  "lexicon": 1
}
```
