# site.mochott.profile

> Published by [tokimeki.blue](https://lexicon.garden/identity/did:plc:4tr5dqti7nmu6g2czpthntak)

✓ This is the authoritative definition for this NSID.

## Description

A publication profile record. Acts as a signaling record indicating the account hosts a mochott publication.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/site.mochott.profile)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/site.mochott.profile/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/site.mochott.profile/examples)

## Definitions

### `site.mochott.profile`

**Type**: `record`

Profile for a mochott publication. Each account has at most one profile, stored with the fixed record key 'self'.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `url` | `string` (uri) | No | External URL for the publication's website. |
| `icon` | `blob` | No | Icon or logo image for the publication. |
| `name` | `string` | Yes | Display name of the publication. |
| `createdAt` | `string` (datetime) | Yes | Timestamp when the publication was created. |
| `description` | `string` | No | Short description of the publication, shown in listings and feeds. |
| `primaryColor` | `string` | No | Primary theme color as a CSS color value (e.g. '#3b82f6'). |
| `backgroundColor` | `string` | No | Background theme color as a CSS color value. |

## Raw Schema

```json
{
  "id": "site.mochott.profile",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "createdAt"
        ],
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "External URL for the publication's website."
          },
          "icon": {
            "type": "blob",
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "description": "Icon or logo image for the publication."
          },
          "name": {
            "type": "string",
            "maxLength": 300,
            "description": "Display name of the publication.",
            "maxGraphemes": 100
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp when the publication was created."
          },
          "description": {
            "type": "string",
            "maxLength": 3000,
            "description": "Short description of the publication, shown in listings and feeds.",
            "maxGraphemes": 1000
          },
          "primaryColor": {
            "type": "string",
            "maxLength": 50,
            "description": "Primary theme color as a CSS color value (e.g. '#3b82f6')."
          },
          "backgroundColor": {
            "type": "string",
            "maxLength": 50,
            "description": "Background theme color as a CSS color value."
          }
        }
      },
      "description": "Profile for a mochott publication. Each account has at most one profile, stored with the fixed record key 'self'."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1,
  "description": "A publication profile record. Acts as a signaling record indicating the account hosts a mochott publication."
}
```
