# ai.rizom.brain.post

> Published by [rizom.ai](https://lexicon.garden/identity/did:plc:oehciuqunzskplljt3qnnncw)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:oehciuqunzskplljt3qnnncw/ai.rizom.brain.post)
- [Documentation](https://lexicon.garden/lexicon/did:plc:oehciuqunzskplljt3qnnncw/ai.rizom.brain.post/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:oehciuqunzskplljt3qnnncw/ai.rizom.brain.post/examples)

## Definitions

### `ai.rizom.brain.post`

**Type**: `record`

Markdown blog post distributed by a Rizom brain.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `body` | `string` | Yes |  |
| `title` | `string` | Yes |  |
| `format` | `string` | No |  |
| `series` | `string` | No |  |
| `topics` | `array` | No |  |
| `summary` | `string` | No |  |
| `brainDid` | `string` | No |  |
| `anchorDid` | `string` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `coverImage` | `ref` → `#coverImage` | No |  |
| `publishedAt` | `string` (datetime) | No |  |
| `seriesIndex` | `integer` | No |  |
| `canonicalUrl` | `string` (uri) | No |  |
| `sourceEntityId` | `string` | No |  |
| `sourceEntityType` | `string` | No |  |

### `ai.rizom.brain.post#coverImage`

**Type**: `object`

Cover image attached to the post.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `alt` | `string` | No |  |
| `blob` | `blob` | Yes |  |
| `width` | `integer` | No |  |
| `height` | `integer` | No |  |

## Raw Schema

```json
{
  "id": "ai.rizom.brain.post",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "title",
          "body",
          "createdAt"
        ],
        "properties": {
          "body": {
            "type": "string",
            "maxLength": 100000
          },
          "title": {
            "type": "string",
            "maxLength": 300
          },
          "format": {
            "type": "string",
            "knownValues": [
              "text/markdown"
            ]
          },
          "series": {
            "type": "string",
            "maxLength": 200
          },
          "topics": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxLength": 50
          },
          "summary": {
            "type": "string",
            "maxLength": 2000
          },
          "brainDid": {
            "type": "string"
          },
          "anchorDid": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "coverImage": {
            "ref": "#coverImage",
            "type": "ref"
          },
          "publishedAt": {
            "type": "string",
            "format": "datetime"
          },
          "seriesIndex": {
            "type": "integer"
          },
          "canonicalUrl": {
            "type": "string",
            "format": "uri"
          },
          "sourceEntityId": {
            "type": "string"
          },
          "sourceEntityType": {
            "type": "string",
            "knownValues": [
              "post"
            ]
          }
        }
      },
      "description": "Markdown blog post distributed by a Rizom brain."
    },
    "coverImage": {
      "type": "object",
      "required": [
        "blob"
      ],
      "properties": {
        "alt": {
          "type": "string",
          "maxLength": 1000
        },
        "blob": {
          "type": "blob"
        },
        "width": {
          "type": "integer"
        },
        "height": {
          "type": "integer"
        }
      },
      "description": "Cover image attached to the post."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
