app.thesocialwire.preferences

Account-level preferences for The Social Wire. This record stores non-sensitive preferences only; third-party access tokens and secrets must not be stored in ATProto repos.

Repository @samclemente.me did:plc:qy5pluw2bsuq2x6albsgkvx3 namespace authority
Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritythesocialwire.app
Commit rev3n2un275pnv2h
Indexed
cid bafyreiemujq3ozjebfges4giptbnarxpwclsoxfsqen7w5b5yutp3nmmyy

Checks

Valid
  • field-name-syntax defs.main.record.properties.readLaterConnections.properties.readwise-readerThe field name readwise-reader should be letters and digits, starting with a letter.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "connection": {
      "description": "Non-sensitive provider connection metadata.",
      "properties": {
        "accountLabel": {
          "description": "User-visible account identifier, such as a username or email. Do not store credentials.",
          "maxLength": 320,
          "type": "string"
        },
        "connectedAt": {
          "description": "ISO 8601 timestamp when the provider was connected.",
          "format": "datetime",
          "maxLength": 64,
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "Account-level preferences for The Social Wire. This record stores non-sensitive preferences only; third-party access tokens and secrets must not be stored in ATProto repos.",
      "key": "literal:self",
      "record": {
        "properties": {
          "automaticallyMarkAsRead": {
            "description": "Whether opening an article automatically marks it as read. Defaults to true when absent; false keeps read state under explicit user control.",
            "type": "boolean"
          },
          "createdAt": {
            "description": "ISO 8601 timestamp when this preferences record was created.",
            "format": "datetime",
            "maxLength": 64,
            "type": "string"
          },
          "feedsWithUnreadCounts": {
            "description": "Top-level reader feeds whose unread badges are shown. Values should also appear in visibleFeeds.",
            "items": {
              "knownValues": [
                "readLater",
                "archive",
                "subscribed",
                "following"
              ],
              "maxLength": 32,
              "type": "string"
            },
            "type": "array"
          },
          "hideFinanceCrypto": {
            "description": "Hide cryptocurrency stories and instruments in Finance. Defaults to false.",
            "type": "boolean"
          },
          "hideFinancePerformance": {
            "description": "Suppress all market performance widgets. Defaults to false when absent.",
            "type": "boolean"
          },
          "hideSportsScores": {
            "default": false,
            "type": "boolean"
          },
          "readLaterConnections": {
            "description": "Non-sensitive connection metadata for read-later providers. Do not store API tokens, passwords, refresh tokens, or secrets here.",
            "properties": {
              "instapaper": {
                "ref": "#connection",
                "type": "ref"
              },
              "omnivore": {
                "ref": "#connection",
                "type": "ref"
              },
              "raindrop": {
                "ref": "#connection",
                "type": "ref"
              },
              "readwise-reader": {
                "ref": "#connection",
                "type": "ref"
              },
              "semble": {
                "ref": "#sembleConnection",
                "type": "ref"
              }
            },
            "type": "object"
          },
          "readLaterService": {
            "description": "The read-later provider used by the /saved surface.",
            "knownValues": [
              "latr-link",
              "latrkit",
              "semble",
              "instapaper",
              "omnivore",
              "readwise-reader",
              "raindrop"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "rssArticleOpenMode": {
            "description": "Whether RSS articles open in The Social Wire's native feed-content reader or on the publisher's original site.",
            "knownValues": [
              "reader",
              "original"
            ],
            "maxLength": 16,
            "type": "string"
          },
          "showCircle": {
            "description": "Whether Your Circle appears in reader navigation when available. Defaults to true when absent. Independent of visibleFeeds for compatibility with existing preferences.",
            "type": "boolean"
          },
          "showFinance": {
            "description": "Whether Finance appears in navigation. Defaults to true when absent; hiding preserves selections.",
            "type": "boolean"
          },
          "showPodcasts": {
            "default": true,
            "description": "Show the Podcasts navigation section when available.",
            "type": "boolean"
          },
          "showSocial": {
            "default": true,
            "description": "Show the Social navigation section.",
            "type": "boolean"
          },
          "showSports": {
            "default": true,
            "type": "boolean"
          },
          "showTopLevelFeedUnreadCounts": {
            "description": "Legacy global switch for aggregate unread badges. New clients use feedsWithUnreadCounts.",
            "type": "boolean"
          },
          "showWire": {
            "description": "Whether The Wire appears in reader navigation when available. Defaults to true when absent. Independent of visibleFeeds for compatibility with existing preferences.",
            "type": "boolean"
          },
          "updatedAt": {
            "description": "ISO 8601 timestamp when this preferences record was last updated.",
            "format": "datetime",
            "maxLength": 64,
            "type": "string"
          },
          "visibleFeeds": {
            "description": "Ordered top-level reader feeds shown in clients. An explicit empty array hides all of these feeds; defaults to all feeds when absent.",
            "items": {
              "knownValues": [
                "readLater",
                "archive",
                "subscribed",
                "following"
              ],
              "maxLength": 32,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "sembleConnection": {
      "description": "Non-sensitive Semble Read Later destination metadata. The collection AT-URI is authoritative; the name is a display fallback only.",
      "properties": {
        "collectionName": {
          "maxLength": 100,
          "type": "string"
        },
        "collectionUri": {
          "format": "at-uri",
          "maxLength": 2048,
          "type": "string"
        },
        "connectedAt": {
          "format": "datetime",
          "maxLength": 64,
          "type": "string"
        }
      },
      "required": [
        "collectionUri",
        "collectionName",
        "connectedAt"
      ],
      "type": "object"
    }
  },
  "id": "app.thesocialwire.preferences",
  "lexicon": 1
}