{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A user's LiveCanvas settings (PaintCanvas's are in com.lvl99.paintcanvas.settings). Settings that aren't set use LiveCanvas's defaults.",
      "key": "literal:self",
      "record": {
        "properties": {
          "avatar": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/gif"
            ],
            "description": "A 200×200 picture shown to others, instead of their profile's.",
            "maxSize": 100000,
            "type": "blob"
          },
          "colour": {
            "description": "Colour of their name in chat and their cursor, as \"#rrggbb\".",
            "maxLength": 7,
            "type": "string"
          },
          "displayName": {
            "description": "The name shown to others, instead of their profile's.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "hideCursors": {
            "description": "Hide everyone else's cursors.",
            "type": "boolean"
          },
          "notifications": {
            "description": "Notify them of chat messages while the tab is in the background.",
            "type": "boolean"
          },
          "shareCursor": {
            "description": "Show others where their cursor is.",
            "type": "boolean"
          },
          "sound": {
            "description": "Play a sound for chat messages.",
            "type": "boolean"
          },
          "soundName": {
            "description": "Which sound to play.",
            "knownValues": [
              "boop",
              "ding",
              "click",
              "squizzle"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "storageNoticeDismissed": {
            "description": "Whether they dismissed the notice that browsers may delete offline sessions.",
            "type": "boolean"
          },
          "updatedAt": {
            "description": "When the settings were last changed.",
            "format": "datetime",
            "type": "string"
          },
          "volume": {
            "description": "Sound volume in thousandths, from 0 (silent) to 1000 (loudest).",
            "maximum": 1000,
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A user's LiveCanvas settings (PaintCanvas's are in com.lvl99.paintcanvas.settings). Settings that aren't set use LiveCanvas's defaults.",
  "id": "com.lvl99.livecanvas.settings",
  "lexicon": 1
}
