place.pollen.feed.note

keith.pollen.place

Documentation

A note (comment) left on a post. Replies (one level deep) reference a parent note via the optional 'parent' field.

main record

A note (comment) left on a post. Replies (one level deep) reference a parent note via the optional 'parent' field.

Record Key tid Timestamp-based ID

Properties

body string Required

Plaintext body of the note.

maxLength: 2000 bytesmaxGraphemes: 500 graphemes
createdAt string datetime Required

Client-declared timestamp when the note was created.

parent string at-uri Optional

Optional AT URI of a parent note when this is a reply. Replies are one level deep.

subject string at-uri Required

AT URI of the post the note is attached to.

tags array of string Optional

Up to 3 inline #tags extracted from the body.

maxLength: 3 items
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "body",
      "createdAt"
    ],
    "properties": {
      "body": {
        "type": "string",
        "maxLength": 2000,
        "description": "Plaintext body of the note.",
        "maxGraphemes": 500
      },
      "tags": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 64
        },
        "maxLength": 3,
        "description": "Up to 3 inline #tags extracted from the body."
      },
      "facets": {
        "type": "array",
        "items": {
          "ref": "place.pollen.richtext.facet#main",
          "type": "ref"
        },
        "description": "Annotations of body text (mentions, links, tags)."
      },
      "parent": {
        "type": "string",
        "format": "at-uri",
        "description": "Optional AT URI of a parent note when this is a reply. Replies are one level deep."
      },
      "subject": {
        "type": "string",
        "format": "at-uri",
        "description": "AT URI of the post the note is attached to."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp when the note was created."
      }
    }
  },
  "description": "A note (comment) left on a post. Replies (one level deep) reference a parent note via the optional 'parent' field."
}

Lexicon Garden

@