ai.syui.log.chat

lexicon.store View official

Documentation

Record containing a chat message. Compatible with site.standard.document.

main record

Record containing a chat message. Compatible with site.standard.document.

Record Key tid Timestamp-based ID

Properties

content union Optional

Open union for content. Supports markdown and other formats via $type.

coverImage blob Optional

Cover image. Less than 1MB.

maxSize: 1.0 MB
description string Optional

A brief description or excerpt from the message.

maxLength: 30000 bytesmaxGraphemes: 3000 graphemes
langs array of string language Optional

Indicates human language of message content.

maxLength: 3 items
parent string at-uri Optional

AT-URI of the parent message being replied to.

path string Optional

Combine with site URL to construct a canonical URL to the message.

publishedAt string datetime Required

Timestamp of the message's publish time.

root string at-uri Optional

AT-URI of the root message in a thread.

site string uri Required

Points to a publication record (at://) or a publication URL (https://).

tags array of string Optional

Tags to categorize the message.

textContent string Optional

Plaintext representation of the message content. Should not contain markdown or other formatting.

title string Required

Title of the message or thread topic.

maxLength: 5000 bytesmaxGraphemes: 500 graphemes
translations ref #translationMap Optional

Translations of the message in other languages.

updatedAt string datetime Optional

Timestamp of the message's last edit.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "site",
      "title",
      "publishedAt"
    ],
    "properties": {
      "path": {
        "type": "string",
        "description": "Combine with site URL to construct a canonical URL to the message."
      },
      "root": {
        "type": "string",
        "format": "at-uri",
        "description": "AT-URI of the root message in a thread."
      },
      "site": {
        "type": "string",
        "format": "uri",
        "description": "Points to a publication record (at://) or a publication URL (https://)."
      },
      "tags": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 1280,
          "maxGraphemes": 128
        },
        "description": "Tags to categorize the message."
      },
      "langs": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "language"
        },
        "maxLength": 3,
        "description": "Indicates human language of message content."
      },
      "title": {
        "type": "string",
        "maxLength": 5000,
        "description": "Title of the message or thread topic.",
        "maxGraphemes": 500
      },
      "parent": {
        "type": "string",
        "format": "at-uri",
        "description": "AT-URI of the parent message being replied to."
      },
      "content": {
        "refs": [],
        "type": "union",
        "closed": false,
        "description": "Open union for content. Supports markdown and other formats via $type."
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp of the message's last edit."
      },
      "coverImage": {
        "type": "blob",
        "accept": [
          "image/*"
        ],
        "maxSize": 1000000,
        "description": "Cover image. Less than 1MB."
      },
      "bskyPostRef": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "Strong reference to a Bluesky post."
      },
      "description": {
        "type": "string",
        "maxLength": 30000,
        "description": "A brief description or excerpt from the message.",
        "maxGraphemes": 3000
      },
      "publishedAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp of the message's publish time."
      },
      "textContent": {
        "type": "string",
        "description": "Plaintext representation of the message content. Should not contain markdown or other formatting."
      },
      "translations": {
        "ref": "#translationMap",
        "type": "ref",
        "description": "Translations of the message in other languages."
      }
    }
  },
  "description": "Record containing a chat message. Compatible with site.standard.document."
}
translation object

A translation of a chat message.

Properties

content string Optional

No description available.

maxLength: 1000000 bytesmaxGraphemes: 100000 graphemes
title string Optional

No description available.

maxLength: 5000 bytesmaxGraphemes: 500 graphemes
View raw schema
{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 5000,
      "maxGraphemes": 500
    },
    "content": {
      "type": "string",
      "maxLength": 1000000,
      "maxGraphemes": 100000
    }
  },
  "description": "A translation of a chat message."
}
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

@