# app.thesocialwire.publicationPrefs

> Published by [samclemente.me](https://lexicon.garden/identity/did:plc:qy5pluw2bsuq2x6albsgkvx3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.publicationPrefs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.publicationPrefs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.publicationPrefs/examples)

## Definitions

### `app.thesocialwire.publicationPrefs`

**Type**: `record`

User-defined display preferences for a discovered standard.site publication. The publication list itself is derived from the user's ATProto follow graph (app.bsky.graph.follow records) — this record stores only the organizational preferences that are not expressed in the protocol: folder assignment, display order, and visibility.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `hidden` | `boolean` | No | If true, this publication is excluded from the sidebar entirely. Useful for discovered publications the user doesn't want to read. |
| `folderId` | `string` | No | The rkey (TID) of the app.thesocialwire.folder record this publication is assigned to. Omit or set to null to leave the publication in 'All Publications'. |
| `createdAt` | `string` (datetime) | Yes | ISO 8601 timestamp when this prefs record was created. |
| `sortOrder` | `integer` | No | Position of this publication within its folder (or in 'All Publications' if unfoldered). Lower values appear first. |
| `publicationId` | `string` | Yes | The at-uri or canonical URL identifying the publication. Used to correlate this prefs record with a discovered publication. |

## Raw Schema

```json
{
  "id": "app.thesocialwire.publicationPrefs",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "publicationId",
          "createdAt"
        ],
        "properties": {
          "hidden": {
            "type": "boolean",
            "default": false,
            "description": "If true, this publication is excluded from the sidebar entirely. Useful for discovered publications the user doesn't want to read."
          },
          "folderId": {
            "type": "string",
            "maxLength": 512,
            "description": "The rkey (TID) of the app.thesocialwire.folder record this publication is assigned to. Omit or set to null to leave the publication in 'All Publications'."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "maxLength": 64,
            "description": "ISO 8601 timestamp when this prefs record was created."
          },
          "sortOrder": {
            "type": "integer",
            "default": 0,
            "description": "Position of this publication within its folder (or in 'All Publications' if unfoldered). Lower values appear first."
          },
          "publicationId": {
            "type": "string",
            "maxLength": 8192,
            "description": "The at-uri or canonical URL identifying the publication. Used to correlate this prefs record with a discovered publication."
          }
        }
      },
      "description": "User-defined display preferences for a discovered standard.site publication. The publication list itself is derived from the user's ATProto follow graph (app.bsky.graph.follow records) — this record stores only the organizational preferences that are not expressed in the protocol: folder assignment, display order, and visibility."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
