{
  "lexicon": 1,
  "id": "chat.bsky.actor.declaration",
  "defs": {
    "main": {
      "type": "record",
      "description": "A declaration of a Bluesky chat account.",
      "key": "literal:self",
      "record": {
        "type": "object",
        "required": ["allowIncoming"],
        "properties": {
          "allowIncoming": {
            "type": "string",
            "knownValues": ["all", "none", "following"]
          },
          "allowGroupInvites": {
            "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Declaration about group chat invitation preferences for the record owner.",
            "type": "string",
            "knownValues": ["all", "none", "following"]
          }
        }
      }
    }
  }
}
