# app.thesocialwire.folder

> 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.folder)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.folder/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.folder/examples)

## Definitions

### `app.thesocialwire.folder`

**Type**: `record`

A named folder for organizing publication subscriptions in The Social Wire.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `icon` | `string` | No | Emoji character or short icon name for this folder. If omitted, the UI renders a default folder icon. |
| `name` | `string` | Yes | Display name for the folder. |
| `createdAt` | `string` (datetime) | Yes | ISO 8601 timestamp when this folder was created. |
| `iconImage` | `string` (uri) | No | Optional URI for a custom image to use as the folder icon. Takes precedence over 'icon' if both are set. |
| `sortOrder` | `integer` | No | Position of this folder in the sidebar. Lower values appear first. |

## Raw Schema

```json
{
  "id": "app.thesocialwire.folder",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "createdAt"
        ],
        "properties": {
          "icon": {
            "type": "string",
            "maxLength": 128,
            "description": "Emoji character or short icon name for this folder. If omitted, the UI renders a default folder icon."
          },
          "name": {
            "type": "string",
            "maxLength": 128,
            "description": "Display name for the folder."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "ISO 8601 timestamp when this folder was created."
          },
          "iconImage": {
            "type": "string",
            "format": "uri",
            "description": "Optional URI for a custom image to use as the folder icon. Takes precedence over 'icon' if both are set."
          },
          "sortOrder": {
            "type": "integer",
            "default": 0,
            "description": "Position of this folder in the sidebar. Lower values appear first."
          }
        }
      },
      "description": "A named folder for organizing publication subscriptions in The Social Wire."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
