{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Your chat preferences at spaces.computer: who may reach you, who is ignored, which chats are muted, which messages are hidden. Private to you. One record, key self.",
      "key": "literal:self",
      "record": {
        "properties": {
          "hiddenMessages": {
            "description": "Messages and shared-folder files hidden after a report, on every device this account signs in on. Holds their URIs. The records are not changed.",
            "items": {
              "maxLength": 2048,
              "type": "string"
            },
            "maxLength": 1000,
            "type": "array"
          },
          "ignored": {
            "description": "Accounts whose invites are dropped without being shown.",
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 1000,
            "type": "array"
          },
          "inviteReach": {
            "default": "anyone",
            "description": "Who may invite you, to a chat or to a shared calendar, list or folder: anyone, only people in your contacts, or nobody. open: any invite opens at once, no request step. For accounts that exist to be written to. A value an app does not know is read as nobody.",
            "knownValues": [
              "anyone",
              "contacts",
              "nobody",
              "open"
            ],
            "type": "string"
          },
          "mutedChats": {
            "description": "Chats that do not count as unread or badge the desktop. Each is a chat space: at:space/{authority}/computer.spaces.chat/{key}.",
            "items": {
              "maxLength": 1024,
              "type": "string"
            },
            "maxLength": 1000,
            "type": "array"
          },
          "removedChats": {
            "description": "Chats taken off the chat list, so they are not filed again. Each is a chat space: at:space/{authority}/computer.spaces.chat/{key}.",
            "items": {
              "maxLength": 1024,
              "type": "string"
            },
            "maxLength": 1000,
            "type": "array"
          },
          "seen": {
            "description": "The write ids of the earlier records this one was written from, newest last, so a writer can tell whether a newer record saw its change.",
            "items": {
              "maxLength": 64,
              "type": "string"
            },
            "maxLength": 32,
            "type": "array"
          },
          "updatedAt": {
            "description": "When these preferences were last changed.",
            "format": "datetime",
            "type": "string"
          },
          "write": {
            "description": "A random id for this save.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "computer.spaces.preferences",
  "lexicon": 1
}
