{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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.",
      "key": "literal:self",
      "record": {
        "properties": {
          "configuredAt": {
            "format": "datetime",
            "type": "string"
          },
          "defaults": {
            "description": "Open map of preference key -> value string. Unknown keys are ignored by older readers.",
            "type": "unknown"
          },
          "version": {
            "description": "Schema version of this preferences record. Bumped only on a breaking change; new keys are added additively.",
            "type": "integer"
          }
        },
        "required": [
          "version",
          "defaults",
          "configuredAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "tech.waow.doodl.preferences",
  "lexicon": 1
}
