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
Kindrecord
Record keyany
Authorityohmmmm.com
Commit rev3n32pjxe3ms2m
Indexed

Record

record · key any

Properties

body

requiredstring

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

canonicalUrl

requiredstring · uri

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.

connect

array

What this post branches from: earlier posts or web pages. Each entry is an AT URI or an HTTP(S) URL.

  • maxLength: 32
itemsstring · uri

form

string

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

label

string

The author's name for the section of their site this post belongs to, such as Writings or Photographs. Free-form.

  • maxLength: 1000
  • maxGraphemes: 100

media

array

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.

itemsunion

publishedAt

requiredstring · datetime

site

unknown

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.

slug

string

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

Where this post first appeared, if not on the author's own website.

Reference

sublabel

string

The author's name for a group inside the label, such as a series or an album. Free-form.

  • maxLength: 1000
  • maxGraphemes: 100

subtitle

string

An optional line shown under the title.

  • maxLength: 3000
  • maxGraphemes: 300

title

string
  • maxLength: 3000
  • maxGraphemes: 300

updatedAt

string · datetime

When the post was last changed after it was published.

#audio

object

Properties

caption

string
  • maxLength: 10000
  • maxGraphemes: 1000

durationMs

integer
  • minimum: 0

file

requiredblob

A copy of the recording kept in the author's repository.

  • accept: audio/*

id

requiredstring
  • minLength: 1
  • maxLength: 64

sourceUrl

string · uri

Where the original lives or came from, when that is somewhere other than this repository.

#file

object

Properties

caption

string
  • maxLength: 10000
  • maxGraphemes: 1000

file

requiredblob

A copy of the file kept in the author's repository.

  • accept: application/*, text/*

id

requiredstring
  • minLength: 1
  • maxLength: 64

sourceUrl

string · uri

Where the original lives or came from, when that is somewhere other than this repository.

#image

object

Properties

alt

string
  • maxLength: 20000
  • maxGraphemes: 2000

caption

string
  • maxLength: 10000
  • maxGraphemes: 1000

file

requiredblob

A copy of the image kept in the author's repository. It may be smaller than the original.

  • accept: image/*

height

integer
  • minimum: 1

id

requiredstring
  • minLength: 1
  • maxLength: 64

sourceUrl

string · uri

Where the original lives or came from, when that is somewhere other than this repository.

width

integer
  • minimum: 1

#source

object

Properties

id

string

The platform's own identifier for the post.

  • maxLength: 500

platform

requiredstring

The identifier of the platform the post first appeared on, in lower case, such as substack.

  • maxLength: 100

publishedAt

string · datetime

When it was published there.

uri

requiredstring · uri

The post's address on that platform.

#video

object

Properties

caption

string
  • maxLength: 10000
  • maxGraphemes: 1000

durationMs

integer
  • minimum: 0

file

requiredblob

A copy of the video kept in the author's repository. It may be smaller than the original.

  • accept: video/*

id

requiredstring
  • minLength: 1
  • maxLength: 64

poster

blob

A still image shown before the video plays.

  • accept: image/*

sourceUrl

string · uri

Where the original lives or came from, when that is somewhere other than this repository.

Similar lexicons

semantic match

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

  • A post by a creator — an announcement, a devlog, a note to an audience. Posts are written by creators; a user's contributions are comments, reviews and votes rather than posts of their own. A post is long-form: it may carry headings, lists, code, quotes and images, which is why its content is markdown rather than the plain text and facets a microblog post uses.

  • A post published through the kualta.dev publisher. This record is the original; each platform copy is listed under syndication.

  • A blog post

  • at.noted.post

    record

    A post on a website

  • A quoted record, optionally narrowed to a passage of it.