app.atmobb.discussion.thread

lexicons.atmobb.app

Documentation

A discussion thread (topic). Lives in the author's repo, pointing at a board in a forum's repo.

main record

A discussion thread (topic). Lives in the author's repo, pointing at a board in a forum's repo.

Record Key tid Timestamp-based ID

Properties

board string at-uri Required

The app.atmobb.forum.board this thread belongs to. The board URI's authority is the forum's DID.

createdAt string datetime Optional

An RFC 3339 formatted timestamp.

editedAt string datetime Optional

When the author last edited the body (or title). Absent means never edited.

poll ref #poll Optional

No description available.

tags array of string Optional

Normalized lowercase topic labels. Clients should trim, collapse whitespace and deduplicate before writing.

maxLength: 8 items
title string Required

No description available.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
View raw schema
{
  "description": "A discussion thread (topic). Lives in the author's repo, pointing at a board in a forum's repo.",
  "key": "tid",
  "record": {
    "properties": {
      "board": {
        "description": "The app.atmobb.forum.board this thread belongs to. The board URI's authority is the forum's DID.",
        "format": "at-uri",
        "type": "string"
      },
      "body": {
        "items": {
          "refs": [
            "app.atmobb.richtext.block#text",
            "app.atmobb.richtext.block#quote",
            "app.atmobb.richtext.block#code",
            "app.atmobb.richtext.block#image"
          ],
          "type": "union"
        },
        "maxLength": 200,
        "type": "array"
      },
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "editedAt": {
        "description": "When the author last edited the body (or title). Absent means never edited.",
        "format": "datetime",
        "type": "string"
      },
      "poll": {
        "ref": "#poll",
        "type": "ref"
      },
      "tags": {
        "description": "Normalized lowercase topic labels. Clients should trim, collapse whitespace and deduplicate before writing.",
        "items": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "maxLength": 8,
        "type": "array"
      },
      "title": {
        "maxGraphemes": 300,
        "maxLength": 3000,
        "type": "string"
      }
    },
    "required": [
      "board",
      "title"
    ],
    "type": "object"
  },
  "type": "record"
}
poll object

An embedded poll. Votes are app.atmobb.poll.vote records referencing this thread.

Properties

closesAt string datetime Optional

An RFC 3339 formatted timestamp.

multipleChoice boolean Optional

No description available.

options array of string Required

No description available.

maxLength: 10 itemsminLength: 2 items
question string Optional

No description available.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
View raw schema
{
  "description": "An embedded poll. Votes are app.atmobb.poll.vote records referencing this thread.",
  "properties": {
    "closesAt": {
      "format": "datetime",
      "type": "string"
    },
    "multipleChoice": {
      "type": "boolean"
    },
    "options": {
      "items": {
        "maxGraphemes": 100,
        "maxLength": 1000,
        "type": "string"
      },
      "maxLength": 10,
      "minLength": 2,
      "type": "array"
    },
    "question": {
      "maxGraphemes": 300,
      "maxLength": 3000,
      "type": "string"
    }
  },
  "required": [
    "options"
  ],
  "type": "object"
}

Lexicon Garden

@