ai.syui.log.post

syui.ai

Documentation

Record containing a blog post.

main record

Record containing a blog post.

Record Key tid Timestamp-based ID

Properties

content string Required

The content of the post (markdown).

maxLength: 1000000 bytesmaxGraphemes: 100000 graphemes
createdAt string datetime Required

Client-declared timestamp when this post was originally created.

lang string Optional

Language code of the original content (e.g., 'ja', 'en').

maxLength: 10 bytes
title string Required

The title of the post.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
translations ref #translationMap Optional

Translations of the post in other languages.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "title",
      "content",
      "createdAt"
    ],
    "properties": {
      "lang": {
        "type": "string",
        "maxLength": 10,
        "description": "Language code of the original content (e.g., 'ja', 'en')."
      },
      "title": {
        "type": "string",
        "maxLength": 3000,
        "description": "The title of the post.",
        "maxGraphemes": 300
      },
      "content": {
        "type": "string",
        "maxLength": 1000000,
        "description": "The content of the post (markdown).",
        "maxGraphemes": 100000
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp when this post was originally created."
      },
      "translations": {
        "ref": "#translationMap",
        "type": "ref",
        "description": "Translations of the post in other languages."
      }
    }
  },
  "description": "Record containing a blog post."
}
translation object

A translation of a post.

Properties

content string Optional

No description available.

maxLength: 1000000 bytesmaxGraphemes: 100000 graphemes
title string Optional

No description available.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
View raw schema
{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 3000,
      "maxGraphemes": 300
    },
    "content": {
      "type": "string",
      "maxLength": 1000000,
      "maxGraphemes": 100000
    }
  },
  "description": "A translation of a post."
}
translationMap object

Map of language codes to translations.

Properties

View raw schema
{
  "type": "object",
  "properties": {
    "en": {
      "ref": "#translation",
      "type": "ref"
    },
    "ja": {
      "ref": "#translation",
      "type": "ref"
    }
  },
  "description": "Map of language codes to translations."
}

Lexicon Garden

@