site.mochott.minisite
Record representing a minisite — a themed sub-site that groups selected articles under a custom slug and design.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | mochott.site |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"articleRef": {
"description": "A reference to a record included in a minisite: an article, or a comic chapter or strip.",
"properties": {
"uri": {
"description": "AT URI of the referenced record (site.mochott.article, work.sequential.chapter or work.sequential.strip).",
"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 the records included in this minisite: articles (site.mochott.article) and comic works (work.sequential.chapter, work.sequential.strip).",
"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
}