site.mochott.minisite

tokimeki.blue

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "articleRef": {
      "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": {
      "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"
    },
    "main": {
      "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"
    }
  },
  "description": "A minisite record. Represents a curated collection of articles with its own branding and URL.",
  "id": "site.mochott.minisite",
  "lexicon": 1,
  "revision": 3
}

Validate Record

Validate a record against site.mochott.minisite

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:4tr5dqti7nmu6g2czpthntak
CID
bafyreidg4kdy4gxrt42cn4qylngy6gh6reablu3qmssls4ja635kuhyzgi
Indexed At
2026-10-07 14:08 UTC
AT-URI
at://did:plc:4tr5dqti7nmu6g2czpthntak/com.atproto.lexicon.schema/site.mochott.minisite

Version History (3 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A blog article record. Contains rich text content, metadata, and optional media attachments.

  • A publication profile record. Acts as a signaling record indicating the account hosts a mochott publication.

  • Configuration for a Mooring site. The record at rkey 'self' is the owner's default site; other rkeys are reserved for possible future multi-site support.

Lexicon Garden

@