# pub.byline.profile

> Published by [bylinepub.bsky.social](https://lexicon.garden/identity/did:plc:ppjep63wzgs57unhrdcxqttm)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ppjep63wzgs57unhrdcxqttm/pub.byline.profile)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ppjep63wzgs57unhrdcxqttm/pub.byline.profile/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ppjep63wzgs57unhrdcxqttm/pub.byline.profile/examples)

## Definitions

### `pub.byline.profile`

**Type**: `record`

An author's byline.pub profile, signed by and stored in the author's own repository. The repo's DID is the author identity; this record is the byline.pub-specific public profile that extends it, independent of any venue's own profile record. One record per repo (key 'self').

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `bio` | `string` | No | Author biography for the byline.pub page. Optional and byline-specific. |
| `links` | `array` | No | Author-level links: website, social, retailer profile, etc. |
| `avatar` | `blob` | No | Profile image, stored as a blob in the author's own repository. |
| `genres` | `array` | No | Genres or categories this author writes in. Freeform, used for directory browse/filter. |
| `penNames` | `array` | No | Other names the author publishes under. A book directory may list one person under several bylines. |
| `createdAt` | `string` (datetime) | Yes |  |
| `updatedAt` | `string` (datetime) | No |  |
| `displayName` | `string` | No | Public display name for the author's byline.pub page. Optional and byline-specific; not synced from any venue profile. Falls back to the repo handle if unset. |

## Raw Schema

```json
{
  "id": "pub.byline.profile",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "createdAt"
        ],
        "properties": {
          "bio": {
            "type": "string",
            "maxLength": 10000,
            "description": "Author biography for the byline.pub page. Optional and byline-specific.",
            "maxGraphemes": 2560
          },
          "links": {
            "type": "array",
            "items": {
              "ref": "lex:pub.byline.defs#link",
              "type": "ref"
            },
            "description": "Author-level links: website, social, retailer profile, etc."
          },
          "avatar": {
            "type": "blob",
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "description": "Profile image, stored as a blob in the author's own repository."
          },
          "genres": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 128,
              "maxGraphemes": 128
            },
            "description": "Genres or categories this author writes in. Freeform, used for directory browse/filter."
          },
          "penNames": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 256,
              "maxGraphemes": 256
            },
            "description": "Other names the author publishes under. A book directory may list one person under several bylines."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          },
          "displayName": {
            "type": "string",
            "maxLength": 256,
            "description": "Public display name for the author's byline.pub page. Optional and byline-specific; not synced from any venue profile. Falls back to the repo handle if unset.",
            "maxGraphemes": 64
          }
        }
      },
      "description": "An author's byline.pub profile, signed by and stored in the author's own repository. The repo's DID is the author identity; this record is the byline.pub-specific public profile that extends it, independent of any venue's own profile record. One record per repo (key 'self')."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
