# us.polhem.blog.post

> Published by [polhem.us](https://lexicon.garden/identity/did:plc:p5a4pydyirvdkmc3lhw2iykp)

✓ This is the authoritative definition for this NSID.

## Description

Posts on my personal blog (https://polhem.us)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:p5a4pydyirvdkmc3lhw2iykp/us.polhem.blog.post)
- [Documentation](https://lexicon.garden/lexicon/did:plc:p5a4pydyirvdkmc3lhw2iykp/us.polhem.blog.post/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:p5a4pydyirvdkmc3lhw2iykp/us.polhem.blog.post/examples)

## Definitions

### `us.polhem.blog.post`

**Type**: `record`

Record describing a blog post.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `slug` | `string` | Yes |  |
| `tags` | `array` | No |  |
| `title` | `string` | Yes |  |
| `images` | `array` | No |  |
| `content` | `string` | Yes |  |
| `excerpt` | `string` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `visibility` | `string` | No | Tells the visibility of the article to AppView. |
| `featuredImage` | `ref` → `app.bsky.embed.images#image` | No |  |

## Raw Schema

```json
{
  "id": "us.polhem.blog.post",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "title",
          "content",
          "slug",
          "createdAt"
        ],
        "properties": {
          "slug": {
            "type": "string",
            "maxLength": 100
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "at-uri",
              "description": "Reference (AT-URI) to a tag record (us.polhem.blog.tag)."
            }
          },
          "title": {
            "type": "string",
            "maxLength": 1000
          },
          "images": {
            "type": "array",
            "items": {
              "ref": "app.bsky.embed.images#image",
              "type": "ref"
            }
          },
          "content": {
            "type": "string",
            "maxLength": 100000
          },
          "excerpt": {
            "type": "string",
            "maxLength": 1000
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "visibility": {
            "enum": [
              "public",
              "url",
              "author"
            ],
            "type": "string",
            "default": "public",
            "description": "Tells the visibility of the article to AppView."
          },
          "featuredImage": {
            "ref": "app.bsky.embed.images#image",
            "type": "ref"
          }
        }
      },
      "description": "Record describing a blog post."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Posts on my personal blog (https://polhem.us)"
}
```
