# me.linkna.linkinbio

> A user's link-in-bio page containing cards, theme configuration, and social icons.

- Kind: record
- Record key: literal:self
- Authority: linkna.me
- Lexicon: 1
- Published by [linkna.me](https://lexicon.garden/identity/did:plc:py7scbwsfz53fg2lniwggdgd), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:py7scbwsfz53fg2lniwggdgd/me.linkna.linkinbio)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:py7scbwsfz53fg2lniwggdgd/me.linkna.linkinbio/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:py7scbwsfz53fg2lniwggdgd/me.linkna.linkinbio/analytics)

## Record (`me.linkna.linkinbio`)

Type: record · key literal:self

### Properties

- `cards` (array, required): Ordered list of cards on the page.
  - `items` (union)
    - One of: `#linkCard`, `#headerCard`, `#widgetGoodreads`, `#widgetGithub`, `#widgetTealfm`, `#widgetLastfm`, `#widgetClock`, `#widgetYoutube`, `#widgetPatreon`, `#widgetSubstack`, `#widgetBeehiiv`, `#widgetVideo`, `#widgetTwitch`, `#widgetDiscord`, `#widgetReddit`, `#widgetMedium`, `#widgetMap`
- `connectedServices` (ref)
  - Reference: `#connectedServices`
- `socialIcons` (array): Social media icons displayed on the profile.
  - `items` (ref)
    - Reference: `#socialIcon`
- `theme` (string): Deprecated: use themeConfig instead.
- `themeConfig` (ref)
  - Reference: `#themeConfig`

## #connectedServices (`me.linkna.linkinbio#connectedServices`)

Type: object

Saved service credentials/identifiers for pre-filling widget forms.

### Properties

- `githubUsername` (string): GitHub username.
- `goodreadsUserId` (string): Goodreads numeric user ID.
- `lastfmUsername` (string): Last.fm username.

## #githubContributionDay (`me.linkna.linkinbio#githubContributionDay`)

Type: object

A single day's contribution data from GitHub.

### Properties

- `count` (integer, required): Number of contributions on this day.
- `date` (string, required): Date in YYYY-MM-DD format.
- `level` (integer, required): Contribution intensity level (0=none, 4=highest).
  - Constraints: minimum: 0, maximum: 4

## #goodreadsBook (`me.linkna.linkinbio#goodreadsBook`)

Type: object

A book from a Goodreads shelf.

### Properties

- `author` (string, required): Book author.
- `coverUrl` (string): URL to the book cover image.
- `link` (string): URL to the book on Goodreads.
- `rating` (integer): User's rating (1-5), or absent if unrated.
  - Constraints: minimum: 0, maximum: 5
- `title` (string, required): Book title.

## #headerCard (`me.linkna.linkinbio#headerCard`)

Type: object

A section header/divider card.

### Properties

- `alignment` (string): Text alignment for the header. Defaults to the user's button alignment.
  - Constraints: enum: left | center | right
- `enabled` (boolean): Whether the header is visible on the public page. Defaults to true.
- `id` (string, required): Unique identifier for the card.
- `text` (string, required): Header text displayed as a section divider.
  - Constraints: maxLength: 100
- `type` (string, required): Card type discriminator.
  - Constraints: const: "header"

## #linkCard (`me.linkna.linkinbio#linkCard`)

Type: object

A standard link card.

### Properties

- `enabled` (boolean): Whether the card is visible on the public page. Defaults to true.
- `highlighted` (boolean): Whether the card is visually highlighted.
- `id` (string): Unique identifier for the card.
- `text` (string): Display text for the card (falls back to URL domain if empty).
  - Constraints: maxLength: 100
- `type` (string): Card type discriminator. Value: 'link' or absent for link cards.
- `url` (string · uri): URL the card links to.

## #mediumArticle (`me.linkna.linkinbio#mediumArticle`)

Type: object

A Medium article.

### Properties

- `claps` (integer, required): Number of claps.
- `publishedAt` (string, required): When the article was published.
- `readingTime` (integer): Estimated reading time in minutes.
- `subtitle` (string): Article subtitle.
- `title` (string, required): Article title.
- `url` (string, required): Article URL.

## #redditPost (`me.linkna.linkinbio#redditPost`)

Type: object

A Reddit post.

### Properties

- `numComments` (integer, required): Number of comments.
- `score` (integer, required): Post score.
- `subreddit` (string, required): Subreddit name.
- `title` (string, required): Post title.
- `url` (string, required): Post URL.

## #socialIcon (`me.linkna.linkinbio#socialIcon`)

Type: object

A social media icon link.

### Properties

- `id` (string, required): Unique identifier for the icon.
- `platform` (string, required): Platform identifier (e.g., 'bluesky', 'twitter', 'instagram').
- `url` (string · uri, required): URL to the user's profile on this platform.

## #tealfmPlay (`me.linkna.linkinbio#tealfmPlay`)

Type: object

A recently played track from teal.fm.

### Properties

- `artistName` (string, required): Artist name(s).
- `coverUrl` (string): URL to the album cover image (from Cover Art Archive).
- `originUrl` (string): URL to the track on the original music service.
- `playedTime` (string · datetime): When the track was played.
- `releaseName` (string): Album/release name.
- `trackName` (string, required): Track/song name.

## #themeConfig (`me.linkna.linkinbio#themeConfig`)

Type: object

Theme configuration for the page appearance.

### Properties

- `backgroundColor` (string): Page background color.
- `backgroundGradient` (string): CSS gradient for the page background.
- `backgroundImage` (blob): Background wallpaper image blob.
  - Constraints: maxSize: 10000000, accept: image/png, image/jpeg, image/webp
- `backgroundImageCredit` (string · uri): Optional credit URL for the wallpaper image artist. Stored for attribution purposes only, not displayed on the public page.
- `buttonAlignment` (string): Button content alignment. Default: left.
  - Constraints: knownValues: left | right
- `buttonHoverGlow` (boolean): Whether buttons glow on hover. Default: false.
- `buttonHoverGlowColor` (string): Color for the button hover glow effect.
- `cardBackgroundColor` (string): Individual card/button background color.
- `cardBorderColor` (string): Card/button border color.
- `cardBorderRadius` (string): Card/button border radius.
  - Constraints: knownValues: none | sm | md | lg | full
- `cardHoverColor` (string): Card/button border color on hover.
- `cardShadow` (string): Card/button shadow intensity.
  - Constraints: knownValues: none | sm | md | lg | xl
- `cardTextColor` (string): Card/button text color.
- `contentCardColor` (string): Card container background color.
- `cursorSparkles` (boolean): Whether cursor has sparkle trail. Default: false.
- `cursorStyle` (string): Custom cursor style. Default: default.
  - Constraints: knownValues: default | hello-kitty
- `fontFamily` (string): Font family for the page.
- `fontSize` (string): Font size. Default: md.
  - Constraints: knownValues: sm | md | lg
- `particles` (string): Background particle effect. Default: none.
  - Constraints: knownValues: none | white | blue | leaves | grid-sm | grid-lg
- `preset` (string): Theme preset ID (e.g., 'custom', 'agate', 'air', 'astrid', 'aura').
- `profileAlignment` (string): Profile section alignment. Default: center.
  - Constraints: knownValues: left | center | right
- `profilePictureShape` (string): Profile picture shape. Default: circle.
  - Constraints: knownValues: circle | rounded | square
- `profilePictureSize` (string): Profile picture size. Default: sm.
  - Constraints: knownValues: sm | md | lg
- `profileTextColor` (string): Profile section text color.
- `showBranding` (boolean): Whether Linkname branding is visible. Default: true.
- `socialIconsBorderColor` (string): Border color for social icons dock/sphere.
- `socialIconsColor` (string): Social icons color.
- `socialIconsShape` (string): Social icons container shape. Default: dock.
  - Constraints: knownValues: dock | sphere
- `socialIconsShapeColor` (string): Background color for social icons dock/sphere.

## #videoAspectRatio (`me.linkna.linkinbio#videoAspectRatio`)

Type: object

Video aspect ratio dimensions.

### Properties

- `height` (integer, required): Video height.
- `width` (integer, required): Video width.

## #widgetBeehiiv (`me.linkna.linkinbio#widgetBeehiiv`)

Type: object

A Beehiiv publication widget card.

### Properties

- `description` (string): Publication description.
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `id` (string, required): Unique identifier for the card.
- `imageUrl` (string): Publication image URL.
- `lastSyncedAt` (string · datetime): When the publication data was last fetched.
- `publicationId` (string, required): Beehiiv publication ID.
- `publicationName` (string, required): Beehiiv publication name.
- `publicationUrl` (string, required): URL to the Beehiiv publication.
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2 | 2x1
- `type` (string, required): Card type discriminator.
  - Constraints: const: "beehiiv"

## #widgetClock (`me.linkna.linkinbio#widgetClock`)

Type: object

A clock, countdown, or stopwatch timer widget card.

### Properties

- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `id` (string, required): Unique identifier for the card.
- `label` (string): Optional display label for the widget.
  - Constraints: maxLength: 100
- `mode` (string, required): Widget mode: clock (timezone display), countdown (to a target date), or timer (interactive stopwatch).
  - Constraints: knownValues: clock | countdown | timer
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2 | 2x1
- `targetDate` (string · datetime): ISO 8601 target date for countdown mode.
- `timezone` (string): IANA timezone identifier for clock mode (e.g. 'America/New_York').
- `type` (string, required): Card type discriminator.
  - Constraints: const: "clock"

## #widgetDiscord (`me.linkna.linkinbio#widgetDiscord`)

Type: object

A Discord server widget card.

### Properties

- `bannerUrl` (string): Server banner URL.
- `description` (string): Server description.
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `iconUrl` (string): Server icon URL.
- `id` (string, required): Unique identifier for the card.
- `inviteUrl` (string, required): Discord invite URL.
- `lastSyncedAt` (string · datetime): When the server data was last fetched.
- `memberCount` (integer): Total member count.
- `presenceCount` (integer): Online member count.
- `serverId` (string, required): Discord server ID.
- `serverName` (string, required): Discord server name.
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2 | 2x1
- `type` (string, required): Card type discriminator.
  - Constraints: const: "discord"

## #widgetGithub (`me.linkna.linkinbio#widgetGithub`)

Type: object

A GitHub contributions graph widget card.

### Properties

- `contributions` (array, required): Contribution data for the last year.
  - `items` (ref)
    - Reference: `#githubContributionDay`
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `githubUsername` (string, required): GitHub username.
- `id` (string, required): Unique identifier for the card.
- `lastSyncedAt` (string · datetime): When the contribution data was last fetched from GitHub.
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2
- `totalContributions` (integer): Total number of contributions in the last year.
- `type` (string, required): Card type discriminator.
  - Constraints: const: "github"

## #widgetGoodreads (`me.linkna.linkinbio#widgetGoodreads`)

Type: object

A Goodreads bookshelf widget card.

### Properties

- `books` (array, required): Books on the currently-reading shelf.
  - `items` (ref)
    - Reference: `#goodreadsBook`
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `goodreadsUserId` (string, required): Goodreads numeric user ID.
- `id` (string, required): Unique identifier for the card.
- `lastSyncedAt` (string · datetime): When the book data was last fetched from Goodreads.
- `readBooks` (array): Books on the read shelf (used by 1x2 size).
  - `items` (ref)
    - Reference: `#goodreadsBook`
- `shelf` (string, required): Shelf name (currently-reading, read, or to-read).
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2
- `type` (string, required): Card type discriminator.
  - Constraints: const: "goodreads"

## #widgetLastfm (`me.linkna.linkinbio#widgetLastfm`)

Type: object

A Last.fm recently played tracks widget card.

### Properties

- `coverArtNotice` (string): Copyright notice for cover art images.
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `id` (string, required): Unique identifier for the card.
- `lastSyncedAt` (string · datetime): When the play data was last fetched from Last.fm.
- `lastfmUsername` (string, required): Last.fm username for fetching scrobbles.
- `plays` (array, required): Recently played tracks from Last.fm.
  - `items` (ref)
    - Reference: `#tealfmPlay`
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2
- `type` (string, required): Card type discriminator.
  - Constraints: const: "lastfm"

## #widgetMap (`me.linkna.linkinbio#widgetMap`)

Type: object

A map location widget card.

### Properties

- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `id` (string, required): Unique identifier for the card.
- `latitude` (string, required): Latitude coordinate as string (AT Protocol does not support floats).
- `locationName` (string, required): Display name for the location.
- `longitude` (string, required): Longitude coordinate as string (AT Protocol does not support floats).
- `mapImageRef` (blob): Cached static map image blob to avoid repeated Stadia Maps API calls.
  - Constraints: maxSize: 5000000, accept: image/png, image/jpeg
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2 | 2x1
- `style` (string): Map style. Default: light.
  - Constraints: knownValues: light | dark
- `type` (string, required): Card type discriminator.
  - Constraints: const: "map"
- `zoom` (integer): Map zoom level (1-18). Default: 12.

## #widgetMedium (`me.linkna.linkinbio#widgetMedium`)

Type: object

A Medium profile widget card.

### Properties

- `articles` (array): Recent articles.
  - `items` (ref)
    - Reference: `#mediumArticle`
- `bio` (string): Medium bio.
- `displayName` (string): Medium display name.
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `followerCount` (integer): Number of followers.
- `id` (string, required): Unique identifier for the card.
- `lastSyncedAt` (string · datetime): When the Medium data was last fetched.
- `profileUrl` (string, required): Medium profile URL.
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2 | 2x1
- `type` (string, required): Card type discriminator.
  - Constraints: const: "medium"
- `username` (string, required): Medium username.

## #widgetPatreon (`me.linkna.linkinbio#widgetPatreon`)

Type: object

A Patreon campaign widget card.

### Properties

- `campaignId` (string, required): Patreon campaign ID.
- `campaignUrl` (string, required): URL to the Patreon campaign.
- `creationName` (string): Name of the creation/project.
- `creatorName` (string, required): Patreon creator name.
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `id` (string, required): Unique identifier for the card.
- `imageUrl` (string): Campaign image URL.
- `lastSyncedAt` (string · datetime): When the campaign data was last fetched.
- `patronCount` (integer): Number of patrons.
- `postCount` (integer): Number of posts.
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2 | 2x1
- `type` (string, required): Card type discriminator.
  - Constraints: const: "patreon"

## #widgetReddit (`me.linkna.linkinbio#widgetReddit`)

Type: object

A Reddit profile widget card.

### Properties

- `avatarUrl` (string): Reddit avatar URL.
- `commentKarma` (integer): Comment karma.
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `id` (string, required): Unique identifier for the card.
- `karma` (integer): Total karma.
- `lastSyncedAt` (string · datetime): When the Reddit data was last fetched.
- `linkKarma` (integer): Link karma.
- `profileUrl` (string, required): Reddit profile URL.
- `recentPosts` (array): Recent posts.
  - `items` (ref)
    - Reference: `#redditPost`
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2 | 2x1
- `type` (string, required): Card type discriminator.
  - Constraints: const: "reddit"
- `username` (string, required): Reddit username.

## #widgetSubstack (`me.linkna.linkinbio#widgetSubstack`)

Type: object

A Substack publication widget card.

### Properties

- `authorName` (string): Author name.
- `coverImageUrl` (string): Publication cover image URL.
- `description` (string): Publication description.
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `id` (string, required): Unique identifier for the card.
- `imageUrl` (string): Publication image URL.
- `lastSyncedAt` (string · datetime): When the publication data was last fetched.
- `postCount` (integer): Number of posts.
- `publicationId` (string, required): Substack publication ID.
- `publicationName` (string, required): Substack publication name.
- `publicationUrl` (string, required): URL to the Substack publication.
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2 | 2x1
- `subscriberCount` (integer): Number of subscribers.
- `type` (string, required): Card type discriminator.
  - Constraints: const: "substack"

## #widgetTealfm (`me.linkna.linkinbio#widgetTealfm`)

Type: object

A teal.fm recently played tracks widget card.

### Properties

- `coverArtNotice` (string): Copyright notice for cover art images.
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `id` (string, required): Unique identifier for the card.
- `lastSyncedAt` (string · datetime): When the play data was last fetched from the PDS.
- `plays` (array, required): Recently played tracks.
  - `items` (ref)
    - Reference: `#tealfmPlay`
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2
- `source` (string): Data source for the widget. 'lastfm' for imported Last.fm scrobbles, 'tealfm' (default) for native AT Protocol plays.
  - Constraints: knownValues: tealfm | lastfm
- `type` (string, required): Card type discriminator.
  - Constraints: const: "tealfm"

## #widgetTwitch (`me.linkna.linkinbio#widgetTwitch`)

Type: object

A Twitch channel widget card.

### Properties

- `displayName` (string): Twitch display name.
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `id` (string, required): Unique identifier for the card.
- `isLive` (boolean): Whether the channel is currently live.
- `lastSyncedAt` (string · datetime): When the channel data was last fetched.
- `profileImageUrl` (string): Twitch profile image URL.
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2 | 2x1
- `streamGame` (string): Current stream game/category.
- `streamTitle` (string): Current stream title.
- `type` (string, required): Card type discriminator.
  - Constraints: const: "twitch"
- `username` (string, required): Twitch username.
- `viewerCount` (integer): Current viewer count.

## #widgetVideo (`me.linkna.linkinbio#widgetVideo`)

Type: object

A video widget card.

### Properties

- `alt` (string): Alt text for accessibility.
  - Constraints: maxLength: 1000
- `aspectRatio` (ref): Video aspect ratio.
  - Reference: `#videoAspectRatio`
- `createdAt` (string · datetime): When the video was uploaded.
- `did` (string, required): Author DID for constructing PDS blob URLs.
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `id` (string, required): Unique identifier for the card.
- `loop` (boolean): Whether the video loops. Defaults to true.
- `muted` (boolean): Whether the video is muted. Defaults to true.
- `showOverlay` (boolean): Whether to show the title overlay. Defaults to false.
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2 | 2x1
- `title` (string): Video title overlay.
  - Constraints: maxLength: 100
- `type` (string, required): Card type discriminator.
  - Constraints: const: "video"
- `videoBlobRef` (blob, required): Reference to the uploaded video blob.

## #widgetYoutube (`me.linkna.linkinbio#widgetYoutube`)

Type: object

A YouTube channel widget card.

### Properties

- `channelId` (string, required): YouTube channel ID.
- `channelName` (string, required): YouTube channel name.
- `channelUrl` (string, required): URL to the YouTube channel.
- `enabled` (boolean): Whether the widget is visible on the public page. Defaults to true.
- `id` (string, required): Unique identifier for the card.
- `lastSyncedAt` (string · datetime): When the video data was last fetched.
- `latestVideo` (ref): The latest video from the channel.
  - Reference: `#youtubeVideo`
- `size` (string): Widget display size. Default: 1x1.
  - Constraints: knownValues: 1x1 | 1x2 | 2x2 | 2x1
- `type` (string, required): Card type discriminator.
  - Constraints: const: "youtube"

## #youtubeVideo (`me.linkna.linkinbio#youtubeVideo`)

Type: object

A YouTube video.

### Properties

- `isShort` (boolean): Whether this is a YouTube Short.
- `publishedAt` (string, required): When the video was published.
- `title` (string, required): Video title.
- `videoId` (string, required): YouTube video ID.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "connectedServices": {
      "description": "Saved service credentials/identifiers for pre-filling widget forms.",
      "properties": {
        "githubUsername": {
          "description": "GitHub username.",
          "type": "string"
        },
        "goodreadsUserId": {
          "description": "Goodreads numeric user ID.",
          "type": "string"
        },
        "lastfmUsername": {
          "description": "Last.fm username.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "githubContributionDay": {
      "description": "A single day's contribution data from GitHub.",
      "properties": {
        "count": {
          "description": "Number of contributions on this day.",
          "type": "integer"
        },
        "date": {
          "description": "Date in YYYY-MM-DD format.",
          "type": "string"
        },
        "level": {
          "description": "Contribution intensity level (0=none, 4=highest).",
          "maximum": 4,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "date",
        "count",
        "level"
      ],
      "type": "object"
    },
    "goodreadsBook": {
      "description": "A book from a Goodreads shelf.",
      "properties": {
        "author": {
          "description": "Book author.",
          "type": "string"
        },
        "coverUrl": {
          "description": "URL to the book cover image.",
          "type": "string"
        },
        "link": {
          "description": "URL to the book on Goodreads.",
          "type": "string"
        },
        "rating": {
          "description": "User's rating (1-5), or absent if unrated.",
          "maximum": 5,
          "minimum": 0,
          "type": "integer"
        },
        "title": {
          "description": "Book title.",
          "type": "string"
        }
      },
      "required": [
        "title",
        "author"
      ],
      "type": "object"
    },
    "headerCard": {
      "description": "A section header/divider card.",
      "properties": {
        "alignment": {
          "description": "Text alignment for the header. Defaults to the user's button alignment.",
          "enum": [
            "left",
            "center",
            "right"
          ],
          "type": "string"
        },
        "enabled": {
          "description": "Whether the header is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "text": {
          "description": "Header text displayed as a section divider.",
          "maxLength": 100,
          "type": "string"
        },
        "type": {
          "const": "header",
          "description": "Card type discriminator.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "text"
      ],
      "type": "object"
    },
    "linkCard": {
      "description": "A standard link card.",
      "properties": {
        "enabled": {
          "description": "Whether the card is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "highlighted": {
          "description": "Whether the card is visually highlighted.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "text": {
          "description": "Display text for the card (falls back to URL domain if empty).",
          "maxLength": 100,
          "type": "string"
        },
        "type": {
          "description": "Card type discriminator. Value: 'link' or absent for link cards.",
          "type": "string"
        },
        "url": {
          "description": "URL the card links to.",
          "format": "uri",
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "A user's link-in-bio page containing cards, theme configuration, and social icons.",
      "key": "literal:self",
      "record": {
        "properties": {
          "cards": {
            "description": "Ordered list of cards on the page.",
            "items": {
              "refs": [
                "#linkCard",
                "#headerCard",
                "#widgetGoodreads",
                "#widgetGithub",
                "#widgetTealfm",
                "#widgetLastfm",
                "#widgetClock",
                "#widgetYoutube",
                "#widgetPatreon",
                "#widgetSubstack",
                "#widgetBeehiiv",
                "#widgetVideo",
                "#widgetTwitch",
                "#widgetDiscord",
                "#widgetReddit",
                "#widgetMedium",
                "#widgetMap"
              ],
              "type": "union"
            },
            "type": "array"
          },
          "connectedServices": {
            "ref": "#connectedServices",
            "type": "ref"
          },
          "socialIcons": {
            "description": "Social media icons displayed on the profile.",
            "items": {
              "ref": "#socialIcon",
              "type": "ref"
            },
            "type": "array"
          },
          "theme": {
            "description": "Deprecated: use themeConfig instead.",
            "type": "string"
          },
          "themeConfig": {
            "ref": "#themeConfig",
            "type": "ref"
          }
        },
        "required": [
          "cards"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "mediumArticle": {
      "description": "A Medium article.",
      "properties": {
        "claps": {
          "description": "Number of claps.",
          "type": "integer"
        },
        "publishedAt": {
          "description": "When the article was published.",
          "type": "string"
        },
        "readingTime": {
          "description": "Estimated reading time in minutes.",
          "type": "integer"
        },
        "subtitle": {
          "description": "Article subtitle.",
          "type": "string"
        },
        "title": {
          "description": "Article title.",
          "type": "string"
        },
        "url": {
          "description": "Article URL.",
          "type": "string"
        }
      },
      "required": [
        "title",
        "url",
        "publishedAt",
        "claps"
      ],
      "type": "object"
    },
    "redditPost": {
      "description": "A Reddit post.",
      "properties": {
        "numComments": {
          "description": "Number of comments.",
          "type": "integer"
        },
        "score": {
          "description": "Post score.",
          "type": "integer"
        },
        "subreddit": {
          "description": "Subreddit name.",
          "type": "string"
        },
        "title": {
          "description": "Post title.",
          "type": "string"
        },
        "url": {
          "description": "Post URL.",
          "type": "string"
        }
      },
      "required": [
        "title",
        "subreddit",
        "url",
        "score",
        "numComments"
      ],
      "type": "object"
    },
    "socialIcon": {
      "description": "A social media icon link.",
      "properties": {
        "id": {
          "description": "Unique identifier for the icon.",
          "type": "string"
        },
        "platform": {
          "description": "Platform identifier (e.g., 'bluesky', 'twitter', 'instagram').",
          "type": "string"
        },
        "url": {
          "description": "URL to the user's profile on this platform.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "id",
        "platform",
        "url"
      ],
      "type": "object"
    },
    "tealfmPlay": {
      "description": "A recently played track from teal.fm.",
      "properties": {
        "artistName": {
          "description": "Artist name(s).",
          "type": "string"
        },
        "coverUrl": {
          "description": "URL to the album cover image (from Cover Art Archive).",
          "type": "string"
        },
        "originUrl": {
          "description": "URL to the track on the original music service.",
          "type": "string"
        },
        "playedTime": {
          "description": "When the track was played.",
          "format": "datetime",
          "type": "string"
        },
        "releaseName": {
          "description": "Album/release name.",
          "type": "string"
        },
        "trackName": {
          "description": "Track/song name.",
          "type": "string"
        }
      },
      "required": [
        "trackName",
        "artistName"
      ],
      "type": "object"
    },
    "themeConfig": {
      "description": "Theme configuration for the page appearance.",
      "properties": {
        "backgroundColor": {
          "description": "Page background color.",
          "type": "string"
        },
        "backgroundGradient": {
          "description": "CSS gradient for the page background.",
          "type": "string"
        },
        "backgroundImage": {
          "accept": [
            "image/png",
            "image/jpeg",
            "image/webp"
          ],
          "description": "Background wallpaper image blob.",
          "maxSize": 10000000,
          "type": "blob"
        },
        "backgroundImageCredit": {
          "description": "Optional credit URL for the wallpaper image artist. Stored for attribution purposes only, not displayed on the public page.",
          "format": "uri",
          "type": "string"
        },
        "buttonAlignment": {
          "description": "Button content alignment. Default: left.",
          "knownValues": [
            "left",
            "right"
          ],
          "type": "string"
        },
        "buttonHoverGlow": {
          "description": "Whether buttons glow on hover. Default: false.",
          "type": "boolean"
        },
        "buttonHoverGlowColor": {
          "description": "Color for the button hover glow effect.",
          "type": "string"
        },
        "cardBackgroundColor": {
          "description": "Individual card/button background color.",
          "type": "string"
        },
        "cardBorderColor": {
          "description": "Card/button border color.",
          "type": "string"
        },
        "cardBorderRadius": {
          "description": "Card/button border radius.",
          "knownValues": [
            "none",
            "sm",
            "md",
            "lg",
            "full"
          ],
          "type": "string"
        },
        "cardHoverColor": {
          "description": "Card/button border color on hover.",
          "type": "string"
        },
        "cardShadow": {
          "description": "Card/button shadow intensity.",
          "knownValues": [
            "none",
            "sm",
            "md",
            "lg",
            "xl"
          ],
          "type": "string"
        },
        "cardTextColor": {
          "description": "Card/button text color.",
          "type": "string"
        },
        "contentCardColor": {
          "description": "Card container background color.",
          "type": "string"
        },
        "cursorSparkles": {
          "description": "Whether cursor has sparkle trail. Default: false.",
          "type": "boolean"
        },
        "cursorStyle": {
          "description": "Custom cursor style. Default: default.",
          "knownValues": [
            "default",
            "hello-kitty"
          ],
          "type": "string"
        },
        "fontFamily": {
          "description": "Font family for the page.",
          "type": "string"
        },
        "fontSize": {
          "description": "Font size. Default: md.",
          "knownValues": [
            "sm",
            "md",
            "lg"
          ],
          "type": "string"
        },
        "particles": {
          "description": "Background particle effect. Default: none.",
          "knownValues": [
            "none",
            "white",
            "blue",
            "leaves",
            "grid-sm",
            "grid-lg"
          ],
          "type": "string"
        },
        "preset": {
          "description": "Theme preset ID (e.g., 'custom', 'agate', 'air', 'astrid', 'aura').",
          "type": "string"
        },
        "profileAlignment": {
          "description": "Profile section alignment. Default: center.",
          "knownValues": [
            "left",
            "center",
            "right"
          ],
          "type": "string"
        },
        "profilePictureShape": {
          "description": "Profile picture shape. Default: circle.",
          "knownValues": [
            "circle",
            "rounded",
            "square"
          ],
          "type": "string"
        },
        "profilePictureSize": {
          "description": "Profile picture size. Default: sm.",
          "knownValues": [
            "sm",
            "md",
            "lg"
          ],
          "type": "string"
        },
        "profileTextColor": {
          "description": "Profile section text color.",
          "type": "string"
        },
        "showBranding": {
          "description": "Whether Linkname branding is visible. Default: true.",
          "type": "boolean"
        },
        "socialIconsBorderColor": {
          "description": "Border color for social icons dock/sphere.",
          "type": "string"
        },
        "socialIconsColor": {
          "description": "Social icons color.",
          "type": "string"
        },
        "socialIconsShape": {
          "description": "Social icons container shape. Default: dock.",
          "knownValues": [
            "dock",
            "sphere"
          ],
          "type": "string"
        },
        "socialIconsShapeColor": {
          "description": "Background color for social icons dock/sphere.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "videoAspectRatio": {
      "description": "Video aspect ratio dimensions.",
      "properties": {
        "height": {
          "description": "Video height.",
          "type": "integer"
        },
        "width": {
          "description": "Video width.",
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height"
      ],
      "type": "object"
    },
    "widgetBeehiiv": {
      "description": "A Beehiiv publication widget card.",
      "properties": {
        "description": {
          "description": "Publication description.",
          "type": "string"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "imageUrl": {
          "description": "Publication image URL.",
          "type": "string"
        },
        "lastSyncedAt": {
          "description": "When the publication data was last fetched.",
          "format": "datetime",
          "type": "string"
        },
        "publicationId": {
          "description": "Beehiiv publication ID.",
          "type": "string"
        },
        "publicationName": {
          "description": "Beehiiv publication name.",
          "type": "string"
        },
        "publicationUrl": {
          "description": "URL to the Beehiiv publication.",
          "type": "string"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2",
            "2x1"
          ],
          "type": "string"
        },
        "type": {
          "const": "beehiiv",
          "description": "Card type discriminator.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "publicationId",
        "publicationName",
        "publicationUrl"
      ],
      "type": "object"
    },
    "widgetClock": {
      "description": "A clock, countdown, or stopwatch timer widget card.",
      "properties": {
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "label": {
          "description": "Optional display label for the widget.",
          "maxLength": 100,
          "type": "string"
        },
        "mode": {
          "description": "Widget mode: clock (timezone display), countdown (to a target date), or timer (interactive stopwatch).",
          "knownValues": [
            "clock",
            "countdown",
            "timer"
          ],
          "type": "string"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2",
            "2x1"
          ],
          "type": "string"
        },
        "targetDate": {
          "description": "ISO 8601 target date for countdown mode.",
          "format": "datetime",
          "type": "string"
        },
        "timezone": {
          "description": "IANA timezone identifier for clock mode (e.g. 'America/New_York').",
          "type": "string"
        },
        "type": {
          "const": "clock",
          "description": "Card type discriminator.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "mode"
      ],
      "type": "object"
    },
    "widgetDiscord": {
      "description": "A Discord server widget card.",
      "properties": {
        "bannerUrl": {
          "description": "Server banner URL.",
          "type": "string"
        },
        "description": {
          "description": "Server description.",
          "type": "string"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "iconUrl": {
          "description": "Server icon URL.",
          "type": "string"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "inviteUrl": {
          "description": "Discord invite URL.",
          "type": "string"
        },
        "lastSyncedAt": {
          "description": "When the server data was last fetched.",
          "format": "datetime",
          "type": "string"
        },
        "memberCount": {
          "description": "Total member count.",
          "type": "integer"
        },
        "presenceCount": {
          "description": "Online member count.",
          "type": "integer"
        },
        "serverId": {
          "description": "Discord server ID.",
          "type": "string"
        },
        "serverName": {
          "description": "Discord server name.",
          "type": "string"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2",
            "2x1"
          ],
          "type": "string"
        },
        "type": {
          "const": "discord",
          "description": "Card type discriminator.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "serverId",
        "serverName",
        "inviteUrl"
      ],
      "type": "object"
    },
    "widgetGithub": {
      "description": "A GitHub contributions graph widget card.",
      "properties": {
        "contributions": {
          "description": "Contribution data for the last year.",
          "items": {
            "ref": "#githubContributionDay",
            "type": "ref"
          },
          "type": "array"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "githubUsername": {
          "description": "GitHub username.",
          "type": "string"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "lastSyncedAt": {
          "description": "When the contribution data was last fetched from GitHub.",
          "format": "datetime",
          "type": "string"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2"
          ],
          "type": "string"
        },
        "totalContributions": {
          "description": "Total number of contributions in the last year.",
          "type": "integer"
        },
        "type": {
          "const": "github",
          "description": "Card type discriminator.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "githubUsername",
        "contributions"
      ],
      "type": "object"
    },
    "widgetGoodreads": {
      "description": "A Goodreads bookshelf widget card.",
      "properties": {
        "books": {
          "description": "Books on the currently-reading shelf.",
          "items": {
            "ref": "#goodreadsBook",
            "type": "ref"
          },
          "type": "array"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "goodreadsUserId": {
          "description": "Goodreads numeric user ID.",
          "type": "string"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "lastSyncedAt": {
          "description": "When the book data was last fetched from Goodreads.",
          "format": "datetime",
          "type": "string"
        },
        "readBooks": {
          "description": "Books on the read shelf (used by 1x2 size).",
          "items": {
            "ref": "#goodreadsBook",
            "type": "ref"
          },
          "type": "array"
        },
        "shelf": {
          "description": "Shelf name (currently-reading, read, or to-read).",
          "type": "string"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2"
          ],
          "type": "string"
        },
        "type": {
          "const": "goodreads",
          "description": "Card type discriminator.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "goodreadsUserId",
        "shelf",
        "books"
      ],
      "type": "object"
    },
    "widgetLastfm": {
      "description": "A Last.fm recently played tracks widget card.",
      "properties": {
        "coverArtNotice": {
          "description": "Copyright notice for cover art images.",
          "type": "string"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "lastSyncedAt": {
          "description": "When the play data was last fetched from Last.fm.",
          "format": "datetime",
          "type": "string"
        },
        "lastfmUsername": {
          "description": "Last.fm username for fetching scrobbles.",
          "type": "string"
        },
        "plays": {
          "description": "Recently played tracks from Last.fm.",
          "items": {
            "ref": "#tealfmPlay",
            "type": "ref"
          },
          "type": "array"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2"
          ],
          "type": "string"
        },
        "type": {
          "const": "lastfm",
          "description": "Card type discriminator.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "lastfmUsername",
        "plays"
      ],
      "type": "object"
    },
    "widgetMap": {
      "description": "A map location widget card.",
      "properties": {
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "latitude": {
          "description": "Latitude coordinate as string (AT Protocol does not support floats).",
          "type": "string"
        },
        "locationName": {
          "description": "Display name for the location.",
          "type": "string"
        },
        "longitude": {
          "description": "Longitude coordinate as string (AT Protocol does not support floats).",
          "type": "string"
        },
        "mapImageRef": {
          "accept": [
            "image/png",
            "image/jpeg"
          ],
          "description": "Cached static map image blob to avoid repeated Stadia Maps API calls.",
          "maxSize": 5000000,
          "type": "blob"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2",
            "2x1"
          ],
          "type": "string"
        },
        "style": {
          "description": "Map style. Default: light.",
          "knownValues": [
            "light",
            "dark"
          ],
          "type": "string"
        },
        "type": {
          "const": "map",
          "description": "Card type discriminator.",
          "type": "string"
        },
        "zoom": {
          "description": "Map zoom level (1-18). Default: 12.",
          "type": "integer"
        }
      },
      "required": [
        "id",
        "type",
        "locationName",
        "latitude",
        "longitude"
      ],
      "type": "object"
    },
    "widgetMedium": {
      "description": "A Medium profile widget card.",
      "properties": {
        "articles": {
          "description": "Recent articles.",
          "items": {
            "ref": "#mediumArticle",
            "type": "ref"
          },
          "type": "array"
        },
        "bio": {
          "description": "Medium bio.",
          "type": "string"
        },
        "displayName": {
          "description": "Medium display name.",
          "type": "string"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "followerCount": {
          "description": "Number of followers.",
          "type": "integer"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "lastSyncedAt": {
          "description": "When the Medium data was last fetched.",
          "format": "datetime",
          "type": "string"
        },
        "profileUrl": {
          "description": "Medium profile URL.",
          "type": "string"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2",
            "2x1"
          ],
          "type": "string"
        },
        "type": {
          "const": "medium",
          "description": "Card type discriminator.",
          "type": "string"
        },
        "username": {
          "description": "Medium username.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "username",
        "profileUrl"
      ],
      "type": "object"
    },
    "widgetPatreon": {
      "description": "A Patreon campaign widget card.",
      "properties": {
        "campaignId": {
          "description": "Patreon campaign ID.",
          "type": "string"
        },
        "campaignUrl": {
          "description": "URL to the Patreon campaign.",
          "type": "string"
        },
        "creationName": {
          "description": "Name of the creation/project.",
          "type": "string"
        },
        "creatorName": {
          "description": "Patreon creator name.",
          "type": "string"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "imageUrl": {
          "description": "Campaign image URL.",
          "type": "string"
        },
        "lastSyncedAt": {
          "description": "When the campaign data was last fetched.",
          "format": "datetime",
          "type": "string"
        },
        "patronCount": {
          "description": "Number of patrons.",
          "type": "integer"
        },
        "postCount": {
          "description": "Number of posts.",
          "type": "integer"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2",
            "2x1"
          ],
          "type": "string"
        },
        "type": {
          "const": "patreon",
          "description": "Card type discriminator.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "campaignId",
        "creatorName",
        "campaignUrl"
      ],
      "type": "object"
    },
    "widgetReddit": {
      "description": "A Reddit profile widget card.",
      "properties": {
        "avatarUrl": {
          "description": "Reddit avatar URL.",
          "type": "string"
        },
        "commentKarma": {
          "description": "Comment karma.",
          "type": "integer"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "karma": {
          "description": "Total karma.",
          "type": "integer"
        },
        "lastSyncedAt": {
          "description": "When the Reddit data was last fetched.",
          "format": "datetime",
          "type": "string"
        },
        "linkKarma": {
          "description": "Link karma.",
          "type": "integer"
        },
        "profileUrl": {
          "description": "Reddit profile URL.",
          "type": "string"
        },
        "recentPosts": {
          "description": "Recent posts.",
          "items": {
            "ref": "#redditPost",
            "type": "ref"
          },
          "type": "array"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2",
            "2x1"
          ],
          "type": "string"
        },
        "type": {
          "const": "reddit",
          "description": "Card type discriminator.",
          "type": "string"
        },
        "username": {
          "description": "Reddit username.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "username",
        "profileUrl"
      ],
      "type": "object"
    },
    "widgetSubstack": {
      "description": "A Substack publication widget card.",
      "properties": {
        "authorName": {
          "description": "Author name.",
          "type": "string"
        },
        "coverImageUrl": {
          "description": "Publication cover image URL.",
          "type": "string"
        },
        "description": {
          "description": "Publication description.",
          "type": "string"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "imageUrl": {
          "description": "Publication image URL.",
          "type": "string"
        },
        "lastSyncedAt": {
          "description": "When the publication data was last fetched.",
          "format": "datetime",
          "type": "string"
        },
        "postCount": {
          "description": "Number of posts.",
          "type": "integer"
        },
        "publicationId": {
          "description": "Substack publication ID.",
          "type": "string"
        },
        "publicationName": {
          "description": "Substack publication name.",
          "type": "string"
        },
        "publicationUrl": {
          "description": "URL to the Substack publication.",
          "type": "string"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2",
            "2x1"
          ],
          "type": "string"
        },
        "subscriberCount": {
          "description": "Number of subscribers.",
          "type": "integer"
        },
        "type": {
          "const": "substack",
          "description": "Card type discriminator.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "publicationId",
        "publicationName",
        "publicationUrl"
      ],
      "type": "object"
    },
    "widgetTealfm": {
      "description": "A teal.fm recently played tracks widget card.",
      "properties": {
        "coverArtNotice": {
          "description": "Copyright notice for cover art images.",
          "type": "string"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "lastSyncedAt": {
          "description": "When the play data was last fetched from the PDS.",
          "format": "datetime",
          "type": "string"
        },
        "plays": {
          "description": "Recently played tracks.",
          "items": {
            "ref": "#tealfmPlay",
            "type": "ref"
          },
          "type": "array"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2"
          ],
          "type": "string"
        },
        "source": {
          "description": "Data source for the widget. 'lastfm' for imported Last.fm scrobbles, 'tealfm' (default) for native AT Protocol plays.",
          "knownValues": [
            "tealfm",
            "lastfm"
          ],
          "type": "string"
        },
        "type": {
          "const": "tealfm",
          "description": "Card type discriminator.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "plays"
      ],
      "type": "object"
    },
    "widgetTwitch": {
      "description": "A Twitch channel widget card.",
      "properties": {
        "displayName": {
          "description": "Twitch display name.",
          "type": "string"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "isLive": {
          "description": "Whether the channel is currently live.",
          "type": "boolean"
        },
        "lastSyncedAt": {
          "description": "When the channel data was last fetched.",
          "format": "datetime",
          "type": "string"
        },
        "profileImageUrl": {
          "description": "Twitch profile image URL.",
          "type": "string"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2",
            "2x1"
          ],
          "type": "string"
        },
        "streamGame": {
          "description": "Current stream game/category.",
          "type": "string"
        },
        "streamTitle": {
          "description": "Current stream title.",
          "type": "string"
        },
        "type": {
          "const": "twitch",
          "description": "Card type discriminator.",
          "type": "string"
        },
        "username": {
          "description": "Twitch username.",
          "type": "string"
        },
        "viewerCount": {
          "description": "Current viewer count.",
          "type": "integer"
        }
      },
      "required": [
        "id",
        "type",
        "username"
      ],
      "type": "object"
    },
    "widgetVideo": {
      "description": "A video widget card.",
      "properties": {
        "alt": {
          "description": "Alt text for accessibility.",
          "maxLength": 1000,
          "type": "string"
        },
        "aspectRatio": {
          "description": "Video aspect ratio.",
          "ref": "#videoAspectRatio",
          "type": "ref"
        },
        "createdAt": {
          "description": "When the video was uploaded.",
          "format": "datetime",
          "type": "string"
        },
        "did": {
          "description": "Author DID for constructing PDS blob URLs.",
          "type": "string"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "loop": {
          "description": "Whether the video loops. Defaults to true.",
          "type": "boolean"
        },
        "muted": {
          "description": "Whether the video is muted. Defaults to true.",
          "type": "boolean"
        },
        "showOverlay": {
          "description": "Whether to show the title overlay. Defaults to false.",
          "type": "boolean"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2",
            "2x1"
          ],
          "type": "string"
        },
        "title": {
          "description": "Video title overlay.",
          "maxLength": 100,
          "type": "string"
        },
        "type": {
          "const": "video",
          "description": "Card type discriminator.",
          "type": "string"
        },
        "videoBlobRef": {
          "description": "Reference to the uploaded video blob.",
          "type": "blob"
        }
      },
      "required": [
        "id",
        "type",
        "videoBlobRef",
        "did"
      ],
      "type": "object"
    },
    "widgetYoutube": {
      "description": "A YouTube channel widget card.",
      "properties": {
        "channelId": {
          "description": "YouTube channel ID.",
          "type": "string"
        },
        "channelName": {
          "description": "YouTube channel name.",
          "type": "string"
        },
        "channelUrl": {
          "description": "URL to the YouTube channel.",
          "type": "string"
        },
        "enabled": {
          "description": "Whether the widget is visible on the public page. Defaults to true.",
          "type": "boolean"
        },
        "id": {
          "description": "Unique identifier for the card.",
          "type": "string"
        },
        "lastSyncedAt": {
          "description": "When the video data was last fetched.",
          "format": "datetime",
          "type": "string"
        },
        "latestVideo": {
          "description": "The latest video from the channel.",
          "ref": "#youtubeVideo",
          "type": "ref"
        },
        "size": {
          "description": "Widget display size. Default: 1x1.",
          "knownValues": [
            "1x1",
            "1x2",
            "2x2",
            "2x1"
          ],
          "type": "string"
        },
        "type": {
          "const": "youtube",
          "description": "Card type discriminator.",
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "channelId",
        "channelName",
        "channelUrl"
      ],
      "type": "object"
    },
    "youtubeVideo": {
      "description": "A YouTube video.",
      "properties": {
        "isShort": {
          "description": "Whether this is a YouTube Short.",
          "type": "boolean"
        },
        "publishedAt": {
          "description": "When the video was published.",
          "type": "string"
        },
        "title": {
          "description": "Video title.",
          "type": "string"
        },
        "videoId": {
          "description": "YouTube video ID.",
          "type": "string"
        }
      },
      "required": [
        "videoId",
        "title",
        "publishedAt"
      ],
      "type": "object"
    }
  },
  "id": "me.linkna.linkinbio",
  "lexicon": 1
}
```
