site.mochott.minisite

tokimeki.blue

Documentation

Record representing a minisite — a themed sub-site that groups selected articles under a custom slug and design.

main record

Record representing a minisite — a themed sub-site that groups selected articles under a custom slug and design.

Record Key tid Timestamp-based ID

Properties

accentColor string Optional

Accent theme color as a CSS color value.

maxLength: 50 bytes
articles array of ref #articleRef Optional

Ordered references to articles included in this minisite.

maxLength: 1000 items
backgroundColor string Optional

Background theme color as a CSS color value.

maxLength: 50 bytes
categories array of ref #category Optional

Ordered categories that articles of this minisite can be filed under (site navigation). Independent of the platform-wide article category.

maxLength: 20 items
createdAt string datetime Required

Timestamp when the minisite was created.

description string Optional

Short description of the minisite, shown in listings and metadata.

maxLength: 3000 bytesmaxGraphemes: 1000 graphemes
designType string Optional

Visual layout style for the minisite.

maxLength: 50 bytes
Known values: blog, document, portfolio
globalSlug string Optional

Globally unique slug for custom domain or top-level URL routing.

maxLength: 100 bytes
icon blob Optional

Icon or logo image for the minisite.

maxSize: 1.0 MB
name string Required

Display name of the minisite.

maxLength: 300 bytesmaxGraphemes: 100 graphemes
primaryColor string Optional

Primary theme color as a CSS color value (e.g. '#3b82f6').

maxLength: 50 bytes
slug string Required

URL-safe identifier for the minisite. Must be lowercase alphanumeric with hyphens or underscores.

maxLength: 100 bytes
sortMode string Optional

How article listings are ordered. 'auto' sorts newest first by publish date; 'manual' uses the curator-defined order of the articles array. Defaults to 'auto'.

maxLength: 50 bytes
Known values: auto, manual
sourceRef string Optional

Branch or ref name for the source repository. Defaults to 'main'.

maxLength: 200 bytes
sourceRepo string Optional

Repository identifier when sourceType is 'tangled'.

maxLength: 500 bytes
sourceType string Optional

Content source type for the minisite.

maxLength: 50 bytes
Known values: local, tangled
updatedAt string datetime Optional

Timestamp when the minisite was last updated.

View raw schema
{
  "description": "Record representing a minisite — a themed sub-site that groups selected articles under a custom slug and design.",
  "key": "tid",
  "record": {
    "properties": {
      "accentColor": {
        "description": "Accent theme color as a CSS color value.",
        "maxLength": 50,
        "type": "string"
      },
      "articles": {
        "description": "Ordered references to articles included in this minisite.",
        "items": {
          "ref": "#articleRef",
          "type": "ref"
        },
        "maxLength": 1000,
        "type": "array"
      },
      "backgroundColor": {
        "description": "Background theme color as a CSS color value.",
        "maxLength": 50,
        "type": "string"
      },
      "categories": {
        "description": "Ordered categories that articles of this minisite can be filed under (site navigation). Independent of the platform-wide article category.",
        "items": {
          "ref": "#category",
          "type": "ref"
        },
        "maxLength": 20,
        "type": "array"
      },
      "createdAt": {
        "description": "Timestamp when the minisite was created.",
        "format": "datetime",
        "type": "string"
      },
      "description": {
        "description": "Short description of the minisite, shown in listings and metadata.",
        "maxGraphemes": 1000,
        "maxLength": 3000,
        "type": "string"
      },
      "designType": {
        "description": "Visual layout style for the minisite.",
        "knownValues": [
          "blog",
          "document",
          "portfolio"
        ],
        "maxLength": 50,
        "type": "string"
      },
      "globalSlug": {
        "description": "Globally unique slug for custom domain or top-level URL routing.",
        "maxLength": 100,
        "type": "string"
      },
      "icon": {
        "accept": [
          "image/png",
          "image/jpeg",
          "image/webp"
        ],
        "description": "Icon or logo image for the minisite.",
        "maxSize": 1000000,
        "type": "blob"
      },
      "name": {
        "description": "Display name of the minisite.",
        "maxGraphemes": 100,
        "maxLength": 300,
        "type": "string"
      },
      "primaryColor": {
        "description": "Primary theme color as a CSS color value (e.g. '#3b82f6').",
        "maxLength": 50,
        "type": "string"
      },
      "slug": {
        "description": "URL-safe identifier for the minisite. Must be lowercase alphanumeric with hyphens or underscores.",
        "maxLength": 100,
        "type": "string"
      },
      "sortMode": {
        "description": "How article listings are ordered. 'auto' sorts newest first by publish date; 'manual' uses the curator-defined order of the articles array. Defaults to 'auto'.",
        "knownValues": [
          "auto",
          "manual"
        ],
        "maxLength": 50,
        "type": "string"
      },
      "sourceRef": {
        "description": "Branch or ref name for the source repository. Defaults to 'main'.",
        "maxLength": 200,
        "type": "string"
      },
      "sourceRepo": {
        "description": "Repository identifier when sourceType is 'tangled'.",
        "maxLength": 500,
        "type": "string"
      },
      "sourceType": {
        "description": "Content source type for the minisite.",
        "knownValues": [
          "local",
          "tangled"
        ],
        "maxLength": 50,
        "type": "string"
      },
      "updatedAt": {
        "description": "Timestamp when the minisite was last updated.",
        "format": "datetime",
        "type": "string"
      }
    },
    "required": [
      "name",
      "slug",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}
articleRef object

A reference to an article record included in a minisite.

Properties

uri string at-uri Required

AT URI of the referenced article record.

View raw schema
{
  "description": "A reference to an article record included in a minisite.",
  "properties": {
    "uri": {
      "description": "AT URI of the referenced article record.",
      "format": "at-uri",
      "type": "string"
    }
  },
  "required": [
    "uri"
  ],
  "type": "object"
}
category object

A category defined by a minisite.

Properties

name string Required

Display name of the category.

maxLength: 200 bytesmaxGraphemes: 50 graphemes
slug string Required

URL-safe identifier, unique within the minisite and stable once created. Lowercase alphanumeric and hyphens.

maxLength: 64 bytes
View raw schema
{
  "description": "A category defined by a minisite.",
  "properties": {
    "name": {
      "description": "Display name of the category.",
      "maxGraphemes": 50,
      "maxLength": 200,
      "type": "string"
    },
    "slug": {
      "description": "URL-safe identifier, unique within the minisite and stable once created. Lowercase alphanumeric and hyphens.",
      "maxLength": 64,
      "type": "string"
    }
  },
  "required": [
    "slug",
    "name"
  ],
  "type": "object"
}

Lexicon Garden

@