com.ohmmmm.post
A post: one thing a person publishes, with a Markdown body, optional attachments, and optional information about where it first appeared. These fields are fixed and the same on every site; a site adds its own under `site`.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | ohmmmm.com |
| Commit rev | 3n32pjxe3ms2m |
| Indexed |
Checks
Validmissing-primary-descriptiondefs.mainThe record has no description.large-stringdefs.main.record.properties.bodymaxLength is over 20 KB. Use a blob for content that large.unlimited-stringdefs.main.record.properties.formNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"audio": {
"properties": {
"caption": {
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
},
"durationMs": {
"minimum": 0,
"type": "integer"
},
"file": {
"accept": [
"audio/*"
],
"description": "A copy of the recording kept in the author's repository.",
"type": "blob"
},
"id": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"sourceUrl": {
"description": "Where the original lives or came from, when that is somewhere other than this repository.",
"format": "uri",
"type": "string"
}
},
"required": [
"id",
"file"
],
"type": "object"
},
"file": {
"properties": {
"caption": {
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
},
"file": {
"accept": [
"application/*",
"text/*"
],
"description": "A copy of the file kept in the author's repository.",
"type": "blob"
},
"id": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"sourceUrl": {
"description": "Where the original lives or came from, when that is somewhere other than this repository.",
"format": "uri",
"type": "string"
}
},
"required": [
"id",
"file"
],
"type": "object"
},
"image": {
"properties": {
"alt": {
"maxGraphemes": 2000,
"maxLength": 20000,
"type": "string"
},
"caption": {
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
},
"file": {
"accept": [
"image/*"
],
"description": "A copy of the image kept in the author's repository. It may be smaller than the original.",
"type": "blob"
},
"height": {
"minimum": 1,
"type": "integer"
},
"id": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"sourceUrl": {
"description": "Where the original lives or came from, when that is somewhere other than this repository.",
"format": "uri",
"type": "string"
},
"width": {
"minimum": 1,
"type": "integer"
}
},
"required": [
"id",
"file"
],
"type": "object"
},
"link": {
"properties": {
"description": {
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
},
"image": {
"accept": [
"image/*"
],
"description": "A copy of the page's preview image.",
"type": "blob"
},
"siteName": {
"description": "The name of the website the page is on.",
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"title": {
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
},
"uri": {
"format": "uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
},
"main": {
"key": "any",
"record": {
"properties": {
"body": {
"description": "CommonMark, with footnotes ([^1] in the text and [^1]: for the note). Use media:ID as an image destination to place an attachment at that point in the body. The ID refers to an entry in this post's media array.",
"maxLength": 262144,
"type": "string"
},
"canonicalUrl": {
"description": "The post's address on the author's public website. It is the same whoever can see the post: a post that is not public holds the address it would have if it were.",
"format": "uri",
"type": "string"
},
"connect": {
"description": "What this post branches from: earlier posts or web pages. Each entry is an AT URI or an HTTP(S) URL.",
"items": {
"format": "uri",
"type": "string"
},
"maxLength": 32,
"type": "array"
},
"form": {
"description": "What kind of object this post is, identified from its format. A writing has a title and free-form content; a note has no title. An image, gallery, video, audio, file, or media post holds only attachments. A link, embed, quote, list, or code post holds only that. Other is anything else. The list can grow: treat a form you do not know as other, and show the title, body, and attachments.",
"knownValues": [
"writing",
"note",
"image",
"gallery",
"video",
"audio",
"file",
"media",
"link",
"embed",
"quote",
"list",
"code",
"other"
],
"type": "string"
},
"label": {
"description": "The author's name for the section of their site this post belongs to, such as Writings or Photographs. Free-form.",
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"link": {
"description": "For a link or embed post: the page it points to, as that page described itself when the post was made.",
"ref": "#link",
"type": "ref"
},
"media": {
"description": "Attachments keyed by IDs unique within this post. References in the body determine their placement. The kinds can grow: skip an attachment of a kind you do not know.",
"items": {
"refs": [
"#image",
"#video",
"#audio",
"#file"
],
"type": "union"
},
"type": "array"
},
"publishedAt": {
"format": "datetime",
"type": "string"
},
"site": {
"description": "Optional data the fixed fields have no place for. An object whose $type names the schema that declares each of its fields. This is the only place for anything the fixed schema does not define.",
"type": "unknown"
},
"slug": {
"description": "The last part of the post's address on the author's website: lowercase Latin letters and digits joined by single hyphens. It can be changed, and the record stays the same record. A record with no slug uses its own key.",
"maxLength": 120,
"type": "string"
},
"source": {
"description": "Where this post first appeared, if not on the author's own website.",
"ref": "#source",
"type": "ref"
},
"sublabel": {
"description": "The author's name for a group inside the label, such as a series or an album. Free-form.",
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"subtitle": {
"description": "An optional line shown under the title.",
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
},
"title": {
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
},
"updatedAt": {
"description": "When the post was last changed after it was published.",
"format": "datetime",
"type": "string"
}
},
"required": [
"body",
"publishedAt",
"canonicalUrl"
],
"type": "object"
},
"type": "record"
},
"source": {
"properties": {
"id": {
"description": "The platform's own identifier for the post.",
"maxLength": 500,
"type": "string"
},
"platform": {
"description": "The identifier of the platform the post first appeared on, in lower case, such as substack.",
"maxLength": 100,
"type": "string"
},
"publishedAt": {
"description": "When it was published there.",
"format": "datetime",
"type": "string"
},
"uri": {
"description": "The post's address on that platform.",
"format": "uri",
"type": "string"
}
},
"required": [
"platform",
"uri"
],
"type": "object"
},
"video": {
"properties": {
"caption": {
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
},
"durationMs": {
"minimum": 0,
"type": "integer"
},
"file": {
"accept": [
"video/*"
],
"description": "A copy of the video kept in the author's repository. It may be smaller than the original.",
"type": "blob"
},
"id": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"poster": {
"accept": [
"image/*"
],
"description": "A still image shown before the video plays.",
"type": "blob"
},
"sourceUrl": {
"description": "Where the original lives or came from, when that is somewhere other than this repository.",
"format": "uri",
"type": "string"
}
},
"required": [
"id",
"file"
],
"type": "object"
}
},
"description": "A post: one thing a person publishes, with a Markdown body, optional attachments, and optional information about where it first appeared. These fields are fixed and the same on every site; a site adds its own under `site`.",
"id": "com.ohmmmm.post",
"lexicon": 1
}