# org.swappulse.journal

> Published by [bridge.swappulse.org](https://lexicon.garden/identity/did:plc:jwoatauidzr4lollmro2gh35)

## Description

A collector's published journal entry, mirrored to AT Protocol as a real org.swappulse.journal record so journals are portable and discoverable across instances.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:jwoatauidzr4lollmro2gh35/org.swappulse.journal)
- [Documentation](https://lexicon.garden/lexicon/did:plc:jwoatauidzr4lollmro2gh35/org.swappulse.journal/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:jwoatauidzr4lollmro2gh35/org.swappulse.journal/examples)

## Definitions

### `org.swappulse.journal`

**Type**: `record`

A published collector journal entry.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `body` | `string` | Yes |  |
| `tags` | `array` | No |  |
| `title` | `string` | Yes |  |
| `subtitle` | `string` | No |  |
| `authorDid` | `string` (did) | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `likeCount` | `integer` | No |  |
| `authorName` | `string` | No |  |
| `visibility` | `string` | Yes |  |
| `publishedAt` | `string` (datetime) | No |  |
| `authorAvatar` | `string` (uri) | No |  |
| `authorHandle` | `string` | No |  |
| `coverImageUri` | `string` (uri) | No |  |
| `embeddedStats` | `object` | No |  |
| `embeddedCardUris` | `array` | No |  |

## Raw Schema

```json
{
  "id": "org.swappulse.journal",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "title",
          "body",
          "visibility",
          "createdAt"
        ],
        "properties": {
          "body": {
            "type": "string",
            "maxLength": 50000
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 30
            },
            "maxLength": 10
          },
          "title": {
            "type": "string",
            "maxLength": 200
          },
          "subtitle": {
            "type": "string",
            "maxLength": 300
          },
          "authorDid": {
            "type": "string",
            "format": "did"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "likeCount": {
            "type": "integer"
          },
          "authorName": {
            "type": "string"
          },
          "visibility": {
            "type": "string",
            "knownValues": [
              "public",
              "followers",
              "private"
            ]
          },
          "publishedAt": {
            "type": "string",
            "format": "datetime"
          },
          "authorAvatar": {
            "type": "string",
            "format": "uri"
          },
          "authorHandle": {
            "type": "string"
          },
          "coverImageUri": {
            "type": "string",
            "format": "uri"
          },
          "embeddedStats": {
            "type": "object",
            "properties": {
              "totalCards": {
                "type": "integer"
              },
              "rarestCardUri": {
                "type": "string"
              },
              "setCompletionPercent": {
                "type": "number"
              },
              "totalCollectionValue": {
                "type": "number"
              }
            }
          },
          "embeddedCardUris": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "at-uri"
            },
            "maxLength": 20
          }
        }
      },
      "description": "A published collector journal entry."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1,
  "description": "A collector's published journal entry, mirrored to AT Protocol as a real org.swappulse.journal record so journals are portable and discoverable across instances."
}
```
