site.mochott.article

tokimeki.blue

Documentation

Record representing a single blog article published to a publication.

main record

Record representing a single blog article published to a publication.

Record Key tid Timestamp-based ID

Properties

category string Optional

Primary category of the article.

maxLength: 100 bytes
content ref #tiptapDocument Optional

Rich text content in TipTap editor JSON format.

coverImage blob Optional

Cover image displayed at the top of the article and in previews.

maxSize: 1.0 MB
createdAt string datetime Required

Publication timestamp of the article. Authors may set it to a past date (e.g. when migrating content); it is never later than the record write time.

description string Optional

Short summary or excerpt of the article, used for previews and SEO.

maxLength: 30000 bytesmaxGraphemes: 3000 graphemes
minisiteCategory ref #minisiteCategory Optional

Category of the article within a minisite. Only meaningful while the article belongs to that minisite and the minisite still defines the slug.

path string Optional

Custom URL path slug for the article. Used to construct human-readable URLs.

maxLength: 500 bytes
profile string at-uri Required

AT URI of the publication profile this article belongs to.

tags array of string Optional

Tags for categorizing the article.

maxLength: 8 items
textContent string Optional

Plain text representation of the article content, primarily for search indexing and text-only consumers.

maxLength: 100000 bytes
title string Required

Title of the article.

maxLength: 5000 bytesmaxGraphemes: 500 graphemes
topic string Optional

Slug of the platform writing topic (投稿のお題) this article participates in.

maxLength: 100 bytes
updatedAt string datetime Optional

Timestamp when the article was last updated.

View raw schema
{
  "description": "Record representing a single blog article published to a publication.",
  "key": "tid",
  "record": {
    "properties": {
      "blobs": {
        "description": "Blob references for media embedded within the article content.",
        "items": {
          "ref": "site.mochott.defs#blobMetadata",
          "type": "ref"
        },
        "type": "array"
      },
      "category": {
        "description": "Primary category of the article.",
        "maxLength": 100,
        "type": "string"
      },
      "content": {
        "description": "Rich text content in TipTap editor JSON format.",
        "ref": "#tiptapDocument",
        "type": "ref"
      },
      "coverImage": {
        "accept": [
          "image/png",
          "image/jpeg",
          "image/webp"
        ],
        "description": "Cover image displayed at the top of the article and in previews.",
        "maxSize": 1000000,
        "type": "blob"
      },
      "createdAt": {
        "description": "Publication timestamp of the article. Authors may set it to a past date (e.g. when migrating content); it is never later than the record write time.",
        "format": "datetime",
        "type": "string"
      },
      "description": {
        "description": "Short summary or excerpt of the article, used for previews and SEO.",
        "maxGraphemes": 3000,
        "maxLength": 30000,
        "type": "string"
      },
      "minisiteCategory": {
        "description": "Category of the article within a minisite. Only meaningful while the article belongs to that minisite and the minisite still defines the slug.",
        "ref": "#minisiteCategory",
        "type": "ref"
      },
      "path": {
        "description": "Custom URL path slug for the article. Used to construct human-readable URLs.",
        "maxLength": 500,
        "type": "string"
      },
      "profile": {
        "description": "AT URI of the publication profile this article belongs to.",
        "format": "at-uri",
        "type": "string"
      },
      "tags": {
        "description": "Tags for categorizing the article.",
        "items": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "maxLength": 8,
        "type": "array"
      },
      "textContent": {
        "description": "Plain text representation of the article content, primarily for search indexing and text-only consumers.",
        "maxLength": 100000,
        "type": "string"
      },
      "title": {
        "description": "Title of the article.",
        "maxGraphemes": 500,
        "maxLength": 5000,
        "type": "string"
      },
      "topic": {
        "description": "Slug of the platform writing topic (投稿のお題) this article participates in.",
        "maxLength": 100,
        "type": "string"
      },
      "updatedAt": {
        "description": "Timestamp when the article was last updated.",
        "format": "datetime",
        "type": "string"
      }
    },
    "required": [
      "profile",
      "title",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}
minisiteCategory object

A reference to a category defined in a site.mochott.minisite record.

Properties

minisite string at-uri Required

AT URI of the site.mochott.minisite record that defines the category.

slug string Required

Slug of a category in that minisite's categories.

maxLength: 64 bytes
View raw schema
{
  "description": "A reference to a category defined in a site.mochott.minisite record.",
  "properties": {
    "minisite": {
      "description": "AT URI of the site.mochott.minisite record that defines the category.",
      "format": "at-uri",
      "type": "string"
    },
    "slug": {
      "description": "Slug of a category in that minisite's categories.",
      "maxLength": 64,
      "type": "string"
    }
  },
  "required": [
    "minisite",
    "slug"
  ],
  "type": "object"
}
tiptapDocument object

A TipTap editor document node. Represents a recursive tree structure for rich text content.

Properties

attrs unknown Optional

Node-specific attributes.

content array of unknown Optional

Child nodes of this document node.

marks array of unknown Optional

Inline formatting marks applied to this node.

text string Optional

Text content for text-type nodes.

type string Required

Node type identifier (e.g. 'doc', 'paragraph', 'heading').

View raw schema
{
  "description": "A TipTap editor document node. Represents a recursive tree structure for rich text content.",
  "properties": {
    "attrs": {
      "description": "Node-specific attributes.",
      "type": "unknown"
    },
    "content": {
      "description": "Child nodes of this document node.",
      "items": {
        "type": "unknown"
      },
      "type": "array"
    },
    "marks": {
      "description": "Inline formatting marks applied to this node.",
      "items": {
        "type": "unknown"
      },
      "type": "array"
    },
    "text": {
      "description": "Text content for text-type nodes.",
      "type": "string"
    },
    "type": {
      "description": "Node type identifier (e.g. 'doc', 'paragraph', 'heading').",
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}

Lexicon Garden

@