site.mochott.article
Record representing a single blog article published to a publication.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | mochott.site |
| Indexed |
Showing version bafyreig3auc5mzlx3zwuriidv4uaw7eo7av6mn2e6nxfl7l5riy3c5lgzi. Show the latest
Checks
Validlarge-stringdefs.main.record.properties.descriptionmaxLength is over 20 KB. Use a blob for content that large.large-stringdefs.main.record.properties.textContentmaxLength is over 20 KB. Use a blob for content that large.unlimited-stringdefs.tiptapDocument.properties.textNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.tiptapDocument.properties.typeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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"
},
"labels": {
"description": "Self-label values (content warnings) for this article.",
"refs": [
"com.atproto.label.defs#selfLabels"
],
"type": "union"
},
"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"
},
"slug": {
"description": "Author-chosen URL slug (lowercase letters, digits and hyphens), unique among the author's articles. Managed by mochott; third-party clients should not set it.",
"maxLength": 128,
"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"
},
"via": {
"description": "Identifier of the third-party client that wrote this record (e.g. 'tech.tokimeki'). Set only by clients other than mochott itself; mochott indexes such records from the firehose.",
"maxLength": 256,
"type": "string"
}
},
"required": [
"profile",
"title",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"minisiteCategory": {
"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": {
"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"
}
},
"description": "A blog article record. Contains rich text content, metadata, and optional media attachments.",
"id": "site.mochott.article",
"lexicon": 1,
"revision": 3
}