{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get user preference for Rito. Authentication required.",
      "output": {
        "description": "Returns user preference for Rito.",
        "encoding": "application/json",
        "schema": {
          "properties": {
            "enableAutoGenerateBookmark": {
              "description": "Whether to automatically collect Bluesky posts to Rito bookmarks.",
              "type": "boolean"
            },
            "langForAutoGenertateBookmark": {
              "description": "User's preferred language for Auto Generate Bookmark.",
              "type": "string"
            },
            "unblurModerationCategories": {
              "description": "Moderation categories that should not be blurred.",
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [
            "enableAutoGenerateBookmark",
            "langForAutoGenertateBookmark"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "blue.rito.preference.getPreference",
  "lexicon": 1
}
