Profile for a mochott publication. Each account has at most one profile, stored with the fixed record key 'self'.
Record Key
literal:self
Fixed literal value
Properties
backgroundColor
string
Optional
Background theme color as a CSS color value.
maxLength: 50 bytescreatedAt
string
datetime
Required
Timestamp when the publication was created.
description
string
Optional
Short description of the publication, shown in listings and feeds.
maxLength: 3000 bytesmaxGraphemes: 1000 graphemesicon
blob
Optional
Icon or logo image for the publication.
maxSize: 1.0 MBname
string
Required
Display name of the publication.
maxLength: 300 bytesmaxGraphemes: 100 graphemesprimaryColor
string
Optional
Primary theme color as a CSS color value (e.g. '#3b82f6').
maxLength: 50 bytesurl
string
uri
Optional
External URL for the publication's website.
View raw schema
{
"key": "literal:self",
"type": "record",
"record": {
"type": "object",
"required": [
"name",
"createdAt"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "External URL for the publication's website."
},
"icon": {
"type": "blob",
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"maxSize": 1000000,
"description": "Icon or logo image for the publication."
},
"name": {
"type": "string",
"maxLength": 300,
"description": "Display name of the publication.",
"maxGraphemes": 100
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when the publication was created."
},
"description": {
"type": "string",
"maxLength": 3000,
"description": "Short description of the publication, shown in listings and feeds.",
"maxGraphemes": 1000
},
"primaryColor": {
"type": "string",
"maxLength": 50,
"description": "Primary theme color as a CSS color value (e.g. '#3b82f6')."
},
"backgroundColor": {
"type": "string",
"maxLength": 50,
"description": "Background theme color as a CSS color value."
}
}
},
"description": "Profile for a mochott publication. Each account has at most one profile, stored with the fixed record key 'self'."
}